diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index d2bebc72..a7c7c608 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -93,7 +93,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.32.2", "rustc-demangle", ] @@ -157,20 +157,32 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88e341d15ac1029aadce600be764a1a1edafe40e03cde23285bc1d261b3a4866" dependencies = [ - "cap-primitives", - "cap-std", + "cap-primitives 2.0.1", + "cap-std 2.0.1", + "io-lifetimes", + "windows-sys 0.52.0", +] + +[[package]] +name = "cap-fs-ext" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "769f8cd02eb04d57f14e2e371ebb533f96817f9b2525d73a5c72b61ca7973747" +dependencies = [ + "cap-primitives 3.0.0", + "cap-std 3.0.0", "io-lifetimes", "windows-sys 0.52.0", ] [[package]] name = "cap-net-ext" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "434168fe6533055f0f4204039abe3ff6d7db338ef46872a5fa39e9d5ad5ab7a9" +checksum = "59ff6d3fb274292a9af283417e383afe6ded1fe66f6472d2c781216d3d80c218" dependencies = [ - "cap-primitives", - "cap-std", + "cap-primitives 3.0.0", + "cap-std 3.0.0", "rustix", "smallvec", ] @@ -192,6 +204,23 @@ dependencies = [ "winx", ] +[[package]] +name = "cap-primitives" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90a0b44fc796b1a84535a63753d50ba3972c4db55c7255c186f79140e63d56d0" +dependencies = [ + "ambient-authority", + "fs-set-times", + "io-extras", + "io-lifetimes", + "ipnet", + "maybe-owned", + "rustix", + "windows-sys 0.52.0", + "winx", +] + [[package]] name = "cap-rand" version = "2.0.1" @@ -202,13 +231,35 @@ dependencies = [ "rand", ] +[[package]] +name = "cap-rand" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4327f08daac33a99bb03c54ae18c8f32c3ba31c728a33ddf683c6c6a5043de68" +dependencies = [ + "ambient-authority", + "rand", +] + [[package]] name = "cap-std" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "593db20e4c51f62d3284bae7ee718849c3214f93a3b94ea1899ad85ba119d330" dependencies = [ - "cap-primitives", + "cap-primitives 2.0.1", + "io-extras", + "io-lifetimes", + "rustix", +] + +[[package]] +name = "cap-std" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "266626ce180cf9709f317d0bf9754e3a5006359d87f4bf792f06c9c5f1b63c0f" +dependencies = [ + "cap-primitives 3.0.0", "io-extras", "io-lifetimes", "rustix", @@ -221,7 +272,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03261630f291f425430a36f38c847828265bc928f517cdd2004c56f4b02f002b" dependencies = [ "ambient-authority", - "cap-primitives", + "cap-primitives 2.0.1", + "iana-time-zone", + "once_cell", + "rustix", + "winx", +] + +[[package]] +name = "cap-time-ext" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1353421ba83c19da60726e35db0a89abef984b3be183ff6f58c5b8084fcd0c5" +dependencies = [ + "ambient-authority", + "cap-primitives 3.0.0", "iana-time-zone", "once_cell", "rustix", @@ -274,7 +339,16 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9515fcc42b6cb5137f76b84c1a6f819782d0cf12473d145d3bc5cd67eedc8bc2" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.2", +] + +[[package]] +name = "cranelift-bforest" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c7a700bc3e2e834c81c7e9e57c6b27049172fc6156a6a406dd2265d64c30409" +dependencies = [ + "cranelift-entity 0.107.1", ] [[package]] @@ -284,12 +358,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ad827c6071bfe6d22de1bc331296a29f9ddc506ff926d8415b435ec6a6efce0" dependencies = [ "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-control", - "cranelift-entity", - "cranelift-isle", + "cranelift-bforest 0.105.2", + "cranelift-codegen-meta 0.105.2", + "cranelift-codegen-shared 0.105.2", + "cranelift-control 0.105.2", + "cranelift-entity 0.105.2", + "cranelift-isle 0.105.2", + "gimli", + "hashbrown 0.14.3", + "log", + "regalloc2", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-codegen" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35bb55da792dc46a35e6e283b02b9d6aa7f21349691f41176d8ecf4a1494b6ad" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.107.1", + "cranelift-codegen-meta 0.107.1", + "cranelift-codegen-shared 0.107.1", + "cranelift-control 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-isle 0.107.1", "gimli", "hashbrown 0.14.3", "log", @@ -304,7 +399,16 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10e6b36237a9ca2ce2fb4cc7741d418a080afa1327402138412ef85d5367bef1" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.105.2", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf590672e1a7580158968898ade9c82801d6ebeaa4649d6f99f9cbb411512a8b" +dependencies = [ + "cranelift-codegen-shared 0.107.1", ] [[package]] @@ -313,6 +417,12 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c36bf4bfb86898a94ccfa773a1f86e8a5346b1983ff72059bdd2db4600325251" +[[package]] +name = "cranelift-codegen-shared" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab16a95d8b10b72eaa8bb9f0ce0fdd013e5f225bea92f69d2dbd2424aae5381" + [[package]] name = "cranelift-control" version = "0.105.2" @@ -322,6 +432,15 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60448a5af01f5716877e616ec1613424fb65f427320c6e6447315966507f12da" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-entity" version = "0.105.2" @@ -332,13 +451,35 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-entity" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78689d6588f53981bf005b82d94125cc40cf9856b667bc276d1acdede400b633" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af5d4da63143ee3485c7bcedde0a818727d737d1083484a0ceedb8950c89e495" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.105.2", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-frontend" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86da6e45adc39e8d66a73d6fb782b0d7961df9e44b724246e01e515f86b1f0d" +dependencies = [ + "cranelift-codegen 0.107.1", "log", "smallvec", "target-lexicon", @@ -350,13 +491,30 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "457a9832b089e26f5eea70dcf49bed8ec6edafed630ce7c83161f24d46ab8085" +[[package]] +name = "cranelift-isle" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb6f70d94826074699bc350c33dab82eb6f06022a3518bb466f501569d7379e" + [[package]] name = "cranelift-native" version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b490d579df1ce365e1ea359e24ed86d82289fa785153327c2f6a69a59a731e4" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.105.2", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e27ec0ef4115eb9cc15be9c841085db17233403f8ed325e02bd6a9d78d6c939c" +dependencies = [ + "cranelift-codegen 0.107.1", "libc", "target-lexicon", ] @@ -367,14 +525,30 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cd747ed7f9a461dda9c388415392f6bb95d1a6ef3b7694d17e0817eb74b7798" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools", + "cranelift-codegen 0.105.2", + "cranelift-entity 0.105.2", + "cranelift-frontend 0.105.2", + "itertools 0.10.5", + "log", + "smallvec", + "wasmparser 0.121.2", + "wasmtime-types 18.0.2", +] + +[[package]] +name = "cranelift-wasm" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce009efc27c598ac0c019c7f3dc582403835547128aeb497edf76cb77d75250" +dependencies = [ + "cranelift-codegen 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-frontend 0.107.1", + "itertools 0.12.1", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.202.0", + "wasmtime-types 20.0.1", ] [[package]] @@ -775,6 +949,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.10" @@ -869,6 +1052,15 @@ dependencies = [ "libc", ] +[[package]] +name = "mach2" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" +dependencies = [ + "libc", +] + [[package]] name = "maybe-owned" version = "0.3.4" @@ -941,6 +1133,18 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8dd6c0cdf9429bce006e1362bfce61fa1bfd8c898a643ed8d2b471934701d3d" +dependencies = [ + "crc32fast", + "hashbrown 0.14.3", + "indexmap", + "memchr", +] + [[package]] name = "once_cell" version = "1.19.0" @@ -1297,8 +1501,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0682e006dd35771e392a6623ac180999a9a854b1d4a6c12fb2e804941c2b1f58" dependencies = [ "bitflags 2.4.2", - "cap-fs-ext", - "cap-std", + "cap-fs-ext 2.0.1", + "cap-std 2.0.1", + "fd-lock", + "io-lifetimes", + "rustix", + "windows-sys 0.52.0", + "winx", +] + +[[package]] +name = "system-interface" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b858526d22750088a9b3cf2e3c2aacebd5377f13adeec02860c30d09113010a6" +dependencies = [ + "bitflags 2.4.2", + "cap-fs-ext 3.0.0", + "cap-std 3.0.0", "fd-lock", "io-lifetimes", "rustix", @@ -1495,21 +1715,21 @@ checksum = "880c1461417b2bf90262591bf8a5f04358fb86dac8a585a49b87024971296763" dependencies = [ "anyhow", "bitflags 2.4.2", - "cap-fs-ext", - "cap-rand", - "cap-std", - "cap-time-ext", + "cap-fs-ext 2.0.1", + "cap-rand 2.0.1", + "cap-std 2.0.1", + "cap-time-ext 2.0.1", "fs-set-times", "io-extras", "io-lifetimes", "log", "once_cell", "rustix", - "system-interface", + "system-interface 0.26.1", "thiserror", "tracing", - "wasmtime", - "wiggle", + "wasmtime 18.0.2", + "wiggle 18.0.2", "windows-sys 0.52.0", ] @@ -1593,10 +1813,10 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 18.0.2", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 18.0.2", ] [[package]] @@ -1610,6 +1830,17 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" +dependencies = [ + "bitflags 2.4.2", + "indexmap", + "semver", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -1617,7 +1848,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60e73986a6b7fdfedb7c5bf9e7eb71135486507c8fbc4c0c42cffcb6532988b7" dependencies = [ "anyhow", - "wasmparser", + "wasmparser 0.121.2", +] + +[[package]] +name = "wasmprinter" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab1cc9508685eef9502e787f4d4123745f5651a1e29aec047645d3cac1e2da7a" +dependencies = [ + "anyhow", + "wasmparser 0.202.0", ] [[package]] @@ -1639,7 +1880,7 @@ dependencies = [ "ittapi", "libc", "log", - "object", + "object 0.32.2", "once_cell", "paste", "rayon", @@ -1649,21 +1890,59 @@ dependencies = [ "serde_json", "target-lexicon", "wasm-encoder 0.41.2", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-component-util", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-component-macro 18.0.2", + "wasmtime-component-util 18.0.2", + "wasmtime-cranelift 18.0.2", + "wasmtime-environ 18.0.2", + "wasmtime-fiber 18.0.2", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "wasmtime-winch", + "wasmtime-jit-icache-coherence 18.0.2", + "wasmtime-runtime 18.0.2", + "wasmtime-winch 18.0.2", "wat", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2364a810370f08ece49d013255058c3c88ca6c0a080de66549233b7d2ca078b8" +dependencies = [ + "anyhow", + "async-trait", + "bincode", + "bumpalo", + "cfg-if", + "encoding_rs", + "gimli", + "indexmap", + "libc", + "log", + "object 0.33.0", + "once_cell", + "paste", + "rustix", + "semver", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-component-macro 20.0.1", + "wasmtime-component-util 20.0.1", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", + "wasmtime-fiber 20.0.1", + "wasmtime-jit-icache-coherence 20.0.1", + "wasmtime-runtime 20.0.1", + "wasmtime-slab", + "wasmtime-winch 20.0.1", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "18.0.2" @@ -1673,6 +1952,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c52cceae147514e279460ac3c43c1ea440c51c39202842611623b3f9734f73a8" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "18.0.2" @@ -1703,9 +1991,24 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 18.0.2", + "wasmtime-wit-bindgen 18.0.2", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-component-macro" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8fd43a734bf424e3983363f1b7532a997edb206f52104568058e412e18db9ba" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 20.0.1", + "wasmtime-wit-bindgen 20.0.1", + "wit-parser 0.202.0", ] [[package]] @@ -1714,6 +2017,12 @@ version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d6d69c430cddc70ec42159506962c66983ce0192ebde4eb125b7aabc49cff88" +[[package]] +name = "wasmtime-component-util" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d65e6a21c3e3482240ff03cc26f5c7ae7ee5df524c2283f39cf492ab711a15" + [[package]] name = "wasmtime-cranelift" version = "18.0.2" @@ -1722,21 +2031,45 @@ checksum = "31ca62f519225492bd555d0ec85a2dacb0c10315db3418c8b9aeb3824bf54a24" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen", - "cranelift-control", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-codegen 0.105.2", + "cranelift-control 0.105.2", + "cranelift-entity 0.105.2", + "cranelift-frontend 0.105.2", + "cranelift-native 0.105.2", + "cranelift-wasm 0.105.2", "gimli", "log", - "object", + "object 0.32.2", "target-lexicon", "thiserror", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-environ 18.0.2", + "wasmtime-versioned-export-macros 18.0.2", +] + +[[package]] +name = "wasmtime-cranelift" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2a6ed70499769b4d51f6f656204b0806b3d783f6ec5a8517c68e8b75ecaad19" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.107.1", + "cranelift-control 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-frontend 0.107.1", + "cranelift-native 0.107.1", + "cranelift-wasm 0.107.1", + "gimli", + "log", + "object 0.33.0", + "target-lexicon", + "thiserror", + "wasmparser 0.202.0", + "wasmtime-environ 20.0.1", + "wasmtime-versioned-export-macros 20.0.1", ] [[package]] @@ -1746,13 +2079,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd5f2071f42e61490bf7cb95b9acdbe6a29dd577a398019304a960585f28b844" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-control", - "cranelift-native", + "cranelift-codegen 0.105.2", + "cranelift-control 0.105.2", + "cranelift-native 0.105.2", "gimli", - "object", + "object 0.32.2", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 18.0.2", ] [[package]] @@ -1764,21 +2097,45 @@ dependencies = [ "anyhow", "bincode", "cpp_demangle", - "cranelift-entity", + "cranelift-entity 0.105.2", "gimli", "indexmap", "log", - "object", + "object 0.32.2", "rustc-demangle", "serde", "serde_derive", "target-lexicon", "thiserror", "wasm-encoder 0.41.2", - "wasmparser", - "wasmprinter", - "wasmtime-component-util", - "wasmtime-types", + "wasmparser 0.121.2", + "wasmprinter 0.2.80", + "wasmtime-component-util 18.0.2", + "wasmtime-types 18.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90f7b5dbae8c3c6586e22f063ddb9e5cbf02c09629df75e5d8710f7bf880b117" +dependencies = [ + "anyhow", + "bincode", + "cranelift-entity 0.107.1", + "gimli", + "indexmap", + "log", + "object 0.33.0", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasm-encoder 0.202.0", + "wasmparser 0.202.0", + "wasmprinter 0.202.0", + "wasmtime-component-util 20.0.1", + "wasmtime-types 20.0.1", ] [[package]] @@ -1791,8 +2148,23 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 18.0.2", + "wasmtime-versioned-export-macros 18.0.2", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-fiber" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "582e7ef625be814c57b1f8c3924c8899560d315f2285436c9184a09985dc3756" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 20.0.1", + "wasmtime-versioned-export-macros 20.0.1", "windows-sys 0.52.0", ] @@ -1802,10 +2174,10 @@ version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "833dae95bc7a4f9177bf93f9497419763535b74e37eb8c37be53937d3281e287" dependencies = [ - "object", + "object 0.32.2", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 18.0.2", ] [[package]] @@ -1819,6 +2191,17 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b55b43e693c0beeca494d522f4850afca53cb46acf309483aef32a125276ee78" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "18.0.2" @@ -1840,26 +2223,73 @@ dependencies = [ "rustix", "sptr", "wasm-encoder 0.41.2", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-asm-macros 18.0.2", + "wasmtime-environ 18.0.2", + "wasmtime-fiber 18.0.2", "wasmtime-jit-debug", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 18.0.2", "wasmtime-wmemcheck", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-runtime" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2b876c09b7863d8a01bf87eb45f3b121fab245f8afbff7c38c38c1c9059aee" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "encoding_rs", + "indexmap", + "libc", + "log", + "mach2", + "memfd", + "memoffset", + "paste", + "psm", + "rustix", + "sptr", + "wasmtime-asm-macros 20.0.1", + "wasmtime-environ 20.0.1", + "wasmtime-fiber 20.0.1", + "wasmtime-slab", + "wasmtime-versioned-export-macros 20.0.1", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-slab" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8ddfb8ebbab6ac186bc1f8c02ed988bc9ea455fea10f72bc3a07503309b4b" + [[package]] name = "wasmtime-types" version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54a327d7a0ef57bd52a507d28b4561a74126c7a8535a2fc6f2025716bc6a52e8" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.2", "serde", "serde_derive", "thiserror", - "wasmparser", + "wasmparser 0.121.2", +] + +[[package]] +name = "wasmtime-types" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fa3a1f3c0deb3034d76e7dcf340c5df670a6603019ee5b58adb70870649c769" +dependencies = [ + "cranelift-entity 0.107.1", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.202.0", ] [[package]] @@ -1873,36 +2303,45 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85321f0a1cd3c859b94e728533ba00074d3eca62362acf6998be0eab6f4001c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" -version = "18.0.2" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d04d2fb2257245aa05ff799ded40520ae4d8cd31b0d14972afac89061f12fe12" +checksum = "0c5966b1aa330f07ef58f83b074908ea210ee864948ae3697f8892c91104e6e3" dependencies = [ "anyhow", "async-trait", "bitflags 2.4.2", "bytes", - "cap-fs-ext", + "cap-fs-ext 3.0.0", "cap-net-ext", - "cap-rand", - "cap-std", - "cap-time-ext", + "cap-rand 3.0.0", + "cap-std 3.0.0", + "cap-time-ext 3.0.0", "fs-set-times", "futures", "io-extras", "io-lifetimes", - "log", "once_cell", "rustix", - "system-interface", + "system-interface 0.27.2", "thiserror", "tokio", "tracing", "url", - "wasi-common", - "wasmtime", - "wiggle", + "wasmtime 20.0.1", + "wiggle 20.0.1", "windows-sys 0.52.0", ] @@ -1913,14 +2352,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db3378c0e808a744b5d4df2a9a9d2746a53b151811926731f04fc401707f7d54" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.105.2", "gimli", - "object", + "object 0.32.2", "target-lexicon", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "winch-codegen", + "wasmtime-environ 18.0.2", + "winch-codegen 0.16.2", +] + +[[package]] +name = "wasmtime-winch" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0d446696aa83f680d85e188670631cb7958957f63d027d6c36b945c2baa3e1e" +dependencies = [ + "anyhow", + "cranelift-codegen 0.107.1", + "gimli", + "object 0.33.0", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", + "winch-codegen 0.18.1", ] [[package]] @@ -1932,7 +2388,19 @@ dependencies = [ "anyhow", "heck", "indexmap", - "wit-parser", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d1d0c83af38eb6918af9c7cbc07d39f741a7baa9ddd152e19d9f93ff627dc05" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "wit-parser 0.202.0", ] [[package]] @@ -1983,11 +2451,26 @@ dependencies = [ "bitflags 2.4.2", "thiserror", "tracing", - "wasmtime", - "wiggle-macro", + "wasmtime 18.0.2", + "wiggle-macro 18.0.2", "witx", ] +[[package]] +name = "wiggle" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909dcda9e41ab1f8280cf7d774fa16d240792d6fe086a88ef69a9dd97827d289" +dependencies = [ + "anyhow", + "async-trait", + "bitflags 2.4.2", + "thiserror", + "tracing", + "wasmtime 20.0.1", + "wiggle-macro 20.0.1", +] + [[package]] name = "wiggle-generate" version = "18.0.2" @@ -2003,6 +2486,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce431612cd480dbf925fb7c3c513dec176a57ea977bf3685726e4b0ab41a6408" +dependencies = [ + "anyhow", + "heck", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "18.0.2" @@ -2012,7 +2510,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 18.0.2", +] + +[[package]] +name = "wiggle-macro" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9815f5f4b6c6e01449569469416783992ac703c8fbf83d3724dfb16a02fe2e5c" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 20.0.1", ] [[package]] @@ -2044,13 +2554,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8197ed4a2ebf612f0624ddda10de71f8cd2d3a4ecf8ffac0586a264599708d63" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.105.2", "gimli", "regalloc2", "smallvec", "target-lexicon", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.121.2", + "wasmtime-environ 18.0.2", +] + +[[package]] +name = "winch-codegen" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "720aabcf6838b31b42c7adc04d847696b066ddc5877efd6071ed5f08ae75bf20" +dependencies = [ + "anyhow", + "cranelift-codegen 0.107.1", + "gimli", + "regalloc2", + "smallvec", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", ] [[package]] @@ -2221,6 +2748,24 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "wit-parser" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "744237b488352f4f27bca05a10acb79474415951c450e52ebd0da784c1df2bcc" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.202.0", +] + [[package]] name = "witx" version = "0.9.1" diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index 6f720ff3..09f1a915 100644 --- a/native/wasmex/Cargo.toml +++ b/native/wasmex/Cargo.toml @@ -22,7 +22,7 @@ rustler = { version = "0.31", default-features = false, features = [ once_cell = "1.19.0" rand = "0.8.5" wasmtime = "18.0.2" -wasmtime-wasi = "18.0.2" +wasmtime-wasi = "20.0.1" wasi-common = "18.0.2" wiggle = "18.0.2" wat = "1.202.0"