diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index 5bce985..4700c77 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -265,7 +265,7 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b80c3a50b9c4c7e5b5f73c0ed746687774fc9e36ef652b110da8daebf0c6e0e6" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.111.0", ] [[package]] @@ -278,6 +278,16 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-bitset" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45ecbe07f25a8100e5077933516200e97808f1d7196b5a073edb85fa08fde32e" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" version = "0.111.0" @@ -286,11 +296,11 @@ checksum = "58258667ad10e468bfc13a8d620f50dfcd4bb35d668123e97defa2549b9ad397" dependencies = [ "bumpalo", "cranelift-bforest", - "cranelift-bitset", + "cranelift-bitset 0.111.0", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.111.0", "cranelift-isle", "gimli", "hashbrown 0.14.5", @@ -331,7 +341,18 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5289cdb399381a27e7bbfa1b42185916007c3d49aeef70b1d01cb4caa8010130" dependencies = [ - "cranelift-bitset", + "cranelift-bitset 0.111.0", + "serde", + "serde_derive", +] + +[[package]] +name = "cranelift-entity" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95e2b261a3e74ae42f4e606906d5ffa44ee2684e8b1ae23bdf75d21908dc9233" +dependencies = [ + "cranelift-bitset 0.112.1", "serde", "serde_derive", ] @@ -372,13 +393,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49778df4289933d735b93c30a345513e030cf83101de0036e19b760f8aa09f68" dependencies = [ "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.111.0", "cranelift-frontend", "itertools", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.215.0", + "wasmtime-types 24.0.0", ] [[package]] @@ -1602,8 +1623,8 @@ dependencies = [ "system-interface", "thiserror", "tracing", - "wasmtime", - "wiggle", + "wasmtime 24.0.0", + "wiggle 24.0.0", "windows-sys 0.52.0", ] @@ -1687,10 +1708,10 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 24.0.0", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 25.0.1", ] [[package]] @@ -1707,6 +1728,20 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.217.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca917a21307d3adf2b9857b94dd05ebf8496bdcff4437a9b9fb3899d3e6c74e7" +dependencies = [ + "ahash", + "bitflags", + "hashbrown 0.14.5", + "indexmap", + "semver", + "serde", +] + [[package]] name = "wasmprinter" version = "0.215.0" @@ -1715,7 +1750,7 @@ checksum = "d8e9a325d85053408209b3d2ce5eaddd0dd6864d1cff7a007147ba073157defc" dependencies = [ "anyhow", "termcolor", - "wasmparser", + "wasmparser 0.215.0", ] [[package]] @@ -1757,23 +1792,64 @@ dependencies = [ "sptr", "target-lexicon", "wasm-encoder 0.215.0", - "wasmparser", - "wasmtime-asm-macros", + "wasmparser 0.215.0", + "wasmtime-asm-macros 24.0.0", "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-component-util", + "wasmtime-component-macro 24.0.0", + "wasmtime-component-util 24.0.0", "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-environ 24.0.0", + "wasmtime-fiber 24.0.0", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-slab", - "wasmtime-versioned-export-macros", + "wasmtime-jit-icache-coherence 24.0.0", + "wasmtime-slab 24.0.0", + "wasmtime-versioned-export-macros 24.0.0", "wasmtime-winch", "wat", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03601559991d459a228236a49135364eac85ac00dc07b65fb95ae61a957793af" +dependencies = [ + "anyhow", + "async-trait", + "bitflags", + "bumpalo", + "cc", + "cfg-if", + "hashbrown 0.14.5", + "indexmap", + "libc", + "libm", + "log", + "mach2", + "memfd", + "object", + "once_cell", + "paste", + "postcard", + "psm", + "rustix", + "serde", + "serde_derive", + "smallvec", + "sptr", + "target-lexicon", + "wasmparser 0.217.0", + "wasmtime-asm-macros 25.0.1", + "wasmtime-component-macro 25.0.1", + "wasmtime-environ 25.0.1", + "wasmtime-fiber 25.0.1", + "wasmtime-jit-icache-coherence 25.0.1", + "wasmtime-slab 25.0.1", + "wasmtime-versioned-export-macros 25.0.1", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "24.0.0" @@ -1783,6 +1859,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e453b3bde07312874c0c6703e2de9281daab46646172c1b71fa59a97226f858e" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "24.0.0" @@ -1813,9 +1898,24 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 24.0.0", + "wasmtime-wit-bindgen 24.0.0", + "wit-parser 0.215.0", +] + +[[package]] +name = "wasmtime-component-macro" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6faeabbdbfd27e24e8d5204207ba9c247a13cf84181ea721b5f209f281fe01" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 25.0.1", + "wasmtime-wit-bindgen 25.0.1", + "wit-parser 0.217.0", ] [[package]] @@ -1824,6 +1924,12 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e38d735320f4e83478369ce649ad8fe87c6b893220902e798547a225fc0c5874" +[[package]] +name = "wasmtime-component-util" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1b24db4aa3dc7c0d3181d1833b4fe9ec0cd3f08780b746415c84c0a9ec9011" + [[package]] name = "wasmtime-cranelift" version = "24.0.0" @@ -1834,7 +1940,7 @@ dependencies = [ "cfg-if", "cranelift-codegen", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.111.0", "cranelift-frontend", "cranelift-native", "cranelift-wasm", @@ -1843,9 +1949,9 @@ dependencies = [ "object", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmparser 0.215.0", + "wasmtime-environ 24.0.0", + "wasmtime-versioned-export-macros 24.0.0", ] [[package]] @@ -1856,8 +1962,8 @@ checksum = "c5fe80dfbd81687431a7d4f25929fae1ae96894786d5c96b14ae41164ee97377" dependencies = [ "anyhow", "cpp_demangle", - "cranelift-bitset", - "cranelift-entity", + "cranelift-bitset 0.111.0", + "cranelift-entity 0.111.0", "gimli", "indexmap", "log", @@ -1869,10 +1975,31 @@ dependencies = [ "serde_derive", "target-lexicon", "wasm-encoder 0.215.0", - "wasmparser", + "wasmparser 0.215.0", "wasmprinter", - "wasmtime-component-util", - "wasmtime-types", + "wasmtime-component-util 24.0.0", + "wasmtime-types 24.0.0", +] + +[[package]] +name = "wasmtime-environ" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "817bfa9ea878ec37aa24f85fd6912844e8d87d321662824cf920d561b698cdfd" +dependencies = [ + "anyhow", + "cranelift-bitset 0.112.1", + "cranelift-entity 0.112.1", + "gimli", + "indexmap", + "log", + "object", + "postcard", + "serde", + "serde_derive", + "target-lexicon", + "wasmparser 0.217.0", + "wasmtime-types 25.0.1", ] [[package]] @@ -1885,8 +2012,23 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 24.0.0", + "wasmtime-versioned-export-macros 24.0.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-fiber" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5070971b479b4e4879dbae8a8e1efee738a36d047c5738acfedb38d6740b79d1" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 25.0.1", + "wasmtime-versioned-export-macros 25.0.1", "windows-sys 0.52.0", ] @@ -1899,7 +2041,7 @@ dependencies = [ "object", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 24.0.0", ] [[package]] @@ -1914,12 +2056,30 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48011232c0da424f89c3752a378d0b7f512fae321ea414a43e1e7a302a6a1f7e" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-slab" version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f68d38fa6b30c5e1fc7d608263062997306f79e577ebd197ddcd6b0f55d87d1" +[[package]] +name = "wasmtime-slab" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9858a22e656ae8574631221b474b8bebf63f1367fcac3f179873833eabc2ced" + [[package]] name = "wasmtime-types" version = "24.0.0" @@ -1927,11 +2087,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6634e7079d9c5cfc81af8610ed59b488cc5b7f9777a2f4c1667a2565c2e45249" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.111.0", "serde", "serde_derive", "smallvec", - "wasmparser", + "wasmparser 0.215.0", +] + +[[package]] +name = "wasmtime-types" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d14b8a9206fe94485a03edb1654cd530dbd2a859a85a43502cb4e99653a568c" +dependencies = [ + "anyhow", + "cranelift-entity 0.112.1", + "serde", + "serde_derive", + "smallvec", + "wasmparser 0.217.0", ] [[package]] @@ -1945,6 +2119,17 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9bb1f01efb8b542eadfda511e8ea1cc54309451aba97b69969e5b1a59cb7ded" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" version = "24.0.0" @@ -1971,8 +2156,8 @@ dependencies = [ "tokio", "tracing", "url", - "wasmtime", - "wiggle", + "wasmtime 24.0.0", + "wiggle 24.0.0", "windows-sys 0.52.0", ] @@ -1987,9 +2172,9 @@ dependencies = [ "gimli", "object", "target-lexicon", - "wasmparser", + "wasmparser 0.215.0", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 24.0.0", "winch-codegen", ] @@ -2002,7 +2187,19 @@ dependencies = [ "anyhow", "heck 0.4.1", "indexmap", - "wit-parser", + "wit-parser 0.215.0", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb1596caa67b31ac675fd3da61685c4260f8b10832021db42c85d227b7ba8133" +dependencies = [ + "anyhow", + "heck 0.4.1", + "indexmap", + "wit-parser 0.217.0", ] [[package]] @@ -2047,8 +2244,23 @@ dependencies = [ "bitflags", "thiserror", "tracing", - "wasmtime", - "wiggle-macro", + "wasmtime 24.0.0", + "wiggle-macro 24.0.0", +] + +[[package]] +name = "wiggle" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e998c11dd3f293a8f657ce14e9c8fdc5cddd858f1e6448290d4ec04ca7ffe5b7" +dependencies = [ + "anyhow", + "async-trait", + "bitflags", + "thiserror", + "tracing", + "wasmtime 25.0.1", + "wiggle-macro 25.0.1", "witx", ] @@ -2067,6 +2279,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0d8db385e5207c1ac431837868c8e48fc3f7e81f3a146793086d661875520ec" +dependencies = [ + "anyhow", + "heck 0.4.1", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "24.0.0" @@ -2076,7 +2303,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 24.0.0", +] + +[[package]] +name = "wiggle-macro" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2706ee9e7d1e106de80a3b3c6ec2f42920149e2def3e8060187c8e61f99bc0ef" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 25.0.1", ] [[package]] @@ -2122,9 +2361,9 @@ dependencies = [ "regalloc2", "smallvec", "target-lexicon", - "wasmparser", + "wasmparser 0.215.0", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 24.0.0", ] [[package]] @@ -2309,7 +2548,25 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser", + "wasmparser 0.215.0", +] + +[[package]] +name = "wit-parser" +version = "0.217.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb893dcd6d370cfdf19a0d9adfcd403efb8e544e1a0ea3a8b81a21fe392eaa78" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.217.0", ] [[package]] diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index b200282..b524e0c 100644 --- a/native/wasmex/Cargo.toml +++ b/native/wasmex/Cargo.toml @@ -21,5 +21,5 @@ rand = "0.8.5" wasmtime = "24.0.0" wasmtime-wasi = "24.0.0" wasi-common = "24.0.0" -wiggle = "24.0.0" +wiggle = "25.0.1" wat = "1.216.0"