diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index 0ccb62ef..0b8d4d3d 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a535eb1cf5a6003197dc569320c40c1cb2d2f97ef5d5348eebf067f20957381" +dependencies = [ + "cranelift-entity 0.106.0", ] [[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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11b5066db32cec1492573827183af2142d2d88fe85a83cfc9e73f0f63d3788d4" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.106.0", + "cranelift-codegen-meta 0.106.0", + "cranelift-codegen-shared 0.106.0", + "cranelift-control 0.106.0", + "cranelift-entity 0.106.0", + "cranelift-isle 0.106.0", "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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64942e5774308e835fbad4dd25f253105412c90324631910e1ec27963147bddb" +dependencies = [ + "cranelift-codegen-shared 0.106.0", ] [[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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c39c33db9a86dd6d8d04166a10c53deb477aeea3500eaaefca682e4eda9bb986" + [[package]] name = "cranelift-control" version = "0.105.2" @@ -322,6 +432,15 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b7fc4937613aea3156a0538800a17bf56f345a5da2e79ae3df58488c93d867f" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-entity" version = "0.105.2" @@ -332,13 +451,35 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-entity" +version = "0.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f85575e79a153ce1ddbfb7fe1813519b4bfe1eb200cc9c8353b45ad123ae4d36" +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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbc31d6c0ab2249fe0c21e988256b42f5f401ab2673b4fc40076c82a698bdfb9" +dependencies = [ + "cranelift-codegen 0.106.0", "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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc14f37e3314c0e4c53779c2f46753bf242efff76ee9473757a1fff3b495ad37" + [[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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ea5375f76ab31f9800a23fb2b440810286a6f669a3eb467cdd7ff255ea64268" +dependencies = [ + "cranelift-codegen 0.106.0", "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.106.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79851dba01b1fa83fad95134aa27beca88dc4b027121d92ab19788582389dc5f" +dependencies = [ + "cranelift-codegen 0.106.0", + "cranelift-entity 0.106.0", + "cranelift-frontend 0.106.0", + "itertools 0.12.1", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.201.0", + "wasmtime-types 19.0.0", ] [[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" @@ -1297,8 +1480,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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aef1f9d4c1dbdd1cb3a63be9efd2f04d8ddbc919d46112982c76818ffc2f1a7" +dependencies = [ + "bitflags 2.4.2", + "cap-fs-ext 3.0.0", + "cap-std 3.0.0", "fd-lock", "io-lifetimes", "rustix", @@ -1495,21 +1694,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 +1792,10 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 18.0.2", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 18.0.2", ] [[package]] @@ -1610,6 +1809,17 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.201.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84e5df6dba6c0d7fafc63a450f1738451ed7a0b52295d83e868218fa286bf708" +dependencies = [ + "bitflags 2.4.2", + "indexmap", + "semver", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -1617,7 +1827,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.201.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a67e66da702706ba08729a78e3c0079085f6bfcb1a62e4799e97bbf728c2c265" +dependencies = [ + "anyhow", + "wasmparser 0.201.0", ] [[package]] @@ -1649,21 +1869,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 = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a08af88fa3d324cc5cf6d388d90ef396a787b3fb4bbd51ba185f8645dc0f02c" +dependencies = [ + "anyhow", + "async-trait", + "bincode", + "bumpalo", + "cfg-if", + "encoding_rs", + "gimli", + "indexmap", + "libc", + "log", + "object", + "once_cell", + "paste", + "rustix", + "semver", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.201.0", + "wasmtime-component-macro 19.0.0", + "wasmtime-component-util 19.0.0", + "wasmtime-cranelift 19.0.0", + "wasmtime-environ 19.0.0", + "wasmtime-fiber 19.0.0", + "wasmtime-jit-icache-coherence 19.0.0", + "wasmtime-runtime 19.0.0", + "wasmtime-slab", + "wasmtime-winch 19.0.0", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "18.0.2" @@ -1673,6 +1931,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16cdbfcf28542bcda0b5fd68d44603e53e5ad126cbe7b9f25c130e1249fd8211" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "18.0.2" @@ -1703,9 +1970,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 = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cdcf690257c623506eeec3a502864b282aab0fdfd6981c1ebb63c7e98f4a23a" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 19.0.0", + "wasmtime-wit-bindgen 19.0.0", + "wit-parser 0.201.0", ] [[package]] @@ -1714,6 +1996,12 @@ version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d6d69c430cddc70ec42159506962c66983ce0192ebde4eb125b7aabc49cff88" +[[package]] +name = "wasmtime-component-util" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab3ae7bf66e2fae1e332ab3634f332d7422e878a6eecc47c8f8f78cc1f24e501" + [[package]] name = "wasmtime-cranelift" version = "18.0.2" @@ -1722,21 +2010,46 @@ 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", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-cranelift-shared", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmparser 0.121.2", + "wasmtime-cranelift-shared 18.0.2", + "wasmtime-environ 18.0.2", + "wasmtime-versioned-export-macros 18.0.2", +] + +[[package]] +name = "wasmtime-cranelift" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67ea025c969a09117818732fa6f96848e858a7953d4659dab8081a6eea3c0523" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.106.0", + "cranelift-control 0.106.0", + "cranelift-entity 0.106.0", + "cranelift-frontend 0.106.0", + "cranelift-native 0.106.0", + "cranelift-wasm 0.106.0", + "gimli", + "log", + "object", + "target-lexicon", + "thiserror", + "wasmparser 0.201.0", + "wasmtime-cranelift-shared 19.0.0", + "wasmtime-environ 19.0.0", + "wasmtime-versioned-export-macros 19.0.0", ] [[package]] @@ -1746,13 +2059,29 @@ 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", + "target-lexicon", + "wasmtime-environ 18.0.2", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcd6dd2f8d8d4860b384f61f89b597633a5b5f0943c546210e5084c5d321fe20" +dependencies = [ + "anyhow", + "cranelift-codegen 0.106.0", + "cranelift-control 0.106.0", + "cranelift-native 0.106.0", "gimli", "object", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 19.0.0", ] [[package]] @@ -1764,7 +2093,7 @@ dependencies = [ "anyhow", "bincode", "cpp_demangle", - "cranelift-entity", + "cranelift-entity 0.105.2", "gimli", "indexmap", "log", @@ -1775,10 +2104,34 @@ dependencies = [ "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 = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f60f3f717658dd77745de03b750d5852126e9be6dad465848c77f90387c44c9" +dependencies = [ + "anyhow", + "bincode", + "cranelift-entity 0.106.0", + "gimli", + "indexmap", + "log", + "object", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasm-encoder 0.201.0", + "wasmparser 0.201.0", + "wasmprinter 0.201.0", + "wasmtime-component-util 19.0.0", + "wasmtime-types 19.0.0", ] [[package]] @@ -1791,8 +2144,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 = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf8cd22ab1041bf0e54b6283e57824557902e4fed8b1f3a7eef29cbaba89eebf" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 19.0.0", + "wasmtime-versioned-export-macros 19.0.0", "windows-sys 0.52.0", ] @@ -1805,7 +2173,7 @@ dependencies = [ "object", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 18.0.2", ] [[package]] @@ -1819,6 +2187,17 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2796e4b4989db62899d2117e1e0258b839d088c044591b14e3a0396e7b3ae53a" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "18.0.2" @@ -1840,26 +2219,74 @@ 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-wmemcheck", + "wasmtime-versioned-export-macros 18.0.2", + "wasmtime-wmemcheck 18.0.2", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-runtime" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bf2b7745df452a4f41b9aab21d3f7ba1347b12da2fdc5241e59306127884a68" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "encoding_rs", + "indexmap", + "libc", + "log", + "mach", + "memfd", + "memoffset", + "paste", + "psm", + "rustix", + "sptr", + "wasm-encoder 0.201.0", + "wasmtime-asm-macros 19.0.0", + "wasmtime-environ 19.0.0", + "wasmtime-fiber 19.0.0", + "wasmtime-versioned-export-macros 19.0.0", + "wasmtime-wmemcheck 19.0.0", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-slab" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83448ef600ad95977019ebaea84a5516fdbc9561d0a8e26b1e099351f993b527" + [[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 = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf6fe7ed3fd18ed4b1e4465fe5c8674acc9f03523fca5b1b9f975b2560cd741b" +dependencies = [ + "cranelift-entity 0.106.0", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.201.0", ] [[package]] @@ -1873,36 +2300,45 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d6d967f01032da7d4c6303da32f6a00d5efe1bac124b156e7342d8ace6ffdfc" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" -version = "18.0.2" +version = "19.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d04d2fb2257245aa05ff799ded40520ae4d8cd31b0d14972afac89061f12fe12" +checksum = "371d828b6849ea06d598ae7dd1c316e8dd9e99b76f77d93d5886cb25c7f8e188" 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.1", "thiserror", "tokio", "tracing", "url", - "wasi-common", - "wasmtime", - "wiggle", + "wasmtime 19.0.0", + "wiggle 19.0.0", "windows-sys 0.52.0", ] @@ -1913,14 +2349,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db3378c0e808a744b5d4df2a9a9d2746a53b151811926731f04fc401707f7d54" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.105.2", + "gimli", + "object", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-cranelift-shared 18.0.2", + "wasmtime-environ 18.0.2", + "winch-codegen 0.16.2", +] + +[[package]] +name = "wasmtime-winch" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb8b3fcbc455105760e4a2aa8ee3f39b8357183a62201383b3f72d4836ca2be8" +dependencies = [ + "anyhow", + "cranelift-codegen 0.106.0", "gimli", "object", "target-lexicon", - "wasmparser", - "wasmtime-cranelift-shared", - "wasmtime-environ", - "winch-codegen", + "wasmparser 0.201.0", + "wasmtime-cranelift-shared 19.0.0", + "wasmtime-environ 19.0.0", + "winch-codegen 0.17.0", ] [[package]] @@ -1932,7 +2385,19 @@ dependencies = [ "anyhow", "heck", "indexmap", - "wit-parser", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96326c9800fb6c099f50d1bd2126d636fc2f96950e1675acf358c0f52516cd38" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "wit-parser 0.201.0", ] [[package]] @@ -1941,6 +2406,12 @@ version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4cbfb052d66f03603a9b77f18171ea245c7805714caad370a549a6344bf86b" +[[package]] +name = "wasmtime-wmemcheck" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36bd91a4dc55af0bf55e9e2ab0ea13724cfb5c5a1acdf8873039769208f59490" + [[package]] name = "wast" version = "35.0.2" @@ -1983,11 +2454,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 = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae1136a209614ace00b0c11f04dc7cf42540773be3b22eff6ad165110aba29c1" +dependencies = [ + "anyhow", + "async-trait", + "bitflags 2.4.2", + "thiserror", + "tracing", + "wasmtime 19.0.0", + "wiggle-macro 19.0.0", +] + [[package]] name = "wiggle-generate" version = "18.0.2" @@ -2003,6 +2489,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c2bd99ce26046f4246d720a4198f6a8fc95bc5da82ae4ef62263e24641c3076" +dependencies = [ + "anyhow", + "heck", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "18.0.2" @@ -2012,7 +2513,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 18.0.2", +] + +[[package]] +name = "wiggle-macro" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "512d816dbcd0113103b2eb2402ec9018e7f0755202a5b3e67db726f229d8dcae" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 19.0.0", ] [[package]] @@ -2044,13 +2557,29 @@ 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.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d285c833af9453c037cd220765f86c5c9961e8906a815829107c8801d535b8e4" +dependencies = [ + "anyhow", + "cranelift-codegen 0.106.0", + "gimli", + "regalloc2", + "smallvec", + "target-lexicon", + "wasmparser 0.201.0", + "wasmtime-environ 19.0.0", ] [[package]] @@ -2221,6 +2750,24 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "wit-parser" +version = "0.201.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "196d3ecfc4b759a8573bf86a9b3f8996b304b3732e4c7de81655f875f6efdca6" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.201.0", +] + [[package]] name = "witx" version = "0.9.1" diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index c9aef1e7..35592cd0 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 = "19.0.0" wasi-common = "18.0.2" wiggle = "18.0.2" wat = "1.201.0"