From 64235f10e9e073c9f10a61aa41cb9aedae8e962b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 04:46:17 +0000 Subject: [PATCH] Bump wasmtime from 18.0.2 to 20.0.1 in /native/wasmex Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 18.0.2 to 20.0.1. - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v18.0.2...v20.0.1) --- updated-dependencies: - dependency-name: wasmtime dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- native/wasmex/Cargo.lock | 757 +++++++++++++++++++++++++++++++-------- native/wasmex/Cargo.toml | 2 +- 2 files changed, 613 insertions(+), 146 deletions(-) diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index d2bebc72..1d94ba27 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -93,7 +93,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.32.2", "rustc-demangle", ] @@ -252,9 +252,9 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "cpp_demangle" -version = "0.3.5" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +checksum = "7e8227005286ec39567949b33df9896bcadfa6051bccca2488129f108ca23119" dependencies = [ "cfg-if", ] @@ -270,26 +270,56 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.105.2" +version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9515fcc42b6cb5137f76b84c1a6f819782d0cf12473d145d3bc5cd67eedc8bc2" +checksum = "496c993b62bdfbe9b4c518b8b3e1fdba9f89ef89fcccc050ab61d91dfba9fbaf" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.4", +] + +[[package]] +name = "cranelift-bforest" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c7a700bc3e2e834c81c7e9e57c6b27049172fc6156a6a406dd2265d64c30409" +dependencies = [ + "cranelift-entity 0.107.1", +] + +[[package]] +name = "cranelift-codegen" +version = "0.105.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96b922abb6be41fc383f5e9da65b58d32d0d0a32c87dfe3bbbcb61a09119506c" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.105.4", + "cranelift-codegen-meta 0.105.4", + "cranelift-codegen-shared 0.105.4", + "cranelift-control 0.105.4", + "cranelift-entity 0.105.4", + "cranelift-isle 0.105.4", + "gimli", + "hashbrown 0.14.3", + "log", + "regalloc2", + "smallvec", + "target-lexicon", ] [[package]] name = "cranelift-codegen" -version = "0.105.2" +version = "0.107.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad827c6071bfe6d22de1bc331296a29f9ddc506ff926d8415b435ec6a6efce0" +checksum = "35bb55da792dc46a35e6e283b02b9d6aa7f21349691f41176d8ecf4a1494b6ad" dependencies = [ "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-control", - "cranelift-entity", - "cranelift-isle", + "cranelift-bforest 0.107.1", + "cranelift-codegen-meta 0.107.1", + "cranelift-codegen-shared 0.107.1", + "cranelift-control 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-isle 0.107.1", "gimli", "hashbrown 0.14.3", "log", @@ -300,33 +330,67 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.105.2" +version = "0.105.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634c2ed9ef8a04ca42535a3e2e7917e4b551f2f306f4df2d935a6e71e346c167" +dependencies = [ + "cranelift-codegen-shared 0.105.4", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.107.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10e6b36237a9ca2ce2fb4cc7741d418a080afa1327402138412ef85d5367bef1" +checksum = "bf590672e1a7580158968898ade9c82801d6ebeaa4649d6f99f9cbb411512a8b" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.107.1", ] [[package]] name = "cranelift-codegen-shared" -version = "0.105.2" +version = "0.105.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00cde1425b4da28bb0d5ff010030ea9cc9be7aded342ae099b394284f17cefce" + +[[package]] +name = "cranelift-codegen-shared" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab16a95d8b10b72eaa8bb9f0ce0fdd013e5f225bea92f69d2dbd2424aae5381" + +[[package]] +name = "cranelift-control" +version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c36bf4bfb86898a94ccfa773a1f86e8a5346b1983ff72059bdd2db4600325251" +checksum = "1622125c99f1864aaf44e57971770c4a918d081d4b4af0bb597bdf624660ed66" +dependencies = [ + "arbitrary", +] [[package]] name = "cranelift-control" -version = "0.105.2" +version = "0.107.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cbf36560e7a6bd1409ca91e7b43b2cc7ed8429f343d7605eadf9046e8fac0d0" +checksum = "60448a5af01f5716877e616ec1613424fb65f427320c6e6447315966507f12da" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.105.2" +version = "0.105.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea97887aca1c0cbe7f8513874dc3603e9744fb1cfa78840ca8897bd2766bd35b" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "cranelift-entity" +version = "0.107.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a71e11061a75b1184c09bea97c026a88f08b59ade96a7bb1f259d4ea0df2e942" +checksum = "78689d6588f53981bf005b82d94125cc40cf9856b667bc276d1acdede400b633" dependencies = [ "serde", "serde_derive", @@ -334,47 +398,92 @@ dependencies = [ [[package]] name = "cranelift-frontend" -version = "0.105.2" +version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af5d4da63143ee3485c7bcedde0a818727d737d1083484a0ceedb8950c89e495" +checksum = "4cdade4c14183fe41482071ed77d6a38cb95a17c7a0a05e629152e6292c4f8cb" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.105.4", "log", "smallvec", "target-lexicon", ] +[[package]] +name = "cranelift-frontend" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86da6e45adc39e8d66a73d6fb782b0d7961df9e44b724246e01e515f86b1f0d" +dependencies = [ + "cranelift-codegen 0.107.1", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-isle" +version = "0.105.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbbe4d3ad7bd4bf4a8d916c8460b441cf92417f5cdeacce4dd1d96eee70b18a2" + [[package]] name = "cranelift-isle" -version = "0.105.2" +version = "0.107.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "457a9832b089e26f5eea70dcf49bed8ec6edafed630ce7c83161f24d46ab8085" +checksum = "dcb6f70d94826074699bc350c33dab82eb6f06022a3518bb466f501569d7379e" [[package]] name = "cranelift-native" -version = "0.105.2" +version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b490d579df1ce365e1ea359e24ed86d82289fa785153327c2f6a69a59a731e4" +checksum = "c46be4ed1fc8f36df4e2a442b8c30a39d8c03c1868182978f4c04ba2c25c9d4f" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.105.4", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e27ec0ef4115eb9cc15be9c841085db17233403f8ed325e02bd6a9d78d6c939c" +dependencies = [ + "cranelift-codegen 0.107.1", "libc", "target-lexicon", ] [[package]] name = "cranelift-wasm" -version = "0.105.2" +version = "0.105.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd747ed7f9a461dda9c388415392f6bb95d1a6ef3b7694d17e0817eb74b7798" +checksum = "a1d4c4a785a7866da89d20df159e3c4f96a5f14feb83b1f5998cfd5fe2e74d06" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools", + "cranelift-codegen 0.105.4", + "cranelift-entity 0.105.4", + "cranelift-frontend 0.105.4", + "itertools 0.10.5", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.121.2", + "wasmtime-types 18.0.4", +] + +[[package]] +name = "cranelift-wasm" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce009efc27c598ac0c019c7f3dc582403835547128aeb497edf76cb77d75250" +dependencies = [ + "cranelift-codegen 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-frontend 0.107.1", + "itertools 0.12.1", + "log", + "smallvec", + "wasmparser 0.202.0", + "wasmtime-types 20.0.1", ] [[package]] @@ -775,6 +884,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.10" @@ -869,6 +987,15 @@ dependencies = [ "libc", ] +[[package]] +name = "mach2" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" +dependencies = [ + "libc", +] + [[package]] name = "maybe-owned" version = "0.3.4" @@ -941,6 +1068,18 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8dd6c0cdf9429bce006e1362bfce61fa1bfd8c898a643ed8d2b471934701d3d" +dependencies = [ + "crc32fast", + "hashbrown 0.14.3", + "indexmap", + "memchr", +] + [[package]] name = "once_cell" version = "1.19.0" @@ -1225,6 +1364,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + [[package]] name = "sha2" version = "0.10.8" @@ -1365,11 +1513,36 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" dependencies = [ "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.22.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +dependencies = [ + "indexmap", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", ] [[package]] @@ -1508,7 +1681,7 @@ dependencies = [ "system-interface", "thiserror", "tracing", - "wasmtime", + "wasmtime 18.0.4", "wiggle", "windows-sys 0.52.0", ] @@ -1593,7 +1766,7 @@ dependencies = [ "rand", "rustler", "wasi-common", - "wasmtime", + "wasmtime 20.0.1", "wasmtime-wasi", "wat", "wiggle", @@ -1610,6 +1783,17 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" +dependencies = [ + "bitflags 2.4.2", + "indexmap", + "semver", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -1617,14 +1801,60 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60e73986a6b7fdfedb7c5bf9e7eb71135486507c8fbc4c0c42cffcb6532988b7" dependencies = [ "anyhow", - "wasmparser", + "wasmparser 0.121.2", +] + +[[package]] +name = "wasmprinter" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab1cc9508685eef9502e787f4d4123745f5651a1e29aec047645d3cac1e2da7a" +dependencies = [ + "anyhow", + "wasmparser 0.202.0", ] [[package]] name = "wasmtime" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c843b8bc4dd4f3a76173ba93405c71111d570af0d90ea5f6299c705d0c2add2" +checksum = "69472708b96ee90579a482bdbb908ce97e53a9e5ebbcab59cc29c3977bcab512" +dependencies = [ + "anyhow", + "async-trait", + "bincode", + "bumpalo", + "cfg-if", + "encoding_rs", + "gimli", + "indexmap", + "libc", + "log", + "object 0.32.2", + "once_cell", + "paste", + "rustix", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-component-macro 18.0.4", + "wasmtime-component-util 18.0.4", + "wasmtime-cranelift 18.0.4", + "wasmtime-environ 18.0.4", + "wasmtime-fiber 18.0.4", + "wasmtime-jit-icache-coherence 18.0.4", + "wasmtime-runtime 18.0.4", + "wasmtime-winch 18.0.4", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2364a810370f08ece49d013255058c3c88ca6c0a080de66549233b7d2ca078b8" dependencies = [ "addr2line", "anyhow", @@ -1639,45 +1869,56 @@ dependencies = [ "ittapi", "libc", "log", - "object", + "object 0.33.0", "once_cell", "paste", "rayon", "rustix", + "semver", "serde", "serde_derive", "serde_json", "target-lexicon", - "wasm-encoder 0.41.2", - "wasmparser", + "wasm-encoder 0.202.0", + "wasmparser 0.202.0", "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-component-util", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-component-macro 20.0.1", + "wasmtime-component-util 20.0.1", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", + "wasmtime-fiber 20.0.1", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "wasmtime-winch", + "wasmtime-jit-icache-coherence 20.0.1", + "wasmtime-runtime 20.0.1", + "wasmtime-slab", + "wasmtime-winch 20.0.1", "wat", "windows-sys 0.52.0", ] [[package]] name = "wasmtime-asm-macros" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b9d329c718b3a18412a6a017c912b539baa8fe1210d21b651f6b4dbafed743" +checksum = "86292d6a9bf30c669582a40c4a4b8e0b8640e951f3635ee8e0acf7f87809961e" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-asm-macros" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c52cceae147514e279460ac3c43c1ea440c51c39202842611623b3f9734f73a8" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cache" -version = "18.0.2" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb4fc2bbf9c790a57875eba65588fa97acf57a7d784dc86d057e648d9a1ed91" +checksum = "b34056847ca9bde1d97cbc829a95d634f54d2879faa17200e55f3cddac159aea" dependencies = [ "anyhow", "base64", @@ -1695,124 +1936,219 @@ dependencies = [ [[package]] name = "wasmtime-component-macro" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8d55ddfd02898885c39638eae9631cd430c83a368f5996ed0f7bfb181d02157" +checksum = "dc6aca484581f9651886dca45f9dea893e105713b58623d14b06c56d8fe3f3f1" dependencies = [ "anyhow", "proc-macro2", "quote", "syn", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 18.0.4", + "wasmtime-wit-bindgen 18.0.4", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-component-macro" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8fd43a734bf424e3983363f1b7532a997edb206f52104568058e412e18db9ba" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn", + "wasmtime-component-util 20.0.1", + "wasmtime-wit-bindgen 20.0.1", + "wit-parser 0.202.0", ] [[package]] name = "wasmtime-component-util" -version = "18.0.2" +version = "18.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0aa907cc97ad039c43f98525d772f4841c2ce69a0c11eeec2a3a9c77fc730e87" + +[[package]] +name = "wasmtime-component-util" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6d69c430cddc70ec42159506962c66983ce0192ebde4eb125b7aabc49cff88" +checksum = "44d65e6a21c3e3482240ff03cc26f5c7ae7ee5df524c2283f39cf492ab711a15" [[package]] name = "wasmtime-cranelift" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31ca62f519225492bd555d0ec85a2dacb0c10315db3418c8b9aeb3824bf54a24" +checksum = "b57d58e220ae223855c5d030ef20753377bc716d0c81b34c1fe74c9f44268774" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen", - "cranelift-control", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-codegen 0.105.4", + "cranelift-control 0.105.4", + "cranelift-entity 0.105.4", + "cranelift-frontend 0.105.4", + "cranelift-native 0.105.4", + "cranelift-wasm 0.105.4", "gimli", "log", - "object", + "object 0.32.2", "target-lexicon", "thiserror", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-environ 18.0.4", + "wasmtime-versioned-export-macros 18.0.4", +] + +[[package]] +name = "wasmtime-cranelift" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2a6ed70499769b4d51f6f656204b0806b3d783f6ec5a8517c68e8b75ecaad19" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.107.1", + "cranelift-control 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-frontend 0.107.1", + "cranelift-native 0.107.1", + "cranelift-wasm 0.107.1", + "gimli", + "log", + "object 0.33.0", + "target-lexicon", + "thiserror", + "wasmparser 0.202.0", + "wasmtime-environ 20.0.1", + "wasmtime-versioned-export-macros 20.0.1", ] [[package]] name = "wasmtime-cranelift-shared" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd5f2071f42e61490bf7cb95b9acdbe6a29dd577a398019304a960585f28b844" +checksum = "1ba2cfdfdbde42f0f3baeddb62f3555524dee9f836c96da8d466e299f75f5eee" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-control", - "cranelift-native", + "cranelift-codegen 0.105.4", + "cranelift-control 0.105.4", + "cranelift-native 0.105.4", "gimli", - "object", + "object 0.32.2", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 18.0.4", ] [[package]] name = "wasmtime-environ" -version = "18.0.2" +version = "18.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abbf3075d9ee7eb1263dc67949aced64d0f0bf27be8098d34d8e5826cf0ff0f2" +dependencies = [ + "anyhow", + "bincode", + "cranelift-entity 0.105.4", + "gimli", + "indexmap", + "log", + "object 0.32.2", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasm-encoder 0.41.2", + "wasmparser 0.121.2", + "wasmprinter 0.2.80", + "wasmtime-component-util 18.0.4", + "wasmtime-types 18.0.4", +] + +[[package]] +name = "wasmtime-environ" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82bf1a47f384610da19f58b0fd392ca6a3b720974315c08afb0392c0f3951fed" +checksum = "90f7b5dbae8c3c6586e22f063ddb9e5cbf02c09629df75e5d8710f7bf880b117" dependencies = [ "anyhow", "bincode", "cpp_demangle", - "cranelift-entity", + "cranelift-entity 0.107.1", "gimli", "indexmap", "log", - "object", + "object 0.33.0", "rustc-demangle", "serde", "serde_derive", "target-lexicon", "thiserror", - "wasm-encoder 0.41.2", - "wasmparser", - "wasmprinter", - "wasmtime-component-util", - "wasmtime-types", + "wasm-encoder 0.202.0", + "wasmparser 0.202.0", + "wasmprinter 0.202.0", + "wasmtime-component-util 20.0.1", + "wasmtime-types 20.0.1", ] [[package]] name = "wasmtime-fiber" -version = "18.0.2" +version = "18.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3174f71c8fbd9d2cb1233ad9f912f106bdd2a1a6d11a1b7707974ba3ad5f304a" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 18.0.4", + "wasmtime-versioned-export-macros 18.0.4", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-fiber" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e31aecada2831e067ebfe93faa3001cc153d506f8af40bbea58aa1d20fe4820" +checksum = "582e7ef625be814c57b1f8c3924c8899560d315f2285436c9184a09985dc3756" dependencies = [ "anyhow", "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 20.0.1", + "wasmtime-versioned-export-macros 20.0.1", "windows-sys 0.52.0", ] [[package]] name = "wasmtime-jit-debug" -version = "18.0.2" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "833dae95bc7a4f9177bf93f9497419763535b74e37eb8c37be53937d3281e287" +checksum = "1bf1b989e3f648340253b76c6c58b2ade89bdf0e23edc4e911deb801fa915b18" dependencies = [ - "object", + "object 0.33.0", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 20.0.1", ] [[package]] name = "wasmtime-jit-icache-coherence" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33f4121cb29dda08139b2824a734dd095d83ce843f2d613a84eb580b9cfc17ac" +checksum = "dacd2aa30fb20fd8cd0eb4e664024a1ab28a02958529fa05bf52117532a098fc" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b55b43e693c0beeca494d522f4850afca53cb46acf309483aef32a125276ee78" dependencies = [ "cfg-if", "libc", @@ -1821,9 +2157,9 @@ dependencies = [ [[package]] name = "wasmtime-runtime" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e517f2b996bb3b0e34a82a2bce194f850d9bcfc25c08328ef5fb71b071066b8" +checksum = "d14e97c4bb36d91bcdd194745446d595e67ce8b89916806270fdbee640c747fd" dependencies = [ "anyhow", "cc", @@ -1840,33 +2176,92 @@ dependencies = [ "rustix", "sptr", "wasm-encoder 0.41.2", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit-debug", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 18.0.4", + "wasmtime-environ 18.0.4", + "wasmtime-fiber 18.0.4", + "wasmtime-versioned-export-macros 18.0.4", "wasmtime-wmemcheck", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-runtime" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2b876c09b7863d8a01bf87eb45f3b121fab245f8afbff7c38c38c1c9059aee" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "encoding_rs", + "indexmap", + "libc", + "log", + "mach2", + "memfd", + "memoffset", + "paste", + "psm", + "rustix", + "sptr", + "wasm-encoder 0.202.0", + "wasmtime-asm-macros 20.0.1", + "wasmtime-environ 20.0.1", + "wasmtime-fiber 20.0.1", + "wasmtime-jit-debug", + "wasmtime-slab", + "wasmtime-versioned-export-macros 20.0.1", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-slab" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8ddfb8ebbab6ac186bc1f8c02ed988bc9ea455fea10f72bc3a07503309b4b" + [[package]] name = "wasmtime-types" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a327d7a0ef57bd52a507d28b4561a74126c7a8535a2fc6f2025716bc6a52e8" +checksum = "530b94c627a454d24f520173d3145112d1b807c44c82697a57e1d8e28390cde4" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.4", "serde", "serde_derive", "thiserror", - "wasmparser", + "wasmparser 0.121.2", +] + +[[package]] +name = "wasmtime-types" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fa3a1f3c0deb3034d76e7dcf340c5df670a6603019ee5b58adb70870649c769" +dependencies = [ + "cranelift-entity 0.107.1", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.202.0", ] [[package]] name = "wasmtime-versioned-export-macros" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ef32eea9fc7035a55159a679d1e89b43ece5ae45d24eed4808e6a92c99a0da4" +checksum = "5399c175ddba4a471b9da45105dea3493059d52b2d54860eadb0df04c813948d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "wasmtime-versioned-export-macros" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85321f0a1cd3c859b94e728533ba00074d3eca62362acf6998be0eab6f4001c" dependencies = [ "proc-macro2", "quote", @@ -1901,45 +2296,74 @@ dependencies = [ "tracing", "url", "wasi-common", - "wasmtime", + "wasmtime 18.0.4", "wiggle", "windows-sys 0.52.0", ] [[package]] name = "wasmtime-winch" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3378c0e808a744b5d4df2a9a9d2746a53b151811926731f04fc401707f7d54" +checksum = "729dff119cfd2e2333504b52db6661e49278314c83276a01d15a2a86e566e614" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.105.4", "gimli", - "object", + "object 0.32.2", "target-lexicon", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "winch-codegen", + "wasmtime-environ 18.0.4", + "winch-codegen 0.16.4", +] + +[[package]] +name = "wasmtime-winch" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0d446696aa83f680d85e188670631cb7958957f63d027d6c36b945c2baa3e1e" +dependencies = [ + "anyhow", + "cranelift-codegen 0.107.1", + "gimli", + "object 0.33.0", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", + "winch-codegen 0.18.1", ] [[package]] name = "wasmtime-wit-bindgen" -version = "18.0.2" +version = "18.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6945fc6cfee04ba81016e9723bea77a2b913108e03904a4d901daedf208365f5" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca677c36869e45602617b25a9968ec0d895ad9a0aee3756d9dee1ddd89456f91" +checksum = "4d1d0c83af38eb6918af9c7cbc07d39f741a7baa9ddd152e19d9f93ff627dc05" dependencies = [ "anyhow", "heck", "indexmap", - "wit-parser", + "wit-parser 0.202.0", ] [[package]] name = "wasmtime-wmemcheck" -version = "18.0.2" +version = "18.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4cbfb052d66f03603a9b77f18171ea245c7805714caad370a549a6344bf86b" +checksum = "e1711f429111e782fac0537e0b3eb2ab6f821613cf1ec3013f2a0ff3fde41745" [[package]] name = "wast" @@ -1983,7 +2407,7 @@ dependencies = [ "bitflags 2.4.2", "thiserror", "tracing", - "wasmtime", + "wasmtime 18.0.4", "wiggle-macro", "witx", ] @@ -2039,18 +2463,35 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "winch-codegen" -version = "0.16.2" +version = "0.16.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "433cafb378ad01cd839974846204f56257ec34fc9d7db309ce1e34f24923fa6a" +dependencies = [ + "anyhow", + "cranelift-codegen 0.105.4", + "gimli", + "regalloc2", + "smallvec", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-environ 18.0.4", +] + +[[package]] +name = "winch-codegen" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8197ed4a2ebf612f0624ddda10de71f8cd2d3a4ecf8ffac0586a264599708d63" +checksum = "720aabcf6838b31b42c7adc04d847696b066ddc5877efd6071ed5f08ae75bf20" dependencies = [ "anyhow", - "cranelift-codegen", + "cranelift-codegen 0.107.1", "gimli", "regalloc2", "smallvec", "target-lexicon", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.202.0", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", ] [[package]] @@ -2194,6 +2635,15 @@ version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" +[[package]] +name = "winnow" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +dependencies = [ + "memchr", +] + [[package]] name = "winx" version = "0.36.3" @@ -2221,6 +2671,24 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "wit-parser" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "744237b488352f4f27bca05a10acb79474415951c450e52ebd0da784c1df2bcc" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.202.0", +] + [[package]] name = "witx" version = "0.9.1" @@ -2255,28 +2723,27 @@ dependencies = [ [[package]] name = "zstd" -version = "0.11.2+zstd.1.5.2" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" +version = "7.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a" dependencies = [ - "libc", "zstd-sys", ] [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.10+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" dependencies = [ "cc", "pkg-config", diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index 6f720ff3..ca38a118 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 = "18.0.2" +wasmtime = "20.0.1" wasmtime-wasi = "18.0.2" wasi-common = "18.0.2" wiggle = "18.0.2"