diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index c96600e8..896e8b37 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -253,7 +253,7 @@ version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a91a1ccf6fb772808742db2f51e2179f25b1ec559cbe39ea080c72ff61caf8f" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.99.2", ] [[package]] @@ -267,7 +267,7 @@ dependencies = [ "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.99.2", "cranelift-isle", "gimli 0.27.3", "hashbrown 0.13.2", @@ -310,6 +310,16 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.101.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5b171044e1ba920fc2f6e46643ade12c7a2fd7e8f31fd358041d61ae3b71ed" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" version = "0.99.2" @@ -346,13 +356,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d8635c88b424f1d232436f683a301143b36953cd98fc6f86f7bac862dfeb6f5" dependencies = [ "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.99.2", "cranelift-frontend", "itertools", "log", "smallvec", "wasmparser 0.110.0", - "wasmtime-types", + "wasmtime-types 12.0.2", ] [[package]] @@ -538,6 +548,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "fd-lock" version = "4.0.0" @@ -689,7 +705,7 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -699,6 +715,11 @@ name = "gimli" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +dependencies = [ + "fallible-iterator 0.3.0", + "indexmap 2.0.0", + "stable_deref_trait", +] [[package]] name = "hashbrown" @@ -720,6 +741,9 @@ name = "hashbrown" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +dependencies = [ + "ahash", +] [[package]] name = "heck" @@ -970,6 +994,9 @@ version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ + "crc32fast", + "hashbrown 0.14.0", + "indexmap 2.0.0", "memchr", ] @@ -1596,8 +1623,8 @@ dependencies = [ "rustix", "thiserror", "tracing", - "wasmtime", - "wiggle", + "wasmtime 12.0.2", + "wiggle 12.0.2", "windows-sys", ] @@ -1619,6 +1646,15 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ca90ba1b5b0a70d3d49473c5579951f3bddc78d47b59256d2f9d4922b150aca" +dependencies = [ + "leb128", +] + [[package]] name = "wasmex" version = "0.8.3" @@ -1627,10 +1663,10 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 12.0.2", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 14.0.3", ] [[package]] @@ -1653,6 +1689,16 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.115.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e06c0641a4add879ba71ccb3a1e4278fd546f76f1eafb21d8f7b07733b547cd5" +dependencies = [ + "indexmap 2.0.0", + "semver", +] + [[package]] name = "wasmprinter" version = "0.2.66" @@ -1690,18 +1736,51 @@ dependencies = [ "wasm-encoder 0.31.1", "wasmparser 0.110.0", "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-component-util", + "wasmtime-component-macro 12.0.2", + "wasmtime-component-util 12.0.2", "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit", - "wasmtime-runtime", + "wasmtime-environ 12.0.2", + "wasmtime-fiber 12.0.2", + "wasmtime-jit 12.0.2", + "wasmtime-runtime 12.0.2", "wasmtime-winch", "wat", "windows-sys", ] +[[package]] +name = "wasmtime" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75bcf6b34483f487a6d6052a52621c304c832a62b1cacab0c8a756b5c8c6a5f" +dependencies = [ + "anyhow", + "async-trait", + "bincode", + "bumpalo", + "cfg-if", + "fxprof-processed-profile", + "indexmap 2.0.0", + "libc", + "log", + "object 0.32.1", + "once_cell", + "paste", + "psm", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasm-encoder 0.35.0", + "wasmparser 0.115.0", + "wasmtime-component-macro 14.0.3", + "wasmtime-environ 14.0.3", + "wasmtime-fiber 14.0.3", + "wasmtime-jit 14.0.3", + "wasmtime-runtime 14.0.3", + "windows-sys", +] + [[package]] name = "wasmtime-asm-macros" version = "12.0.2" @@ -1711,6 +1790,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7b7aef8d206203b4ab6b81869ac4d8f5b12bd57cfc91e6589a6fa65b76e4828" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "12.0.2" @@ -1741,9 +1829,24 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 12.0.2", + "wasmtime-wit-bindgen 12.0.2", + "wit-parser 0.9.2", +] + +[[package]] +name = "wasmtime-component-macro" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5babf8d70d50b416ada364265113e3c8ba54b89568c4459a1c0f32bca458914" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 14.0.3", + "wasmtime-wit-bindgen 14.0.3", + "wit-parser 0.12.2", ] [[package]] @@ -1752,6 +1855,12 @@ version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74f421bc59c753dcd24e39601928a0f2915adf15f40d8ba0066c4cf23f92c9a0" +[[package]] +name = "wasmtime-component-util" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33cb20a705f7984971ba6a18cebfdaca1558d129513ad68c8702bc74ec58c014" + [[package]] name = "wasmtime-cranelift" version = "12.0.2" @@ -1761,7 +1870,7 @@ dependencies = [ "anyhow", "cranelift-codegen", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.99.2", "cranelift-frontend", "cranelift-native", "cranelift-wasm", @@ -1772,8 +1881,8 @@ dependencies = [ "thiserror", "wasmparser 0.110.0", "wasmtime-cranelift-shared", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-environ 12.0.2", + "wasmtime-versioned-export-macros 12.0.2", ] [[package]] @@ -1789,7 +1898,7 @@ dependencies = [ "gimli 0.27.3", "object 0.31.1", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 12.0.2", ] [[package]] @@ -1799,7 +1908,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8b9227b1001229ff125e0f76bf1d5b9dc4895e6bcfd5cc35a56f84685964ec7" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.99.2", "gimli 0.27.3", "indexmap 2.0.0", "log", @@ -1810,8 +1919,28 @@ dependencies = [ "wasm-encoder 0.31.1", "wasmparser 0.110.0", "wasmprinter", - "wasmtime-component-util", - "wasmtime-types", + "wasmtime-component-util 12.0.2", + "wasmtime-types 12.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9957ba8872fa96706837254ea1e0e2fa89ded856caf911e5fa23c2f6ee4d66" +dependencies = [ + "anyhow", + "cranelift-entity 0.101.3", + "gimli 0.28.0", + "indexmap 2.0.0", + "log", + "object 0.32.1", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasmparser 0.115.0", + "wasmtime-types 14.0.3", ] [[package]] @@ -1823,8 +1952,22 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 12.0.2", + "wasmtime-versioned-export-macros 12.0.2", + "windows-sys", +] + +[[package]] +name = "wasmtime-fiber" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4db404c73af51a40b711a4b3a01072828e4739cecab1e906555a1d64f7bcb29a" +dependencies = [ + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 14.0.3", + "wasmtime-versioned-export-macros 14.0.3", "windows-sys", ] @@ -1847,10 +1990,35 @@ dependencies = [ "rustix", "serde", "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-environ 12.0.2", + "wasmtime-jit-debug 12.0.2", + "wasmtime-jit-icache-coherence 12.0.2", + "wasmtime-runtime 12.0.2", + "windows-sys", +] + +[[package]] +name = "wasmtime-jit" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab6a509139d243234dfcf278b18ab773d545ec71093a548dd8e85a758ff373b" +dependencies = [ + "addr2line 0.21.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli 0.28.0", + "log", + "object 0.32.1", + "rustc-demangle", + "rustix", + "serde", + "serde_derive", + "target-lexicon", + "wasmtime-environ 14.0.3", + "wasmtime-jit-icache-coherence 14.0.3", + "wasmtime-runtime 14.0.3", "windows-sys", ] @@ -1863,7 +2031,17 @@ dependencies = [ "object 0.31.1", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 12.0.2", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11fa18c58b8eefd886e79cd9beb7f29a3eb40675a4fd80ceb6f57aa92a4ed444" +dependencies = [ + "once_cell", + "wasmtime-versioned-export-macros 14.0.3", ] [[package]] @@ -1877,6 +2055,17 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5abc692642397258099b9e108489e75ac3f1cf6fc9bbf7ac1711d59d8e7a56aa" +dependencies = [ + "cfg-if", + "libc", + "windows-sys", +] + [[package]] name = "wasmtime-runtime" version = "12.0.2" @@ -1898,11 +2087,40 @@ dependencies = [ "rustix", "sptr", "wasm-encoder 0.31.1", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit-debug", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 12.0.2", + "wasmtime-environ 12.0.2", + "wasmtime-fiber 12.0.2", + "wasmtime-jit-debug 12.0.2", + "wasmtime-versioned-export-macros 12.0.2", + "windows-sys", +] + +[[package]] +name = "wasmtime-runtime" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a54fbc6bd5c737431928b58a25fa32a182dcb08f3e52ccf6976646458df9ac" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 2.0.0", + "libc", + "log", + "mach", + "memfd", + "memoffset", + "paste", + "rand", + "rustix", + "sptr", + "wasm-encoder 0.35.0", + "wasmtime-asm-macros 14.0.3", + "wasmtime-environ 14.0.3", + "wasmtime-fiber 14.0.3", + "wasmtime-jit-debug 14.0.3", + "wasmtime-versioned-export-macros 14.0.3", + "wasmtime-wmemcheck", "windows-sys", ] @@ -1912,12 +2130,25 @@ version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77943729d4b46141538e8d0b6168915dc5f88575ecdfea26753fd3ba8bab244a" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.99.2", "serde", "thiserror", "wasmparser 0.110.0", ] +[[package]] +name = "wasmtime-types" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd11700810a5a4700702276447f3353a6fa35bd536809f70fca5c939bfdc7023" +dependencies = [ + "cranelift-entity 0.101.3", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.115.0", +] + [[package]] name = "wasmtime-versioned-export-macros" version = "12.0.2" @@ -1929,6 +2160,17 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2becb0edbd9d37a51febe1d70d3437a734a4b944c749103a0e6915cf9caa16e6" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" version = "12.0.2" @@ -1955,8 +2197,8 @@ dependencies = [ "tracing", "wasi-cap-std-sync", "wasi-common", - "wasmtime", - "wiggle", + "wasmtime 12.0.2", + "wiggle 12.0.2", "windows-sys", ] @@ -1973,7 +2215,7 @@ dependencies = [ "target-lexicon", "wasmparser 0.110.0", "wasmtime-cranelift-shared", - "wasmtime-environ", + "wasmtime-environ 12.0.2", "winch-codegen", ] @@ -1986,9 +2228,27 @@ dependencies = [ "anyhow", "heck", "indexmap 2.0.0", - "wit-parser", + "wit-parser 0.9.2", ] +[[package]] +name = "wasmtime-wit-bindgen" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db258144dd97b7f42b0bcf1b238887d8bf47cf065c53ea9829b5bc8a6d47025a" +dependencies = [ + "anyhow", + "heck", + "indexmap 2.0.0", + "wit-parser 0.12.2", +] + +[[package]] +name = "wasmtime-wmemcheck" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58d40efa95290d370bc3a78e953b77200f9497f82caee2f91008bae1babc4cbc" + [[package]] name = "wast" version = "35.0.2" @@ -2030,8 +2290,23 @@ dependencies = [ "bitflags 2.4.0", "thiserror", "tracing", - "wasmtime", - "wiggle-macro", + "wasmtime 12.0.2", + "wiggle-macro 12.0.2", +] + +[[package]] +name = "wiggle" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879c332d154253c2421a47f365617b5265af3ce3afe1a35f40b3d3fe00fcd462" +dependencies = [ + "anyhow", + "async-trait", + "bitflags 2.4.0", + "thiserror", + "tracing", + "wasmtime 14.0.3", + "wiggle-macro 14.0.3", "witx", ] @@ -2050,6 +2325,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b518fdef726cbe27a354b2706c86b1587ce99d29690c9c744fd720b0d27c72f3" +dependencies = [ + "anyhow", + "heck", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "12.0.2" @@ -2059,7 +2349,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 12.0.2", +] + +[[package]] +name = "wiggle-macro" +version = "14.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df654374ecf51dfd2ac27104ef68113762223913dd58e4d97d8376b496c48d55" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 14.0.3", ] [[package]] @@ -2106,7 +2408,7 @@ dependencies = [ "smallvec", "target-lexicon", "wasmparser 0.110.0", - "wasmtime-environ", + "wasmtime-environ 12.0.2", ] [[package]] @@ -2201,6 +2503,23 @@ dependencies = [ "url", ] +[[package]] +name = "wit-parser" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43771ee863a16ec4ecf9da0fc65c3bbd4a1235c8e3da5f094b562894843dfa76" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.0.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", +] + [[package]] name = "witx" version = "0.9.1" diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index 89c5c26e..68f951d1 100644 --- a/native/wasmex/Cargo.toml +++ b/native/wasmex/Cargo.toml @@ -21,5 +21,5 @@ rand = "0.8.5" wasmtime = "12.0.2" wasmtime-wasi = "12.0.2" wasi-common = "12.0.2" -wiggle = "12.0.2" +wiggle = "14.0.3" wat = "1.0.73"