From a428e798b99f93d8d32d23a507913606cd7dab3c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 21:20:08 +0000 Subject: [PATCH] chore(deps): bump wasmtime from 4.0.1 to 20.0.0 Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 4.0.1 to 20.0.0. - [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/v4.0.1...v20.0.0) --- updated-dependencies: - dependency-name: wasmtime dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 670 +++++++++++++++++++++++++++++++++++-------- apps/host/Cargo.toml | 2 +- 2 files changed, 544 insertions(+), 128 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 929c4f688..39fe79af6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,6 +192,12 @@ dependencies = [ "backtrace", ] +[[package]] +name = "arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" + [[package]] name = "arc-swap" version = "1.7.1" @@ -948,6 +954,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "cpp_demangle" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8227005286ec39567949b33df9896bcadfa6051bccca2488129f108ca23119" +dependencies = [ + "cfg-if", +] + [[package]] name = "cpufeatures" version = "0.2.12" @@ -959,28 +974,28 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2ab4512dfd3a6f4be184403a195f76e81a8a9f9e6c898e19d2dc3ce20e0115" +checksum = "79b27922a6879b5b5361d0a084cb0b1941bf109a98540addcb932da13b68bed4" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.107.0", ] [[package]] name = "cranelift-codegen" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98b022ed2a5913a38839dfbafe6cf135342661293b08049843362df4301261dc" +checksum = "304c455b28bf56372729acb356afbb55d622f2b0f2f7837aa5e57c138acaac4d" dependencies = [ - "arrayvec", "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", - "cranelift-egraph", - "cranelift-entity", + "cranelift-control", + "cranelift-entity 0.107.0", "cranelift-isle", - "gimli 0.26.2", + "gimli 0.28.1", + "hashbrown 0.14.3", "log", "regalloc2", "smallvec", @@ -989,31 +1004,26 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "639307b45434ad112a98f8300c0f0ab085cbefcd767efcdef9ef19d4c0756e74" +checksum = "1653c56b99591d07f67c5ca7f9f25888948af3f4b97186bff838d687d666f613" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "278e52e29c53fcf32431ef08406c295699a70306d05a0715c5b1bf50e33a9ab7" +checksum = "f5b6a9cf6b6eb820ee3f973a0db313c05dc12d370f37b4fe9630286e1672573f" [[package]] -name = "cranelift-egraph" -version = "0.91.1" +name = "cranelift-control" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624b54323b06e675293939311943ba82d323bb340468ce1889be5da7932c8d73" +checksum = "d9d06e6bf30075fb6bed9e034ec046475093392eea1aff90eb5c44c4a033d19a" dependencies = [ - "cranelift-entity", - "fxhash", - "hashbrown 0.12.3", - "indexmap 1.9.3", - "log", - "smallvec", + "arbitrary", ] [[package]] @@ -1025,11 +1035,21 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.107.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29be04f931b73cdb9694874a295027471817f26f26d2f0ebe5454153176b6e3a" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d70abacb8cfef3dc8ff7e8836e9c1d70f7967dfdac824a4cd5e30223415aca6" +checksum = "a07fd7393041d7faa2f37426f5dc7fc04003b70988810e8c063beefeff1cd8f9" dependencies = [ "cranelift-codegen", "log", @@ -1039,15 +1059,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "393bc73c451830ff8dbb3a07f61843d6cb41a084f9996319917c0b291ed785bb" +checksum = "f341d7938caa6dff8149dac05bb2b53fc680323826b83b4cf175ab9f5139a3c9" [[package]] name = "cranelift-native" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba392fd53b1bf6d45bf1d97f7e13bb8ba8424f19d66d80e60a0d594c2bb2636e" +checksum = "82af6066e6448d26eeabb7aa26a43f7ff79f8217b06bade4ee6ef230aecc8880" dependencies = [ "cranelift-codegen", "libc", @@ -1056,18 +1076,18 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.91.1" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "016abecc42cc114b924fa3fc306267f566076cefd3e43b891c510c8085c0811e" +checksum = "2766fab7284a914a7f17f90ebe865c86453225fb8637ac31f123f5028fee69cd" dependencies = [ "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.107.0", "cranelift-frontend", - "itertools 0.10.5", + "itertools 0.12.1", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.202.0", + "wasmtime-types 20.0.0", ] [[package]] @@ -1261,6 +1281,15 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", +] + [[package]] name = "der" version = "0.7.8" @@ -1462,6 +1491,15 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" +[[package]] +name = "encoding_rs" +version = "0.8.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" +dependencies = [ + "cfg-if", +] + [[package]] name = "enum-as-inner" version = "0.6.0" @@ -1474,19 +1512,6 @@ dependencies = [ "syn 2.0.60", ] -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1602,7 +1627,7 @@ dependencies = [ "log", "reqwest", "thiserror", - "wasmtime", + "wasmtime 20.0.0", "wasmtime-wasi", ] @@ -1888,6 +1913,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "fastdivide" version = "0.4.0" @@ -1931,16 +1962,6 @@ version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger", - "log", -] - [[package]] name = "fixedbitset" version = "0.4.2" @@ -2154,6 +2175,19 @@ dependencies = [ "byteorder", ] +[[package]] +name = "fxprof-processed-profile" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" +dependencies = [ + "bitflags 2.5.0", + "debugid", + "fxhash", + "serde", + "serde_json", +] + [[package]] name = "generator" version = "0.7.5" @@ -2219,8 +2253,7 @@ version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ - "fallible-iterator", - "indexmap 1.9.3", + "fallible-iterator 0.2.0", "stable_deref_trait", ] @@ -2229,6 +2262,11 @@ name = "gimli" version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +dependencies = [ + "fallible-iterator 0.3.0", + "indexmap 2.2.6", + "stable_deref_trait", +] [[package]] name = "glob" @@ -2286,6 +2324,15 @@ dependencies = [ "ahash 0.7.8", ] +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.11", +] + [[package]] name = "hashbrown" version = "0.14.3" @@ -2608,6 +2655,12 @@ dependencies = [ "cc", ] +[[package]] +name = "id-arena" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005" + [[package]] name = "idna" version = "0.4.0" @@ -2695,6 +2748,7 @@ checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", "hashbrown 0.14.3", + "serde", ] [[package]] @@ -2819,9 +2873,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", @@ -2830,9 +2884,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", ] @@ -3525,6 +3579,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 = "match_cfg" version = "0.1.0" @@ -3598,6 +3661,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + [[package]] name = "mime" version = "0.3.17" @@ -3927,6 +3999,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 2.2.6", + "memchr", +] + [[package]] name = "oid-registry" version = "0.6.1" @@ -4217,7 +4301,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ "once_cell", - "toml_edit", + "toml_edit 0.19.15", ] [[package]] @@ -4588,12 +4672,13 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.5.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ - "fxhash", + "hashbrown 0.13.2", "log", + "rustc-hash", "slice-group-by", "smallvec", ] @@ -5009,6 +5094,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 = "serde_urlencoded" version = "0.7.1" @@ -5236,6 +5330,12 @@ dependencies = [ "der", ] +[[package]] +name = "sptr" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -5630,11 +5730,14 @@ 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 0.22.12", ] [[package]] @@ -5642,6 +5745,9 @@ 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" @@ -5651,7 +5757,20 @@ checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ "indexmap 2.2.6", "toml_datetime", - "winnow", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.22.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow 0.6.6", ] [[package]] @@ -5987,7 +6106,7 @@ dependencies = [ "rustix 0.36.17", "thiserror", "tracing", - "wasmtime", + "wasmtime 4.0.1", "wiggle", "windows-sys 0.42.0", ] @@ -6079,9 +6198,18 @@ checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasm-encoder" -version = "0.201.0" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfd106365a7f5f7aa3c1916a98cbb3ad477f5ff96ddb130285a91c6e7429e67a" +dependencies = [ + "leb128", +] + +[[package]] +name = "wasm-encoder" +version = "0.205.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9c7d2731df60006819b013f64ccc2019691deccf6e11a1804bc850cd6748f1a" +checksum = "90e95b3563d164f33c1cfb0a7efbd5940c37710019be10cd09f800fdec8b0e5c" dependencies = [ "leb128", ] @@ -6122,6 +6250,27 @@ dependencies = [ "url", ] +[[package]] +name = "wasmparser" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" +dependencies = [ + "bitflags 2.5.0", + "indexmap 2.2.6", + "semver", +] + +[[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 = "4.0.1" @@ -6139,18 +6288,60 @@ dependencies = [ "once_cell", "paste", "psm", + "serde", + "target-lexicon", + "wasmparser 0.95.0", + "wasmtime-environ 4.0.1", + "wasmtime-fiber 4.0.1", + "wasmtime-jit", + "wasmtime-runtime 4.0.1", + "windows-sys 0.42.0", +] + +[[package]] +name = "wasmtime" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5990663c28d81015ddbb02a068ac1bf396a4ea296eba7125b2dfc7c00cb52e" +dependencies = [ + "addr2line 0.21.0", + "anyhow", + "async-trait", + "bincode 1.3.3", + "bumpalo", + "cfg-if", + "encoding_rs", + "fxprof-processed-profile", + "gimli 0.28.1", + "indexmap 2.2.6", + "ittapi", + "libc", + "log", + "object 0.33.0", + "once_cell", + "paste", "rayon", + "rustix 0.38.32", + "semver", "serde", + "serde_derive", + "serde_json", "target-lexicon", - "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-jit", - "wasmtime-runtime", + "wasmtime-environ 20.0.0", + "wasmtime-fiber 20.0.0", + "wasmtime-jit-debug 20.0.0", + "wasmtime-jit-icache-coherence 20.0.0", + "wasmtime-runtime 20.0.0", + "wasmtime-slab", + "wasmtime-winch", "wat", - "windows-sys 0.42.0", + "windows-sys 0.52.0", ] [[package]] @@ -6162,45 +6353,78 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625ee94c72004f3ea0228989c9506596e469517d7d0ed66f7300d1067bdf1ca9" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" -version = "4.0.1" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45499ab75af0576ccf87b3f9130941245cc5cb086f63f0a323febeba3c077433" +checksum = "98534bf28de232299e83eab33984a7a6c40c69534d6bd0ea216150b63d41a83a" dependencies = [ "anyhow", - "base64 0.13.1", + "base64 0.21.7", "bincode 1.3.3", "directories-next", - "file-per-thread-logger", "log", - "rustix 0.36.17", + "rustix 0.38.32", "serde", + "serde_derive", "sha2 0.10.8", "toml", - "windows-sys 0.42.0", + "windows-sys 0.52.0", "zstd", ] +[[package]] +name = "wasmtime-component-macro" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64f84414a25ee3a624c8b77550f3fe7b5d8145bd3405ca58886ee6900abb6dc2" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.60", + "wasmtime-component-util", + "wasmtime-wit-bindgen", + "wit-parser", +] + +[[package]] +name = "wasmtime-component-util" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78580bdb4e04c7da3bf98088559ca1d29382668536e4d5c7f2f966d79c390307" + [[package]] name = "wasmtime-cranelift" -version = "4.0.1" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7a9ec65dec790ec8602c263a1da12de073cc46cb07ffa3fc28295d2238365b6" +checksum = "b60df0ee08c6a536c765f69e9e8205273435b66d02dd401e938769a2622a6c1a" dependencies = [ "anyhow", + "cfg-if", "cranelift-codegen", - "cranelift-entity", + "cranelift-control", + "cranelift-entity 0.107.0", "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.26.2", + "gimli 0.28.1", "log", - "object 0.29.0", + "object 0.33.0", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.202.0", + "wasmtime-environ 20.0.0", + "wasmtime-versioned-export-macros", ] [[package]] @@ -6210,7 +6434,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2137f0cdc6eed2f734c0d6f6a024af0e7a7208fa95e88501b72ca3c957bd0ba1" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.91.1", "gimli 0.26.2", "indexmap 1.9.3", "log", @@ -6218,8 +6442,34 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.95.0", + "wasmtime-types 4.0.1", +] + +[[package]] +name = "wasmtime-environ" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64ffc1613db69ee47c96738861534f9a405e422a5aa00224fbf5d410b03fb445" +dependencies = [ + "anyhow", + "bincode 1.3.3", + "cpp_demangle 0.4.3", + "cranelift-entity 0.107.0", + "gimli 0.28.1", + "indexmap 2.2.6", + "log", + "object 0.33.0", + "rustc-demangle", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasm-encoder 0.202.0", + "wasmparser 0.202.0", + "wasmprinter", + "wasmtime-component-util", + "wasmtime-types 20.0.0", ] [[package]] @@ -6231,10 +6481,25 @@ dependencies = [ "cc", "cfg-if", "rustix 0.36.17", - "wasmtime-asm-macros", + "wasmtime-asm-macros 4.0.1", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-fiber" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f043514a23792761c5765f8ba61a4aa7d67f260c0c37494caabceb41d8ae81de" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix 0.38.32", + "wasmtime-asm-macros 20.0.0", + "wasmtime-versioned-export-macros", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-jit" version = "4.0.1" @@ -6245,18 +6510,16 @@ dependencies = [ "anyhow", "bincode 1.3.3", "cfg-if", - "cpp_demangle", + "cpp_demangle 0.3.5", "gimli 0.26.2", - "ittapi", "log", "object 0.29.0", "rustc-demangle", "serde", "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-environ 4.0.1", + "wasmtime-jit-icache-coherence 3.0.1", + "wasmtime-runtime 4.0.1", "windows-sys 0.42.0", ] @@ -6266,9 +6529,19 @@ version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17981d189925fcb3a449a18b330141865df3aa025c030c4572962e10daa9707f" dependencies = [ - "object 0.29.0", "once_cell", - "rustix 0.36.17", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c0ca2ad8f5d2b37f507ef1c935687a690e84e9f325f5a2af9639440b43c1f0e" +dependencies = [ + "object 0.33.0", + "once_cell", + "rustix 0.38.32", + "wasmtime-versioned-export-macros", ] [[package]] @@ -6282,6 +6555,17 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9f93a3289057b26dc75eb84d6e60d7694f7d169c7c09597495de6e016a13ff" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "4.0.1" @@ -6296,27 +6580,87 @@ dependencies = [ "log", "mach", "memfd", - "memoffset", + "memoffset 0.6.5", "paste", "rand 0.8.5", "rustix 0.36.17", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit-debug", + "wasmtime-asm-macros 4.0.1", + "wasmtime-environ 4.0.1", + "wasmtime-fiber 4.0.1", + "wasmtime-jit-debug 4.0.1", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-runtime" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6332a2b0af4224c3ea57c857ad39acd2780ccc2b0c99ba1baa01864d90d7c94" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "encoding_rs", + "indexmap 2.2.6", + "libc", + "log", + "mach2", + "memfd", + "memoffset 0.9.1", + "paste", + "psm", + "rustix 0.38.32", + "sptr", + "wasm-encoder 0.202.0", + "wasmtime-asm-macros 20.0.0", + "wasmtime-environ 20.0.0", + "wasmtime-fiber 20.0.0", + "wasmtime-jit-debug 20.0.0", + "wasmtime-slab", + "wasmtime-versioned-export-macros", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-slab" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b3655075824a374c536a2b2cc9283bb765fcdf3d58b58587862c48571ad81ef" + [[package]] name = "wasmtime-types" version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6410892daeb7e69d5af6055c9c07d9f5d1e159539a6e3f649e932fe0d9008a5b" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.91.1", "serde", "thiserror", - "wasmparser", + "wasmparser 0.95.0", +] + +[[package]] +name = "wasmtime-types" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98cf64a242b0b9257604181ca28b28a5fcaa4c9ea1d396f76d1d2d1c5b40eef" +dependencies = [ + "cranelift-entity 0.107.0", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.202.0", +] + +[[package]] +name = "wasmtime-versioned-export-macros" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8561d9e2920db2a175213d557d71c2ac7695831ab472bbfafb9060cd1034684f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", ] [[package]] @@ -6329,10 +6673,39 @@ dependencies = [ "wasi-cap-std-sync", "wasi-common", "wasi-tokio", - "wasmtime", + "wasmtime 4.0.1", "wiggle", ] +[[package]] +name = "wasmtime-winch" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06b573d14ac846a0fb8c541d8fca6a64acf9a1d176176982472274ab1d2fa5d" +dependencies = [ + "anyhow", + "cranelift-codegen", + "gimli 0.28.1", + "object 0.33.0", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-cranelift", + "wasmtime-environ 20.0.0", + "winch-codegen", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "595bc7bb3b0ff4aa00fab718c323ea552c3034d77abc821a35112552f2ea487a" +dependencies = [ + "anyhow", + "heck 0.4.1", + "indexmap 2.2.6", + "wit-parser", +] + [[package]] name = "wast" version = "35.0.2" @@ -6344,24 +6717,24 @@ dependencies = [ [[package]] name = "wast" -version = "201.0.0" +version = "205.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ef6e1ef34d7da3e2b374fd2b1a9c0227aff6cad596e1b24df9b58d0f6222faa" +checksum = "441a6a195b3b5245e26d450bbcc91366c6b652382a22f63cbe3c73240e13b2bb" dependencies = [ "bumpalo", "leb128", "memchr", "unicode-width", - "wasm-encoder", + "wasm-encoder 0.205.0", ] [[package]] name = "wat" -version = "1.201.0" +version = "1.205.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453d5b37a45b98dee4f4cb68015fc73634d7883bbef1c65e6e9c78d454cf3f32" +checksum = "19832624d606e7c6bf3cd4caa73578ecec5eac30c768269256d19c79900beb18" dependencies = [ - "wast 201.0.0", + "wast 205.0.0", ] [[package]] @@ -6412,7 +6785,7 @@ dependencies = [ "bitflags 1.3.2", "thiserror", "tracing", - "wasmtime", + "wasmtime 4.0.1", "wiggle-macro", ] @@ -6474,6 +6847,23 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "winch-codegen" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb23450977f9d4a23c02439cf6899340b2d68887b19465c5682740d9cc37d52e" +dependencies = [ + "anyhow", + "cranelift-codegen", + "gimli 0.28.1", + "regalloc2", + "smallvec", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-cranelift", + "wasmtime-environ 20.0.0", +] + [[package]] name = "windows" version = "0.48.0" @@ -6733,6 +7123,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "winnow" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" version = "0.50.0" @@ -6774,6 +7173,24 @@ dependencies = [ "windows-sys 0.52.0", ] +[[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 2.2.6", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.202.0", +] + [[package]] name = "witx" version = "0.9.1" @@ -6924,28 +7341,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/apps/host/Cargo.toml b/apps/host/Cargo.toml index 7862edd38..0fed97d77 100644 --- a/apps/host/Cargo.toml +++ b/apps/host/Cargo.toml @@ -23,7 +23,7 @@ reqwest = { version = "0.12.4", default-features = false, features = ["rustls-tl thiserror = "1.0.59" [target."cfg(any( all(target_arch = \"x86_64\", any(target_os = \"linux\", target_os = \"macos\", target_os = \"windows\")), all(target_arch = \"aarch64\", any(target_os = \"linux\", target_os = \"macos\")) ))".dependencies] -wasmtime = "4.0.1" +wasmtime = "20.0.0" wasmtime-wasi = { version = "4.0.1", features = ["tokio"] } [dev-dependencies]