diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index 43bfa92a..13a594d5 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -248,6 +248,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cobs" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" + [[package]] name = "core-foundation-sys" version = "0.8.6" @@ -256,9 +262,9 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "cpp_demangle" -version = "0.3.5" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +checksum = "7e8227005286ec39567949b33df9896bcadfa6051bccca2488129f108ca23119" dependencies = [ "cfg-if", ] @@ -278,7 +284,16 @@ version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "496c993b62bdfbe9b4c518b8b3e1fdba9f89ef89fcccc050ab61d91dfba9fbaf" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.4", +] + +[[package]] +name = "cranelift-bforest" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b6b33d7e757a887989eb18b35712b2a67d96171ec3149d1bfb657b29b7b367c" +dependencies = [ + "cranelift-entity 0.109.0", ] [[package]] @@ -288,16 +303,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96b922abb6be41fc383f5e9da65b58d32d0d0a32c87dfe3bbbcb61a09119506c" dependencies = [ "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-control", - "cranelift-entity", - "cranelift-isle", + "cranelift-bforest 0.105.4", + "cranelift-codegen-meta 0.105.4", + "cranelift-codegen-shared 0.105.4", + "cranelift-control 0.105.4", + "cranelift-entity 0.105.4", + "cranelift-isle 0.105.4", + "gimli 0.28.1", + "hashbrown 0.14.5", + "log", + "regalloc2", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-codegen" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9acf15cb22be42d07c3b57d7856329cb228b7315d385346149df2566ad5e4aa" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.109.0", + "cranelift-codegen-meta 0.109.0", + "cranelift-codegen-shared 0.109.0", + "cranelift-control 0.109.0", + "cranelift-entity 0.109.0", + "cranelift-isle 0.109.0", "gimli 0.28.1", "hashbrown 0.14.5", "log", "regalloc2", + "rustc-hash", "smallvec", "target-lexicon", ] @@ -308,7 +345,16 @@ version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "634c2ed9ef8a04ca42535a3e2e7917e4b551f2f306f4df2d935a6e71e346c167" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.105.4", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e934d301392b73b3f8b0540391fb82465a0f179a3cee7c726482ac4727efcc97" +dependencies = [ + "cranelift-codegen-shared 0.109.0", ] [[package]] @@ -317,6 +363,12 @@ version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00cde1425b4da28bb0d5ff010030ea9cc9be7aded342ae099b394284f17cefce" +[[package]] +name = "cranelift-codegen-shared" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8afb2a2566b3d54b854dfb288b3b187f6d3d17d6f762c92898207eba302931da" + [[package]] name = "cranelift-control" version = "0.105.4" @@ -326,6 +378,15 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0100f33b704cdacd01ad66ff41f8c5030d57cbff078e2a4e49ab1822591299fa" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-entity" version = "0.105.4" @@ -336,13 +397,35 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-entity" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8cfdc315e5d18997093e040a8d234bea1ac1e118a716d3e30f40d449e78207b" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4cdade4c14183fe41482071ed77d6a38cb95a17c7a0a05e629152e6292c4f8cb" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.105.4", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-frontend" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f74b84f16af2e982b0c0c72233503d9d55cbfe3865dbe807ca28dc6642a28b5" +dependencies = [ + "cranelift-codegen 0.109.0", "log", "smallvec", "target-lexicon", @@ -354,13 +437,30 @@ version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbbe4d3ad7bd4bf4a8d916c8460b441cf92417f5cdeacce4dd1d96eee70b18a2" +[[package]] +name = "cranelift-isle" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adf306d3dde705fb94bd48082f01d38c4ededc74293a4c007805f610bf08bc6e" + [[package]] name = "cranelift-native" version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c46be4ed1fc8f36df4e2a442b8c30a39d8c03c1868182978f4c04ba2c25c9d4f" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.105.4", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ea0ebdef7aff4a79bcbc8b6495f31315f16b3bf311152f472eaa8d679352581" +dependencies = [ + "cranelift-codegen 0.109.0", "libc", "target-lexicon", ] @@ -371,14 +471,30 @@ version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d4c4a785a7866da89d20df159e3c4f96a5f14feb83b1f5998cfd5fe2e74d06" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools", + "cranelift-codegen 0.105.4", + "cranelift-entity 0.105.4", + "cranelift-frontend 0.105.4", + "itertools 0.10.5", + "log", + "smallvec", + "wasmparser 0.121.2", + "wasmtime-types 18.0.4", +] + +[[package]] +name = "cranelift-wasm" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d549108a1942065cdbac3bb96c2952afa0e1b9a3beff4b08c4308ac72257576d" +dependencies = [ + "cranelift-codegen 0.109.0", + "cranelift-entity 0.109.0", + "cranelift-frontend 0.109.0", + "itertools 0.12.1", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.209.1", + "wasmtime-types 22.0.0", ] [[package]] @@ -502,6 +618,12 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + [[package]] name = "encoding_rs" version = "0.8.34" @@ -701,6 +823,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ "ahash", + "serde", ] [[package]] @@ -916,6 +1039,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.11" @@ -978,6 +1110,12 @@ version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +[[package]] +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + [[package]] name = "libredox" version = "0.1.3" @@ -1015,6 +1153,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" @@ -1093,6 +1240,9 @@ version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "576dfe1fc8f9df304abb159d767a29d0476f7750fbf8aa7ad07816004a207434" dependencies = [ + "crc32fast", + "hashbrown 0.14.5", + "indexmap", "memchr", ] @@ -1132,6 +1282,17 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +[[package]] +name = "postcard" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55c51ee6c0db07e68448e336cf8ea4131a620edefebf9893e759b2d793420f8" +dependencies = [ + "cobs", + "embedded-io", + "serde", +] + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -1371,6 +1532,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +dependencies = [ + "serde", +] + [[package]] name = "sha2" version = "0.10.8" @@ -1402,6 +1572,9 @@ name = "smallvec" version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +dependencies = [ + "serde", +] [[package]] name = "socket2" @@ -1517,13 +1690,38 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.11" +version = "0.8.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" dependencies = [ "serde", ] +[[package]] +name = "toml_edit" +version = "0.22.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" +dependencies = [ + "indexmap", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + [[package]] name = "tracing" version = "0.1.40" @@ -1657,7 +1855,7 @@ dependencies = [ "system-interface", "thiserror", "tracing", - "wasmtime", + "wasmtime 18.0.4", "wiggle", "windows-sys 0.52.0", ] @@ -1725,6 +1923,15 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.209.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4a05336882dae732ce6bd48b7e11fe597293cb72c13da4f35d7d5f8d53b2a7" +dependencies = [ + "leb128", +] + [[package]] name = "wasm-encoder" version = "0.210.0" @@ -1742,7 +1949,7 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 22.0.0", "wasmtime-wasi", "wat", "wiggle", @@ -1759,6 +1966,20 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.209.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07035cc9a9b41e62d3bb3a3815a66ab87c993c06fe1cf6b2a3f2a18499d937db" +dependencies = [ + "ahash", + "bitflags", + "hashbrown 0.14.5", + "indexmap", + "semver", + "serde", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -1766,7 +1987,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.209.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ceca8ae6eaa8c7c87b33c25c53bdf299f8c2a764aee1179402ff7652ef3a6859" +dependencies = [ + "anyhow", + "wasmparser 0.209.1", ] [[package]] @@ -1775,40 +2006,88 @@ version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69472708b96ee90579a482bdbb908ce97e53a9e5ebbcab59cc29c3977bcab512" dependencies = [ - "addr2line 0.21.0", "anyhow", "async-trait", "bincode", "bumpalo", "cfg-if", "encoding_rs", + "gimli 0.28.1", + "indexmap", + "libc", + "log", + "object 0.32.2", + "once_cell", + "paste", + "rustix", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-component-macro 18.0.4", + "wasmtime-component-util 18.0.4", + "wasmtime-cranelift 18.0.4", + "wasmtime-environ 18.0.4", + "wasmtime-fiber 18.0.4", + "wasmtime-jit-icache-coherence 18.0.4", + "wasmtime-runtime", + "wasmtime-winch 18.0.4", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "786d8b5e7a4d54917c5ebe555b9667337e5f93383f49bddaaeec2eba68093b45" +dependencies = [ + "addr2line 0.21.0", + "anyhow", + "async-trait", + "bumpalo", + "cc", + "cfg-if", + "encoding_rs", "fxprof-processed-profile", "gimli 0.28.1", + "hashbrown 0.14.5", "indexmap", "ittapi", "libc", + "libm", "log", - "object 0.32.2", + "mach2", + "memfd", + "memoffset", + "object 0.36.0", "once_cell", "paste", + "postcard", + "psm", "rayon", "rustix", + "semver", "serde", "serde_derive", "serde_json", + "smallvec", + "sptr", "target-lexicon", - "wasm-encoder 0.41.2", - "wasmparser", + "wasm-encoder 0.209.1", + "wasmparser 0.209.1", + "wasmtime-asm-macros 22.0.0", "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-component-util", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-component-macro 22.0.0", + "wasmtime-component-util 22.0.0", + "wasmtime-cranelift 22.0.0", + "wasmtime-environ 22.0.0", + "wasmtime-fiber 22.0.0", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "wasmtime-winch", + "wasmtime-jit-icache-coherence 22.0.0", + "wasmtime-slab", + "wasmtime-versioned-export-macros 22.0.0", + "wasmtime-winch 22.0.0", "wat", "windows-sys 0.52.0", ] @@ -1822,17 +2101,26 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d697d99c341d4a9ffb72f3af7a02124d233eeb59aee010f36d88e97cca553d5e" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" -version = "18.0.4" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a180017db1233c902b992fea9484640d265f2fedf03db60eed57894cb2effcc" +checksum = "916610f9ae9a6c22deb25bba2e6247ba9f00b093d30620875203b91328a1adfa" dependencies = [ "anyhow", "base64", - "bincode", "directories-next", "log", + "postcard", "rustix", "serde", "serde_derive", @@ -1852,9 +2140,24 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 18.0.4", + "wasmtime-wit-bindgen 18.0.4", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-component-macro" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b29b462b068e73b5b27fae092a27f47e5937cabf6b26be2779c978698a52feca" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 22.0.0", + "wasmtime-wit-bindgen 22.0.0", + "wit-parser 0.209.1", ] [[package]] @@ -1863,6 +2166,12 @@ version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0aa907cc97ad039c43f98525d772f4841c2ce69a0c11eeec2a3a9c77fc730e87" +[[package]] +name = "wasmtime-component-util" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d2912c53d9054984b380dfbd7579f9c3681b2a73b903a56bd71a1c4f175f1e" + [[package]] name = "wasmtime-cranelift" version = "18.0.4" @@ -1871,21 +2180,45 @@ checksum = "b57d58e220ae223855c5d030ef20753377bc716d0c81b34c1fe74c9f44268774" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen", - "cranelift-control", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-codegen 0.105.4", + "cranelift-control 0.105.4", + "cranelift-entity 0.105.4", + "cranelift-frontend 0.105.4", + "cranelift-native 0.105.4", + "cranelift-wasm 0.105.4", "gimli 0.28.1", "log", "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.4", + "wasmtime-versioned-export-macros 18.0.4", +] + +[[package]] +name = "wasmtime-cranelift" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3975deafea000457ba84355c7c0fce0372937204f77026510b7b454f28a3a65" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.109.0", + "cranelift-control 0.109.0", + "cranelift-entity 0.109.0", + "cranelift-frontend 0.109.0", + "cranelift-native 0.109.0", + "cranelift-wasm 0.109.0", + "gimli 0.28.1", + "log", + "object 0.36.0", + "target-lexicon", + "thiserror", + "wasmparser 0.209.1", + "wasmtime-environ 22.0.0", + "wasmtime-versioned-export-macros 22.0.0", ] [[package]] @@ -1895,13 +2228,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ba2cfdfdbde42f0f3baeddb62f3555524dee9f836c96da8d466e299f75f5eee" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-control", - "cranelift-native", + "cranelift-codegen 0.105.4", + "cranelift-control 0.105.4", + "cranelift-native 0.105.4", "gimli 0.28.1", "object 0.32.2", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 18.0.4", ] [[package]] @@ -1912,22 +2245,45 @@ checksum = "abbf3075d9ee7eb1263dc67949aced64d0f0bf27be8098d34d8e5826cf0ff0f2" dependencies = [ "anyhow", "bincode", - "cpp_demangle", - "cranelift-entity", + "cranelift-entity 0.105.4", "gimli 0.28.1", "indexmap", "log", "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.4", + "wasmtime-types 18.0.4", +] + +[[package]] +name = "wasmtime-environ" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f444e900e848b884d8a8a2949b6f5b92af642a3e663ff8fbe78731143a55be61" +dependencies = [ + "anyhow", + "cpp_demangle", + "cranelift-entity 0.109.0", + "gimli 0.28.1", + "indexmap", + "log", + "object 0.36.0", + "postcard", + "rustc-demangle", + "serde", + "serde_derive", + "target-lexicon", + "wasm-encoder 0.209.1", + "wasmparser 0.209.1", + "wasmprinter 0.209.1", + "wasmtime-component-util 22.0.0", + "wasmtime-types 22.0.0", ] [[package]] @@ -1940,21 +2296,36 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 18.0.4", + "wasmtime-versioned-export-macros 18.0.4", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-fiber" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ded58eb2d1bf0dcd2182d0ccd7055c4b10b50d711514f1d73f61515d0fa829d" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 22.0.0", + "wasmtime-versioned-export-macros 22.0.0", "windows-sys 0.52.0", ] [[package]] name = "wasmtime-jit-debug" -version = "18.0.4" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0462a46b80d2352ee553b17d626b6468e9cec2220cc58ac31754fd7b58245e" +checksum = "9bc54198c6720f098210a85efb3ba8c078d1de4d373cdb6778850a66ae088d11" dependencies = [ - "object 0.32.2", + "object 0.36.0", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 22.0.0", ] [[package]] @@ -1968,6 +2339,18 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5afe2f0499542f9a4bcfa1b55bfdda803b6ade4e7c93c6b99e0f39dba44b0a91" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "18.0.4" @@ -1989,26 +2372,44 @@ dependencies = [ "rustix", "sptr", "wasm-encoder 0.41.2", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit-debug", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 18.0.4", + "wasmtime-environ 18.0.4", + "wasmtime-fiber 18.0.4", + "wasmtime-versioned-export-macros 18.0.4", "wasmtime-wmemcheck", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-slab" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a7de1f2bec5bbb35d532e61c85c049dc84ae671df60492f90b954ecf21169e7" + [[package]] name = "wasmtime-types" version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "530b94c627a454d24f520173d3145112d1b807c44c82697a57e1d8e28390cde4" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.4", "serde", "serde_derive", "thiserror", - "wasmparser", + "wasmparser 0.121.2", +] + +[[package]] +name = "wasmtime-types" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "412463e9000e14cf6856be48628d2213c20c153e29ffc22b036980c892ea6964" +dependencies = [ + "cranelift-entity 0.109.0", + "serde", + "serde_derive", + "smallvec", + "wasmparser 0.209.1", ] [[package]] @@ -2022,6 +2423,17 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de5a9bc4f44ceeb168e9e8e3be4e0b4beb9095b468479663a9e24c667e36826f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" version = "18.0.4" @@ -2050,7 +2462,7 @@ dependencies = [ "tracing", "url", "wasi-common", - "wasmtime", + "wasmtime 18.0.4", "wiggle", "windows-sys 0.52.0", ] @@ -2062,14 +2474,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "729dff119cfd2e2333504b52db6661e49278314c83276a01d15a2a86e566e614" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.105.4", "gimli 0.28.1", "object 0.32.2", "target-lexicon", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "winch-codegen", + "wasmtime-environ 18.0.4", + "winch-codegen 0.16.4", +] + +[[package]] +name = "wasmtime-winch" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed4db238a0241df2d15f79ad17b3a37a27f2ea6cb885894d81b42ae107544466" +dependencies = [ + "anyhow", + "cranelift-codegen 0.109.0", + "gimli 0.28.1", + "object 0.36.0", + "target-lexicon", + "wasmparser 0.209.1", + "wasmtime-cranelift 22.0.0", + "wasmtime-environ 22.0.0", + "winch-codegen 0.20.0", ] [[package]] @@ -2081,7 +2510,19 @@ dependencies = [ "anyhow", "heck", "indexmap", - "wit-parser", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70dc077306b38288262e5ba01d4b21532a6987416cdc0aedf04bb06c22a68fdc" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "wit-parser 0.209.1", ] [[package]] @@ -2132,7 +2573,7 @@ dependencies = [ "bitflags", "thiserror", "tracing", - "wasmtime", + "wasmtime 18.0.4", "wiggle-macro", "witx", ] @@ -2193,13 +2634,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "433cafb378ad01cd839974846204f56257ec34fc9d7db309ce1e34f24923fa6a" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.105.4", + "gimli 0.28.1", + "regalloc2", + "smallvec", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-environ 18.0.4", +] + +[[package]] +name = "winch-codegen" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85c6915884e731b2db0d8cf08cb64474cb69221a161675fd3c135f91febc3daa" +dependencies = [ + "anyhow", + "cranelift-codegen 0.109.0", "gimli 0.28.1", "regalloc2", "smallvec", "target-lexicon", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.209.1", + "wasmtime-cranelift 22.0.0", + "wasmtime-environ 22.0.0", ] [[package]] @@ -2350,6 +2808,15 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +[[package]] +name = "winnow" +version = "0.6.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1" +dependencies = [ + "memchr", +] + [[package]] name = "winx" version = "0.36.3" @@ -2377,6 +2844,24 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "wit-parser" +version = "0.209.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e79b9e3c0b6bb589dec46317e645851e0db2734c44e2be5e251b03ff4a51269" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.209.1", +] + [[package]] name = "witx" version = "0.9.1" @@ -2490,20 +2975,19 @@ dependencies = [ [[package]] name = "zstd" -version = "0.11.2+zstd.1.5.2" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" +version = "7.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a" dependencies = [ - "libc", "zstd-sys", ] diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index 6f720ff3..ae8e81bb 100644 --- a/native/wasmex/Cargo.toml +++ b/native/wasmex/Cargo.toml @@ -21,7 +21,7 @@ rustler = { version = "0.31", default-features = false, features = [ ] } once_cell = "1.19.0" rand = "0.8.5" -wasmtime = "18.0.2" +wasmtime = "22.0.0" wasmtime-wasi = "18.0.2" wasi-common = "18.0.2" wiggle = "18.0.2"