From 31e36b7e0844665cf3003a74aaf6ce59630356cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 01:59:25 +0000 Subject: [PATCH] chore(deps): bump wasmtime-wasi from 4.0.1 to 13.0.0 Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 4.0.1 to 13.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...v13.0.0) --- updated-dependencies: - dependency-name: wasmtime-wasi dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 792 ++++++++++++++++++++++++++++++++++++------- apps/host/Cargo.toml | 2 +- 2 files changed, 668 insertions(+), 126 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b45306261..eefb7bdf1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -191,6 +191,12 @@ dependencies = [ "backtrace", ] +[[package]] +name = "arbitrary" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" + [[package]] name = "arc-swap" version = "1.6.0" @@ -518,38 +524,50 @@ dependencies = [ [[package]] name = "cap-fs-ext" -version = "1.0.15" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc48200a1a0fa6fba138b1802ad7def18ec1cdd92f7b2a04e21f1bd887f7b9" +checksum = "b779b2d0a001c125b4584ad586268fb4b92d957bff8d26d7fe0dd78283faa814" dependencies = [ "cap-primitives", "cap-std", - "io-lifetimes 1.0.11", + "io-lifetimes 2.0.2", "windows-sys 0.48.0", ] +[[package]] +name = "cap-net-ext" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ffc30dee200c20b4dcb80572226f42658e1d9c4b668656d7cc59c33d50e396e" +dependencies = [ + "cap-primitives", + "cap-std", + "rustix 0.38.14", + "smallvec", +] + [[package]] name = "cap-primitives" -version = "1.0.15" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4b6df5b295dca8d56f35560be8c391d59f0420f72e546997154e24e765e6451" +checksum = "2bf30c373a3bee22c292b1b6a7a26736a38376840f1af3d2d806455edf8c3899" dependencies = [ "ambient-authority", - "fs-set-times 0.19.2", + "fs-set-times", "io-extras", - "io-lifetimes 1.0.11", + "io-lifetimes 2.0.2", "ipnet", "maybe-owned", - "rustix 0.37.23", + "rustix 0.38.14", "windows-sys 0.48.0", - "winx 0.35.1", + "winx", ] [[package]] name = "cap-rand" -version = "1.0.15" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d25555efacb0b5244cf1d35833d55d21abc916fff0eaad254b8e2453ea9b8ab" +checksum = "577de6cff7c2a47d6b13efe5dd28bf116bd7f8f7db164ea95b7cc2640711f522" dependencies = [ "ambient-authority", "rand 0.8.5", @@ -557,26 +575,26 @@ dependencies = [ [[package]] name = "cap-std" -version = "1.0.15" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3373a62accd150b4fcba056d4c5f3b552127f0ec86d3c8c102d60b978174a012" +checksum = "84bade423fa6403efeebeafe568fdb230e8c590a275fba2ba978dd112efcf6e9" dependencies = [ "cap-primitives", "io-extras", - "io-lifetimes 1.0.11", - "rustix 0.37.23", + "io-lifetimes 2.0.2", + "rustix 0.38.14", ] [[package]] name = "cap-time-ext" -version = "1.0.15" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e95002993b7baee6b66c8950470e59e5226a23b3af39fc59c47fe416dd39821a" +checksum = "f8f52b3c8f4abfe3252fd0a071f3004aaa3b18936ec97bdbd8763ce03aff6247" dependencies = [ "cap-primitives", "once_cell", - "rustix 0.37.23", - "winx 0.35.1", + "rustix 0.38.14", + "winx", ] [[package]] @@ -936,7 +954,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.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b9d1a9e776c27ad55d7792a380785d1fe8c2d7b099eed8dbd8f4af2b598192" +dependencies = [ + "cranelift-entity 0.100.0", ] [[package]] @@ -947,15 +974,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.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5528483314c2dd5da438576cd8a9d0b3cedad66fb8a4727f90cd319a81950038" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.100.0", + "cranelift-codegen-meta 0.100.0", + "cranelift-codegen-shared 0.100.0", + "cranelift-control", + "cranelift-entity 0.100.0", + "cranelift-isle 0.100.0", + "gimli 0.28.0", + "hashbrown 0.14.0", + "log", + "regalloc2 0.9.2", "smallvec", "target-lexicon", ] @@ -966,7 +1014,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.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f46a8318163f7682e35b8730ba93c1b586a2da8ce12a0ed545efc1218550f70" +dependencies = [ + "cranelift-codegen-shared 0.100.0", ] [[package]] @@ -975,13 +1032,28 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "278e52e29c53fcf32431ef08406c295699a70306d05a0715c5b1bf50e33a9ab7" +[[package]] +name = "cranelift-codegen-shared" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37d1239cfd50eecfaed468d46943f8650e32969591868ad50111613704da6c70" + +[[package]] +name = "cranelift-control" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcc530560c8f16cc1d4dd7ea000c56f519c60d1a914977abe849ce555c35a61d" +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", @@ -998,13 +1070,35 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f333fa641a9ad2bff0b107767dcb972c18c2bfab7969805a1d7e42449ccb0408" +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.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abf6563015a80f03f8bc4df307d0a81363f4eb73108df3a34f6e66fb6d5307" +dependencies = [ + "cranelift-codegen 0.100.0", "log", "smallvec", "target-lexicon", @@ -1016,13 +1110,30 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "393bc73c451830ff8dbb3a07f61843d6cb41a084f9996319917c0b291ed785bb" +[[package]] +name = "cranelift-isle" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eb29d0edc8a5c029ed0f7ca77501f272738e3c410020b4a00f42ffe8ad2a8aa" + [[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.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006056a7fa920870bad06bf8e1b3033d70cbb7ee625b035efa9d90882a931868" +dependencies = [ + "cranelift-codegen 0.100.0", "libc", "target-lexicon", ] @@ -1033,14 +1144,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", - "wasmtime-types", + "wasmparser 0.95.0", + "wasmtime-types 4.0.1", +] + +[[package]] +name = "cranelift-wasm" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b3d08c05f82903a1f6a04d89c4b9ecb47a4035710f89a39a21a147a80214672" +dependencies = [ + "cranelift-codegen 0.100.0", + "cranelift-entity 0.100.0", + "cranelift-frontend 0.100.0", + "itertools 0.10.5", + "log", + "smallvec", + "wasmparser 0.112.0", + "wasmtime-types 13.0.0", ] [[package]] @@ -1255,6 +1382,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" @@ -1598,7 +1734,7 @@ dependencies = [ "log", "reqwest", "thiserror", - "wasmtime", + "wasmtime 4.0.1", "wasmtime-wasi", ] @@ -1873,6 +2009,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" @@ -1968,22 +2110,11 @@ dependencies = [ [[package]] name = "fs-set-times" -version = "0.18.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "857cf27edcb26c2a36d84b2954019573d335bb289876113aceacacdca47a4fd4" +checksum = "dd738b84894214045e8414eaded76359b4a5773f0a0a56b16575110739cdcf39" dependencies = [ - "io-lifetimes 1.0.11", - "rustix 0.36.15", - "windows-sys 0.45.0", -] - -[[package]] -name = "fs-set-times" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d167b646a876ba8fda6b50ac645cfd96242553cbaf0ca4fccaa39afcbf0801f" -dependencies = [ - "io-lifetimes 1.0.11", + "io-lifetimes 2.0.2", "rustix 0.38.14", "windows-sys 0.48.0", ] @@ -2143,6 +2274,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.4.0", + "debugid", + "fxhash", + "serde", + "serde_json", +] + [[package]] name = "generator" version = "0.7.5" @@ -2208,7 +2352,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", ] @@ -2218,6 +2362,11 @@ name = "gimli" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +dependencies = [ + "fallible-iterator 0.3.0", + "indexmap 2.0.0", + "stable_deref_trait", +] [[package]] name = "glob" @@ -2475,6 +2624,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" @@ -2544,6 +2699,7 @@ checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" dependencies = [ "equivalent", "hashbrown 0.14.0", + "serde", ] [[package]] @@ -2573,11 +2729,11 @@ dependencies = [ [[package]] name = "io-extras" -version = "0.17.4" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde93d48f0d9277f977a333eca8313695ddd5301dc96f7e02aeddcb0dd99096f" +checksum = "9d3c230ee517ee76b1cc593b52939ff68deda3fae9e41eca426c6b4993df51c4" dependencies = [ - "io-lifetimes 1.0.11", + "io-lifetimes 2.0.2", "windows-sys 0.48.0", ] @@ -3740,6 +3896,9 @@ version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ + "crc32fast", + "hashbrown 0.14.0", + "indexmap 2.0.0", "memchr", ] @@ -4437,6 +4596,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b4dcbd3a2ae7fb94b5813fa0e957c6ab51bf5d0a8ee1b69e0c2d0f1e6eb8485" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.9.5" @@ -4632,10 +4804,8 @@ 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", ] @@ -4647,8 +4817,10 @@ checksum = "747c788e9ce8e92b12cd485c49ddf90723550b654b32508f979b71a7b1ecda4f" dependencies = [ "bitflags 2.4.0", "errno", + "itoa", "libc", "linux-raw-sys 0.4.7", + "once_cell", "windows-sys 0.48.0", ] @@ -5039,6 +5211,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" @@ -5131,9 +5309,9 @@ dependencies = [ [[package]] name = "system-interface" -version = "0.25.9" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10081a99cbecbc363d381b9503563785f0b02735fccbb0d4c1a2cb3d39f7e7fe" +checksum = "27ce32341b2c0b70c144bbf35627fdc1ef18c76ced5e5e7b3ee8b5ba6b2ab6a0" dependencies = [ "bitflags 2.4.0", "cap-fs-ext", @@ -5142,7 +5320,7 @@ dependencies = [ "io-lifetimes 2.0.2", "rustix 0.38.14", "windows-sys 0.48.0", - "winx 0.36.2", + "winx", ] [[package]] @@ -5759,9 +5937,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasi-cap-std-sync" -version = "4.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e60acd83cd80a87d255e4c6b7ae70fed9187ecd2a1485d2dddc3906f0ba729b1" +checksum = "ec076cd75f207327f5bfaebb915ef03d82c3a01a6d9b5d0deb6eafffceab3095" dependencies = [ "anyhow", "async-trait", @@ -5769,48 +5947,49 @@ dependencies = [ "cap-rand", "cap-std", "cap-time-ext", - "fs-set-times 0.18.1", + "fs-set-times", "io-extras", - "io-lifetimes 1.0.11", + "io-lifetimes 2.0.2", "is-terminal", "once_cell", - "rustix 0.36.15", + "rustix 0.38.14", "system-interface", "tracing", "wasi-common", - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] name = "wasi-common" -version = "4.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9facbac46d77bbc4a2f090f590992871fc253963ae14cc19b12e7f6c44920ff2" +checksum = "3f391b334c783c1154369be62c31dc8598ffa1a6c34ea05d7f8cf0b18ce7c272" dependencies = [ "anyhow", - "bitflags 1.3.2", + "bitflags 2.4.0", "cap-rand", "cap-std", "io-extras", - "rustix 0.36.15", + "log", + "rustix 0.38.14", "thiserror", "tracing", - "wasmtime", + "wasmtime 13.0.0", "wiggle", - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] name = "wasi-tokio" -version = "4.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a7bf85b9a4acdcbf8a9656dadecd6dc37cdfaafacb3e6ee76d40672aaf353e" +checksum = "6de05e4d9f81b8e82672cff04bab4128a170274ed2c44ff4c9e36905aefcaf35" dependencies = [ "anyhow", "cap-std", "io-extras", - "io-lifetimes 1.0.11", - "rustix 0.36.15", + "io-lifetimes 2.0.2", + "rustix 0.38.14", "tokio", "wasi-cap-std-sync", "wasi-common", @@ -5885,6 +6064,15 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +[[package]] +name = "wasm-encoder" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ba64e81215916eaeb48fee292f29401d69235d62d8b8fd92a7b2844ec5ae5f7" +dependencies = [ + "leb128", +] + [[package]] name = "wasm-encoder" version = "0.33.1" @@ -5930,6 +6118,36 @@ dependencies = [ "url", ] +[[package]] +name = "wasmparser" +version = "0.112.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e986b010f47fcce49cf8ea5d5f9e5d2737832f12b53ae8ae785bbe895d0877bf" +dependencies = [ + "indexmap 2.0.0", + "semver", +] + +[[package]] +name = "wasmparser" +version = "0.113.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a128cea7b8516703ab41b10a0b1aa9ba18d0454cd3792341489947ddeee268db" +dependencies = [ + "indexmap 2.0.0", + "semver", +] + +[[package]] +name = "wasmprinter" +version = "0.2.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab2e5e818f88cee5311e9a5df15cba0a8f772978baf3109af97004bce6e8e3c6" +dependencies = [ + "anyhow", + "wasmparser 0.113.1", +] + [[package]] name = "wasmtime" version = "4.0.1" @@ -5950,17 +6168,54 @@ dependencies = [ "rayon", "serde", "target-lexicon", - "wasmparser", + "wasmparser 0.95.0", "wasmtime-cache", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit", - "wasmtime-runtime", + "wasmtime-cranelift 4.0.1", + "wasmtime-environ 4.0.1", + "wasmtime-fiber 4.0.1", + "wasmtime-jit 4.0.1", + "wasmtime-runtime 4.0.1", "wat", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16ed7db409c1acf60d33128b2a38bee25aaf38c4bd955ab98a5b623c8294593c" +dependencies = [ + "anyhow", + "async-trait", + "bincode 1.3.3", + "bumpalo", + "cfg-if", + "encoding_rs", + "fxprof-processed-profile", + "indexmap 2.0.0", + "libc", + "log", + "object 0.32.1", + "once_cell", + "paste", + "psm", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasm-encoder 0.32.0", + "wasmparser 0.112.0", + "wasmtime-component-macro", + "wasmtime-component-util", + "wasmtime-cranelift 13.0.0", + "wasmtime-environ 13.0.0", + "wasmtime-fiber 13.0.0", + "wasmtime-jit 13.0.0", + "wasmtime-runtime 13.0.0", + "wasmtime-winch", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-asm-macros" version = "4.0.1" @@ -5970,6 +6225,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53af0f8f6271bd687fe5632c8fe0a0f061d0aa1b99a0cd4e1df8e4cbeb809d2f" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "4.0.1" @@ -5990,6 +6254,27 @@ dependencies = [ "zstd", ] +[[package]] +name = "wasmtime-component-macro" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74ab5b291f2dad56f1e6929cc61fb7cac68845766ca77c3838b5d05d82c33976" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.37", + "wasmtime-component-util", + "wasmtime-wit-bindgen", + "wit-parser", +] + +[[package]] +name = "wasmtime-component-util" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21436177bf19f6b60dc0b83ad5872e849892a4a90c3572785e1a28c0e2e1132c" + [[package]] name = "wasmtime-cranelift" version = "4.0.1" @@ -5997,18 +6282,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 = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "920e42058862d1f7a3dd3fca73cb495a20d7506e3ada4bbc0a9780cd636da7ca" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.100.0", + "cranelift-control", + "cranelift-entity 0.100.0", + "cranelift-frontend 0.100.0", + "cranelift-native 0.100.0", + "cranelift-wasm 0.100.0", + "gimli 0.28.0", + "log", + "object 0.32.1", + "target-lexicon", + "thiserror", + "wasmparser 0.112.0", + "wasmtime-cranelift-shared", + "wasmtime-environ 13.0.0", + "wasmtime-versioned-export-macros", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "516d63bbe18219e64a9705cf3a2c865afe1fb711454ea03091dc85a1d708194d" +dependencies = [ + "anyhow", + "cranelift-codegen 0.100.0", + "cranelift-control", + "cranelift-native 0.100.0", + "gimli 0.28.0", + "object 0.32.1", + "target-lexicon", + "wasmtime-environ 13.0.0", ] [[package]] @@ -6018,7 +6344,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", @@ -6026,8 +6352,31 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.95.0", + "wasmtime-types 4.0.1", +] + +[[package]] +name = "wasmtime-environ" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59cef239d663885f1427f8b8f4fde7be6075249c282580d94b480f11953ca194" +dependencies = [ + "anyhow", + "cranelift-entity 0.100.0", + "gimli 0.28.0", + "indexmap 2.0.0", + "log", + "object 0.32.1", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasm-encoder 0.32.0", + "wasmparser 0.112.0", + "wasmprinter", + "wasmtime-component-util", + "wasmtime-types 13.0.0", ] [[package]] @@ -6039,10 +6388,24 @@ dependencies = [ "cc", "cfg-if", "rustix 0.36.15", - "wasmtime-asm-macros", + "wasmtime-asm-macros 4.0.1", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-fiber" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ef118b557df6193cd82cfb45ab57cd12388fedfe2bb76f090b2d77c96c1b56e" +dependencies = [ + "cc", + "cfg-if", + "rustix 0.38.14", + "wasmtime-asm-macros 13.0.0", + "wasmtime-versioned-export-macros", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-jit" version = "4.0.1" @@ -6061,13 +6424,38 @@ dependencies = [ "rustc-demangle", "serde", "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-environ 4.0.1", + "wasmtime-jit-debug 4.0.1", + "wasmtime-jit-icache-coherence 3.0.1", + "wasmtime-runtime 4.0.1", "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-jit" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8089d5909b8f923aad57702ebaacb7b662aa9e43a3f71e83e025c5379a1205f" +dependencies = [ + "addr2line 0.21.0", + "anyhow", + "bincode 1.3.3", + "cfg-if", + "cpp_demangle", + "gimli 0.28.0", + "log", + "object 0.32.1", + "rustc-demangle", + "rustix 0.38.14", + "serde", + "serde_derive", + "target-lexicon", + "wasmtime-environ 13.0.0", + "wasmtime-jit-icache-coherence 13.0.0", + "wasmtime-runtime 13.0.0", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-jit-debug" version = "4.0.1" @@ -6079,6 +6467,16 @@ dependencies = [ "rustix 0.36.15", ] +[[package]] +name = "wasmtime-jit-debug" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b13924aedf6799ad66edb25500a20e3226629978b30a958c55285352bad130a" +dependencies = [ + "once_cell", + "wasmtime-versioned-export-macros", +] + [[package]] name = "wasmtime-jit-icache-coherence" version = "3.0.1" @@ -6090,6 +6488,17 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6ff5f3707a5e3797deeeeac6ac26b2e1dd32dbc06693c0ab52e8ac4d18ec706" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "wasmtime-runtime" version = "4.0.1" @@ -6108,39 +6517,149 @@ dependencies = [ "paste", "rand 0.8.5", "rustix 0.36.15", - "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 = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ab4ce04ac05342edfa7f42895f2a5d8b16ee914330869acb865cd1facf265f" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "encoding_rs", + "indexmap 2.0.0", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.9.0", + "paste", + "rand 0.8.5", + "rustix 0.38.14", + "sptr", + "wasm-encoder 0.32.0", + "wasmtime-asm-macros 13.0.0", + "wasmtime-environ 13.0.0", + "wasmtime-fiber 13.0.0", + "wasmtime-jit-debug 13.0.0", + "wasmtime-versioned-export-macros", + "wasmtime-wmemcheck", + "windows-sys 0.48.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 0.95.0", +] + +[[package]] +name = "wasmtime-types" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecf61e21d5bd95e1ad7fa42b7bdabe21220682d6a6046d376edca29760849222" +dependencies = [ + "cranelift-entity 0.100.0", "serde", + "serde_derive", "thiserror", - "wasmparser", + "wasmparser 0.112.0", +] + +[[package]] +name = "wasmtime-versioned-export-macros" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe877472cbdd6d96b4ecdc112af764e3b9d58c2e4175a87828f892ab94c60643" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", ] [[package]] name = "wasmtime-wasi" -version = "4.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6de942c58fa60248e4096ef3f8dabd498402a1d3ee2c4b1938902435a267d4b" +checksum = "b6db393deb775e8bece53a6869be6425e46b28426aa7709df8c529a19759f4be" dependencies = [ "anyhow", + "async-trait", + "bitflags 2.4.0", + "bytes", + "cap-fs-ext", + "cap-net-ext", + "cap-rand", + "cap-std", + "cap-time-ext", + "fs-set-times", + "futures", + "io-extras", + "io-lifetimes 2.0.2", + "is-terminal", + "libc", + "once_cell", + "rustix 0.38.14", + "system-interface", + "thiserror", + "tokio", + "tracing", "wasi-cap-std-sync", "wasi-common", "wasi-tokio", - "wasmtime", + "wasmtime 13.0.0", "wiggle", + "windows-sys 0.48.0", +] + +[[package]] +name = "wasmtime-winch" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bc5a770003807c55f2187a0092dea01722b0e24151e35816bd5091538bb8e88" +dependencies = [ + "anyhow", + "cranelift-codegen 0.100.0", + "gimli 0.28.0", + "object 0.32.1", + "target-lexicon", + "wasmparser 0.112.0", + "wasmtime-cranelift-shared", + "wasmtime-environ 13.0.0", + "winch-codegen", ] +[[package]] +name = "wasmtime-wit-bindgen" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62003d48822f89cc393e93643366ddbee1766779c0874353b8ba2ede4679fbf9" +dependencies = [ + "anyhow", + "heck", + "indexmap 2.0.0", + "wit-parser", +] + +[[package]] +name = "wasmtime-wmemcheck" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5412bb464066d64c3398c96e6974348f90fa2a55110ad7da3f9295438cd4de84" + [[package]] name = "wast" version = "35.0.2" @@ -6159,7 +6678,7 @@ dependencies = [ "leb128", "memchr", "unicode-width", - "wasm-encoder", + "wasm-encoder 0.33.1", ] [[package]] @@ -6213,43 +6732,43 @@ checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" [[package]] name = "wiggle" -version = "4.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2beeb5443dddf5d896028b46fb0931bae6768a046042e56c66c276853e2cf9" +checksum = "da341f21516453768bd115bdc17b186c0a1ab6773c2b2eeab44a062db49bd616" dependencies = [ "anyhow", "async-trait", - "bitflags 1.3.2", + "bitflags 2.4.0", "thiserror", "tracing", - "wasmtime", + "wasmtime 13.0.0", "wiggle-macro", ] [[package]] name = "wiggle-generate" -version = "4.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbf9dfdabe5cb75ca1075ec26599e91f20e61067a69dafaef265db81d3b67c67" +checksum = "e22c6bd943a4bae37052b79d249fb32d7afa22b3f6a147a5f2e7bc2b9f901879" dependencies = [ "anyhow", "heck", "proc-macro2", "quote", "shellexpand", - "syn 1.0.109", + "syn 2.0.37", "witx", ] [[package]] name = "wiggle-macro" -version = "4.0.1" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "196cfc4501ef83483b6833ec1e38db12b95a20773df2065779544cbe50b8c167" +checksum = "7d72d838b7c9302b2ca7c44f36d6af5ce1988239a16deba951d99c4630d17caf" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.37", "wiggle-generate", ] @@ -6284,6 +6803,22 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "winch-codegen" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50647204d600a2a112eefac0645ba6653809a15bd362c7e4e6a049a5bdff0de9" +dependencies = [ + "anyhow", + "cranelift-codegen 0.100.0", + "gimli 0.28.0", + "regalloc2 0.9.2", + "smallvec", + "target-lexicon", + "wasmparser 0.112.0", + "wasmtime-environ 13.0.0", +] + [[package]] name = "windows" version = "0.34.0" @@ -6504,23 +7039,30 @@ dependencies = [ [[package]] name = "winx" -version = "0.35.1" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c52a121f0fbf9320d5f2a9a5d82f6cb7557eda5e8b47fc3e7f359ec866ae960" +checksum = "357bb8e2932df531f83b052264b050b81ba0df90ee5a59b2d1d3949f344f81e5" dependencies = [ - "bitflags 1.3.2", - "io-lifetimes 1.0.11", + "bitflags 2.4.0", "windows-sys 0.48.0", ] [[package]] -name = "winx" -version = "0.36.2" +name = "wit-parser" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357bb8e2932df531f83b052264b050b81ba0df90ee5a59b2d1d3949f344f81e5" +checksum = "1dcd022610436a1873e60bfdd9b407763f2404adf7d1cb57912c7ae4059e57a5" dependencies = [ - "bitflags 2.4.0", - "windows-sys 0.48.0", + "anyhow", + "id-arena", + "indexmap 2.0.0", + "log", + "pulldown-cmark", + "semver", + "serde", + "serde_json", + "unicode-xid", + "url", ] [[package]] diff --git a/apps/host/Cargo.toml b/apps/host/Cargo.toml index bc6e8358a..f4b8f05da 100644 --- a/apps/host/Cargo.toml +++ b/apps/host/Cargo.toml @@ -24,7 +24,7 @@ thiserror = "1.0.48" [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 = "13.0.0", features = ["tokio"] } [dev-dependencies] exocore-core = {version = "0.1.25", path = "../../core", features = ["tests-utils"]}