diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index 5bce985..28645ca 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -8,7 +8,7 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ - "gimli", + "gimli 0.29.0", ] [[package]] @@ -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.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ab25ef3be935a80680e393183e1f94ef507e93a24a8369494d2c6818aedb3e3" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" version = "0.111.0" @@ -286,13 +296,13 @@ 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", + "gimli 0.29.0", "hashbrown 0.14.5", "log", "regalloc2", @@ -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.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d770e6605eccee15b49decdd82cd26f2b6404767802471459ea49c57379a98" +dependencies = [ + "cranelift-bitset 0.113.0", "serde", "serde_derive", ] @@ -372,12 +393,12 @@ 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", + "wasmparser 0.215.0", "wasmtime-types", ] @@ -674,6 +695,12 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" + [[package]] name = "hashbrown" version = "0.13.2" @@ -1053,6 +1080,17 @@ dependencies = [ "cc", ] +[[package]] +name = "pulley-interpreter" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d68c610ff29655a42eeef41a5b5346e714586971a7d927739477e552fe7e23e3" +dependencies = [ + "cranelift-bitset 0.113.0", + "log", + "sptr", +] + [[package]] name = "quote" version = "1.0.36" @@ -1602,8 +1640,8 @@ dependencies = [ "system-interface", "thiserror", "tracing", - "wasmtime", - "wiggle", + "wasmtime 24.0.0", + "wiggle 24.0.0", "windows-sys 0.52.0", ] @@ -1687,10 +1725,10 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 24.0.0", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 26.0.0", ] [[package]] @@ -1707,6 +1745,20 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.218.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b09e46c7fceceaa72b2dd1a8a137ea7fd8f93dfaa69806010a709918e496c5dc" +dependencies = [ + "ahash", + "bitflags", + "hashbrown 0.14.5", + "indexmap", + "semver", + "serde", +] + [[package]] name = "wasmprinter" version = "0.215.0" @@ -1715,7 +1767,7 @@ checksum = "d8e9a325d85053408209b3d2ce5eaddd0dd6864d1cff7a007147ba073157defc" dependencies = [ "anyhow", "termcolor", - "wasmparser", + "wasmparser 0.215.0", ] [[package]] @@ -1733,7 +1785,7 @@ dependencies = [ "cfg-if", "encoding_rs", "fxprof-processed-profile", - "gimli", + "gimli 0.29.0", "hashbrown 0.14.5", "indexmap", "ittapi", @@ -1757,23 +1809,65 @@ 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 = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffa3230b9ba1ab6568d116df21bf4ca55ed2bfac87723d910471d30d9656ea1" +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", + "pulley-interpreter", + "rustix", + "serde", + "serde_derive", + "smallvec", + "sptr", + "target-lexicon", + "wasmparser 0.218.0", + "wasmtime-asm-macros 26.0.0", + "wasmtime-component-macro 26.0.0", + "wasmtime-environ 26.0.0", + "wasmtime-fiber 26.0.0", + "wasmtime-jit-icache-coherence 26.0.0", + "wasmtime-slab 26.0.0", + "wasmtime-versioned-export-macros 26.0.0", + "windows-sys 0.59.0", +] + [[package]] name = "wasmtime-asm-macros" version = "24.0.0" @@ -1783,6 +1877,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef15fad08bbaa0e5c5539b76fa5965ca25e24f17a584f83a40b43ba9a2b36f44" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "24.0.0" @@ -1813,9 +1916,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 = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23fb4e179f424260d0739c09d3bc83d34347a55d291d10dcb5244686a75c7733" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 26.0.0", + "wasmtime-wit-bindgen 26.0.0", + "wit-parser 0.218.0", ] [[package]] @@ -1824,6 +1942,12 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e38d735320f4e83478369ce649ad8fe87c6b893220902e798547a225fc0c5874" +[[package]] +name = "wasmtime-component-util" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe3c27d64af5f584014db9381c081223d27a57e1dce2f6280bbafea37575619" + [[package]] name = "wasmtime-cranelift" version = "24.0.0" @@ -1834,18 +1958,18 @@ dependencies = [ "cfg-if", "cranelift-codegen", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.111.0", "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli", + "gimli 0.29.0", "log", "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,9 +1980,9 @@ checksum = "c5fe80dfbd81687431a7d4f25929fae1ae96894786d5c96b14ae41164ee97377" dependencies = [ "anyhow", "cpp_demangle", - "cranelift-bitset", - "cranelift-entity", - "gimli", + "cranelift-bitset 0.111.0", + "cranelift-entity 0.111.0", + "gimli 0.29.0", "indexmap", "log", "object", @@ -1869,12 +1993,33 @@ dependencies = [ "serde_derive", "target-lexicon", "wasm-encoder 0.215.0", - "wasmparser", + "wasmparser 0.215.0", "wasmprinter", - "wasmtime-component-util", + "wasmtime-component-util 24.0.0", "wasmtime-types", ] +[[package]] +name = "wasmtime-environ" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3444c1759d5b906ff76a3cab073dd92135bdd06e5d1f46635ec40a58207d314" +dependencies = [ + "anyhow", + "cranelift-bitset 0.113.0", + "cranelift-entity 0.113.0", + "gimli 0.31.1", + "indexmap", + "log", + "object", + "postcard", + "serde", + "serde_derive", + "smallvec", + "target-lexicon", + "wasmparser 0.218.0", +] + [[package]] name = "wasmtime-fiber" version = "24.0.0" @@ -1885,11 +2030,26 @@ 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 = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae2ab757170bf183944ae494cd607bf2f028744414fed7440a39930194bfb869" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 26.0.0", + "wasmtime-versioned-export-macros 26.0.0", + "windows-sys 0.59.0", +] + [[package]] name = "wasmtime-jit-debug" version = "24.0.0" @@ -1899,7 +2059,7 @@ dependencies = [ "object", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 24.0.0", ] [[package]] @@ -1914,12 +2074,30 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e458e6a1a010a53f86ac8d75837c0c6b2ce3e54b7503b2f1dc5629a4a541f5a" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "windows-sys 0.59.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 = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339c9a2a62b989a3184baff31be3a5b5256ad52629634eb432f9ccf0ab251f83" + [[package]] name = "wasmtime-types" version = "24.0.0" @@ -1927,11 +2105,11 @@ 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]] @@ -1945,6 +2123,17 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abe01058e422966659e1af00af833147d54658b07c7e74606d73ca9af3f1690a" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" version = "24.0.0" @@ -1971,8 +2160,8 @@ dependencies = [ "tokio", "tracing", "url", - "wasmtime", - "wiggle", + "wasmtime 24.0.0", + "wiggle 24.0.0", "windows-sys 0.52.0", ] @@ -1984,12 +2173,12 @@ checksum = "2a25199625effa4c13dd790d64bd56884b014c69829431bfe43991c740bd5bc1" dependencies = [ "anyhow", "cranelift-codegen", - "gimli", + "gimli 0.29.0", "object", "target-lexicon", - "wasmparser", + "wasmparser 0.215.0", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 24.0.0", "winch-codegen", ] @@ -2002,7 +2191,19 @@ dependencies = [ "anyhow", "heck 0.4.1", "indexmap", - "wit-parser", + "wit-parser 0.215.0", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c9e85935a1199e96b73e7fcd27a127035d2082265720a67d59268a24892d567" +dependencies = [ + "anyhow", + "heck 0.5.0", + "indexmap", + "wit-parser 0.218.0", ] [[package]] @@ -2047,8 +2248,23 @@ dependencies = [ "bitflags", "thiserror", "tracing", - "wasmtime", - "wiggle-macro", + "wasmtime 24.0.0", + "wiggle-macro 24.0.0", +] + +[[package]] +name = "wiggle" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c62986dac93e6de4e542c9861e0bfb375a796e880938bb2f5833a7dfaed07352" +dependencies = [ + "anyhow", + "async-trait", + "bitflags", + "thiserror", + "tracing", + "wasmtime 26.0.0", + "wiggle-macro 26.0.0", "witx", ] @@ -2067,6 +2283,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7602686d5d43b23ae28ad5d730921064b634ae6a9d78e8dbdc595326319232" +dependencies = [ + "anyhow", + "heck 0.5.0", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "24.0.0" @@ -2076,7 +2307,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 24.0.0", +] + +[[package]] +name = "wiggle-macro" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a376173abfaaa6cebf8aedd03366fcd528db2b8f5ccc3f422102a3f4014c3855" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 26.0.0", ] [[package]] @@ -2118,13 +2361,13 @@ checksum = "073efe897d9ead7fc609874f94580afc831114af5149b6a90ee0a3a39b497fe0" dependencies = [ "anyhow", "cranelift-codegen", - "gimli", + "gimli 0.29.0", "regalloc2", "smallvec", "target-lexicon", - "wasmparser", + "wasmparser 0.215.0", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 24.0.0", ] [[package]] @@ -2154,6 +2397,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -2309,7 +2561,25 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser", + "wasmparser 0.215.0", +] + +[[package]] +name = "wit-parser" +version = "0.218.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d3d1066ab761b115f97fef2b191090faabcb0f37b555b758d3caf42d4ed9e55" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.218.0", ] [[package]] diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index b200282..38141a9 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 = "26.0.0" wat = "1.216.0"