From 40ea239ffe5cedff845fe94c4774240282998d3c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:51:29 +0000 Subject: [PATCH] chore(deps): bump wasmtime-wasi from 4.0.1 to 18.0.3 Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 4.0.1 to 18.0.3. - [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...v18.0.3) --- updated-dependencies: - dependency-name: wasmtime-wasi dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 798 +++++++++++++++++++++++++++++++++---------- apps/host/Cargo.toml | 2 +- 2 files changed, 619 insertions(+), 181 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 99dc352f3..ef1e002c9 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.6.0" @@ -537,38 +543,50 @@ dependencies = [ [[package]] name = "cap-fs-ext" -version = "1.0.15" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc48200a1a0fa6fba138b1802ad7def18ec1cdd92f7b2a04e21f1bd887f7b9" +checksum = "88e341d15ac1029aadce600be764a1a1edafe40e03cde23285bc1d261b3a4866" dependencies = [ "cap-primitives", "cap-std", - "io-lifetimes 1.0.11", - "windows-sys 0.48.0", + "io-lifetimes 2.0.3", + "windows-sys 0.52.0", +] + +[[package]] +name = "cap-net-ext" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "434168fe6533055f0f4204039abe3ff6d7db338ef46872a5fa39e9d5ad5ab7a9" +dependencies = [ + "cap-primitives", + "cap-std", + "rustix 0.38.31", + "smallvec", ] [[package]] name = "cap-primitives" -version = "1.0.15" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4b6df5b295dca8d56f35560be8c391d59f0420f72e546997154e24e765e6451" +checksum = "fe16767ed8eee6d3f1f00d6a7576b81c226ab917eb54b96e5f77a5216ef67abb" dependencies = [ "ambient-authority", - "fs-set-times 0.19.2", + "fs-set-times", "io-extras", - "io-lifetimes 1.0.11", + "io-lifetimes 2.0.3", "ipnet", "maybe-owned", - "rustix 0.37.27", - "windows-sys 0.48.0", - "winx 0.35.1", + "rustix 0.38.31", + "windows-sys 0.52.0", + "winx", ] [[package]] name = "cap-rand" -version = "1.0.15" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d25555efacb0b5244cf1d35833d55d21abc916fff0eaad254b8e2453ea9b8ab" +checksum = "20e5695565f0cd7106bc3c7170323597540e772bb73e0be2cd2c662a0f8fa4ca" dependencies = [ "ambient-authority", "rand 0.8.5", @@ -576,26 +594,28 @@ dependencies = [ [[package]] name = "cap-std" -version = "1.0.15" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3373a62accd150b4fcba056d4c5f3b552127f0ec86d3c8c102d60b978174a012" +checksum = "593db20e4c51f62d3284bae7ee718849c3214f93a3b94ea1899ad85ba119d330" dependencies = [ "cap-primitives", "io-extras", - "io-lifetimes 1.0.11", - "rustix 0.37.27", + "io-lifetimes 2.0.3", + "rustix 0.38.31", ] [[package]] name = "cap-time-ext" -version = "1.0.15" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e95002993b7baee6b66c8950470e59e5226a23b3af39fc59c47fe416dd39821a" +checksum = "03261630f291f425430a36f38c847828265bc928f517cdd2004c56f4b02f002b" dependencies = [ + "ambient-authority", "cap-primitives", + "iana-time-zone", "once_cell", - "rustix 0.37.27", - "winx 0.35.1", + "rustix 0.38.31", + "winx", ] [[package]] @@ -950,7 +970,16 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2ab4512dfd3a6f4be184403a195f76e81a8a9f9e6c898e19d2dc3ce20e0115" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.91.1", +] + +[[package]] +name = "cranelift-bforest" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16d5521e2abca66bbb1ddeecbb6f6965c79160352ae1579b39f8c86183895c24" +dependencies = [ + "cranelift-entity 0.105.3", ] [[package]] @@ -961,15 +990,36 @@ checksum = "98b022ed2a5913a38839dfbafe6cf135342661293b08049843362df4301261dc" dependencies = [ "arrayvec", "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", + "cranelift-bforest 0.91.1", + "cranelift-codegen-meta 0.91.1", + "cranelift-codegen-shared 0.91.1", "cranelift-egraph", - "cranelift-entity", - "cranelift-isle", + "cranelift-entity 0.91.1", + "cranelift-isle 0.91.1", "gimli 0.26.2", "log", - "regalloc2", + "regalloc2 0.5.1", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-codegen" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef40a4338a47506e832ac3e53f7f1375bc59351f049a8379ff736dd02565bd95" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.105.3", + "cranelift-codegen-meta 0.105.3", + "cranelift-codegen-shared 0.105.3", + "cranelift-control", + "cranelift-entity 0.105.3", + "cranelift-isle 0.105.3", + "gimli 0.28.1", + "hashbrown 0.14.3", + "log", + "regalloc2 0.9.3", "smallvec", "target-lexicon", ] @@ -980,7 +1030,16 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "639307b45434ad112a98f8300c0f0ab085cbefcd767efcdef9ef19d4c0756e74" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.91.1", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24cd5d85985c070f73dfca07521d09086362d1590105ba44b0932bf33513b61" +dependencies = [ + "cranelift-codegen-shared 0.105.3", ] [[package]] @@ -989,13 +1048,28 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "278e52e29c53fcf32431ef08406c295699a70306d05a0715c5b1bf50e33a9ab7" +[[package]] +name = "cranelift-codegen-shared" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0584c4363e3aa0a3c7cb98a778fbd5326a3709f117849a727da081d4051726c" + +[[package]] +name = "cranelift-control" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f25ecede098c6553fdba362a8e4c9ecb8d40138363bff47f9712db75be7f0571" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-egraph" version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624b54323b06e675293939311943ba82d323bb340468ce1889be5da7932c8d73" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.91.1", "fxhash", "hashbrown 0.12.3", "indexmap 1.9.3", @@ -1012,13 +1086,35 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea081a42f25dc4c5b248b87efdd87dcd3842a1050a37524ec5391e6172058cb" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d70abacb8cfef3dc8ff7e8836e9c1d70f7967dfdac824a4cd5e30223415aca6" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.91.1", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-frontend" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9796e712f5af797e247784f7518e6b0a83a8907d73d51526982d86ecb3a58b68" +dependencies = [ + "cranelift-codegen 0.105.3", "log", "smallvec", "target-lexicon", @@ -1030,13 +1126,30 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "393bc73c451830ff8dbb3a07f61843d6cb41a084f9996319917c0b291ed785bb" +[[package]] +name = "cranelift-isle" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4a66ccad5782f15c80e9dd5af0df4acfe6e3eee98e8f7354a2e5c8ec3104bdd" + [[package]] name = "cranelift-native" version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba392fd53b1bf6d45bf1d97f7e13bb8ba8424f19d66d80e60a0d594c2bb2636e" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.91.1", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "285e80df1d9b79ded9775b285df68b920a277b84f88a7228d2f5bc31fcdc58eb" +dependencies = [ + "cranelift-codegen 0.105.3", "libc", "target-lexicon", ] @@ -1047,14 +1160,30 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "016abecc42cc114b924fa3fc306267f566076cefd3e43b891c510c8085c0811e" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", + "cranelift-codegen 0.91.1", + "cranelift-entity 0.91.1", + "cranelift-frontend 0.91.1", + "itertools 0.10.5", + "log", + "smallvec", + "wasmparser 0.95.0", + "wasmtime-types 4.0.1", +] + +[[package]] +name = "cranelift-wasm" +version = "0.105.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4135b0ab01fd16aa8f8821196e9e2fe15953552ccaef8ba5153be0ced04ef757" +dependencies = [ + "cranelift-codegen 0.105.3", + "cranelift-entity 0.105.3", + "cranelift-frontend 0.105.3", "itertools 0.10.5", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.121.2", + "wasmtime-types 18.0.3", ] [[package]] @@ -1610,7 +1739,7 @@ dependencies = [ "log", "reqwest", "thiserror", - "wasmtime", + "wasmtime 4.0.1", "wasmtime-wasi", ] @@ -1885,6 +2014,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" @@ -1971,24 +2106,13 @@ dependencies = [ [[package]] name = "fs-set-times" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "857cf27edcb26c2a36d84b2954019573d335bb289876113aceacacdca47a4fd4" -dependencies = [ - "io-lifetimes 1.0.11", - "rustix 0.36.17", - "windows-sys 0.45.0", -] - -[[package]] -name = "fs-set-times" -version = "0.19.2" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d167b646a876ba8fda6b50ac645cfd96242553cbaf0ca4fccaa39afcbf0801f" +checksum = "033b337d725b97690d86893f9de22b67b80dcc4e9ad815f348254c38119db8fb" dependencies = [ - "io-lifetimes 1.0.11", + "io-lifetimes 2.0.3", "rustix 0.38.31", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -2216,7 +2340,7 @@ version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -2226,6 +2350,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.3", + "stable_deref_trait", +] [[package]] name = "glob" @@ -2293,6 +2422,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.8", +] + [[package]] name = "hashbrown" version = "0.14.3" @@ -2496,6 +2634,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.2.3" @@ -2594,6 +2738,7 @@ checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" dependencies = [ "equivalent", "hashbrown 0.14.3", + "serde", ] [[package]] @@ -2632,12 +2777,12 @@ dependencies = [ [[package]] name = "io-extras" -version = "0.17.4" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde93d48f0d9277f977a333eca8313695ddd5301dc96f7e02aeddcb0dd99096f" +checksum = "c301e73fb90e8a29e600a9f402d095765f74310d582916a952f618836a1bd1ed" dependencies = [ - "io-lifetimes 1.0.11", - "windows-sys 0.48.0", + "io-lifetimes 2.0.3", + "windows-sys 0.52.0", ] [[package]] @@ -3306,12 +3451,6 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - [[package]] name = "linux-raw-sys" version = "0.4.13" @@ -3506,6 +3645,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "mime" version = "0.3.17" @@ -3832,6 +3980,9 @@ version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ + "crc32fast", + "hashbrown 0.14.3", + "indexmap 2.2.3", "memchr", ] @@ -4533,6 +4684,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.10.3" @@ -4736,22 +4900,6 @@ dependencies = [ "windows-sys 0.45.0", ] -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes 1.0.11", - "itoa", - "libc", - "linux-raw-sys 0.3.8", - "once_cell", - "windows-sys 0.48.0", -] - [[package]] name = "rustix" version = "0.38.31" @@ -4760,8 +4908,10 @@ checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ "bitflags 2.4.2", "errno", + "itoa", "libc", "linux-raw-sys 0.4.13", + "once_cell", "windows-sys 0.52.0", ] @@ -5149,6 +5299,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" @@ -5253,9 +5409,9 @@ dependencies = [ [[package]] name = "system-interface" -version = "0.25.9" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10081a99cbecbc363d381b9503563785f0b02735fccbb0d4c1a2cb3d39f7e7fe" +checksum = "0682e006dd35771e392a6623ac180999a9a854b1d4a6c12fb2e804941c2b1f58" dependencies = [ "bitflags 2.4.2", "cap-fs-ext", @@ -5263,8 +5419,8 @@ dependencies = [ "fd-lock", "io-lifetimes 2.0.3", "rustix 0.38.31", - "windows-sys 0.48.0", - "winx 0.36.3", + "windows-sys 0.52.0", + "winx", ] [[package]] @@ -5578,7 +5734,6 @@ version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "log", "pin-project-lite 0.2.13", "tracing-attributes", "tracing-core", @@ -5906,63 +6061,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] -name = "wasi-cap-std-sync" -version = "4.0.1" +name = "wasi-common" +version = "18.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e60acd83cd80a87d255e4c6b7ae70fed9187ecd2a1485d2dddc3906f0ba729b1" +checksum = "95e022c29ad56af4cc0a8a8f0e0191abf9e0a0c4a68d25dfe088c39c9a8e3d2c" dependencies = [ "anyhow", - "async-trait", + "bitflags 2.4.2", "cap-fs-ext", "cap-rand", "cap-std", "cap-time-ext", - "fs-set-times 0.18.1", + "fs-set-times", "io-extras", - "io-lifetimes 1.0.11", - "is-terminal", + "io-lifetimes 2.0.3", + "log", "once_cell", - "rustix 0.36.17", + "rustix 0.38.31", "system-interface", - "tracing", - "wasi-common", - "windows-sys 0.42.0", -] - -[[package]] -name = "wasi-common" -version = "4.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9facbac46d77bbc4a2f090f590992871fc253963ae14cc19b12e7f6c44920ff2" -dependencies = [ - "anyhow", - "bitflags 1.3.2", - "cap-rand", - "cap-std", - "io-extras", - "rustix 0.36.17", "thiserror", - "tracing", - "wasmtime", - "wiggle", - "windows-sys 0.42.0", -] - -[[package]] -name = "wasi-tokio" -version = "4.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a7bf85b9a4acdcbf8a9656dadecd6dc37cdfaafacb3e6ee76d40672aaf353e" -dependencies = [ - "anyhow", - "cap-std", - "io-extras", - "io-lifetimes 1.0.11", - "rustix 0.36.17", "tokio", - "wasi-cap-std-sync", - "wasi-common", + "tracing", + "wasmtime 18.0.3", "wiggle", + "windows-sys 0.52.0", ] [[package]] @@ -6033,6 +6155,15 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +[[package]] +name = "wasm-encoder" +version = "0.41.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "972f97a5d8318f908dded23594188a90bcd09365986b1163e66d70170e5287ae" +dependencies = [ + "leb128", +] + [[package]] name = "wasm-encoder" version = "0.200.0" @@ -6078,6 +6209,27 @@ dependencies = [ "url", ] +[[package]] +name = "wasmparser" +version = "0.121.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dbe55c8f9d0dbd25d9447a5a889ff90c0cc3feaa7395310d3d826b2c703eaab" +dependencies = [ + "bitflags 2.4.2", + "indexmap 2.2.3", + "semver", +] + +[[package]] +name = "wasmprinter" +version = "0.2.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60e73986a6b7fdfedb7c5bf9e7eb71135486507c8fbc4c0c42cffcb6532988b7" +dependencies = [ + "anyhow", + "wasmparser 0.121.2", +] + [[package]] name = "wasmtime" version = "4.0.1" @@ -6098,17 +6250,53 @@ dependencies = [ "rayon", "serde", "target-lexicon", - "wasmparser", + "wasmparser 0.95.0", "wasmtime-cache", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-cranelift 4.0.1", + "wasmtime-environ 4.0.1", + "wasmtime-fiber 4.0.1", "wasmtime-jit", - "wasmtime-runtime", + "wasmtime-runtime 4.0.1", "wat", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8106d7d22d63d1bcb940e22dcc7b03e46f0fc8bfbaf2fd7b6cb8f448f9449774" +dependencies = [ + "anyhow", + "async-trait", + "bincode 1.3.3", + "bumpalo", + "cfg-if", + "encoding_rs", + "gimli 0.28.1", + "indexmap 2.2.3", + "libc", + "log", + "object 0.32.2", + "once_cell", + "paste", + "rustix 0.38.31", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-component-macro", + "wasmtime-component-util", + "wasmtime-cranelift 18.0.3", + "wasmtime-environ 18.0.3", + "wasmtime-fiber 18.0.3", + "wasmtime-jit-icache-coherence 18.0.3", + "wasmtime-runtime 18.0.3", + "wasmtime-winch", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "4.0.1" @@ -6118,6 +6306,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0cf02cea951ace34ee3b0e64b7f446c3519d1c95ad75bc5330f405e275ee8f" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "4.0.1" @@ -6138,6 +6335,27 @@ dependencies = [ "zstd", ] +[[package]] +name = "wasmtime-component-macro" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d3786c0531565ec6c9852c0e46299f06cb6e4b58d36e30f3c234cfa69bde376" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.52", + "wasmtime-component-util", + "wasmtime-wit-bindgen", + "wit-parser", +] + +[[package]] +name = "wasmtime-component-util" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81eae2ec98027ee0b3950da83bc320120a23087ac4d39b3d59201cb5ebf52777" + [[package]] name = "wasmtime-cranelift" version = "4.0.1" @@ -6145,18 +6363,59 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7a9ec65dec790ec8602c263a1da12de073cc46cb07ffa3fc28295d2238365b6" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-codegen 0.91.1", + "cranelift-entity 0.91.1", + "cranelift-frontend 0.91.1", + "cranelift-native 0.91.1", + "cranelift-wasm 0.91.1", "gimli 0.26.2", "log", "object 0.29.0", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.95.0", + "wasmtime-environ 4.0.1", +] + +[[package]] +name = "wasmtime-cranelift" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "595abdb067acdc812ab0f21d8d46d5aa4022392aa7c3e0632c20bff9ec49ffb4" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.105.3", + "cranelift-control", + "cranelift-entity 0.105.3", + "cranelift-frontend 0.105.3", + "cranelift-native 0.105.3", + "cranelift-wasm 0.105.3", + "gimli 0.28.1", + "log", + "object 0.32.2", + "target-lexicon", + "thiserror", + "wasmparser 0.121.2", + "wasmtime-cranelift-shared", + "wasmtime-environ 18.0.3", + "wasmtime-versioned-export-macros", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8c24c1fdea167b992d82ebe76471fd1cbe7b0b406bc72f9250f86353000134e" +dependencies = [ + "anyhow", + "cranelift-codegen 0.105.3", + "cranelift-control", + "cranelift-native 0.105.3", + "gimli 0.28.1", + "object 0.32.2", + "target-lexicon", + "wasmtime-environ 18.0.3", ] [[package]] @@ -6166,7 +6425,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", @@ -6174,8 +6433,32 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.95.0", + "wasmtime-types 4.0.1", +] + +[[package]] +name = "wasmtime-environ" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3279d510005358141550d8a90a5fc989d7e81748e5759d582fe6bfdcbf074a04" +dependencies = [ + "anyhow", + "bincode 1.3.3", + "cranelift-entity 0.105.3", + "gimli 0.28.1", + "indexmap 2.2.3", + "log", + "object 0.32.2", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasm-encoder 0.41.2", + "wasmparser 0.121.2", + "wasmprinter", + "wasmtime-component-util", + "wasmtime-types 18.0.3", ] [[package]] @@ -6187,10 +6470,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 = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b1df665f2117741d1265f5663b0d93068b18120c2c4b18b9faed49d00d92c31" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix 0.38.31", + "wasmtime-asm-macros 18.0.3", + "wasmtime-versioned-export-macros", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-jit" version = "4.0.1" @@ -6209,10 +6507,10 @@ dependencies = [ "rustc-demangle", "serde", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 4.0.1", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-jit-icache-coherence 3.0.1", + "wasmtime-runtime 4.0.1", "windows-sys 0.42.0", ] @@ -6238,6 +6536,17 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "866634605089b4632b32226b54aa3670d72e1849f9fc425c7e50b3749c2e6df3" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "4.0.1" @@ -6252,43 +6561,150 @@ 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-asm-macros 4.0.1", + "wasmtime-environ 4.0.1", + "wasmtime-fiber 4.0.1", "wasmtime-jit-debug", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-runtime" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e11185c88cadf595d228f5ae4ff9b4badbf9ca98dcb37b0310c36e31fa74867f" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "encoding_rs", + "indexmap 2.2.3", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.9.0", + "paste", + "psm", + "rustix 0.38.31", + "sptr", + "wasm-encoder 0.41.2", + "wasmtime-asm-macros 18.0.3", + "wasmtime-environ 18.0.3", + "wasmtime-fiber 18.0.3", + "wasmtime-versioned-export-macros", + "wasmtime-wmemcheck", + "windows-sys 0.52.0", +] + [[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 = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f32377cbd827bee06fcb2f6bf97b0477fdcc86888bbe6db7b9cab8e644082e0a" +dependencies = [ + "cranelift-entity 0.105.3", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.121.2", +] + +[[package]] +name = "wasmtime-versioned-export-macros" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ab8d7566d206c42f8cf1d4ac90c5e40d3582e8eabad9b3b67e9e73c61fc47a1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", ] [[package]] name = "wasmtime-wasi" -version = "4.0.1" +version = "18.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6de942c58fa60248e4096ef3f8dabd498402a1d3ee2c4b1938902435a267d4b" +checksum = "9ca912bda309188bd25ab7652c6654b34aacdf43047c716ee1cb685a28079078" dependencies = [ "anyhow", - "wasi-cap-std-sync", + "async-trait", + "bitflags 2.4.2", + "bytes", + "cap-fs-ext", + "cap-net-ext", + "cap-rand", + "cap-std", + "cap-time-ext", + "fs-set-times", + "futures", + "io-extras", + "io-lifetimes 2.0.3", + "log", + "once_cell", + "rustix 0.38.31", + "system-interface", + "thiserror", + "tokio", + "tracing", + "url", "wasi-common", - "wasi-tokio", - "wasmtime", + "wasmtime 18.0.3", "wiggle", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-winch" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a97bfccc241d1769cef75eb16f472a893982704d5f3c9c71c431c1484344a" +dependencies = [ + "anyhow", + "cranelift-codegen 0.105.3", + "gimli 0.28.1", + "object 0.32.2", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-cranelift-shared", + "wasmtime-environ 18.0.3", + "winch-codegen", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf2c76781a27e07802669f6f0e11eb4441546407eb65be60c3d862200988b92" +dependencies = [ + "anyhow", + "heck", + "indexmap 2.2.3", + "wit-parser", ] +[[package]] +name = "wasmtime-wmemcheck" +version = "18.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3847d969bd203b8cd239f89581e52432a0f00b8c5c9bc917be2fccd7542c4f2f" + [[package]] name = "wast" version = "35.0.2" @@ -6308,7 +6724,7 @@ dependencies = [ "leb128", "memchr", "unicode-width", - "wasm-encoder", + "wasm-encoder 0.200.0", ] [[package]] @@ -6362,43 +6778,43 @@ checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" [[package]] name = "wiggle" -version = "4.0.1" +version = "18.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2beeb5443dddf5d896028b46fb0931bae6768a046042e56c66c276853e2cf9" +checksum = "7a7ecd6e1ffba1278cfd24a001a13da11d86801e0ad9342f11a370ce0df50e14" dependencies = [ "anyhow", "async-trait", - "bitflags 1.3.2", + "bitflags 2.4.2", "thiserror", "tracing", - "wasmtime", + "wasmtime 18.0.3", "wiggle-macro", ] [[package]] name = "wiggle-generate" -version = "4.0.1" +version = "18.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbf9dfdabe5cb75ca1075ec26599e91f20e61067a69dafaef265db81d3b67c67" +checksum = "6c5490497a35d67040d4f2fd2491fbcad6dd225c5bd24681c2cd52a2f40a55ce" dependencies = [ "anyhow", "heck", "proc-macro2", "quote", "shellexpand", - "syn 1.0.109", + "syn 2.0.52", "witx", ] [[package]] name = "wiggle-macro" -version = "4.0.1" +version = "18.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "196cfc4501ef83483b6833ec1e38db12b95a20773df2065779544cbe50b8c167" +checksum = "d83f31d1c1a0d87842f1a2bf40bd230e25ba790c450f0d0ddb84524fd6955958" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.52", "wiggle-generate", ] @@ -6433,6 +6849,22 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "winch-codegen" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0bd4d6cac8d69525d475d0ce1e0801eb6f314d42e764a52bd497ed3cb9c371" +dependencies = [ + "anyhow", + "cranelift-codegen 0.105.3", + "gimli 0.28.1", + "regalloc2 0.9.3", + "smallvec", + "target-lexicon", + "wasmparser 0.121.2", + "wasmtime-environ 18.0.3", +] + [[package]] name = "windows" version = "0.48.0" @@ -6704,23 +7136,29 @@ dependencies = [ [[package]] name = "winx" -version = "0.35.1" +version = "0.36.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c52a121f0fbf9320d5f2a9a5d82f6cb7557eda5e8b47fc3e7f359ec866ae960" +checksum = "f9643b83820c0cd246ecabe5fa454dd04ba4fa67996369466d0747472d337346" dependencies = [ - "bitflags 1.3.2", - "io-lifetimes 1.0.11", - "windows-sys 0.48.0", + "bitflags 2.4.2", + "windows-sys 0.52.0", ] [[package]] -name = "winx" -version = "0.36.3" +name = "wit-parser" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9643b83820c0cd246ecabe5fa454dd04ba4fa67996369466d0747472d337346" +checksum = "316b36a9f0005f5aa4b03c39bc3728d045df136f8c13a73b7db4510dec725e08" dependencies = [ - "bitflags 2.4.2", - "windows-sys 0.52.0", + "anyhow", + "id-arena", + "indexmap 2.2.3", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", ] [[package]] diff --git a/apps/host/Cargo.toml b/apps/host/Cargo.toml index 23ba78a19..47c1772ba 100644 --- a/apps/host/Cargo.toml +++ b/apps/host/Cargo.toml @@ -24,7 +24,7 @@ thiserror = "1.0.58" [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-wasi = { version = "4.0.1", features = ["tokio"] } +wasmtime-wasi = { version = "18.0.3", features = ["tokio"] } [dev-dependencies] exocore-core = {version = "0.1.25", path = "../../core", features = ["tests-utils"]}