diff --git a/Cargo.lock b/Cargo.lock index 15191c70..fea6cbcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -313,7 +313,7 @@ version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ba4f80548f22dc9c43911907b5e322c5555544ee85f785115701e6a28c9abe1" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.114.0", ] [[package]] @@ -326,6 +326,16 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-bitset" +version = "0.115.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9bd49369f76c77e34e641af85d0956869237832c118964d08bf5f51f210875a" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" version = "0.114.0" @@ -334,16 +344,16 @@ checksum = "fe4036255ec33ce9a37495dfbcfc4e1118fd34e693eff9a1e106336b7cd16a9b" dependencies = [ "bumpalo", "cranelift-bforest", - "cranelift-bitset", + "cranelift-bitset 0.114.0", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.114.0", "cranelift-isle", "gimli", "hashbrown 0.14.5", "log", - "pulley-interpreter", + "pulley-interpreter 27.0.0", "regalloc2", "rustc-hash 2.0.0", "serde", @@ -381,7 +391,18 @@ version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "305399fd781a2953ac78c1396f02ff53144f39c33eb7fc7789cf4e8936d13a96" dependencies = [ - "cranelift-bitset", + "cranelift-bitset 0.114.0", + "serde", + "serde_derive", +] + +[[package]] +name = "cranelift-entity" +version = "0.115.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "118597e3a9cf86c3556fa579a7a23b955fa18231651a52a77a2475d305a9cf84" +dependencies = [ + "cranelift-bitset 0.115.0", "serde", "serde_derive", ] @@ -479,7 +500,7 @@ dependencies = [ "cap-primitives", "rand_core", "rand_pcg", - "wasi-common", + "wasi-common 27.0.0", ] [[package]] @@ -774,6 +795,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3" dependencies = [ "foldhash", + "serde", ] [[package]] @@ -1293,7 +1315,18 @@ version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3b8d81cf799e20564931e9867ca32de545188c6ee4c2e0f6e41d32f0c7dc6fb" dependencies = [ - "cranelift-bitset", + "cranelift-bitset 0.114.0", + "log", + "sptr", +] + +[[package]] +name = "pulley-interpreter" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "403a1a95f4c18a45c86c7bff13df00347afd0abcbf2e54af273c837339ffcf77" +dependencies = [ + "cranelift-bitset 0.115.0", "log", "sptr", ] @@ -1868,8 +1901,33 @@ dependencies = [ "system-interface", "thiserror", "tracing", - "wasmtime", - "wiggle", + "wasmtime 27.0.0", + "wiggle 27.0.0", + "windows-sys 0.59.0", +] + +[[package]] +name = "wasi-common" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cb8b6f1ca9cc40aeca0f398163ce2c1305d0661f3311a25abcda1fc6012d8f2" +dependencies = [ + "anyhow", + "bitflags", + "cap-fs-ext", + "cap-rand", + "cap-std", + "cap-time-ext", + "fs-set-times", + "io-extras", + "io-lifetimes", + "log", + "rustix", + "system-interface", + "thiserror", + "tracing", + "wasmtime 28.0.0", + "wiggle 28.0.0", "windows-sys 0.59.0", ] @@ -1972,6 +2030,18 @@ dependencies = [ "indexmap", ] +[[package]] +name = "wasmparser" +version = "0.221.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9845c470a2e10b61dd42c385839cdd6496363ed63b5c9e420b5488b77bd22083" +dependencies = [ + "bitflags", + "hashbrown 0.15.1", + "indexmap", + "serde", +] + [[package]] name = "wasmprinter" version = "0.219.1" @@ -2012,7 +2082,7 @@ dependencies = [ "paste", "postcard", "psm", - "pulley-interpreter", + "pulley-interpreter 27.0.0", "rayon", "rustix", "semver", @@ -2024,22 +2094,59 @@ dependencies = [ "target-lexicon", "wasm-encoder 0.219.1", "wasmparser 0.219.1", - "wasmtime-asm-macros", + "wasmtime-asm-macros 27.0.0", "wasmtime-cache", "wasmtime-component-macro", "wasmtime-component-util", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 27.0.0", "wasmtime-fiber", "wasmtime-jit-debug", "wasmtime-jit-icache-coherence", - "wasmtime-slab", - "wasmtime-versioned-export-macros", + "wasmtime-slab 27.0.0", + "wasmtime-versioned-export-macros 27.0.0", "wasmtime-winch", "wat", "windows-sys 0.59.0", ] +[[package]] +name = "wasmtime" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f639ecae347b9a2227e453a7b7671e84370a0b61f47a15e0390fe9b7725e47b3" +dependencies = [ + "anyhow", + "bitflags", + "bumpalo", + "cc", + "cfg-if", + "hashbrown 0.14.5", + "indexmap", + "libc", + "libm", + "log", + "mach2", + "memfd", + "object", + "paste", + "postcard", + "psm", + "pulley-interpreter 28.0.0", + "rustix", + "serde", + "serde_derive", + "smallvec", + "sptr", + "target-lexicon", + "wasmparser 0.221.2", + "wasmtime-asm-macros 28.0.0", + "wasmtime-environ 28.0.0", + "wasmtime-slab 28.0.0", + "wasmtime-versioned-export-macros 28.0.0", + "windows-sys 0.59.0", +] + [[package]] name = "wasmtime-asm-macros" version = "27.0.0" @@ -2049,6 +2156,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "882a18800471cfc063c8b3ccf75723784acc3fd534009ac09421f2fac2fcdcec" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "27.0.0" @@ -2100,7 +2216,7 @@ dependencies = [ "cfg-if", "cranelift-codegen", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.114.0", "cranelift-frontend", "cranelift-native", "gimli", @@ -2111,8 +2227,8 @@ dependencies = [ "target-lexicon", "thiserror", "wasmparser 0.219.1", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-environ 27.0.0", + "wasmtime-versioned-export-macros 27.0.0", ] [[package]] @@ -2123,8 +2239,8 @@ checksum = "c25bfeaa16432d59a0706e2463d315ef4c9ebcfaf5605670b99d46373bdf9f27" dependencies = [ "anyhow", "cpp_demangle", - "cranelift-bitset", - "cranelift-entity", + "cranelift-bitset 0.114.0", + "cranelift-entity 0.114.0", "gimli", "indexmap", "log", @@ -2142,6 +2258,27 @@ dependencies = [ "wasmtime-component-util", ] +[[package]] +name = "wasmtime-environ" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2604ddb24879d4dc1dedcb7081d7a8e017259bce916fdae097a97db52cbaab80" +dependencies = [ + "anyhow", + "cranelift-bitset 0.115.0", + "cranelift-entity 0.115.0", + "gimli", + "indexmap", + "log", + "object", + "postcard", + "serde", + "serde_derive", + "smallvec", + "target-lexicon", + "wasmparser 0.221.2", +] + [[package]] name = "wasmtime-fiber" version = "27.0.0" @@ -2152,8 +2289,8 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 27.0.0", + "wasmtime-versioned-export-macros 27.0.0", "windows-sys 0.59.0", ] @@ -2165,7 +2302,7 @@ checksum = "ab2a056056e9ac6916c2b8e4743408560300c1355e078c344211f13210d449b3" dependencies = [ "object", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 27.0.0", ] [[package]] @@ -2193,9 +2330,9 @@ dependencies = [ "rb-sys-env", "static_assertions", "tokio", - "wasi-common", - "wasmtime", - "wasmtime-environ", + "wasi-common 28.0.0", + "wasmtime 27.0.0", + "wasmtime-environ 27.0.0", "wasmtime-wasi", "wat", ] @@ -2206,6 +2343,12 @@ version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d5f8acf677ee6b3b8ba400dd9753ea4769e56a95c4b30b045ac6d2d54b2f8ea" +[[package]] +name = "wasmtime-slab" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8579c335220b4ece9aa490a0e8b46de78cd342b195ab21ff981d095e14b52383" + [[package]] name = "wasmtime-versioned-export-macros" version = "27.0.0" @@ -2217,6 +2360,17 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7de0a56fb0a69b185968f2d7a9ba54750920a806470dff7ad8de91ac06d277e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" version = "27.0.0" @@ -2242,8 +2396,8 @@ dependencies = [ "tokio", "tracing", "url", - "wasmtime", - "wiggle", + "wasmtime 27.0.0", + "wiggle 27.0.0", "windows-sys 0.59.0", ] @@ -2260,7 +2414,7 @@ dependencies = [ "target-lexicon", "wasmparser 0.219.1", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 27.0.0", "winch-codegen", ] @@ -2328,8 +2482,23 @@ dependencies = [ "bitflags", "thiserror", "tracing", - "wasmtime", - "wiggle-macro", + "wasmtime 27.0.0", + "wiggle-macro 27.0.0", +] + +[[package]] +name = "wiggle" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17bccfa2095b348aa6de0efcc4c621ba14d6ecc2371433232f337b1d2f089fa3" +dependencies = [ + "anyhow", + "async-trait", + "bitflags", + "thiserror", + "tracing", + "wasmtime 28.0.0", + "wiggle-macro 28.0.0", ] [[package]] @@ -2347,6 +2516,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a1fda112fc9de89fc4af51ea8b4c8e745ce1f01cd19f08c36c37aa11563ad41" +dependencies = [ + "anyhow", + "heck", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "27.0.0" @@ -2356,7 +2540,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 27.0.0", +] + +[[package]] +name = "wiggle-macro" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc9a143339de27ff05ce30366c58b741afb38c803b5ffb68e9546fd2e0629c4a" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 28.0.0", ] [[package]] @@ -2404,7 +2600,7 @@ dependencies = [ "target-lexicon", "wasmparser 0.219.1", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 27.0.0", ] [[package]] diff --git a/ext/Cargo.toml b/ext/Cargo.toml index 29375eeb..8ee9a5ca 100644 --- a/ext/Cargo.toml +++ b/ext/Cargo.toml @@ -26,7 +26,7 @@ rb-sys = { version = "*", default-features = false, features = [ ] } wasmtime = { version = "=27.0.0", features = ["memory-protection-keys"] } wasmtime-wasi = "=27.0.0" -wasi-common = "=27.0.0" +wasi-common = "=28.0.0" cap-std = "3.4.0" wat = "1.218.0" tokio = { version = "1.40.0", features = [