diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index d2bebc72..05f06437 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.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fc2d2954524be4866aaa720f008fba9995de54784957a1b0e0119992d6d5e52" +dependencies = [ + "cap-primitives 3.1.0", + "cap-std 3.1.0", "io-lifetimes", "windows-sys 0.52.0", ] [[package]] name = "cap-net-ext" -version = "2.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "434168fe6533055f0f4204039abe3ff6d7db338ef46872a5fa39e9d5ad5ab7a9" +checksum = "799c81d79ea9c71a1438efd417c788214bc9e7986046d3710b6bbe60da4d8275" dependencies = [ - "cap-primitives", - "cap-std", + "cap-primitives 3.1.0", + "cap-std 3.1.0", "rustix", "smallvec", ] @@ -192,6 +204,23 @@ dependencies = [ "winx", ] +[[package]] +name = "cap-primitives" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00172660727e2d7f808e7cc2bfffd093fdb3ea2ff2ef819289418a3c3ffab5ac" +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.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "270f1d341a2afc62604f8f688bee4e444d052b7a74c1458dd3aa7efb47d4077f" +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.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd9187bb3f7478a4c135ea10473a41a5f029d2ac800c1adf64f35ec7d4c8603" +dependencies = [ + "cap-primitives 3.1.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.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91666f31e30c85b1d2ee8432c90987f752c45f5821f5638027b41e73e16a395b" +dependencies = [ + "ambient-authority", + "cap-primitives 3.1.0", "iana-time-zone", "once_cell", "rustix", @@ -244,6 +309,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" @@ -274,7 +345,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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75f0946f5e307e5dbf22e8bc0bd9bc5336a4f0240a4af4751c007a0cbf84917" +dependencies = [ + "cranelift-entity 0.108.0", ] [[package]] @@ -284,12 +364,12 @@ 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", @@ -298,13 +378,44 @@ dependencies = [ "target-lexicon", ] +[[package]] +name = "cranelift-codegen" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6b0a01705ef466bbc64e10af820f935f77256bcb14a40dde1e10b7a0969ce11" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.108.0", + "cranelift-codegen-meta 0.108.0", + "cranelift-codegen-shared 0.108.0", + "cranelift-control 0.108.0", + "cranelift-entity 0.108.0", + "cranelift-isle 0.108.0", + "gimli", + "hashbrown 0.14.3", + "log", + "regalloc2", + "rustc-hash", + "smallvec", + "target-lexicon", +] + [[package]] name = "cranelift-codegen-meta" 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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cdaeff01606190dcccd13cf3d80b8d5f1f197812ba7bba1196ae08bd8e82592" +dependencies = [ + "cranelift-codegen-shared 0.108.0", ] [[package]] @@ -313,6 +424,12 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c36bf4bfb86898a94ccfa773a1f86e8a5346b1983ff72059bdd2db4600325251" +[[package]] +name = "cranelift-codegen-shared" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cefa0243350ce9667f3320579c8a2c3dd3d1f9943e8ab2eb1d4ca533ccc1db57" + [[package]] name = "cranelift-control" version = "0.105.2" @@ -322,6 +439,15 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa46a2d3331aa33cbd399665d6ea0f431f726a55fb69fdf897035cf5fe0a3301" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-entity" version = "0.105.2" @@ -332,13 +458,35 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-entity" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e8f7cc083e6d01d656283f293ec361ce7bae05eca896f3a932d42dad1850578" +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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8490d83b85eeec14ebf3b4c0b0ebc33600f1943514b1406a7b99b85d8b80e4c0" +dependencies = [ + "cranelift-codegen 0.108.0", "log", "smallvec", "target-lexicon", @@ -350,13 +498,30 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "457a9832b089e26f5eea70dcf49bed8ec6edafed630ce7c83161f24d46ab8085" +[[package]] +name = "cranelift-isle" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e617871f2347ca078a31d61acaf7de961852447e6009afa5be6e4df6d5785dd4" + [[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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "add05ee8162778fd7b545e0935f4a5c0c95afdac003362e040ef0229227ae967" +dependencies = [ + "cranelift-codegen 0.108.0", "libc", "target-lexicon", ] @@ -367,14 +532,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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "318b671ce0a174347dcbc4a5e8b8fe292864fd63fdb0c91324239245c3d4caa2" +dependencies = [ + "cranelift-codegen 0.108.0", + "cranelift-entity 0.108.0", + "cranelift-frontend 0.108.0", + "itertools 0.12.1", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.207.0", + "wasmtime-types 21.0.0", ] [[package]] @@ -487,6 +668,12 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" +[[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.33" @@ -775,6 +962,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" @@ -837,6 +1033,12 @@ version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +[[package]] +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + [[package]] name = "libredox" version = "0.0.1" @@ -869,6 +1071,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 +1152,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" @@ -977,6 +1200,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" @@ -1136,9 +1370,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.38.31" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ "bitflags 2.4.2", "errno", @@ -1256,6 +1490,9 @@ name = "smallvec" version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" +dependencies = [ + "serde", +] [[package]] name = "socket2" @@ -1297,8 +1534,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.1.0", + "cap-std 3.1.0", "fd-lock", "io-lifetimes", "rustix", @@ -1495,21 +1748,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", ] @@ -1585,6 +1838,15 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.207.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d996306fb3aeaee0d9157adbe2f670df0236caf19f6728b221e92d0f27b3fe17" +dependencies = [ + "leb128", +] + [[package]] name = "wasmex" version = "0.8.3" @@ -1593,10 +1855,10 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 18.0.2", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 18.0.2", ] [[package]] @@ -1610,6 +1872,19 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.207.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e19bb9f8ab07616da582ef8adb24c54f1424c7ec876720b7da9db8ec0626c92c" +dependencies = [ + "ahash", + "bitflags 2.4.2", + "hashbrown 0.14.3", + "indexmap", + "semver", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -1617,7 +1892,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.207.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c2d8a7b4dabb460208e6b4334d9db5766e84505038b2529e69c3d07ac619115" +dependencies = [ + "anyhow", + "wasmparser 0.207.0", ] [[package]] @@ -1639,7 +1924,7 @@ dependencies = [ "ittapi", "libc", "log", - "object", + "object 0.32.2", "once_cell", "paste", "rayon", @@ -1649,21 +1934,67 @@ 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-jit-icache-coherence 18.0.2", "wasmtime-runtime", - "wasmtime-winch", + "wasmtime-winch 18.0.2", "wat", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fe2db63de4669214120414ae6d86afb6bb011748bf942836aba2d45f011972b" +dependencies = [ + "anyhow", + "async-trait", + "bumpalo", + "cc", + "cfg-if", + "encoding_rs", + "hashbrown 0.14.3", + "indexmap", + "libc", + "libm", + "log", + "mach2", + "memfd", + "memoffset", + "object 0.33.0", + "once_cell", + "paste", + "postcard", + "psm", + "rustix", + "semver", + "serde", + "serde_derive", + "smallvec", + "sptr", + "target-lexicon", + "wasmparser 0.207.0", + "wasmtime-asm-macros 21.0.0", + "wasmtime-component-macro 21.0.0", + "wasmtime-component-util 21.0.0", + "wasmtime-cranelift 21.0.0", + "wasmtime-environ 21.0.0", + "wasmtime-fiber 21.0.0", + "wasmtime-jit-icache-coherence 21.0.0", + "wasmtime-slab", + "wasmtime-versioned-export-macros 21.0.0", + "wasmtime-winch 21.0.0", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "18.0.2" @@ -1673,6 +2004,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "821f87828a6508995bf1243fda9dafd1b671a49b3bf998394c7b73f0f5d9eb5f" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "18.0.2" @@ -1703,9 +2043,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 = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aab7a588beec0116e99488768395eee70a1dc53869aae111d006f8928a16ed46" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 21.0.0", + "wasmtime-wit-bindgen 21.0.0", + "wit-parser 0.207.0", ] [[package]] @@ -1714,6 +2069,12 @@ version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d6d69c430cddc70ec42159506962c66983ce0192ebde4eb125b7aabc49cff88" +[[package]] +name = "wasmtime-component-util" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52cc81977f24da3071f3f4b32f40ef6d8fb4f14e12f0bc4c68163935d6694ded" + [[package]] name = "wasmtime-cranelift" version = "18.0.2" @@ -1722,21 +2083,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 = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e45cc4915c2b37b4d8b49aaab29d6e2612b393eabb01ae3a410d95e372c22d13" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.108.0", + "cranelift-control 0.108.0", + "cranelift-entity 0.108.0", + "cranelift-frontend 0.108.0", + "cranelift-native 0.108.0", + "cranelift-wasm 0.108.0", + "gimli", + "log", + "object 0.33.0", + "target-lexicon", + "thiserror", + "wasmparser 0.207.0", + "wasmtime-environ 21.0.0", + "wasmtime-versioned-export-macros 21.0.0", ] [[package]] @@ -1746,13 +2131,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 +2149,44 @@ 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 = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bba5317f774e37197d588deadb794289438866b72bc1531c593506a004d6cfe0" +dependencies = [ + "anyhow", + "cranelift-entity 0.108.0", + "gimli", + "indexmap", + "log", + "object 0.33.0", + "postcard", + "serde", + "serde_derive", + "target-lexicon", + "wasm-encoder 0.207.0", + "wasmparser 0.207.0", + "wasmprinter 0.207.0", + "wasmtime-component-util 21.0.0", + "wasmtime-types 21.0.0", ] [[package]] @@ -1791,8 +2199,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 = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89ecb5dd1253786c4809588b722a5990367ad0b730f53e676ea8edd2962a6834" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 21.0.0", + "wasmtime-versioned-export-macros 21.0.0", "windows-sys 0.52.0", ] @@ -1802,10 +2225,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 +2242,18 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6ce46bf24b027e1ede83d14ed544c736d7e939a849c4429551eb27842356c77" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "18.0.2" @@ -1840,26 +2275,45 @@ 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-slab" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90814f57c64afa02324829c3a8f88616ce3a75f1b2ce9728d34827d21329a836" + [[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 = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "629bdcf8b1f7590834c1ad6cd043e93e1d57e80b776adb84109eed203fb74d38" +dependencies = [ + "cranelift-entity 0.108.0", + "serde", + "serde_derive", + "smallvec", + "wasmparser 0.207.0", ] [[package]] @@ -1873,36 +2327,45 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89b3438cb56868e235825c7026e85fe8a6c4b5437b5786ad010948e5c6eff0d4" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" -version = "18.0.2" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d04d2fb2257245aa05ff799ded40520ae4d8cd31b0d14972afac89061f12fe12" +checksum = "82e7931e19286a853fb5cae7790f9be473f7ab763043c659f1fa0a2a8eada10b" dependencies = [ "anyhow", "async-trait", "bitflags 2.4.2", "bytes", - "cap-fs-ext", + "cap-fs-ext 3.1.0", "cap-net-ext", - "cap-rand", - "cap-std", - "cap-time-ext", + "cap-rand 3.1.0", + "cap-std 3.1.0", + "cap-time-ext 3.1.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 21.0.0", + "wiggle 21.0.0", "windows-sys 0.52.0", ] @@ -1913,14 +2376,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 = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd04ad4f7bbcf7925455cec6420481b972071284e611e105cc16b847fc6415e8" +dependencies = [ + "anyhow", + "cranelift-codegen 0.108.0", + "gimli", + "object 0.33.0", + "target-lexicon", + "wasmparser 0.207.0", + "wasmtime-cranelift 21.0.0", + "wasmtime-environ 21.0.0", + "winch-codegen 0.19.0", ] [[package]] @@ -1932,7 +2412,19 @@ dependencies = [ "anyhow", "heck", "indexmap", - "wit-parser", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50c5e4fc265a4d78c334b9fcd846ffd94859bf821ee34a77bc68035526d455ee" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "wit-parser 0.207.0", ] [[package]] @@ -1983,11 +2475,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 = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f08c5d8fa4a78e3b4617087f38a4e3d2a99f77564fb8cbc081171f51e71be68f" +dependencies = [ + "anyhow", + "async-trait", + "bitflags 2.4.2", + "thiserror", + "tracing", + "wasmtime 21.0.0", + "wiggle-macro 21.0.0", +] + [[package]] name = "wiggle-generate" version = "18.0.2" @@ -2003,6 +2510,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca781e3c25a0fdca713b956749f3957f20ae61e88ad52225d2a6f5c20f349ac1" +dependencies = [ + "anyhow", + "heck", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "18.0.2" @@ -2012,7 +2534,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 18.0.2", +] + +[[package]] +name = "wiggle-macro" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "117d24553966c27aff87b95f817519bd4aacd71165f961d04cf53e5ffdfc2f08" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 21.0.0", ] [[package]] @@ -2044,13 +2578,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 0.121.2", + "wasmtime-environ 18.0.2", +] + +[[package]] +name = "winch-codegen" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48691637c874363258ea7295497afdcfd426e5608fa36f62ab6bd0b9cac2bcb8" +dependencies = [ + "anyhow", + "cranelift-codegen 0.108.0", "gimli", "regalloc2", "smallvec", "target-lexicon", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.207.0", + "wasmtime-cranelift 21.0.0", + "wasmtime-environ 21.0.0", ] [[package]] @@ -2221,6 +2772,24 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "wit-parser" +version = "0.207.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c83dab33a9618d86cfe3563cc864deffd08c17efc5db31a3b7cd1edeffe6e1" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.207.0", +] + [[package]] name = "witx" version = "0.9.1" diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index 6f720ff3..247b9ffd 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 = "21.0.0" wasi-common = "18.0.2" wiggle = "18.0.2" wat = "1.202.0"