diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index 4aec9172..d6acf4e0 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -11,6 +11,15 @@ dependencies = [ "gimli", ] +[[package]] +name = "addr2line" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" +dependencies = [ + "gimli", +] + [[package]] name = "ahash" version = "0.8.3" @@ -51,13 +60,13 @@ checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" [[package]] name = "async-trait" -version = "0.1.68" +version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.29", ] [[package]] @@ -89,9 +98,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.3.1" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" [[package]] name = "block-buffer" @@ -138,7 +147,7 @@ dependencies = [ "io-lifetimes", "ipnet", "maybe-owned", - "rustix", + "rustix 0.37.19", "windows-sys", "winx", ] @@ -162,7 +171,7 @@ dependencies = [ "cap-primitives", "io-extras", "io-lifetimes", - "rustix", + "rustix 0.37.19", ] [[package]] @@ -173,7 +182,7 @@ checksum = "e95002993b7baee6b66c8950470e59e5226a23b3af39fc59c47fe416dd39821a" dependencies = [ "cap-primitives", "once_cell", - "rustix", + "rustix 0.37.19", "winx", ] @@ -216,7 +225,7 @@ version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "182b82f78049f54d3aee5a19870d356ef754226665a695ce2fcdd5d55379718e" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.96.4", ] [[package]] @@ -230,7 +239,7 @@ dependencies = [ "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.96.4", "cranelift-isle", "gimli", "hashbrown 0.13.2", @@ -273,6 +282,15 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.99.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab228adaf41d8e82c11ba04e57577328013aaf7a40ae3b2bd99b020a9fe418b5" +dependencies = [ + "serde", +] + [[package]] name = "cranelift-frontend" version = "0.96.4" @@ -309,13 +327,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3eab6084cc789b9dd0b1316241efeb2968199fee709f4bb4fe0fb0923bb468b" dependencies = [ "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.96.4", "cranelift-frontend", "itertools", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.103.0", + "wasmtime-types 9.0.4", ] [[package]] @@ -357,7 +375,7 @@ dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", - "memoffset", + "memoffset 0.8.0", "scopeguard", ] @@ -459,6 +477,12 @@ dependencies = [ "termcolor", ] +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "errno" version = "0.3.1" @@ -493,7 +517,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39ae6b3d9530211fb3b12a95374b8b0823be812f53d09e18c5675c0146b09642" dependencies = [ "cfg-if", - "rustix", + "rustix 0.37.19", "windows-sys", ] @@ -523,7 +547,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7833d0f115a013d51c55950a3b09d30e4b057be9961b709acb9b5b17a1108861" dependencies = [ "io-lifetimes", - "rustix", + "rustix 0.37.19", "windows-sys", ] @@ -542,7 +566,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" dependencies = [ - "bitflags 2.3.1", + "bitflags 2.4.0", "debugid", "fxhash", "serde", @@ -577,7 +601,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" dependencies = [ "fallible-iterator", - "indexmap", + "indexmap 1.9.3", "stable_deref_trait", ] @@ -596,6 +620,12 @@ dependencies = [ "ahash", ] +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" + [[package]] name = "heck" version = "0.4.1" @@ -650,6 +680,17 @@ dependencies = [ "serde", ] +[[package]] +name = "indexmap" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +dependencies = [ + "equivalent", + "hashbrown 0.14.0", + "serde", +] + [[package]] name = "io-extras" version = "0.17.4" @@ -685,7 +726,7 @@ checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" dependencies = [ "hermit-abi 0.3.1", "io-lifetimes", - "rustix", + "rustix 0.37.19", "windows-sys", ] @@ -747,9 +788,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.144" +version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" +checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "linux-raw-sys" @@ -757,6 +798,12 @@ version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +[[package]] +name = "linux-raw-sys" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" + [[package]] name = "log" version = "0.4.17" @@ -793,7 +840,7 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" dependencies = [ - "rustix", + "rustix 0.37.19", ] [[package]] @@ -805,6 +852,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "num_cpus" version = "1.15.0" @@ -823,7 +879,19 @@ checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" dependencies = [ "crc32fast", "hashbrown 0.13.2", - "indexmap", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" +dependencies = [ + "crc32fast", + "hashbrown 0.13.2", + "indexmap 1.9.3", "memchr", ] @@ -865,9 +933,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" -version = "1.0.58" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8" +checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" dependencies = [ "unicode-ident", ] @@ -892,11 +960,22 @@ dependencies = [ "unicase", ] +[[package]] +name = "pulldown-cmark" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a1a2f1f0a7ecff9c31abbe177637be0e97a0aef46cf8738ece09327985d998" +dependencies = [ + "bitflags 1.3.2", + "memchr", + "unicase", +] + [[package]] name = "quote" -version = "1.0.27" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -1026,11 +1105,24 @@ dependencies = [ "io-lifetimes", "itoa", "libc", - "linux-raw-sys", + "linux-raw-sys 0.3.8", "once_cell", "windows-sys", ] +[[package]] +name = "rustix" +version = "0.38.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" +dependencies = [ + "bitflags 2.4.0", + "errno", + "libc", + "linux-raw-sys 0.4.5", + "windows-sys", +] + [[package]] name = "rustler" version = "0.28.0" @@ -1051,7 +1143,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.29", ] [[package]] @@ -1076,6 +1168,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "semver" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" + [[package]] name = "serde" version = "1.0.163" @@ -1093,7 +1191,7 @@ checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.29", ] [[package]] @@ -1139,6 +1237,12 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +[[package]] +name = "sptr" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -1158,9 +1262,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.16" +version = "2.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" +checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" dependencies = [ "proc-macro2", "quote", @@ -1178,7 +1282,7 @@ dependencies = [ "cap-std", "fd-lock", "io-lifetimes", - "rustix", + "rustix 0.37.19", "windows-sys", "winx", ] @@ -1200,22 +1304,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.40" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.29", ] [[package]] @@ -1263,7 +1367,7 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.29", ] [[package]] @@ -1384,7 +1488,7 @@ dependencies = [ "io-lifetimes", "is-terminal", "once_cell", - "rustix", + "rustix 0.37.19", "system-interface", "tracing", "wasi-common", @@ -1403,11 +1507,11 @@ dependencies = [ "cap-std", "io-extras", "log", - "rustix", + "rustix 0.37.19", "thiserror", "tracing", - "wasmtime", - "wiggle", + "wasmtime 9.0.4", + "wiggle 9.0.1", "windows-sys", ] @@ -1420,6 +1524,15 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41763f20eafed1399fff1afb466496d3a959f58241436cfdc17e3f5ca954de16" +dependencies = [ + "leb128", +] + [[package]] name = "wasmex" version = "0.8.3" @@ -1428,10 +1541,10 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 9.0.4", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 12.0.0", ] [[package]] @@ -1440,10 +1553,20 @@ version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c437373cac5ea84f1113d648d51f71751ffbe3d90c00ae67618cf20d0b5ee7b" dependencies = [ - "indexmap", + "indexmap 1.9.3", "url", ] +[[package]] +name = "wasmparser" +version = "0.110.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dfcdb72d96f01e6c85b6bf20102e7423bdbaad5c337301bab2bbf253d26413c" +dependencies = [ + "indexmap 2.0.0", + "semver", +] + [[package]] name = "wasmtime" version = "9.0.4" @@ -1456,10 +1579,10 @@ dependencies = [ "bumpalo", "cfg-if", "fxprof-processed-profile", - "indexmap", + "indexmap 1.9.3", "libc", "log", - "object", + "object 0.30.3", "once_cell", "paste", "psm", @@ -1467,18 +1590,50 @@ dependencies = [ "serde", "serde_json", "target-lexicon", - "wasmparser", + "wasmparser 0.103.0", "wasmtime-cache", - "wasmtime-component-macro", + "wasmtime-component-macro 9.0.4", "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit", - "wasmtime-runtime", + "wasmtime-environ 9.0.4", + "wasmtime-fiber 9.0.4", + "wasmtime-jit 9.0.4", + "wasmtime-runtime 9.0.4", "wat", "windows-sys", ] +[[package]] +name = "wasmtime" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a70fb49f6d619463ca39718e3aafe1b6e4e57fa026aaacc0a350efaed739d1d" +dependencies = [ + "anyhow", + "async-trait", + "bincode", + "bumpalo", + "cfg-if", + "fxprof-processed-profile", + "indexmap 2.0.0", + "libc", + "log", + "object 0.31.1", + "once_cell", + "paste", + "psm", + "serde", + "serde_json", + "target-lexicon", + "wasm-encoder 0.31.1", + "wasmparser 0.110.0", + "wasmtime-component-macro 12.0.0", + "wasmtime-environ 12.0.0", + "wasmtime-fiber 12.0.0", + "wasmtime-jit 12.0.0", + "wasmtime-runtime 12.0.0", + "windows-sys", +] + [[package]] name = "wasmtime-asm-macros" version = "9.0.4" @@ -1488,6 +1643,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ada1830a37e61033ce2f9a754fd73c47a6897ad0bde6f680a7b8f19af9b96b71" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "9.0.4" @@ -1500,7 +1664,7 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix", + "rustix 0.37.19", "serde", "sha2", "toml", @@ -1518,9 +1682,24 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 9.0.4", + "wasmtime-wit-bindgen 9.0.4", + "wit-parser 0.7.1", +] + +[[package]] +name = "wasmtime-component-macro" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37f0866a7bedfbaf61698a7d9f19f642052cdc02dc4a67eb41844fa49fabd162" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.29", + "wasmtime-component-util 12.0.0", + "wasmtime-wit-bindgen 12.0.0", + "wit-parser 0.9.2", ] [[package]] @@ -1529,6 +1708,12 @@ version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fa88f9e77d80f828c9d684741a9da649366c6d1cceb814755dd9cab7112d1d1" +[[package]] +name = "wasmtime-component-util" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0035b51b0b895d77d83af51b65283defd8bae10ce9521d8162d63c1f16090ab2" + [[package]] name = "wasmtime-cranelift" version = "9.0.4" @@ -1538,18 +1723,18 @@ dependencies = [ "anyhow", "cranelift-codegen", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.96.4", "cranelift-frontend", "cranelift-native", "cranelift-wasm", "gimli", "log", - "object", + "object 0.30.3", "target-lexicon", "thiserror", - "wasmparser", + "wasmparser 0.103.0", "wasmtime-cranelift-shared", - "wasmtime-environ", + "wasmtime-environ 9.0.4", ] [[package]] @@ -1563,9 +1748,9 @@ dependencies = [ "cranelift-control", "cranelift-native", "gimli", - "object", + "object 0.30.3", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 9.0.4", ] [[package]] @@ -1575,16 +1760,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ec815d01a8d38aceb7ed4678f9ba551ae6b8a568a63810ac3ad9293b0fd01c8" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.96.4", "gimli", - "indexmap", + "indexmap 1.9.3", "log", - "object", + "object 0.30.3", "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.103.0", + "wasmtime-types 9.0.4", +] + +[[package]] +name = "wasmtime-environ" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1371be0e60ebb9790baf41f3d51c8741b7abca210bedcab3aa09b170167456c7" +dependencies = [ + "anyhow", + "cranelift-entity 0.99.0", + "gimli", + "indexmap 2.0.0", + "log", + "object 0.31.1", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.110.0", + "wasmtime-types 12.0.0", ] [[package]] @@ -1595,8 +1799,22 @@ checksum = "23c5127908fdf720614891ec741c13dd70c844e102caa393e2faca1ee68e9bfb" dependencies = [ "cc", "cfg-if", - "rustix", - "wasmtime-asm-macros", + "rustix 0.37.19", + "wasmtime-asm-macros 9.0.4", + "windows-sys", +] + +[[package]] +name = "wasmtime-fiber" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d8a1ded589d8d414cf030218ab986a83ec76cd15390c46bdb4f21058671c66a" +dependencies = [ + "cc", + "cfg-if", + "rustix 0.38.8", + "wasmtime-asm-macros 12.0.0", + "wasmtime-versioned-export-macros", "windows-sys", ] @@ -1606,7 +1824,7 @@ version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2712eafe829778b426cad0e1769fef944898923dd29f0039e34e0d53ba72b234" dependencies = [ - "addr2line", + "addr2line 0.19.0", "anyhow", "bincode", "cfg-if", @@ -1614,14 +1832,38 @@ dependencies = [ "gimli", "ittapi", "log", - "object", + "object 0.30.3", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmtime-environ 9.0.4", + "wasmtime-jit-debug 9.0.4", + "wasmtime-jit-icache-coherence 9.0.4", + "wasmtime-runtime 9.0.4", + "windows-sys", +] + +[[package]] +name = "wasmtime-jit" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6145785fdc6c6e36f1cc91aa04d03eedcad6d0d87ae5d0708355cd3dbc7882b" +dependencies = [ + "addr2line 0.20.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli", + "log", + "object 0.31.1", "rustc-demangle", + "rustix 0.38.8", "serde", "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-environ 12.0.0", + "wasmtime-jit-icache-coherence 12.0.0", + "wasmtime-runtime 12.0.0", "windows-sys", ] @@ -1631,9 +1873,19 @@ version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65fb78eacf4a6e47260d8ef8cc81ea8ddb91397b2e848b3fb01567adebfe89b5" dependencies = [ - "object", + "object 0.30.3", + "once_cell", + "rustix 0.37.19", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0eb9846545044c2b4ba14cb206e2ca4f603989d2176f034ca0a56565c98c1c4" +dependencies = [ "once_cell", - "rustix", + "wasmtime-versioned-export-macros", ] [[package]] @@ -1647,6 +1899,17 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e53a371aba40de6a84621993f2f9ff1ff1366fb1cb32d21d0d01f7815fe12313" +dependencies = [ + "cfg-if", + "libc", + "windows-sys", +] + [[package]] name = "wasmtime-runtime" version = "9.0.4" @@ -1656,19 +1919,47 @@ dependencies = [ "anyhow", "cc", "cfg-if", - "indexmap", + "indexmap 1.9.3", "libc", "log", "mach", "memfd", - "memoffset", + "memoffset 0.8.0", "paste", "rand", - "rustix", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit-debug", + "rustix 0.37.19", + "wasmtime-asm-macros 9.0.4", + "wasmtime-environ 9.0.4", + "wasmtime-fiber 9.0.4", + "wasmtime-jit-debug 9.0.4", + "windows-sys", +] + +[[package]] +name = "wasmtime-runtime" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c99982745bca96680c9e46c4d74080e940dcbe1ac0fe0a455e7ce10d2857b300" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 2.0.0", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.9.0", + "paste", + "rand", + "rustix 0.38.8", + "sptr", + "wasm-encoder 0.31.1", + "wasmtime-asm-macros 12.0.0", + "wasmtime-environ 12.0.0", + "wasmtime-fiber 12.0.0", + "wasmtime-jit-debug 12.0.0", + "wasmtime-versioned-export-macros", "windows-sys", ] @@ -1678,10 +1969,33 @@ version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19961c9a3b04d5e766875a5c467f6f5d693f508b3e81f8dc4a1444aa94f041c9" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.96.4", + "serde", + "thiserror", + "wasmparser 0.103.0", +] + +[[package]] +name = "wasmtime-types" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ca1bccb131a6d878523aa89e94b58607b96cbca86a9ba2292f6d769b6cbcec" +dependencies = [ + "cranelift-entity 0.99.0", "serde", "thiserror", - "wasmparser", + "wasmparser 0.110.0", +] + +[[package]] +name = "wasmtime-versioned-export-macros" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b2074279edf31e0e7f9e03f06ebe1fae459a930c9d3e4a931fb721ebe9c83fc" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.29", ] [[package]] @@ -1694,8 +2008,8 @@ dependencies = [ "libc", "wasi-cap-std-sync", "wasi-common", - "wasmtime", - "wiggle", + "wasmtime 9.0.4", + "wiggle 9.0.1", ] [[package]] @@ -1706,7 +2020,19 @@ checksum = "421f0d16cc5c612b35ae53a0be3d3124c72296f18e5be3468263c745d56d37ab" dependencies = [ "anyhow", "heck", - "wit-parser", + "wit-parser 0.7.1", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eba9ceb094d4c85e4d143a2a583a6db8f9dcffdb503d7332ff54aebf40ef009b" +dependencies = [ + "anyhow", + "heck", + "indexmap 2.0.0", + "wit-parser 0.9.2", ] [[package]] @@ -1727,7 +2053,7 @@ dependencies = [ "leb128", "memchr", "unicode-width", - "wasm-encoder", + "wasm-encoder 0.30.0", ] [[package]] @@ -1750,8 +2076,23 @@ dependencies = [ "bitflags 1.3.2", "thiserror", "tracing", - "wasmtime", - "wiggle-macro", + "wasmtime 9.0.4", + "wiggle-macro 9.0.1", +] + +[[package]] +name = "wiggle" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1411b73e79260d74c9b10f5b7adf0f682b9f3a19a6286d60c6a67da07a9b8251" +dependencies = [ + "anyhow", + "async-trait", + "bitflags 2.4.0", + "thiserror", + "tracing", + "wasmtime 12.0.0", + "wiggle-macro 12.0.0", "witx", ] @@ -1770,6 +2111,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80f95f3125bae7b5884c92b969d1b450cc90b703a5c1fb3224e59935a13fcd4f" +dependencies = [ + "anyhow", + "heck", + "proc-macro2", + "quote", + "shellexpand", + "syn 2.0.29", + "witx", +] + [[package]] name = "wiggle-macro" version = "9.0.1" @@ -1779,7 +2135,19 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "wiggle-generate", + "wiggle-generate 9.0.1", +] + +[[package]] +name = "wiggle-macro" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ed8231ff26b8b6a996497823e73095f43f22719609aa0493d3b2975f17721a0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.29", + "wiggle-generate 12.0.0", ] [[package]] @@ -1898,9 +2266,25 @@ checksum = "5ca2581061573ef6d1754983d7a9b3ed5871ef859d52708ea9a0f5af32919172" dependencies = [ "anyhow", "id-arena", - "indexmap", + "indexmap 1.9.3", + "log", + "pulldown-cmark 0.8.0", + "unicode-xid", + "url", +] + +[[package]] +name = "wit-parser" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "541efa2046e544de53a9da1e2f6299e63079840360c9e106f1f8275a97771318" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.0.0", "log", - "pulldown-cmark", + "pulldown-cmark 0.9.3", + "semver", "unicode-xid", "url", ] diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index cd038cea..f1a6c957 100644 --- a/native/wasmex/Cargo.toml +++ b/native/wasmex/Cargo.toml @@ -21,5 +21,5 @@ rand = "0.8.5" wasmtime = "9.0.4" wasmtime-wasi = "9.0.1" wasi-common = "9.0.1" -wiggle = "9.0.1" +wiggle = "12.0.0" wat = "1.0.67"