diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index cc8753da..e7087bc7 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -277,6 +277,15 @@ dependencies = [ "cranelift-entity 0.101.4", ] +[[package]] +name = "cranelift-bforest" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9515fcc42b6cb5137f76b84c1a6f819782d0cf12473d145d3bc5cd67eedc8bc2" +dependencies = [ + "cranelift-entity 0.105.2", +] + [[package]] name = "cranelift-codegen" version = "0.101.4" @@ -284,12 +293,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebb18d10e5ddac43ba4ca8fd4e310938569c3e484cc01b6372b27dc5bb4dfd28" dependencies = [ "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-control", + "cranelift-bforest 0.101.4", + "cranelift-codegen-meta 0.101.4", + "cranelift-codegen-shared 0.101.4", + "cranelift-control 0.101.4", "cranelift-entity 0.101.4", - "cranelift-isle", + "cranelift-isle 0.101.4", + "gimli", + "hashbrown 0.14.3", + "log", + "regalloc2", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-codegen" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad827c6071bfe6d22de1bc331296a29f9ddc506ff926d8415b435ec6a6efce0" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.105.2", + "cranelift-codegen-meta 0.105.2", + "cranelift-codegen-shared 0.105.2", + "cranelift-control 0.105.2", + "cranelift-entity 0.105.2", + "cranelift-isle 0.105.2", "gimli", "hashbrown 0.14.3", "log", @@ -304,7 +334,16 @@ version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3ce6d22982c1b9b6b012654258bab1a13947bb12703518bef06b1a4867c3d6" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.101.4", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10e6b36237a9ca2ce2fb4cc7741d418a080afa1327402138412ef85d5367bef1" +dependencies = [ + "cranelift-codegen-shared 0.105.2", ] [[package]] @@ -313,6 +352,12 @@ version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47220fd4f9a0ce23541652b6f16f83868d282602c600d14934b2a4c166b4bd80" +[[package]] +name = "cranelift-codegen-shared" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c36bf4bfb86898a94ccfa773a1f86e8a5346b1983ff72059bdd2db4600325251" + [[package]] name = "cranelift-control" version = "0.101.4" @@ -322,6 +367,15 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cbf36560e7a6bd1409ca91e7b43b2cc7ed8429f343d7605eadf9046e8fac0d0" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-entity" version = "0.101.4" @@ -348,7 +402,19 @@ version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ec537d0f0b8e084517f3e7bfa1d89af343d7c7df455573fca9f272d4e01267" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.101.4", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-frontend" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af5d4da63143ee3485c7bcedde0a818727d737d1083484a0ceedb8950c89e495" +dependencies = [ + "cranelift-codegen 0.105.2", "log", "smallvec", "target-lexicon", @@ -360,13 +426,30 @@ version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45bab6d69919d210a50331d35cc6ce111567bc040aebac63a8ae130d0400a075" +[[package]] +name = "cranelift-isle" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "457a9832b089e26f5eea70dcf49bed8ec6edafed630ce7c83161f24d46ab8085" + [[package]] name = "cranelift-native" version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f32e81605f352cf37af5463f11cd7deec7b6572741931a8d372f7fdd4a744f5d" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.101.4", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b490d579df1ce365e1ea359e24ed86d82289fa785153327c2f6a69a59a731e4" +dependencies = [ + "cranelift-codegen 0.105.2", "libc", "target-lexicon", ] @@ -377,9 +460,9 @@ version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0edaa4cbec1bc787395c074233df2652dd62f3e29d3ee60329514a0a51e6b045" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.101.4", "cranelift-entity 0.101.4", - "cranelift-frontend", + "cranelift-frontend 0.101.4", "itertools", "log", "smallvec", @@ -387,6 +470,22 @@ dependencies = [ "wasmtime-types 14.0.4", ] +[[package]] +name = "cranelift-wasm" +version = "0.105.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd747ed7f9a461dda9c388415392f6bb95d1a6ef3b7694d17e0817eb74b7798" +dependencies = [ + "cranelift-codegen 0.105.2", + "cranelift-entity 0.105.2", + "cranelift-frontend 0.105.2", + "itertools", + "log", + "smallvec", + "wasmparser 0.121.2", + "wasmtime-types 18.0.2", +] + [[package]] name = "crc32fast" version = "1.4.0" @@ -793,9 +892,9 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "ittapi" -version = "0.3.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a5c0b993601cad796222ea076565c5d9f337d35592f8622c753724f06d7271" +checksum = "6b996fe614c41395cdaedf3cf408a9534851090959d90d54a535f675550b64b1" dependencies = [ "anyhow", "ittapi-sys", @@ -804,9 +903,9 @@ dependencies = [ [[package]] name = "ittapi-sys" -version = "0.3.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7b5e473765060536a660eed127f758cf1a810c73e49063264959c60d1727d9" +checksum = "52f5385394064fa2c886205dba02598013ce83d3e92d33dbdc0c52fe0e7bf4fc" dependencies = [ "cc", ] @@ -1629,7 +1728,7 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime 14.0.4", + "wasmtime 18.0.2", "wasmtime-wasi", "wat", "wiggle 18.0.2", @@ -1686,23 +1785,20 @@ dependencies = [ "once_cell", "paste", "psm", - "rayon", "serde", "serde_derive", "serde_json", "target-lexicon", "wasm-encoder 0.35.0", "wasmparser 0.115.0", - "wasmtime-cache", "wasmtime-component-macro 14.0.4", "wasmtime-component-util 14.0.4", - "wasmtime-cranelift", + "wasmtime-cranelift 14.0.4", "wasmtime-environ 14.0.4", "wasmtime-fiber 14.0.4", "wasmtime-jit", "wasmtime-runtime 14.0.4", - "wasmtime-winch", - "wat", + "wasmtime-winch 14.0.4", "windows-sys 0.48.0", ] @@ -1712,29 +1808,41 @@ version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c843b8bc4dd4f3a76173ba93405c71111d570af0d90ea5f6299c705d0c2add2" dependencies = [ + "addr2line", "anyhow", "async-trait", "bincode", "bumpalo", "cfg-if", + "encoding_rs", + "fxprof-processed-profile", "gimli", "indexmap", + "ittapi", "libc", "log", "object", "once_cell", "paste", + "rayon", "rustix", "serde", "serde_derive", "serde_json", "target-lexicon", + "wasm-encoder 0.41.2", "wasmparser 0.121.2", + "wasmtime-cache", "wasmtime-component-macro 18.0.2", + "wasmtime-component-util 18.0.2", + "wasmtime-cranelift 18.0.2", "wasmtime-environ 18.0.2", "wasmtime-fiber 18.0.2", + "wasmtime-jit-debug 18.0.2", "wasmtime-jit-icache-coherence 18.0.2", "wasmtime-runtime 18.0.2", + "wasmtime-winch 18.0.2", + "wat", "windows-sys 0.52.0", ] @@ -1758,9 +1866,9 @@ dependencies = [ [[package]] name = "wasmtime-cache" -version = "14.0.4" +version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a4df7655bb73b592189033ab046aa47c1da486d70bc9c1ebf45e55ac030bdf4" +checksum = "6fb4fc2bbf9c790a57875eba65588fa97acf57a7d784dc86d057e648d9a1ed91" dependencies = [ "anyhow", "base64", @@ -1772,7 +1880,7 @@ dependencies = [ "serde_derive", "sha2", "toml", - "windows-sys 0.48.0", + "windows-sys 0.52.0", "zstd", ] @@ -1826,23 +1934,48 @@ checksum = "1cf3cee8be02f5006d21b773ffd6802f96a0b7d661ff2ad8a01fb93df458b1aa" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen", - "cranelift-control", + "cranelift-codegen 0.101.4", + "cranelift-control 0.101.4", "cranelift-entity 0.101.4", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-frontend 0.101.4", + "cranelift-native 0.101.4", + "cranelift-wasm 0.101.4", "gimli", "log", "object", "target-lexicon", "thiserror", "wasmparser 0.115.0", - "wasmtime-cranelift-shared", + "wasmtime-cranelift-shared 14.0.4", "wasmtime-environ 14.0.4", "wasmtime-versioned-export-macros 14.0.4", ] +[[package]] +name = "wasmtime-cranelift" +version = "18.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31ca62f519225492bd555d0ec85a2dacb0c10315db3418c8b9aeb3824bf54a24" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.105.2", + "cranelift-control 0.105.2", + "cranelift-entity 0.105.2", + "cranelift-frontend 0.105.2", + "cranelift-native 0.105.2", + "cranelift-wasm 0.105.2", + "gimli", + "log", + "object", + "target-lexicon", + "thiserror", + "wasmparser 0.121.2", + "wasmtime-cranelift-shared 18.0.2", + "wasmtime-environ 18.0.2", + "wasmtime-versioned-export-macros 18.0.2", +] + [[package]] name = "wasmtime-cranelift-shared" version = "14.0.4" @@ -1850,15 +1983,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "420fd2a69bc162957f4c94f21c7fa08ecf60d916f4e87b56332507c555da381d" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-control", - "cranelift-native", + "cranelift-codegen 0.101.4", + "cranelift-control 0.101.4", + "cranelift-native 0.101.4", "gimli", "object", "target-lexicon", "wasmtime-environ 14.0.4", ] +[[package]] +name = "wasmtime-cranelift-shared" +version = "18.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd5f2071f42e61490bf7cb95b9acdbe6a29dd577a398019304a960585f28b844" +dependencies = [ + "anyhow", + "cranelift-codegen 0.105.2", + "cranelift-control 0.105.2", + "cranelift-native 0.105.2", + "gimli", + "object", + "target-lexicon", + "wasmtime-environ 18.0.2", +] + [[package]] name = "wasmtime-environ" version = "14.0.4" @@ -1890,16 +2039,21 @@ checksum = "82bf1a47f384610da19f58b0fd392ca6a3b720974315c08afb0392c0f3951fed" dependencies = [ "anyhow", "bincode", + "cpp_demangle", "cranelift-entity 0.105.2", "gimli", "indexmap", "log", "object", + "rustc-demangle", "serde", "serde_derive", "target-lexicon", "thiserror", + "wasm-encoder 0.41.2", "wasmparser 0.121.2", + "wasmprinter", + "wasmtime-component-util 18.0.2", "wasmtime-types 18.0.2", ] @@ -1944,7 +2098,6 @@ dependencies = [ "cfg-if", "cpp_demangle", "gimli", - "ittapi", "log", "object", "rustc-demangle", @@ -1953,7 +2106,6 @@ dependencies = [ "serde_derive", "target-lexicon", "wasmtime-environ 14.0.4", - "wasmtime-jit-debug", "wasmtime-jit-icache-coherence 14.0.4", "wasmtime-runtime 14.0.4", "windows-sys 0.48.0", @@ -1964,11 +2116,21 @@ name = "wasmtime-jit-debug" version = "14.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "109a9e46afe33580b952b14a4207354355f19bcdf0b47485b397b68409eaf553" +dependencies = [ + "once_cell", + "wasmtime-versioned-export-macros 14.0.4", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "18.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "833dae95bc7a4f9177bf93f9497419763535b74e37eb8c37be53937d3281e287" dependencies = [ "object", "once_cell", "rustix", - "wasmtime-versioned-export-macros 14.0.4", + "wasmtime-versioned-export-macros 18.0.2", ] [[package]] @@ -2017,7 +2179,7 @@ dependencies = [ "wasmtime-asm-macros 14.0.4", "wasmtime-environ 14.0.4", "wasmtime-fiber 14.0.4", - "wasmtime-jit-debug", + "wasmtime-jit-debug 14.0.4", "wasmtime-versioned-export-macros 14.0.4", "wasmtime-wmemcheck 14.0.4", "windows-sys 0.48.0", @@ -2032,6 +2194,7 @@ dependencies = [ "anyhow", "cc", "cfg-if", + "encoding_rs", "indexmap", "libc", "log", @@ -2046,6 +2209,7 @@ dependencies = [ "wasmtime-asm-macros 18.0.2", "wasmtime-environ 18.0.2", "wasmtime-fiber 18.0.2", + "wasmtime-jit-debug 18.0.2", "wasmtime-versioned-export-macros 18.0.2", "wasmtime-wmemcheck 18.0.2", "windows-sys 0.52.0", @@ -2141,14 +2305,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1c1b6abbba5a01739bef9f00a87b419414a7dd99b795823d93fb12fc2bf994a" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.101.4", "gimli", "object", "target-lexicon", "wasmparser 0.115.0", - "wasmtime-cranelift-shared", + "wasmtime-cranelift-shared 14.0.4", "wasmtime-environ 14.0.4", - "winch-codegen", + "winch-codegen 0.12.4", +] + +[[package]] +name = "wasmtime-winch" +version = "18.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db3378c0e808a744b5d4df2a9a9d2746a53b151811926731f04fc401707f7d54" +dependencies = [ + "anyhow", + "cranelift-codegen 0.105.2", + "gimli", + "object", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-cranelift-shared 18.0.2", + "wasmtime-environ 18.0.2", + "winch-codegen 0.16.2", ] [[package]] @@ -2332,7 +2513,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f112bebb367a544d20c254083798087f22ceeb426168a970b955e8436f749dca" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.101.4", "gimli", "regalloc2", "smallvec", @@ -2341,6 +2522,22 @@ dependencies = [ "wasmtime-environ 14.0.4", ] +[[package]] +name = "winch-codegen" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8197ed4a2ebf612f0624ddda10de71f8cd2d3a4ecf8ffac0586a264599708d63" +dependencies = [ + "anyhow", + "cranelift-codegen 0.105.2", + "gimli", + "regalloc2", + "smallvec", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-environ 18.0.2", +] + [[package]] name = "windows-core" version = "0.52.0" diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index b37b232d..5145ccc0 100644 --- a/native/wasmex/Cargo.toml +++ b/native/wasmex/Cargo.toml @@ -21,7 +21,7 @@ rustler = { version = "0.31", default-features = false, features = [ ] } once_cell = "1.19.0" rand = "0.8.5" -wasmtime = "14.0.4" +wasmtime = "18.0.2" wasmtime-wasi = "14.0.4" wasi-common = "14.0.4" wiggle = "18.0.2"