From 694a0b073912ff3bd00b6ca70d16ca43b2aebbf2 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Thu, 7 Apr 2022 01:54:35 -0500 Subject: [PATCH 01/90] wasmtime: update to v0.35.2. (#283) Signed-off-by: Piotr Sikora --- .github/workflows/format.yml | 2 +- bazel/cargo/wasmtime/BUILD.bazel | 2 +- bazel/cargo/wasmtime/Cargo.raze.lock | 104 ++++---- bazel/cargo/wasmtime/Cargo.toml | 6 +- bazel/cargo/wasmtime/crates.bzl | 252 +++++++++--------- .../wasmtime/remote/BUILD.atty-0.2.14.bazel | 2 +- .../remote/BUILD.backtrace-0.3.64.bazel | 2 +- ...l => BUILD.cranelift-bforest-0.82.2.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.82.2.bazel} | 14 +- ...BUILD.cranelift-codegen-meta-0.82.2.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.82.2.bazel} | 2 +- ...el => BUILD.cranelift-entity-0.82.2.bazel} | 2 +- ... => BUILD.cranelift-frontend-0.82.2.bazel} | 6 +- ...el => BUILD.cranelift-native-0.82.2.bazel} | 6 +- ...azel => BUILD.cranelift-wasm-0.82.2.bazel} | 12 +- .../remote/BUILD.env_logger-0.8.4.bazel | 2 +- .../wasmtime/remote/BUILD.errno-0.2.8.bazel | 2 +- .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 2 +- ....2.5.bazel => BUILD.getrandom-0.2.6.bazel} | 4 +- .../wasmtime/remote/BUILD.gimli-0.26.1.bazel | 2 +- .../remote/BUILD.hermit-abi-0.1.19.bazel | 2 +- ...1.8.0.bazel => BUILD.indexmap-1.8.1.bazel} | 4 +- ...0.2.119.bazel => BUILD.libc-0.2.122.bazel} | 4 +- ...og-0.4.14.bazel => BUILD.log-0.4.16.bazel} | 4 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 2 +- .../wasmtime/remote/BUILD.object-0.27.1.bazel | 2 +- ...te-1.0.6.bazel => BUILD.paste-1.0.7.bazel} | 2 +- ...6.bazel => BUILD.proc-macro2-1.0.37.bazel} | 4 +- ...sm-0.1.17.bazel => BUILD.psm-0.1.18.bazel} | 4 +- ...-1.0.15.bazel => BUILD.quote-1.0.17.bazel} | 4 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 2 +- .../remote/BUILD.rand_core-0.6.3.bazel | 2 +- .../remote/BUILD.regalloc-0.0.34.bazel | 2 +- .../wasmtime/remote/BUILD.region-2.2.0.bazel | 2 +- ...0.33.4.bazel => BUILD.rustix-0.33.5.bazel} | 6 +- .../remote/BUILD.serde_derive-1.0.136.bazel | 6 +- ...yn-1.0.87.bazel => BUILD.syn-1.0.91.bazel} | 8 +- .../remote/BUILD.thiserror-impl-1.0.30.bazel | 6 +- ...35.1.bazel => BUILD.wasmtime-0.35.2.bazel} | 22 +- .../BUILD.wasmtime-c-api-macros-0.19.0.bazel | 4 +- ... => BUILD.wasmtime-cranelift-0.35.2.bazel} | 16 +- ...el => BUILD.wasmtime-environ-0.35.2.bazel} | 10 +- ....bazel => BUILD.wasmtime-jit-0.35.2.bazel} | 10 +- ... => BUILD.wasmtime-jit-debug-0.35.2.bazel} | 2 +- ...el => BUILD.wasmtime-runtime-0.35.2.bazel} | 16 +- ...azel => BUILD.wasmtime-types-0.35.2.bazel} | 4 +- bazel/repositories.bzl | 6 +- 47 files changed, 294 insertions(+), 294 deletions(-) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.82.1.bazel => BUILD.cranelift-bforest-0.82.2.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.82.1.bazel => BUILD.cranelift-codegen-0.82.2.bazel} (86%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.82.1.bazel => BUILD.cranelift-codegen-meta-0.82.2.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.82.1.bazel => BUILD.cranelift-codegen-shared-0.82.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.82.1.bazel => BUILD.cranelift-entity-0.82.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.82.1.bazel => BUILD.cranelift-frontend-0.82.2.bazel} (90%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.82.1.bazel => BUILD.cranelift-native-0.82.2.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.82.1.bazel => BUILD.cranelift-wasm-0.82.2.bazel} (80%) rename bazel/cargo/wasmtime/remote/{BUILD.getrandom-0.2.5.bazel => BUILD.getrandom-0.2.6.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.indexmap-1.8.0.bazel => BUILD.indexmap-1.8.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.libc-0.2.119.bazel => BUILD.libc-0.2.122.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.log-0.4.14.bazel => BUILD.log-0.4.16.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.paste-1.0.6.bazel => BUILD.paste-1.0.7.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.proc-macro2-1.0.36.bazel => BUILD.proc-macro2-1.0.37.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.psm-0.1.17.bazel => BUILD.psm-0.1.18.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.quote-1.0.15.bazel => BUILD.quote-1.0.17.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.rustix-0.33.4.bazel => BUILD.rustix-0.33.5.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.syn-1.0.87.bazel => BUILD.syn-1.0.91.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-0.35.1.bazel => BUILD.wasmtime-0.35.2.bazel} (85%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-0.35.1.bazel => BUILD.wasmtime-cranelift-0.35.2.bazel} (76%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-0.35.1.bazel => BUILD.wasmtime-environ-0.35.2.bazel} (85%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-0.35.1.bazel => BUILD.wasmtime-jit-0.35.2.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-0.35.1.bazel => BUILD.wasmtime-jit-debug-0.35.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-0.35.1.bazel => BUILD.wasmtime-runtime-0.35.2.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-0.35.1.bazel => BUILD.wasmtime-types-0.35.2.bazel} (93%) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 2b78c0362..aa685007d 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -91,7 +91,7 @@ jobs: cd wasmtime && cargo raze && cd .. # Ignore manual changes in "errno" and "rustix" crates until fixed in cargo-raze. # See: https://github.com/google/cargo-raze/issues/451 - git diff --exit-code -- ':!wasmtime/remote/BUILD.errno-0.2.8.bazel' ':!wasmtime/remote/BUILD.rustix-0.33.4.bazel' + git diff --exit-code -- ':!wasmtime/remote/BUILD.errno-0.*.bazel' ':!wasmtime/remote/BUILD.rustix-0.*.bazel' clang_format: name: check format with clang-format diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index 03b3d856f..ba9b49dca 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__0_35_1//:wasmtime", + actual = "@wasmtime__wasmtime__0_35_2//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index 084d0dc59..77bdb8c34 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -100,18 +100,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16922317bd7dd104d509a373887822caa0242fc1def00de66abb538db221db4" +checksum = "5b9956ad3efeb062596e0b25a1091730080cb6483b500bd106b92c7a55e9e0b1" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b80bf40380256307b68a3dcbe1b91cac92a533e212b5b635abc3e4525781a0a" +checksum = "efc67870c31cae7d03808dfa430ee9ccda9bd82c61b49b939d925d9155cfc42d" dependencies = [ "cranelift-bforest", "cranelift-codegen-meta", @@ -126,33 +126,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703d0ed7d3bc6c7a814ca12858175bf4e93167a3584127858c686e4b5dd6e432" +checksum = "b0f0172d25539fcc64f581d3dce0df00e2065b00e1c750e18832d2cf1e0d27e0" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80f52311e1c90de12dcf8c4b9999c6ebfd1ed360373e88c357160936844511f6" +checksum = "8f6cc5717ae2ea849e5c819eb70c95792c2843294d9503700ac55d8d159e2160" [[package]] name = "cranelift-entity" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66bc82ef522c1f643baf7d4d40b7c52643ee4549d8960b0e6a047daacb83f897" +checksum = "e822e0169d7a078cbc7ed19bca6636752c093e25d994a4febd9914d1118f3945" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cc35e4251864b17515845ba47447bca88fec9ca1a4186b19fe42526e36140e8" +checksum = "bf3bc8bd3bb8932e70b71c0de6cba277ae112d4e51dadde2e318f60f2fbe97bc" dependencies = [ "cranelift-codegen", "log", @@ -162,9 +162,9 @@ dependencies = [ [[package]] name = "cranelift-native" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b882b2251c9845d509d92aebfdb6c8bb3b3b48e207ac951f21fbd20cfe7f90b3" +checksum = "a8090cade0761622fcb1c805c8ce2c2f085a2467bdee7e21cd9ba399026cf7ac" dependencies = [ "cranelift-codegen", "libc", @@ -173,9 +173,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.82.1" +version = "0.82.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0354e819732c02acdd98ab969dd81c7670304fff4c8fc4c86bc999b55fa1f0c" +checksum = "be110a4560fa997ba8bc8376a459ec4d8707074f88058a17b29f43c27e983ad0" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -244,9 +244,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "getrandom" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77" +checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad" dependencies = [ "cfg-if", "libc", @@ -287,9 +287,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "indexmap" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223" +checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee" dependencies = [ "autocfg", "hashbrown", @@ -319,9 +319,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.119" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" +checksum = "ec647867e2bf0772e28c8bcde4f0d19a9216916e890543b5a03ed8ef27b8f259" [[package]] name = "linux-raw-sys" @@ -331,9 +331,9 @@ checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7" [[package]] name = "log" -version = "0.4.14" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" +checksum = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8" dependencies = [ "cfg-if", ] @@ -397,9 +397,9 @@ checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" [[package]] name = "paste" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5" +checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc" [[package]] name = "ppv-lite86" @@ -409,27 +409,27 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "proc-macro2" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" +checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" dependencies = [ "unicode-xid", ] [[package]] name = "psm" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eca0fa5dd7c4c96e184cec588f0b1db1ee3165e678db21c09793105acb17e6f" +checksum = "871372391786ccec00d3c5d3d6608905b3d4db263639cfe075d3b60a736d115a" dependencies = [ "cc", ] [[package]] name = "quote" -version = "1.0.15" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145" +checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58" dependencies = [ "proc-macro2", ] @@ -518,9 +518,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.33.4" +version = "0.33.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef7ec6a44fba95d21fa522760c03c16ca5ee95cebb6e4ef579cab3e6d7ba6c06" +checksum = "03627528abcc4a365554d32a9f3bbf67f7694c102cfeda792dc86a2d6057cc85" dependencies = [ "bitflags", "errno", @@ -564,9 +564,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "1.0.87" +version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e59d925cf59d8151f25a3bedf97c9c157597c9df7324d32d68991cc399ed08b" +checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d" dependencies = [ "proc-macro2", "quote", @@ -628,9 +628,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wasmtime" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07f4245f65310fb41e4bdb75b0f794798aab23e3911c34a38a11c6e15f4906dd" +checksum = "637f73fff13248d13882246b67a8208d466c36d7b836b783a62903cb96f11b61" dependencies = [ "anyhow", "backtrace", @@ -657,7 +657,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-bazel" -version = "0.35.1" +version = "0.35.2" dependencies = [ "anyhow", "env_logger", @@ -669,7 +669,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.35.1#5b09b74f4c5e0fd817febd3263947ee3682759bd" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.35.2#59bfe50acaffd69f267946d35abe9f87a3b07e29" dependencies = [ "proc-macro2", "quote", @@ -677,9 +677,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da49deb7024bbf9ee72019a30c05fa752dab8cba8b32f709b2ddf66329d46c74" +checksum = "a2d233418e5f560e8010fe13e60943df8be0685c68cbdf9f588dd846a727f2e4" dependencies = [ "anyhow", "cranelift-codegen", @@ -699,9 +699,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dbf66220878adc123fe744df623eb141d4e73f03daed3f2aba3dbc7786d921e" +checksum = "0f38f25934156bb5496b3fd30be10c8ef41936330d9c936654ebf4eac02e352e" dependencies = [ "anyhow", "cranelift-entity", @@ -719,9 +719,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62157c76f1204c4845c2c33f6aa4472369c7d9d7deb2e6218c4fabebbae8ac1b" +checksum = "bf7d3293e643c3b397012a579b025116e5818118a7982373551df8f8b0a4c524" dependencies = [ "addr2line", "anyhow", @@ -744,18 +744,18 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d314887fca993322b7ee4e08e5e2c0e79e812fbd1d6272c1781db884e3daabb" +checksum = "f8b4b40b84a96da6fcd7f2460747564091b9b8dedcc7bd66c0cb741adf451de8" dependencies = [ "lazy_static", ] [[package]] name = "wasmtime-runtime" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c0a7901d0645bf99b1efaebf7f7e144170641c575e96eb1fb6a9218290726c" +checksum = "b60eb01e3413a54e791a397d556962876902d7481be496b4b9eb1dc68de14fce" dependencies = [ "anyhow", "backtrace", @@ -778,9 +778,9 @@ dependencies = [ [[package]] name = "wasmtime-types" -version = "0.35.1" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d9841ad7624110410291d03645876474a79fcedaed729016e384308145c29eb" +checksum = "86cd8d51aa648f2ba5a25bd11a74c08ce2b66796a5bbd5c099ab5db672a2e68f" dependencies = [ "cranelift-entity", "serde", diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 9bd1fc823..1eedb0d3a 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "0.35.1" +version = "0.35.2" [lib] path = "fake_lib.rs" @@ -10,8 +10,8 @@ path = "fake_lib.rs" env_logger = "0.8" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "0.35.1", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.35.1"} +wasmtime = {version = "0.35.2", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.35.2"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index ef6d6897d..c9efeb8a2 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -133,82 +133,82 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.82.1/download", + name = "wasmtime__cranelift_bforest__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.82.2/download", type = "tar.gz", - sha256 = "d16922317bd7dd104d509a373887822caa0242fc1def00de66abb538db221db4", - strip_prefix = "cranelift-bforest-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.82.1.bazel"), + sha256 = "5b9956ad3efeb062596e0b25a1091730080cb6483b500bd106b92c7a55e9e0b1", + strip_prefix = "cranelift-bforest-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.82.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.82.1/download", + name = "wasmtime__cranelift_codegen__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.82.2/download", type = "tar.gz", - sha256 = "8b80bf40380256307b68a3dcbe1b91cac92a533e212b5b635abc3e4525781a0a", - strip_prefix = "cranelift-codegen-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.82.1.bazel"), + sha256 = "efc67870c31cae7d03808dfa430ee9ccda9bd82c61b49b939d925d9155cfc42d", + strip_prefix = "cranelift-codegen-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.82.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.82.1/download", + name = "wasmtime__cranelift_codegen_meta__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.82.2/download", type = "tar.gz", - sha256 = "703d0ed7d3bc6c7a814ca12858175bf4e93167a3584127858c686e4b5dd6e432", - strip_prefix = "cranelift-codegen-meta-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.82.1.bazel"), + sha256 = "b0f0172d25539fcc64f581d3dce0df00e2065b00e1c750e18832d2cf1e0d27e0", + strip_prefix = "cranelift-codegen-meta-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.82.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.82.1/download", + name = "wasmtime__cranelift_codegen_shared__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.82.2/download", type = "tar.gz", - sha256 = "80f52311e1c90de12dcf8c4b9999c6ebfd1ed360373e88c357160936844511f6", - strip_prefix = "cranelift-codegen-shared-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.82.1.bazel"), + sha256 = "8f6cc5717ae2ea849e5c819eb70c95792c2843294d9503700ac55d8d159e2160", + strip_prefix = "cranelift-codegen-shared-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.82.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.82.1/download", + name = "wasmtime__cranelift_entity__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.82.2/download", type = "tar.gz", - sha256 = "66bc82ef522c1f643baf7d4d40b7c52643ee4549d8960b0e6a047daacb83f897", - strip_prefix = "cranelift-entity-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.82.1.bazel"), + sha256 = "e822e0169d7a078cbc7ed19bca6636752c093e25d994a4febd9914d1118f3945", + strip_prefix = "cranelift-entity-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.82.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.82.1/download", + name = "wasmtime__cranelift_frontend__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.82.2/download", type = "tar.gz", - sha256 = "3cc35e4251864b17515845ba47447bca88fec9ca1a4186b19fe42526e36140e8", - strip_prefix = "cranelift-frontend-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.82.1.bazel"), + sha256 = "bf3bc8bd3bb8932e70b71c0de6cba277ae112d4e51dadde2e318f60f2fbe97bc", + strip_prefix = "cranelift-frontend-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.82.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-native/0.82.1/download", + name = "wasmtime__cranelift_native__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-native/0.82.2/download", type = "tar.gz", - sha256 = "b882b2251c9845d509d92aebfdb6c8bb3b3b48e207ac951f21fbd20cfe7f90b3", - strip_prefix = "cranelift-native-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.82.1.bazel"), + sha256 = "a8090cade0761622fcb1c805c8ce2c2f085a2467bdee7e21cd9ba399026cf7ac", + strip_prefix = "cranelift-native-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.82.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_82_1", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.82.1/download", + name = "wasmtime__cranelift_wasm__0_82_2", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.82.2/download", type = "tar.gz", - sha256 = "f0354e819732c02acdd98ab969dd81c7670304fff4c8fc4c86bc999b55fa1f0c", - strip_prefix = "cranelift-wasm-0.82.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.82.1.bazel"), + sha256 = "be110a4560fa997ba8bc8376a459ec4d8707074f88058a17b29f43c27e983ad0", + strip_prefix = "cranelift-wasm-0.82.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.82.2.bazel"), ) maybe( @@ -273,12 +273,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__getrandom__0_2_5", - url = "https://crates.io/api/v1/crates/getrandom/0.2.5/download", + name = "wasmtime__getrandom__0_2_6", + url = "https://crates.io/api/v1/crates/getrandom/0.2.6/download", type = "tar.gz", - sha256 = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77", - strip_prefix = "getrandom-0.2.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.5.bazel"), + sha256 = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad", + strip_prefix = "getrandom-0.2.6", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.6.bazel"), ) maybe( @@ -323,12 +323,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__indexmap__1_8_0", - url = "https://crates.io/api/v1/crates/indexmap/1.8.0/download", + name = "wasmtime__indexmap__1_8_1", + url = "https://crates.io/api/v1/crates/indexmap/1.8.1/download", type = "tar.gz", - sha256 = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223", - strip_prefix = "indexmap-1.8.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.8.0.bazel"), + sha256 = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee", + strip_prefix = "indexmap-1.8.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.8.1.bazel"), ) maybe( @@ -363,12 +363,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__libc__0_2_119", - url = "https://crates.io/api/v1/crates/libc/0.2.119/download", + name = "wasmtime__libc__0_2_122", + url = "https://crates.io/api/v1/crates/libc/0.2.122/download", type = "tar.gz", - sha256 = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4", - strip_prefix = "libc-0.2.119", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.119.bazel"), + sha256 = "ec647867e2bf0772e28c8bcde4f0d19a9216916e890543b5a03ed8ef27b8f259", + strip_prefix = "libc-0.2.122", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.122.bazel"), ) maybe( @@ -383,12 +383,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__log__0_4_14", - url = "https://crates.io/api/v1/crates/log/0.4.14/download", + name = "wasmtime__log__0_4_16", + url = "https://crates.io/api/v1/crates/log/0.4.16/download", type = "tar.gz", - sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710", - strip_prefix = "log-0.4.14", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.log-0.4.14.bazel"), + sha256 = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8", + strip_prefix = "log-0.4.16", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.log-0.4.16.bazel"), ) maybe( @@ -463,12 +463,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__paste__1_0_6", - url = "https://crates.io/api/v1/crates/paste/1.0.6/download", + name = "wasmtime__paste__1_0_7", + url = "https://crates.io/api/v1/crates/paste/1.0.7/download", type = "tar.gz", - sha256 = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5", - strip_prefix = "paste-1.0.6", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.6.bazel"), + sha256 = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc", + strip_prefix = "paste-1.0.7", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.7.bazel"), ) maybe( @@ -483,32 +483,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__proc_macro2__1_0_36", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.36/download", + name = "wasmtime__proc_macro2__1_0_37", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.37/download", type = "tar.gz", - sha256 = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029", - strip_prefix = "proc-macro2-1.0.36", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.36.bazel"), + sha256 = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1", + strip_prefix = "proc-macro2-1.0.37", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.37.bazel"), ) maybe( http_archive, - name = "wasmtime__psm__0_1_17", - url = "https://crates.io/api/v1/crates/psm/0.1.17/download", + name = "wasmtime__psm__0_1_18", + url = "https://crates.io/api/v1/crates/psm/0.1.18/download", type = "tar.gz", - sha256 = "6eca0fa5dd7c4c96e184cec588f0b1db1ee3165e678db21c09793105acb17e6f", - strip_prefix = "psm-0.1.17", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.17.bazel"), + sha256 = "871372391786ccec00d3c5d3d6608905b3d4db263639cfe075d3b60a736d115a", + strip_prefix = "psm-0.1.18", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.18.bazel"), ) maybe( http_archive, - name = "wasmtime__quote__1_0_15", - url = "https://crates.io/api/v1/crates/quote/1.0.15/download", + name = "wasmtime__quote__1_0_17", + url = "https://crates.io/api/v1/crates/quote/1.0.17/download", type = "tar.gz", - sha256 = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145", - strip_prefix = "quote-1.0.15", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.15.bazel"), + sha256 = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58", + strip_prefix = "quote-1.0.17", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.17.bazel"), ) maybe( @@ -603,12 +603,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rustix__0_33_4", - url = "https://crates.io/api/v1/crates/rustix/0.33.4/download", + name = "wasmtime__rustix__0_33_5", + url = "https://crates.io/api/v1/crates/rustix/0.33.5/download", type = "tar.gz", - sha256 = "ef7ec6a44fba95d21fa522760c03c16ca5ee95cebb6e4ef579cab3e6d7ba6c06", - strip_prefix = "rustix-0.33.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.33.4.bazel"), + sha256 = "03627528abcc4a365554d32a9f3bbf67f7694c102cfeda792dc86a2d6057cc85", + strip_prefix = "rustix-0.33.5", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.33.5.bazel"), ) maybe( @@ -653,12 +653,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__syn__1_0_87", - url = "https://crates.io/api/v1/crates/syn/1.0.87/download", + name = "wasmtime__syn__1_0_91", + url = "https://crates.io/api/v1/crates/syn/1.0.91/download", type = "tar.gz", - sha256 = "1e59d925cf59d8151f25a3bedf97c9c157597c9df7324d32d68991cc399ed08b", - strip_prefix = "syn-1.0.87", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.87.bazel"), + sha256 = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d", + strip_prefix = "syn-1.0.91", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.91.bazel"), ) maybe( @@ -733,81 +733,81 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmtime__0_35_1", - url = "https://crates.io/api/v1/crates/wasmtime/0.35.1/download", + name = "wasmtime__wasmtime__0_35_2", + url = "https://crates.io/api/v1/crates/wasmtime/0.35.2/download", type = "tar.gz", - sha256 = "07f4245f65310fb41e4bdb75b0f794798aab23e3911c34a38a11c6e15f4906dd", - strip_prefix = "wasmtime-0.35.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.35.1.bazel"), + sha256 = "637f73fff13248d13882246b67a8208d466c36d7b836b783a62903cb96f11b61", + strip_prefix = "wasmtime-0.35.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.35.2.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "5b09b74f4c5e0fd817febd3263947ee3682759bd", + commit = "59bfe50acaffd69f267946d35abe9f87a3b07e29", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__0_35_1", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.35.1/download", + name = "wasmtime__wasmtime_cranelift__0_35_2", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.35.2/download", type = "tar.gz", - sha256 = "da49deb7024bbf9ee72019a30c05fa752dab8cba8b32f709b2ddf66329d46c74", - strip_prefix = "wasmtime-cranelift-0.35.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.35.1.bazel"), + sha256 = "a2d233418e5f560e8010fe13e60943df8be0685c68cbdf9f588dd846a727f2e4", + strip_prefix = "wasmtime-cranelift-0.35.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.35.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__0_35_1", - url = "https://crates.io/api/v1/crates/wasmtime-environ/0.35.1/download", + name = "wasmtime__wasmtime_environ__0_35_2", + url = "https://crates.io/api/v1/crates/wasmtime-environ/0.35.2/download", type = "tar.gz", - sha256 = "0dbf66220878adc123fe744df623eb141d4e73f03daed3f2aba3dbc7786d921e", - strip_prefix = "wasmtime-environ-0.35.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.35.1.bazel"), + sha256 = "0f38f25934156bb5496b3fd30be10c8ef41936330d9c936654ebf4eac02e352e", + strip_prefix = "wasmtime-environ-0.35.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.35.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__0_35_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit/0.35.1/download", + name = "wasmtime__wasmtime_jit__0_35_2", + url = "https://crates.io/api/v1/crates/wasmtime-jit/0.35.2/download", type = "tar.gz", - sha256 = "62157c76f1204c4845c2c33f6aa4472369c7d9d7deb2e6218c4fabebbae8ac1b", - strip_prefix = "wasmtime-jit-0.35.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.35.1.bazel"), + sha256 = "bf7d3293e643c3b397012a579b025116e5818118a7982373551df8f8b0a4c524", + strip_prefix = "wasmtime-jit-0.35.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.35.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__0_35_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.35.1/download", + name = "wasmtime__wasmtime_jit_debug__0_35_2", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.35.2/download", type = "tar.gz", - sha256 = "1d314887fca993322b7ee4e08e5e2c0e79e812fbd1d6272c1781db884e3daabb", - strip_prefix = "wasmtime-jit-debug-0.35.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.35.1.bazel"), + sha256 = "f8b4b40b84a96da6fcd7f2460747564091b9b8dedcc7bd66c0cb741adf451de8", + strip_prefix = "wasmtime-jit-debug-0.35.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.35.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__0_35_1", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.35.1/download", + name = "wasmtime__wasmtime_runtime__0_35_2", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.35.2/download", type = "tar.gz", - sha256 = "15c0a7901d0645bf99b1efaebf7f7e144170641c575e96eb1fb6a9218290726c", - strip_prefix = "wasmtime-runtime-0.35.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.35.1.bazel"), + sha256 = "b60eb01e3413a54e791a397d556962876902d7481be496b4b9eb1dc68de14fce", + strip_prefix = "wasmtime-runtime-0.35.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.35.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__0_35_1", - url = "https://crates.io/api/v1/crates/wasmtime-types/0.35.1/download", + name = "wasmtime__wasmtime_types__0_35_2", + url = "https://crates.io/api/v1/crates/wasmtime-types/0.35.2/download", type = "tar.gz", - sha256 = "4d9841ad7624110410291d03645876474a79fcedaed729016e384308145c29eb", - strip_prefix = "wasmtime-types-0.35.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.35.1.bazel"), + sha256 = "86cd8d51aa648f2ba5a25bd11a74c08ce2b66796a5bbd5c099ab5db672a2e68f", + strip_prefix = "wasmtime-types-0.35.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.35.2.bazel"), ) maybe( diff --git a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel index 18cade6f1..908aa6a2f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel @@ -74,7 +74,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.64.bazel b/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.64.bazel index 110f5a9be..7412548ca 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.64.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.64.bazel @@ -93,7 +93,7 @@ rust_library( ":backtrace_build_script", "@wasmtime__addr2line__0_17_0//:addr2line", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", "@wasmtime__miniz_oxide__0_4_4//:miniz_oxide", "@wasmtime__object__0_27_1//:object", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.2.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.2.bazel index 84eefb2d7..1d8a1ab4e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.2.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_82_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.2.bazel similarity index 86% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.2.bazel index 98f3b2a42..80e556ff7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.2.bazel @@ -58,10 +58,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.82.1", + version = "0.82.2", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_82_1//:cranelift_codegen_meta", + "@wasmtime__cranelift_codegen_meta__0_82_2//:cranelift_codegen_meta", ], ) @@ -87,15 +87,15 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", - "@wasmtime__cranelift_bforest__0_82_1//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_82_1//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_82_1//:cranelift_entity", + "@wasmtime__cranelift_bforest__0_82_2//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_82_2//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__log__0_4_16//:log", "@wasmtime__regalloc__0_0_34//:regalloc", "@wasmtime__smallvec__1_8_0//:smallvec", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.2.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.2.bazel index 650fee915..f60ee49f6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.2.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_82_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_82_2//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.2.bazel index 7ba69253e..d818c39b6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.2.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.2.bazel index 6461eba90..d60852dbf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.2.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ "@wasmtime__serde__1_0_136//:serde", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.2.bazel similarity index 90% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.2.bazel index 121b6a3eb..7d5323562 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.2.bazel @@ -49,11 +49,11 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_82_1//:cranelift_codegen", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", + "@wasmtime__log__0_4_16//:log", "@wasmtime__smallvec__1_8_0//:smallvec", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.2.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.2.bazel index c7ca0614c..71ba717a5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.2.bazel @@ -51,17 +51,17 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_82_1//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", ] + selects.with_or({ # cfg(target_arch = "s390x") ( "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.2.bazel similarity index 80% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.2.bazel index 61b351774..939b958dd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.2.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.82.1", + version = "0.82.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_82_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_82_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_82_1//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_82_2//:cranelift_frontend", "@wasmtime__itertools__0_10_3//:itertools", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__log__0_4_16//:log", "@wasmtime__smallvec__1_8_0//:smallvec", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_types__0_35_1//:wasmtime_types", + "@wasmtime__wasmtime_types__0_35_2//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel index ca3ce977a..9dd434612 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel @@ -57,7 +57,7 @@ rust_library( deps = [ "@wasmtime__atty__0_2_14//:atty", "@wasmtime__humantime__2_1_0//:humantime", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__log__0_4_16//:log", "@wasmtime__regex__1_5_5//:regex", "@wasmtime__termcolor__1_1_3//:termcolor", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel index 53d140f8c..4543020b2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel @@ -73,7 +73,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:wasm32-wasi", ): [ - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel index 7fbaaf0ee..3f14bcdae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel @@ -81,6 +81,6 @@ rust_library( # buildifier: leave-alone deps = [ ":errno_dragonfly_build_script", - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel index edfe9eb6c..b8563f269 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel @@ -52,7 +52,7 @@ rust_library( "crate-name=getrandom", "manual", ], - version = "0.2.5", + version = "0.2.6", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", @@ -84,7 +84,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel index e449bfc35..4fcd8e077 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel @@ -68,7 +68,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__fallible_iterator__0_2_0//:fallible_iterator", - "@wasmtime__indexmap__1_8_0//:indexmap", + "@wasmtime__indexmap__1_8_1//:indexmap", "@wasmtime__stable_deref_trait__1_2_0//:stable_deref_trait", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel index d0bf22754..aa6f7e667 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel @@ -51,6 +51,6 @@ rust_library( version = "0.1.19", # buildifier: leave-alone deps = [ - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel index b0f1acbfd..0603fefbd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.8.0", + version = "1.8.1", visibility = ["//visibility:private"], deps = [ "@wasmtime__autocfg__1_1_0//:autocfg", @@ -87,7 +87,7 @@ rust_library( "crate-name=indexmap", "manual", ], - version = "1.8.0", + version = "1.8.1", # buildifier: leave-alone deps = [ ":indexmap_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.119.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.122.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.libc-0.2.119.bazel rename to bazel/cargo/wasmtime/remote/BUILD.libc-0.2.122.bazel index 778ffbcda..74c179895 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.119.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.122.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.119", + version = "0.2.122", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=libc", "manual", ], - version = "0.2.119", + version = "0.2.122", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.16.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.log-0.4.14.bazel rename to bazel/cargo/wasmtime/remote/BUILD.log-0.4.16.bazel index 38a9c611f..c4f20dc6d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.16.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.4.14", + version = "0.4.16", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=log", "manual", ], - version = "0.4.14", + version = "0.4.16", # buildifier: leave-alone deps = [ ":log_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index 8391a5ff0..cfb337a53 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -64,7 +64,7 @@ rust_library( "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:x86_64-apple-ios", ): [ - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel index 1c37a3e1e..767ffa3ae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel @@ -63,7 +63,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__crc32fast__1_3_2//:crc32fast", - "@wasmtime__indexmap__1_8_0//:indexmap", + "@wasmtime__indexmap__1_8_1//:indexmap", "@wasmtime__memchr__2_4_1//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.7.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.paste-1.0.6.bazel rename to bazel/cargo/wasmtime/remote/BUILD.paste-1.0.7.bazel index 5e5c49e88..8bc62b829 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.7.bazel @@ -47,7 +47,7 @@ rust_proc_macro( "crate-name=paste", "manual", ], - version = "1.0.6", + version = "1.0.7", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.36.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.36.bazel rename to bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel index ab2480f0f..54a9631ec 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.36.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.36", + version = "1.0.37", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=proc-macro2", "manual", ], - version = "1.0.36", + version = "1.0.37", # buildifier: leave-alone deps = [ ":proc_macro2_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.18.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.psm-0.1.17.bazel rename to bazel/cargo/wasmtime/remote/BUILD.psm-0.1.18.bazel index 284f26934..323fd32d9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.17.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.18.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.1.17", + version = "0.1.18", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -89,7 +89,7 @@ rust_library( "crate-name=psm", "manual", ], - version = "0.1.17", + version = "0.1.18", # buildifier: leave-alone deps = [ ":psm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.17.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.quote-1.0.15.bazel rename to bazel/cargo/wasmtime/remote/BUILD.quote-1.0.17.bazel index f83b9dc24..ec4eb82d1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.17.bazel @@ -49,10 +49,10 @@ rust_library( "crate-name=quote", "manual", ], - version = "1.0.15", + version = "1.0.17", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_36//:proc_macro2", + "@wasmtime__proc_macro2__1_0_37//:proc_macro2", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 993e290be..fa8ebbe9f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -81,7 +81,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel index 6447e4832..79c206b2b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel @@ -53,6 +53,6 @@ rust_library( version = "0.6.3", # buildifier: leave-alone deps = [ - "@wasmtime__getrandom__0_2_5//:getrandom", + "@wasmtime__getrandom__0_2_6//:getrandom", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel index d76108a0a..8b110fdb7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel @@ -51,7 +51,7 @@ rust_library( version = "0.0.34", # buildifier: leave-alone deps = [ - "@wasmtime__log__0_4_14//:log", + "@wasmtime__log__0_4_16//:log", "@wasmtime__rustc_hash__1_1_0//:rustc_hash", "@wasmtime__smallvec__1_8_0//:smallvec", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel index 934a832b0..9c1971443 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel @@ -53,7 +53,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ] + selects.with_or({ # cfg(any(target_os = "macos", target_os = "ios")) ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.5.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.5.bazel index 624ee4e22..8f27532a0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.5.bazel @@ -58,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.33.4", + version = "0.33.5", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -140,7 +140,7 @@ rust_library( "crate-name=rustix", "manual", ], - version = "0.33.4", + version = "0.33.5", # buildifier: leave-alone deps = [ ":rustix_build_script", @@ -178,7 +178,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ "@wasmtime__errno__0_2_8//:errno", - "@wasmtime__libc__0_2_119//:libc", + "@wasmtime__libc__0_2_122//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.136.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.136.bazel index 5ee849c35..cc27a93d9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.136.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.136.bazel @@ -82,8 +82,8 @@ rust_proc_macro( # buildifier: leave-alone deps = [ ":serde_derive_build_script", - "@wasmtime__proc_macro2__1_0_36//:proc_macro2", - "@wasmtime__quote__1_0_15//:quote", - "@wasmtime__syn__1_0_87//:syn", + "@wasmtime__proc_macro2__1_0_37//:proc_macro2", + "@wasmtime__quote__1_0_17//:quote", + "@wasmtime__syn__1_0_91//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.87.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.91.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.syn-1.0.87.bazel rename to bazel/cargo/wasmtime/remote/BUILD.syn-1.0.91.bazel index ccb29e57a..56c48d97b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.87.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.91.bazel @@ -61,7 +61,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.87", + version = "1.0.91", visibility = ["//visibility:private"], deps = [ ], @@ -94,12 +94,12 @@ rust_library( "crate-name=syn", "manual", ], - version = "1.0.87", + version = "1.0.91", # buildifier: leave-alone deps = [ ":syn_build_script", - "@wasmtime__proc_macro2__1_0_36//:proc_macro2", - "@wasmtime__quote__1_0_15//:quote", + "@wasmtime__proc_macro2__1_0_37//:proc_macro2", + "@wasmtime__quote__1_0_17//:quote", "@wasmtime__unicode_xid__0_2_2//:unicode_xid", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.30.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.30.bazel index c9cfb24af..2361253e2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.30.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.30.bazel @@ -50,8 +50,8 @@ rust_proc_macro( version = "1.0.30", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_36//:proc_macro2", - "@wasmtime__quote__1_0_15//:quote", - "@wasmtime__syn__1_0_87//:syn", + "@wasmtime__proc_macro2__1_0_37//:proc_macro2", + "@wasmtime__quote__1_0_17//:quote", + "@wasmtime__syn__1_0_91//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.2.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.2.bazel index 68589c980..85ec89023 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.2.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.35.1", + version = "0.35.2", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -83,7 +83,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@wasmtime__paste__1_0_6//:paste", + "@wasmtime__paste__1_0_7//:paste", ], rustc_flags = [ "--cap-lints=allow", @@ -93,7 +93,7 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "0.35.1", + version = "0.35.2", # buildifier: leave-alone deps = [ ":wasmtime_build_script", @@ -101,21 +101,21 @@ rust_library( "@wasmtime__backtrace__0_3_64//:backtrace", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_8_0//:indexmap", + "@wasmtime__indexmap__1_8_1//:indexmap", "@wasmtime__lazy_static__1_4_0//:lazy_static", - "@wasmtime__libc__0_2_119//:libc", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__log__0_4_16//:log", "@wasmtime__object__0_27_1//:object", "@wasmtime__once_cell__1_10_0//:once_cell", - "@wasmtime__psm__0_1_17//:psm", + "@wasmtime__psm__0_1_18//:psm", "@wasmtime__region__2_2_0//:region", "@wasmtime__serde__1_0_136//:serde", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__0_35_1//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__0_35_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit__0_35_1//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__0_35_1//:wasmtime_runtime", + "@wasmtime__wasmtime_cranelift__0_35_2//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", + "@wasmtime__wasmtime_jit__0_35_2//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__0_35_2//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel index d5e19072f..9b5450c41 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel @@ -50,7 +50,7 @@ rust_proc_macro( version = "0.19.0", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_36//:proc_macro2", - "@wasmtime__quote__1_0_15//:quote", + "@wasmtime__proc_macro2__1_0_37//:proc_macro2", + "@wasmtime__quote__1_0_17//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.2.bazel similarity index 76% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.2.bazel index 564ebb738..e47bd1c5d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.2.bazel @@ -47,22 +47,22 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "0.35.1", + version = "0.35.2", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_56//:anyhow", - "@wasmtime__cranelift_codegen__0_82_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_82_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_82_1//:cranelift_frontend", - "@wasmtime__cranelift_native__0_82_1//:cranelift_native", - "@wasmtime__cranelift_wasm__0_82_1//:cranelift_wasm", + "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_82_2//:cranelift_frontend", + "@wasmtime__cranelift_native__0_82_2//:cranelift_native", + "@wasmtime__cranelift_wasm__0_82_2//:cranelift_wasm", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__log__0_4_16//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__object__0_27_1//:object", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", "@wasmtime__thiserror__1_0_30//:thiserror", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_environ__0_35_1//:wasmtime_environ", + "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.2.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.2.bazel index 24b3da798..d16edc805 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.2.bazel @@ -47,20 +47,20 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "0.35.1", + version = "0.35.2", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_56//:anyhow", - "@wasmtime__cranelift_entity__0_82_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__indexmap__1_8_0//:indexmap", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__indexmap__1_8_1//:indexmap", + "@wasmtime__log__0_4_16//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__object__0_27_1//:object", "@wasmtime__serde__1_0_136//:serde", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", "@wasmtime__thiserror__1_0_30//:thiserror", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_types__0_35_1//:wasmtime_types", + "@wasmtime__wasmtime_types__0_35_2//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.2.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.2.bazel index 13c93c6c3..44da5368c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.2.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "0.35.1", + version = "0.35.2", # buildifier: leave-alone deps = [ "@wasmtime__addr2line__0_17_0//:addr2line", @@ -58,15 +58,15 @@ rust_library( "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__log__0_4_16//:log", "@wasmtime__object__0_27_1//:object", "@wasmtime__region__2_2_0//:region", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", "@wasmtime__serde__1_0_136//:serde", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", "@wasmtime__thiserror__1_0_30//:thiserror", - "@wasmtime__wasmtime_environ__0_35_1//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__0_35_1//:wasmtime_runtime", + "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", + "@wasmtime__wasmtime_runtime__0_35_2//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "linux") ( @@ -77,7 +77,7 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__rustix__0_33_4//:rustix", + "@wasmtime__rustix__0_33_5//:rustix", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.2.bazel index dee406b57..6424a9510 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.2.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "0.35.1", + version = "0.35.2", # buildifier: leave-alone deps = [ "@wasmtime__lazy_static__1_4_0//:lazy_static", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.2.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.2.bazel index 9a72b9723..3e21db095 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.2.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.35.1", + version = "0.35.2", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -120,23 +120,23 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "0.35.1", + version = "0.35.2", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", "@wasmtime__anyhow__1_0_56//:anyhow", "@wasmtime__backtrace__0_3_64//:backtrace", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_8_0//:indexmap", - "@wasmtime__libc__0_2_119//:libc", - "@wasmtime__log__0_4_14//:log", + "@wasmtime__indexmap__1_8_1//:indexmap", + "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__log__0_4_16//:log", "@wasmtime__memoffset__0_6_5//:memoffset", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__rand__0_8_5//:rand", "@wasmtime__region__2_2_0//:region", "@wasmtime__thiserror__1_0_30//:thiserror", - "@wasmtime__wasmtime_environ__0_35_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__0_35_1//:wasmtime_jit_debug", + "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__0_35_2//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -176,7 +176,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_33_4//:rustix", + "@wasmtime__rustix__0_33_5//:rustix", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.2.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.2.bazel index 24d5f36d9..bf5e260a0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.2.bazel @@ -47,10 +47,10 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "0.35.1", + version = "0.35.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_82_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", "@wasmtime__serde__1_0_136//:serde", "@wasmtime__thiserror__1_0_30//:thiserror", "@wasmtime__wasmparser__0_83_0//:wasmparser", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index dd1a02758..0267a858d 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -187,9 +187,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "dd29279e18782a4ec12a504abb16c6d989af299d238acd7983429adbd3e34e08", - strip_prefix = "wasmtime-0.35.1", - url = "https://github.com/bytecodealliance/wasmtime/archive/v0.35.1.tar.gz", + sha256 = "9dcb51313f9d6a67169f70759411cddf511000b0372e57532e638441100aac9c", + strip_prefix = "wasmtime-0.35.2", + url = "https://github.com/bytecodealliance/wasmtime/archive/v0.35.2.tar.gz", ) maybe( From eba773f1a09d1870f1e0248709b6ed566d65df50 Mon Sep 17 00:00:00 2001 From: Yi-Ying He Date: Fri, 8 Apr 2022 01:52:03 +0800 Subject: [PATCH 02/90] wasmedge: add support for WasmEdge engine. (#193) Signed-off-by: YiYing He --- .github/workflows/test.yml | 7 + BUILD | 25 ++ bazel/BUILD | 5 + bazel/external/wasmedge.BUILD | 24 ++ bazel/repositories.bzl | 16 + bazel/select.bzl | 7 + include/proxy-wasm/wasmedge.h | 26 ++ src/wasmedge/types.h | 27 ++ src/wasmedge/wasmedge.cc | 610 ++++++++++++++++++++++++++++++++++ test/utility.cc | 3 + test/utility.h | 7 + test/wasm_vm_test.cc | 2 +- 12 files changed, 758 insertions(+), 1 deletion(-) create mode 100644 bazel/external/wasmedge.BUILD create mode 100644 include/proxy-wasm/wasmedge.h create mode 100644 src/wasmedge/types.h create mode 100644 src/wasmedge/wasmedge.cc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9bf70566..251818335 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -166,6 +166,13 @@ jobs: os: macos-11 arch: x86_64 action: test + - name: 'WasmEdge on Linux/x86_64' + engine: 'wasmedge' + repo: 'com_github_wasmedge_wasmedge' + os: ubuntu-20.04 + arch: x86_64 + action: test + flags: --config=clang - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' diff --git a/BUILD b/BUILD index 5095d8cc4..1df703bf1 100644 --- a/BUILD +++ b/BUILD @@ -4,6 +4,7 @@ load( "proxy_wasm_select_engine_null", "proxy_wasm_select_engine_v8", "proxy_wasm_select_engine_wamr", + "proxy_wasm_select_engine_wasmedge", "proxy_wasm_select_engine_wasmtime", "proxy_wasm_select_engine_wavm", ) @@ -134,6 +135,28 @@ cc_library( ], ) +cc_library( + name = "wasmedge_lib", + srcs = [ + "src/common/types.h", + "src/wasmedge/types.h", + "src/wasmedge/wasmedge.cc", + ], + hdrs = ["include/proxy-wasm/wasmedge.h"], + defines = [ + "PROXY_WASM_HAS_RUNTIME_WASMEDGE", + "PROXY_WASM_HOST_ENGINE_WASMEDGE", + ], + linkopts = [ + "-lrt", + "-ldl", + ], + deps = [ + ":wasm_vm_headers", + "//external:wasmedge", + ], +) + cc_library( name = "wasmtime_lib", srcs = [ @@ -270,6 +293,8 @@ cc_library( [":v8_lib"], ) + proxy_wasm_select_engine_wamr( [":wamr_lib"], + ) + proxy_wasm_select_engine_wasmedge( + [":wasmedge_lib"], ) + proxy_wasm_select_engine_wasmtime( [":wasmtime_lib"], [":prefixed_wasmtime_lib"], diff --git a/bazel/BUILD b/bazel/BUILD index 78cd55313..2fe0c7924 100644 --- a/bazel/BUILD +++ b/bazel/BUILD @@ -15,6 +15,11 @@ config_setting( values = {"define": "engine=wamr"}, ) +config_setting( + name = "engine_wasmedge", + values = {"define": "engine=wasmedge"}, +) + config_setting( name = "engine_wasmtime", values = {"define": "engine=wasmtime"}, diff --git a/bazel/external/wasmedge.BUILD b/bazel/external/wasmedge.BUILD new file mode 100644 index 000000000..9887a4280 --- /dev/null +++ b/bazel/external/wasmedge.BUILD @@ -0,0 +1,24 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +licenses(["notice"]) # Apache 2 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "wasmedge_lib", + cache_entries = { + "WASMEDGE_BUILD_AOT_RUNTIME": "Off", + "WASMEDGE_BUILD_SHARED_LIB": "Off", + "WASMEDGE_BUILD_STATIC_LIB": "On", + "WASMEDGE_BUILD_TOOLS": "Off", + "WASMEDGE_FORCE_DISABLE_LTO": "On", + }, + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_static_libs = ["libwasmedge_c.a"], +) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 0267a858d..41726fc6a 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -181,6 +181,22 @@ def proxy_wasm_cpp_host_repositories(): actual = "@com_github_bytecodealliance_wasm_micro_runtime//:wamr_lib", ) + # WasmEdge with dependencies. + + maybe( + http_archive, + name = "com_github_wasmedge_wasmedge", + build_file = "@proxy_wasm_cpp_host//bazel/external:wasmedge.BUILD", + sha256 = "6724955a967a1457bcf5dc1787a8da95feaba45d3b498ae42768ebf48f587299", + strip_prefix = "WasmEdge-proxy-wasm-0.9.1", + url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.9.1.tar.gz", + ) + + native.bind( + name = "wasmedge", + actual = "@com_github_wasmedge_wasmedge//:wasmedge_lib", + ) + # Wasmtime with dependencies. maybe( diff --git a/bazel/select.bzl b/bazel/select.bzl index eea36c888..d79862ace 100644 --- a/bazel/select.bzl +++ b/bazel/select.bzl @@ -40,6 +40,13 @@ def proxy_wasm_select_engine_wasmtime(xs, xp): "//conditions:default": [], }) +def proxy_wasm_select_engine_wasmedge(xs): + return select({ + "@proxy_wasm_cpp_host//bazel:engine_wasmedge": xs, + "@proxy_wasm_cpp_host//bazel:multiengine": xs, + "//conditions:default": [], + }) + def proxy_wasm_select_engine_wavm(xs): return select({ "@proxy_wasm_cpp_host//bazel:engine_wavm": xs, diff --git a/include/proxy-wasm/wasmedge.h b/include/proxy-wasm/wasmedge.h new file mode 100644 index 000000000..f0b2141ce --- /dev/null +++ b/include/proxy-wasm/wasmedge.h @@ -0,0 +1,26 @@ +// Copyright 2016-2019 Envoy Project Authors +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#pragma once + +#include + +#include "include/proxy-wasm/wasm_vm.h" + +namespace proxy_wasm { + +std::unique_ptr createWasmEdgeVm(); + +} // namespace proxy_wasm diff --git a/src/wasmedge/types.h b/src/wasmedge/types.h new file mode 100644 index 000000000..e51dede17 --- /dev/null +++ b/src/wasmedge/types.h @@ -0,0 +1,27 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "src/common/types.h" +#include "wasmedge/wasmedge.h" + +namespace proxy_wasm::WasmEdge { + +using WasmEdgeStorePtr = common::CSmartPtr; +using WasmEdgeVMPtr = common::CSmartPtr; +using WasmEdgeLoaderPtr = common::CSmartPtr; +using WasmEdgeValidatorPtr = common::CSmartPtr; +using WasmEdgeExecutorPtr = common::CSmartPtr; +using WasmEdgeASTModulePtr = common::CSmartPtr; + +} // namespace proxy_wasm::WasmEdge diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc new file mode 100644 index 000000000..7d3a4e408 --- /dev/null +++ b/src/wasmedge/wasmedge.cc @@ -0,0 +1,610 @@ +// Copyright 2016-2019 Envoy Project Authors +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "include/proxy-wasm/wasmedge.h" +#include "include/proxy-wasm/wasm_vm.h" +#include "src/wasmedge/types.h" + +#include "wasmedge/wasmedge.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace proxy_wasm { +namespace WasmEdge { + +// Helper templates to make values. +template WasmEdge_Value makeVal(T t); +template <> WasmEdge_Value makeVal(Word t) { + return WasmEdge_ValueGenI32(static_cast(t.u64_)); +} +template <> WasmEdge_Value makeVal(uint32_t t) { + return WasmEdge_ValueGenI32(static_cast(t)); +} +template <> WasmEdge_Value makeVal(uint64_t t) { + return WasmEdge_ValueGenI64(static_cast(t)); +} +template <> WasmEdge_Value makeVal(double t) { return WasmEdge_ValueGenF64(t); } + +// Helper function to print values. +std::string printValue(const WasmEdge_Value &value) { + switch (value.Type) { + case WasmEdge_ValType_I32: + return std::to_string(WasmEdge_ValueGetI32(value)); + case WasmEdge_ValType_I64: + return std::to_string(WasmEdge_ValueGetI64(value)); + case WasmEdge_ValType_F32: + return std::to_string(WasmEdge_ValueGetF32(value)); + case WasmEdge_ValType_F64: + return std::to_string(WasmEdge_ValueGetF64(value)); + default: + return "unknown"; + } +} + +std::string printValues(const WasmEdge_Value *values, size_t size) { + if (size == 0) { + return ""; + } + + std::string s; + for (size_t i = 0; i < size; i++) { + if (i != 0U) { + s.append(", "); + } + s.append(printValue(values[i])); + } + return s; +} + +// Helper function to print valtype. +const char *printValType(WasmEdge_ValType kind) { + switch (kind) { + case WasmEdge_ValType_I32: + return "i32"; + case WasmEdge_ValType_I64: + return "i64"; + case WasmEdge_ValType_F32: + return "f32"; + case WasmEdge_ValType_F64: + return "f64"; + case WasmEdge_ValType_ExternRef: + return "anyref"; + case WasmEdge_ValType_FuncRef: + return "funcref"; + default: + return "unknown"; + } +} + +// Helper function to print valtype array. +std::string printValTypes(const WasmEdge_ValType *types, size_t size) { + if (size == 0) { + return "void"; + } + + std::string s; + s.reserve(size * 8 /* max size + " " */ - 1); + for (size_t i = 0; i < size; i++) { + if (i != 0U) { + s.append(" "); + } + s.append(printValType(types[i])); + } + return s; +} + +template struct ConvertWordType { + using type = T; // NOLINT(readability-identifier-naming) +}; +template <> struct ConvertWordType { + using type = uint32_t; // NOLINT(readability-identifier-naming) +}; + +// Helper templates to convert arg to valtype. +template enum WasmEdge_ValType convArgToValType(); +template <> enum WasmEdge_ValType convArgToValType() { return WasmEdge_ValType_I32; } +template <> enum WasmEdge_ValType convArgToValType() { return WasmEdge_ValType_I32; } +template <> enum WasmEdge_ValType convArgToValType() { return WasmEdge_ValType_I64; } +template <> enum WasmEdge_ValType convArgToValType() { return WasmEdge_ValType_I64; } +template <> enum WasmEdge_ValType convArgToValType() { return WasmEdge_ValType_F64; } + +// Helper templates to convert valtype to arg. +template T convValTypeToArg(WasmEdge_Value val); +template <> uint32_t convValTypeToArg(WasmEdge_Value val) { + return static_cast(WasmEdge_ValueGetI32(val)); +} +template <> Word convValTypeToArg(WasmEdge_Value val) { return WasmEdge_ValueGetI32(val); } +template <> int64_t convValTypeToArg(WasmEdge_Value val) { + return WasmEdge_ValueGetI64(val); +} +template <> uint64_t convValTypeToArg(WasmEdge_Value val) { + return static_cast(WasmEdge_ValueGetI64(val)); +} +template <> double convValTypeToArg(WasmEdge_Value val) { + return WasmEdge_ValueGetF64(val); +} + +// Helper templates to convert valtypes to args tuple. +template +constexpr T convValTypesToArgsTupleImpl(const WasmEdge_Value *arr, + std::index_sequence /*comptime*/) { + return std::make_tuple( + convValTypeToArg>::type>(arr[I])...); +} + +template ::value>> +constexpr T convValTypesToArgsTuple(const WasmEdge_Value *arr) { + return convValTypesToArgsTupleImpl(arr, Is()); +} + +// Helper templates to convert args tuple to valtypes. +template +uint32_t convArgsTupleToValTypesImpl(std::vector &types, + std::index_sequence /*comptime*/) { + auto size = std::tuple_size::value; + if (size > 0) { + auto ps = std::array::value>{ + convArgToValType::type>()...}; + types.resize(size); + std::copy_n(ps.data(), size, types.data()); + } + return size; +} + +template ::value>> +uint32_t convArgsTupleToValTypes(std::vector &types) { + return convArgsTupleToValTypesImpl(types, Is()); +} + +// Helper templates to create WasmEdge_FunctionTypeContext. +template WasmEdge_FunctionTypeContext *newWasmEdgeFuncType() { + std::vector params; + std::vector returns; + uint32_t param_nums = convArgsTupleToValTypes(params); + uint32_t return_nums = convArgsTupleToValTypes>(returns); + auto *ftype = WasmEdge_FunctionTypeCreate(params.data(), param_nums, returns.data(), return_nums); + return ftype; +} + +template WasmEdge_FunctionTypeContext *newWasmEdgeFuncType() { + std::vector params; + uint32_t param_nums = convArgsTupleToValTypes(params); + auto *ftype = WasmEdge_FunctionTypeCreate(params.data(), param_nums, nullptr, 0); + return ftype; +} + +struct HostFuncData { + HostFuncData(const std::string_view modname, const std::string_view name) + : modname_(modname), name_(name), callback_(nullptr), raw_func_(nullptr), vm_(nullptr) {} + ~HostFuncData() = default; + + std::string modname_, name_; + WasmEdge_HostFunc_t callback_; + void *raw_func_; + WasmVm *vm_; +}; + +using HostFuncDataPtr = std::unique_ptr; + +struct HostModuleData { + HostModuleData(const std::string_view modname) { + cxt_ = WasmEdge_ImportObjectCreate(WasmEdge_StringWrap(modname.data(), modname.length())); + } + ~HostModuleData() { WasmEdge_ImportObjectDelete(cxt_); } + + WasmEdge_ImportObjectContext *cxt_; +}; + +using HostModuleDataPtr = std::unique_ptr; + +class WasmEdge : public WasmVm { +public: + WasmEdge() { + loader_ = WasmEdge_LoaderCreate(nullptr); + validator_ = WasmEdge_ValidatorCreate(nullptr); + executor_ = WasmEdge_ExecutorCreate(nullptr, nullptr); + store_ = nullptr; + module_ = nullptr; + memory_ = nullptr; + } + + std::string_view getEngineName() override { return "wasmedge"; } + std::string_view getPrecompiledSectionName() override { return ""; } + + Cloneable cloneable() override { return Cloneable::NotCloneable; } + std::unique_ptr clone() override { return nullptr; } + + bool load(std::string_view bytecode, std::string_view precompiled, + const std::unordered_map &function_names) override; + bool link(std::string_view debug_name) override; + uint64_t getMemorySize() override; + std::optional getMemory(uint64_t pointer, uint64_t size) override; + bool setMemory(uint64_t pointer, uint64_t size, const void *data) override; + bool getWord(uint64_t pointer, Word *word) override; + bool setWord(uint64_t pointer, Word word) override; + size_t getWordSize() override { return sizeof(uint32_t); }; + +#define _REGISTER_HOST_FUNCTION(T) \ + void registerCallback(std::string_view module_name, std::string_view function_name, T, \ + typename ConvertFunctionTypeWordToUint32::type f) override { \ + registerHostFunctionImpl(module_name, function_name, f); \ + }; + FOR_ALL_WASM_VM_IMPORTS(_REGISTER_HOST_FUNCTION) +#undef _REGISTER_HOST_FUNCTION + +#define _GET_MODULE_FUNCTION(T) \ + void getFunction(std::string_view function_name, T *f) override { \ + getModuleFunctionImpl(function_name, f); \ + }; + FOR_ALL_WASM_VM_EXPORTS(_GET_MODULE_FUNCTION) +#undef _GET_MODULE_FUNCTION +private: + template + void registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, + void (*function)(Args...)); + + template + void registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, + R (*function)(Args...)); + + template + void getModuleFunctionImpl(std::string_view function_name, + std::function *function); + + template + void getModuleFunctionImpl(std::string_view function_name, + std::function *function); + + void terminate() override {} + + WasmEdgeLoaderPtr loader_; + WasmEdgeValidatorPtr validator_; + WasmEdgeExecutorPtr executor_; + WasmEdgeStorePtr store_; + WasmEdgeASTModulePtr module_; + WasmEdge_MemoryInstanceContext *memory_; + + std::unordered_map host_functions_; + std::unordered_map import_objects_; + std::unordered_set module_functions_; +}; + +bool WasmEdge::load(std::string_view bytecode, std::string_view /*precompiled*/, + const std::unordered_map & /*function_names*/) { + WasmEdge_ASTModuleContext *mod = nullptr; + WasmEdge_Result res = WasmEdge_LoaderParseFromBuffer( + loader_.get(), &mod, reinterpret_cast(bytecode.data()), bytecode.size()); + if (!WasmEdge_ResultOK(res)) { + return false; + } + res = WasmEdge_ValidatorValidate(validator_.get(), mod); + if (!WasmEdge_ResultOK(res)) { + return false; + } + module_ = mod; + return true; +} + +bool WasmEdge::link(std::string_view /*debug_name*/) { + assert(module_ != nullptr); + + // Create store and register imports. + store_ = WasmEdge_StoreCreate(); + if (store_ == nullptr) { + return false; + } + WasmEdge_Result res; + for (auto &&it : import_objects_) { + res = WasmEdge_ExecutorRegisterImport(executor_.get(), store_.get(), it.second->cxt_); + if (!WasmEdge_ResultOK(res)) { + fail(FailState::UnableToInitializeCode, + std::string("Failed to link Wasm module due to import: ") + it.first); + return false; + } + } + // Instantiate module. + res = WasmEdge_ExecutorInstantiate(executor_.get(), store_.get(), module_.get()); + if (!WasmEdge_ResultOK(res)) { + fail(FailState::UnableToInitializeCode, + std::string("Failed to link Wasm module: ") + std::string(WasmEdge_ResultGetMessage(res))); + return false; + } + // Get the function and memory exports. + uint32_t memory_num = WasmEdge_StoreListMemoryLength(store_.get()); + if (memory_num > 0) { + WasmEdge_String name; + WasmEdge_StoreListMemory(store_.get(), &name, 1); + memory_ = WasmEdge_StoreFindMemory(store_.get(), name); + if (memory_ == nullptr) { + return false; + } + } + uint32_t func_num = WasmEdge_StoreListFunctionLength(store_.get()); + if (func_num > 0) { + std::vector names(func_num); + WasmEdge_StoreListFunction(store_.get(), &names[0], func_num); + for (auto i = 0; i < func_num; i++) { + module_functions_.insert(std::string(names[i].Buf, names[i].Length)); + } + } + return true; +} + +uint64_t WasmEdge::getMemorySize() { + if (memory_ != nullptr) { + return 65536ULL * WasmEdge_MemoryInstanceGetPageSize(memory_); + } + return 0; +} + +std::optional WasmEdge::getMemory(uint64_t pointer, uint64_t size) { + char *ptr = reinterpret_cast(WasmEdge_MemoryInstanceGetPointer(memory_, pointer, size)); + if (ptr == nullptr) { + return std::nullopt; + } + return std::string_view(ptr, size); +} + +bool WasmEdge::setMemory(uint64_t pointer, uint64_t size, const void *data) { + auto res = WasmEdge_MemoryInstanceSetData(memory_, reinterpret_cast(data), + pointer, size); + return WasmEdge_ResultOK(res); +} + +bool WasmEdge::getWord(uint64_t pointer, Word *word) { + constexpr auto size = sizeof(uint32_t); + uint32_t word32; + auto res = + WasmEdge_MemoryInstanceGetData(memory_, reinterpret_cast(&word32), pointer, size); + if (WasmEdge_ResultOK(res)) { + word->u64_ = word32; + return true; + } + return false; +} + +bool WasmEdge::setWord(uint64_t pointer, Word word) { + constexpr auto size = sizeof(uint32_t); + uint32_t word32 = word.u32(); + auto res = + WasmEdge_MemoryInstanceSetData(memory_, reinterpret_cast(&word32), pointer, size); + return WasmEdge_ResultOK(res); +} + +template +void WasmEdge::registerHostFunctionImpl(std::string_view module_name, + std::string_view function_name, void (*function)(Args...)) { + auto it = import_objects_.find(std::string(module_name)); + if (it == import_objects_.end()) { + import_objects_.emplace(module_name, std::make_unique(module_name)); + it = import_objects_.find(std::string(module_name)); + } + + auto data = std::make_unique(module_name, function_name); + auto *func_type = newWasmEdgeFuncType>(); + data->vm_ = this; + data->raw_func_ = reinterpret_cast(function); + data->callback_ = [](void *data, WasmEdge_MemoryInstanceContext * /*MemCxt*/, + const WasmEdge_Value *Params, + WasmEdge_Value * /*Returns*/) -> WasmEdge_Result { + auto *func_data = reinterpret_cast(data); + const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace); + if (log) { + func_data->vm_->integration()->trace("[vm->host] " + func_data->modname_ + "." + + func_data->name_ + "(" + + printValues(Params, sizeof...(Args)) + ")"); + } + auto args = convValTypesToArgsTuple>(Params); + auto fn = reinterpret_cast(func_data->raw_func_); + std::apply(fn, args); + if (log) { + func_data->vm_->integration()->trace("[vm<-host] " + func_data->modname_ + "." + + func_data->name_ + " return: void"); + } + return WasmEdge_Result_Success; + }; + + auto *hostfunc_cxt = WasmEdge_FunctionInstanceCreate(func_type, data->callback_, data.get(), 0); + WasmEdge_FunctionTypeDelete(func_type); + if (hostfunc_cxt == nullptr) { + fail(FailState::MissingFunction, "Failed to allocate host function instance"); + return; + } + + WasmEdge_ImportObjectAddFunction( + it->second->cxt_, WasmEdge_StringWrap(function_name.data(), function_name.length()), + hostfunc_cxt); + host_functions_.insert_or_assign(std::string(module_name) + "." + std::string(function_name), + std::move(data)); +} + +template +void WasmEdge::registerHostFunctionImpl(std::string_view module_name, + std::string_view function_name, R (*function)(Args...)) { + auto it = import_objects_.find(std::string(module_name)); + if (it == import_objects_.end()) { + import_objects_.emplace(module_name, std::make_unique(module_name)); + it = import_objects_.find(std::string(module_name)); + } + + auto data = std::make_unique(module_name, function_name); + auto *func_type = newWasmEdgeFuncType>(); + data->vm_ = this; + data->raw_func_ = reinterpret_cast(function); + data->callback_ = [](void *data, WasmEdge_MemoryInstanceContext * /*MemCxt*/, + const WasmEdge_Value *Params, WasmEdge_Value *Returns) -> WasmEdge_Result { + auto *func_data = reinterpret_cast(data); + const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace); + if (log) { + func_data->vm_->integration()->trace("[vm->host] " + func_data->modname_ + "." + + func_data->name_ + "(" + + printValues(Params, sizeof...(Args)) + ")"); + } + auto args = convValTypesToArgsTuple>(Params); + auto fn = reinterpret_cast(func_data->raw_func_); + R res = std::apply(fn, args); + Returns[0] = makeVal(res); + if (log) { + func_data->vm_->integration()->trace("[vm<-host] " + func_data->modname_ + "." + + func_data->name_ + " return: " + std::to_string(res)); + } + return WasmEdge_Result_Success; + }; + + auto *hostfunc_cxt = WasmEdge_FunctionInstanceCreate(func_type, data->callback_, data.get(), 0); + WasmEdge_FunctionTypeDelete(func_type); + if (hostfunc_cxt == nullptr) { + fail(FailState::MissingFunction, "Failed to allocate host function instance"); + return; + } + + WasmEdge_ImportObjectAddFunction( + it->second->cxt_, WasmEdge_StringWrap(function_name.data(), function_name.length()), + hostfunc_cxt); + host_functions_.insert_or_assign(std::string(module_name) + "." + std::string(function_name), + std::move(data)); +} + +template +void WasmEdge::getModuleFunctionImpl(std::string_view function_name, + std::function *function) { + auto *func_cxt = WasmEdge_StoreFindFunction( + store_.get(), WasmEdge_StringWrap(function_name.data(), function_name.length())); + if (!func_cxt) { + *function = nullptr; + return; + } + + std::vector exp_args; + std::vector exp_returns; + convArgsTupleToValTypes>(exp_args); + convArgsTupleToValTypes>(exp_returns); + const auto *functype_cxt = WasmEdge_FunctionInstanceGetFunctionType(func_cxt); + std::vector act_args( + WasmEdge_FunctionTypeGetParametersLength(functype_cxt)); + std::vector act_returns( + WasmEdge_FunctionTypeGetReturnsLength(functype_cxt)); + WasmEdge_FunctionTypeGetParameters(functype_cxt, act_args.data(), act_args.size()); + WasmEdge_FunctionTypeGetReturns(functype_cxt, act_returns.data(), act_returns.size()); + + if (exp_args != act_args || exp_returns != act_returns) { + fail(FailState::UnableToInitializeCode, + "Bad function signature for: " + std::string(function_name) + + ", want: " + printValTypes(exp_args.data(), exp_args.size()) + " -> " + + printValTypes(exp_returns.data(), exp_returns.size()) + + ", but the module exports: " + printValTypes(act_args.data(), act_args.size()) + + " -> " + printValTypes(act_returns.data(), act_returns.size())); + return; + } + + *function = [function_name, this](ContextBase *context, Args... args) -> void { + WasmEdge_Value params[] = {makeVal(args)...}; + const bool log = cmpLogLevel(LogLevel::trace); + if (log) { + integration()->trace("[host->vm] " + std::string(function_name) + "(" + + printValues(params, sizeof...(Args)) + ")"); + } + SaveRestoreContext saved_context(context); + WasmEdge_Result res = + WasmEdge_ExecutorInvoke(executor_.get(), store_.get(), + WasmEdge_StringWrap(function_name.data(), function_name.length()), + params, sizeof...(Args), nullptr, 0); + if (!WasmEdge_ResultOK(res)) { + fail(FailState::RuntimeError, "Function: " + std::string(function_name) + " failed:\n" + + WasmEdge_ResultGetMessage(res)); + return; + } + if (log) { + integration()->trace("[host<-vm] " + std::string(function_name) + " return: void"); + } + }; +} + +template +void WasmEdge::getModuleFunctionImpl(std::string_view function_name, + std::function *function) { + auto *func_cxt = WasmEdge_StoreFindFunction( + store_.get(), WasmEdge_StringWrap(function_name.data(), function_name.length())); + if (!func_cxt) { + *function = nullptr; + return; + } + + std::vector exp_args; + std::vector exp_returns; + convArgsTupleToValTypes>(exp_args); + convArgsTupleToValTypes>(exp_returns); + const auto *functype_cxt = WasmEdge_FunctionInstanceGetFunctionType(func_cxt); + std::vector act_args( + WasmEdge_FunctionTypeGetParametersLength(functype_cxt)); + std::vector act_returns( + WasmEdge_FunctionTypeGetReturnsLength(functype_cxt)); + WasmEdge_FunctionTypeGetParameters(functype_cxt, act_args.data(), act_args.size()); + WasmEdge_FunctionTypeGetReturns(functype_cxt, act_returns.data(), act_returns.size()); + + if (exp_args != act_args || exp_returns != act_returns) { + fail(FailState::UnableToInitializeCode, + "Bad function signature for: " + std::string(function_name) + + ", want: " + printValTypes(exp_args.data(), exp_args.size()) + " -> " + + printValTypes(exp_returns.data(), exp_returns.size()) + + ", but the module exports: " + printValTypes(act_args.data(), act_args.size()) + + " -> " + printValTypes(act_returns.data(), act_returns.size())); + return; + } + + *function = [function_name, this](ContextBase *context, Args... args) -> R { + WasmEdge_Value params[] = {makeVal(args)...}; + WasmEdge_Value results[1]; + const bool log = cmpLogLevel(LogLevel::trace); + if (log) { + integration()->trace("[host->vm] " + std::string(function_name) + "(" + + printValues(params, sizeof...(Args)) + ")"); + } + SaveRestoreContext saved_context(context); + WasmEdge_Result res = + WasmEdge_ExecutorInvoke(executor_.get(), store_.get(), + WasmEdge_StringWrap(function_name.data(), function_name.length()), + params, sizeof...(Args), results, 1); + if (!WasmEdge_ResultOK(res)) { + fail(FailState::RuntimeError, "Function: " + std::string(function_name) + " failed:\n" + + WasmEdge_ResultGetMessage(res)); + return R{}; + } + R ret = convValTypeToArg(results[0]); + if (log) { + integration()->trace("[host<-vm] " + std::string(function_name) + + " return: " + std::to_string(ret)); + } + return ret; + }; +} + +} // namespace WasmEdge + +std::unique_ptr createWasmEdgeVm() { return std::make_unique(); } + +} // namespace proxy_wasm diff --git a/test/utility.cc b/test/utility.cc index 1686a0e14..e4196f8df 100644 --- a/test/utility.cc +++ b/test/utility.cc @@ -24,6 +24,9 @@ std::vector getWasmEngines() { #if defined(PROXY_WASM_HOST_ENGINE_WAMR) "wamr", #endif +#if defined(PROXY_WASM_HOST_ENGINE_WASMEDGE) + "wasmedge", +#endif #if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) "wasmtime", #endif diff --git a/test/utility.h b/test/utility.h index d5d2d2f42..3935723bd 100644 --- a/test/utility.h +++ b/test/utility.h @@ -33,6 +33,9 @@ #if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) #include "include/proxy-wasm/wasmtime.h" #endif +#if defined(PROXY_WASM_HOST_ENGINE_WASMEDGE) +#include "include/proxy-wasm/wasmedge.h" +#endif #if defined(PROXY_WASM_HOST_ENGINE_WAMR) #include "include/proxy-wasm/wamr.h" #endif @@ -144,6 +147,10 @@ class TestVm : public testing::TestWithParam { } else if (engine_ == "wasmtime") { vm = proxy_wasm::createWasmtimeVm(); #endif +#if defined(PROXY_WASM_HOST_ENGINE_WASMEDGE) + } else if (engine_ == "wasmedge") { + vm = proxy_wasm::createWasmEdgeVm(); +#endif #if defined(PROXY_WASM_HOST_ENGINE_WAMR) } else if (engine_ == "wamr") { vm = proxy_wasm::createWamrVm(); diff --git a/test/wasm_vm_test.cc b/test/wasm_vm_test.cc index d29437c9b..642ea636f 100644 --- a/test/wasm_vm_test.cc +++ b/test/wasm_vm_test.cc @@ -31,7 +31,7 @@ INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines() }); TEST_P(TestVm, Basic) { - if (engine_ == "wamr") { + if (engine_ == "wamr" || engine_ == "wasmedge") { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::NotCloneable); } else if (engine_ == "wasmtime" || engine_ == "v8") { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::CompiledBytecode); From 61135c5a431cd8d68d73f41025f27d26db1807ac Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 8 Apr 2022 16:10:15 -0500 Subject: [PATCH 03/90] v8: set upper limit for maximum Wasm memory size. (#281) Signed-off-by: Piotr Sikora --- BUILD | 1 + include/proxy-wasm/limits.h | 25 +++++++++++++++ src/v8/v8.cc | 8 +++++ test/BUILD | 2 +- test/runtime_test.cc | 32 ++++++++++++++++++- test/test_data/BUILD | 4 +-- .../{infinite_loop.rs => resource_limits.rs} | 8 +++++ 7 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 include/proxy-wasm/limits.h rename test/test_data/{infinite_loop.rs => resource_limits.rs} (85%) diff --git a/BUILD b/BUILD index 1df703bf1..67d8d89df 100644 --- a/BUILD +++ b/BUILD @@ -23,6 +23,7 @@ filegroup( cc_library( name = "wasm_vm_headers", hdrs = [ + "include/proxy-wasm/limits.h", "include/proxy-wasm/wasm_vm.h", "include/proxy-wasm/word.h", ], diff --git a/include/proxy-wasm/limits.h b/include/proxy-wasm/limits.h new file mode 100644 index 000000000..cb3e569e8 --- /dev/null +++ b/include/proxy-wasm/limits.h @@ -0,0 +1,25 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +// Wasm memory page is always 64 KiB. +#define PROXY_WASM_HOST_WASM_MEMORY_PAGE_SIZE_BYTES (64 * 1024) + +// Maximum allowed Wasm memory size. +#ifndef PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES +#define PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES (1024 * 1024 * 1024) +#endif diff --git a/src/v8/v8.cc b/src/v8/v8.cc index dea883252..abad6d514 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -26,11 +26,17 @@ #include #include +#include "include/proxy-wasm/limits.h" + #include "include/v8-version.h" #include "include/v8.h" #include "src/wasm/c-api.h" #include "wasm-api/wasm.hh" +namespace v8::internal { +extern unsigned int FLAG_wasm_max_mem_pages; +} // namespace v8::internal + namespace proxy_wasm { namespace v8 { @@ -39,6 +45,8 @@ wasm::Engine *engine() { static wasm::own engine; std::call_once(init, []() { + ::v8::internal::FLAG_wasm_max_mem_pages = + PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES / PROXY_WASM_HOST_WASM_MEMORY_PAGE_SIZE_BYTES; ::v8::V8::EnableWebAssemblyTrapHandler(true); engine = wasm::Engine::make(); }); diff --git a/test/BUILD b/test/BUILD index 3bdd69f24..34481d83e 100644 --- a/test/BUILD +++ b/test/BUILD @@ -56,7 +56,7 @@ cc_test( data = [ "//test/test_data:callback.wasm", "//test/test_data:clock.wasm", - "//test/test_data:infinite_loop.wasm", + "//test/test_data:resource_limits.wasm", "//test/test_data:trap.wasm", ], linkstatic = 1, diff --git a/test/runtime_test.cc b/test/runtime_test.cc index ccce3df69..2d178466a 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -19,6 +19,7 @@ #include #include "include/proxy-wasm/context.h" +#include "include/proxy-wasm/limits.h" #include "include/proxy-wasm/wasm.h" #include "test/utility.h" @@ -86,7 +87,7 @@ TEST_P(TestVm, TerminateExecution) { if (engine_ != "v8") { return; } - auto source = readTestWasmFile("infinite_loop.wasm"); + auto source = readTestWasmFile("resource_limits.wasm"); ASSERT_FALSE(source.empty()); auto wasm = TestWasm(std::move(vm_)); ASSERT_TRUE(wasm.load(source, false)); @@ -112,6 +113,35 @@ TEST_P(TestVm, TerminateExecution) { } } +TEST_P(TestVm, WasmMemoryLimit) { + // TODO(PiotrSikora): enforce memory limits in other engines. + if (engine_ != "v8") { + return; + } + auto source = readTestWasmFile("resource_limits.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + WasmCallVoid<0> infinite_memory; + wasm.wasm_vm()->getFunction("infinite_memory", &infinite_memory); + ASSERT_TRUE(infinite_memory != nullptr); + infinite_memory(wasm.vm_context()); + + EXPECT_GE(wasm.wasm_vm()->getMemorySize(), PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES * 0.95); + EXPECT_LE(wasm.wasm_vm()->getMemorySize(), PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES); + + // Check integration logs. + auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); + EXPECT_TRUE(host->isErrorLogged("Function: infinite_memory failed")); + if (engine_ == "v8") { + EXPECT_TRUE(host->isErrorLogged("Uncaught RuntimeError: unreachable")); + EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); + EXPECT_TRUE(host->isErrorLogged(" - rust_oom")); + } +} + TEST_P(TestVm, Trap) { auto source = readTestWasmFile("trap.wasm"); ASSERT_FALSE(source.empty()); diff --git a/test/test_data/BUILD b/test/test_data/BUILD index 83f781f00..3d09fa57e 100644 --- a/test/test_data/BUILD +++ b/test/test_data/BUILD @@ -38,8 +38,8 @@ wasm_rust_binary( ) wasm_rust_binary( - name = "infinite_loop.wasm", - srcs = ["infinite_loop.rs"], + name = "resource_limits.wasm", + srcs = ["resource_limits.rs"], ) wasm_rust_binary( diff --git a/test/test_data/infinite_loop.rs b/test/test_data/resource_limits.rs similarity index 85% rename from test/test_data/infinite_loop.rs rename to test/test_data/resource_limits.rs index 371443e68..4b1d2789e 100644 --- a/test/test_data/infinite_loop.rs +++ b/test/test_data/resource_limits.rs @@ -27,3 +27,11 @@ pub extern "C" fn infinite_loop() { _count += 1; } } + +#[no_mangle] +pub extern "C" fn infinite_memory() { + let mut vec = Vec::new(); + loop { + vec.push(Vec::::with_capacity(16384)); + } +} From 3c703dcc44e7fc24062215e4f3c5c16d616362e8 Mon Sep 17 00:00:00 2001 From: bryanmcquade Date: Mon, 18 Apr 2022 13:20:13 -0400 Subject: [PATCH 04/90] Bound maximum size of random_get buffer. (#284) Signed-off-by: Bryan McQuade --- include/proxy-wasm/limits.h | 7 ++++ src/exports.cc | 7 ++++ test/BUILD | 2 ++ test/exports_test.cc | 68 +++++++++++++++++++++++++++++++++++++ test/test_data/BUILD | 6 ++++ test/test_data/random.rs | 38 +++++++++++++++++++++ 6 files changed, 128 insertions(+) create mode 100644 test/test_data/random.rs diff --git a/include/proxy-wasm/limits.h b/include/proxy-wasm/limits.h index cb3e569e8..d02d4c5e3 100644 --- a/include/proxy-wasm/limits.h +++ b/include/proxy-wasm/limits.h @@ -23,3 +23,10 @@ #ifndef PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES #define PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES (1024 * 1024 * 1024) #endif + +// Maximum allowed random_get buffer size. This value is consistent with +// the JavaScript Crypto.getRandomValues() maximum buffer size. +// See: https://w3c.github.io/webcrypto/#Crypto-method-getRandomValues +#ifndef PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES +#define PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES (64 * 1024) +#endif diff --git a/src/exports.cc b/src/exports.cc index c203946b8..01aeb9623 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -13,6 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // +#include "include/proxy-wasm/limits.h" #include "include/proxy-wasm/wasm.h" #include @@ -884,6 +885,12 @@ Word wasi_unstable_clock_time_get(Word clock_id, uint64_t /*precision*/, // __wasi_errno_t __wasi_random_get(uint8_t *buf, size_t buf_len); Word wasi_unstable_random_get(Word result_buf_ptr, Word buf_len) { + if (buf_len > PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES) { + return 28; // __WASI_EINVAL + } + if (buf_len == 0) { + return 0; // __WASI_ESUCCESS + } auto *context = contextOrEffectiveContext(); std::vector random(buf_len); RAND_bytes(random.data(), random.size()); diff --git a/test/BUILD b/test/BUILD index 34481d83e..93373486d 100644 --- a/test/BUILD +++ b/test/BUILD @@ -74,8 +74,10 @@ cc_test( data = [ "//test/test_data:clock.wasm", "//test/test_data:env.wasm", + "//test/test_data:random.wasm", ], linkstatic = 1, + shard_count = 8, deps = [ ":utility_lib", "//:lib", diff --git a/test/exports_test.cc b/test/exports_test.cc index 40e0359d1..026019c03 100644 --- a/test/exports_test.cc +++ b/test/exports_test.cc @@ -89,5 +89,73 @@ TEST_P(TestVm, Clock) { EXPECT_TRUE(context->isLogged("realtime: ")); } +TEST_P(TestVm, RandomZero) { + auto source = readTestWasmFile("random.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + WasmCallVoid<1> run; + wasm.wasm_vm()->getFunction("run", &run); + ASSERT_TRUE(run != nullptr); + run(wasm.vm_context(), Word{0}); + + // Check application logs. + auto *context = dynamic_cast(wasm.vm_context()); + EXPECT_TRUE(context->isLogged("random_get(0) succeeded.")); +} + +TEST_P(TestVm, RandomSmall) { + auto source = readTestWasmFile("random.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + WasmCallVoid<1> run; + wasm.wasm_vm()->getFunction("run", &run); + ASSERT_TRUE(run != nullptr); + run(wasm.vm_context(), Word{32}); + + // Check application logs. + auto *context = dynamic_cast(wasm.vm_context()); + EXPECT_TRUE(context->isLogged("random_get(32) succeeded.")); +} + +TEST_P(TestVm, RandomLarge) { + auto source = readTestWasmFile("random.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + WasmCallVoid<1> run; + wasm.wasm_vm()->getFunction("run", &run); + ASSERT_TRUE(run != nullptr); + run(wasm.vm_context(), Word{64 * 1024}); + + // Check application logs. + auto *context = dynamic_cast(wasm.vm_context()); + EXPECT_TRUE(context->isLogged("random_get(65536) succeeded.")); +} + +TEST_P(TestVm, RandomTooLarge) { + auto source = readTestWasmFile("random.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + WasmCallVoid<1> run; + wasm.wasm_vm()->getFunction("run", &run); + ASSERT_TRUE(run != nullptr); + run(wasm.vm_context(), Word{65 * 1024}); + + // Check application logs. + auto *context = dynamic_cast(wasm.vm_context()); + EXPECT_TRUE(context->isLogged("random_get(66560) failed.")); +} + } // namespace } // namespace proxy_wasm diff --git a/test/test_data/BUILD b/test/test_data/BUILD index 3d09fa57e..553d43b14 100644 --- a/test/test_data/BUILD +++ b/test/test_data/BUILD @@ -53,3 +53,9 @@ wasm_rust_binary( srcs = ["clock.rs"], wasi = True, ) + +wasm_rust_binary( + name = "random.wasm", + srcs = ["random.rs"], + wasi = True, +) diff --git a/test/test_data/random.rs b/test/test_data/random.rs new file mode 100644 index 000000000..271434bb7 --- /dev/null +++ b/test/test_data/random.rs @@ -0,0 +1,38 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#[no_mangle] +pub extern "C" fn proxy_abi_version_0_2_0() {} + +#[no_mangle] +pub extern "C" fn proxy_on_memory_allocate(_: usize) -> *mut u8 { + std::ptr::null_mut() +} + +// TODO(PiotrSikora): switch to "getrandom" crate. +pub mod wasi_snapshot_preview1 { + #[link(wasm_import_module = "wasi_snapshot_preview1")] + extern "C" { + pub fn random_get(buf: *mut u8, buf_len: usize) -> u16; + } +} + +#[no_mangle] +pub extern "C" fn run(size: usize) { + let mut buf: Vec = Vec::with_capacity(size); + match unsafe { wasi_snapshot_preview1::random_get(buf.as_mut_ptr(), size) } { + 0 => println!("random_get({}) succeeded.", size), + _ => println!("random_get({}) failed.", size), + } +} From 828e44a3b7078a377b7a414ede356dca0c8977ff Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Wed, 4 May 2022 00:53:31 -0500 Subject: [PATCH 05/90] Update rules_rust to v0.3.1 (with Rust v1.60.0). (#286) Signed-off-by: Piotr Sikora --- .bazelrc | 3 +- bazel/dependencies.bzl | 4 +- bazel/external/rules_rust.patch | 107 -------------------------------- bazel/repositories.bzl | 8 +-- 4 files changed, 7 insertions(+), 115 deletions(-) delete mode 100644 bazel/external/rules_rust.patch diff --git a/.bazelrc b/.bazelrc index 318aecd53..00f6848f4 100644 --- a/.bazelrc +++ b/.bazelrc @@ -69,5 +69,6 @@ build:linux --cxxopt=-std=c++17 build:macos --cxxopt=-std=c++17 build:windows --cxxopt="/std:c++17" -# Enable runfiles on Windows (enabled by default on other platforms). +# Enable symlinks and runfiles on Windows (enabled by default on other platforms). +startup --windows_enable_symlinks build:windows --enable_runfiles diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 553352e31..95efe8ad0 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -34,7 +34,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.58.1", + version = "1.60.0", ) rust_repository_set( name = "rust_linux_s390x", @@ -43,7 +43,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.58.1", + version = "1.60.0", ) zig_register_toolchains( diff --git a/bazel/external/rules_rust.patch b/bazel/external/rules_rust.patch deleted file mode 100644 index 7a1d0ab9b..000000000 --- a/bazel/external/rules_rust.patch +++ /dev/null @@ -1,107 +0,0 @@ -# Pass CFLAGS and CXXFLAGS to build scripts (https://github.com/bazelbuild/rules_rust/pull/1081). - -diff --git a/cargo/cargo_build_script.bzl b/cargo/cargo_build_script.bzl -index 688fe3143..25e8eabc3 100644 ---- a/cargo/cargo_build_script.bzl -+++ b/cargo/cargo_build_script.bzl -@@ -1,5 +1,5 @@ - # buildifier: disable=module-docstring --load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "C_COMPILE_ACTION_NAME") -+load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "CPP_COMPILE_ACTION_NAME", "C_COMPILE_ACTION_NAME") - load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") - load("//rust:defs.bzl", "rust_binary", "rust_common") - -@@ -9,7 +9,7 @@ load("//rust/private:rustc.bzl", "BuildInfo", "get_compilation_mode_opts", "get_ - # buildifier: disable=bzl-visibility - load("//rust/private:utils.bzl", "expand_dict_value_locations", "find_cc_toolchain", "find_toolchain", "name_to_crate_name") - --def get_cc_compile_env(cc_toolchain, feature_configuration): -+def get_cc_compile_args_and_env(cc_toolchain, feature_configuration): - """Gather cc environment variables from the given `cc_toolchain` - - Args: -@@ -17,17 +17,31 @@ def get_cc_compile_env(cc_toolchain, feature_configuration): - feature_configuration (FeatureConfiguration): Class used to construct command lines from CROSSTOOL features. - - Returns: -- dict: Returns environment variables to be set for given action. -+ tuple: A tuple of the following items: -+ - (sequence): A flattened C command line flags for given action. -+ - (sequence): A flattened CXX command line flags for given action. -+ - (dict): C environment variables to be set for given action. - """ - compile_variables = cc_common.create_compile_variables( - feature_configuration = feature_configuration, - cc_toolchain = cc_toolchain, - ) -- return cc_common.get_environment_variables( -+ cc_c_args = cc_common.get_memory_inefficient_command_line( - feature_configuration = feature_configuration, - action_name = C_COMPILE_ACTION_NAME, - variables = compile_variables, - ) -+ cc_cxx_args = cc_common.get_memory_inefficient_command_line( -+ feature_configuration = feature_configuration, -+ action_name = CPP_COMPILE_ACTION_NAME, -+ variables = compile_variables, -+ ) -+ cc_env = cc_common.get_environment_variables( -+ feature_configuration = feature_configuration, -+ action_name = C_COMPILE_ACTION_NAME, -+ variables = compile_variables, -+ ) -+ return cc_c_args, cc_cxx_args, cc_env - - def _build_script_impl(ctx): - """The implementation for the `_build_script_run` rule. -@@ -102,7 +116,7 @@ def _build_script_impl(ctx): - env["LDFLAGS"] = " ".join(link_args) - - # MSVC requires INCLUDE to be set -- cc_env = get_cc_compile_env(cc_toolchain, feature_configuration) -+ cc_c_args, cc_cxx_args, cc_env = get_cc_compile_args_and_env(cc_toolchain, feature_configuration) - include = cc_env.get("INCLUDE") - if include: - env["INCLUDE"] = include -@@ -120,6 +134,12 @@ def _build_script_impl(ctx): - if cc_toolchain.sysroot: - env["SYSROOT"] = cc_toolchain.sysroot - -+ # Populate CFLAGS and CXXFLAGS that cc-rs relies on when building from source, in particular -+ # to determine the deployment target when building for apple platforms (`macosx-version-min` -+ # for example, itself derived from the `macos_minimum_os` Bazel argument). -+ env["CFLAGS"] = " ".join(cc_c_args) -+ env["CXXFLAGS"] = " ".join(cc_cxx_args) -+ - for f in ctx.attr.crate_features: - env["CARGO_FEATURE_" + f.upper().replace("-", "_")] = "1" - -diff --git a/test/cargo_build_script/build.rs b/test/cargo_build_script/build.rs -index 68cef7232..4b337b48f 100644 ---- a/test/cargo_build_script/build.rs -+++ b/test/cargo_build_script/build.rs -@@ -5,12 +5,12 @@ fn main() { - std::env::var("TOOL").unwrap() - ); - -- // Assert that the CC and CXX env vars existed and were executable. -+ // Assert that the CC, CXX and LD env vars existed and were executable. - // We don't assert what happens when they're executed (in particular, we don't check for a - // non-zero exit code), but this asserts that it's an existing file which is executable. - // - // Unfortunately we need to shlex the path, because we add a `--sysroot=...` arg to the env var. -- for env_var in &["CC", "CXX"] { -+ for env_var in &["CC", "CXX", "LD"] { - let v = std::env::var(env_var) - .unwrap_or_else(|err| panic!("Error getting {}: {}", env_var, err)); - let (path, args) = if let Some(index) = v.find("--sysroot") { -@@ -24,4 +24,9 @@ fn main() { - .status() - .unwrap(); - } -+ -+ // Assert that some env variables are set. -+ for env_var in &["CFLAGS", "CXXFLAGS", "LDFLAGS"] { -+ assert!(std::env::var(env_var).is_ok()); -+ } - } diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 41726fc6a..03a462ea5 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -66,12 +66,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_rust", - sha256 = "6c26af1bb98276917fcf29ea942615ab375cf9d3c52f15c27fdd176ced3ee906", - strip_prefix = "rules_rust-b3ddf6f096887b757ab1a661662a95d6b2699fa7", + sha256 = "0c57c91a20df12d2b1e5db6c58fd6df21bce0c73940eeafbcb87761c14c28878", + strip_prefix = "rules_rust-0.3.1", # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/archive/b3ddf6f096887b757ab1a661662a95d6b2699fa7.tar.gz", - patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], - patch_args = ["-p1"], + url = "https://github.com/bazelbuild/rules_rust/archive/0.3.1.tar.gz", ) # Core. From 55c93ab1c28845b560b5b46d02ca978aa85cf9aa Mon Sep 17 00:00:00 2001 From: Faseela K Date: Wed, 4 May 2022 17:53:15 +0200 Subject: [PATCH 06/90] wasmtime: update to v0.36.0. (#285) Signed-off-by: Faseela K --- bazel/cargo/wasmtime/BUILD.bazel | 4 +- bazel/cargo/wasmtime/Cargo.raze.lock | 140 ++++---- bazel/cargo/wasmtime/Cargo.toml | 6 +- bazel/cargo/wasmtime/crates.bzl | 302 +++++++++--------- .../remote/BUILD.aho-corasick-0.7.18.bazel | 2 +- ...1.0.56.bazel => BUILD.anyhow-1.0.57.bazel} | 4 +- .../wasmtime/remote/BUILD.atty-0.2.14.bazel | 2 +- ....64.bazel => BUILD.backtrace-0.3.65.bazel} | 10 +- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 2 +- ...l => BUILD.cranelift-bforest-0.83.0.bazel} | 6 +- ...l => BUILD.cranelift-codegen-0.83.0.bazel} | 18 +- ...BUILD.cranelift-codegen-meta-0.83.0.bazel} | 6 +- ...ILD.cranelift-codegen-shared-0.83.0.bazel} | 4 +- ...el => BUILD.cranelift-entity-0.83.0.bazel} | 6 +- ... => BUILD.cranelift-frontend-0.83.0.bazel} | 8 +- ...el => BUILD.cranelift-native-0.83.0.bazel} | 8 +- ...azel => BUILD.cranelift-wasm-0.83.0.bazel} | 14 +- .../remote/BUILD.env_logger-0.8.4.bazel | 2 +- .../wasmtime/remote/BUILD.errno-0.2.8.bazel | 2 +- .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 2 +- .../remote/BUILD.getrandom-0.2.6.bazel | 2 +- .../remote/BUILD.hermit-abi-0.1.19.bazel | 2 +- .../remote/BUILD.indexmap-1.8.1.bazel | 2 +- ...0.2.122.bazel => BUILD.libc-0.2.125.bazel} | 4 +- ...og-0.4.16.bazel => BUILD.log-0.4.17.bazel} | 4 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 2 +- ...r-2.4.1.bazel => BUILD.memchr-2.5.0.bazel} | 4 +- .../remote/BUILD.miniz_oxide-0.4.4.bazel | 86 ----- .../remote/BUILD.miniz_oxide-0.5.1.bazel | 55 ++++ .../wasmtime/remote/BUILD.object-0.27.1.bazel | 4 +- .../wasmtime/remote/BUILD.object-0.28.3.bazel | 66 ++++ .../remote/BUILD.proc-macro2-1.0.37.bazel | 2 +- ...-1.0.17.bazel => BUILD.quote-1.0.18.bazel} | 2 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 2 +- .../remote/BUILD.regalloc-0.0.34.bazel | 2 +- .../wasmtime/remote/BUILD.regex-1.5.5.bazel | 2 +- .../wasmtime/remote/BUILD.region-2.2.0.bazel | 2 +- ...0.33.5.bazel => BUILD.rustix-0.33.7.bazel} | 22 +- ....0.136.bazel => BUILD.serde-1.0.137.bazel} | 6 +- ...bazel => BUILD.serde_derive-1.0.137.bazel} | 8 +- ...yn-1.0.91.bazel => BUILD.syn-1.0.92.bazel} | 8 +- ....30.bazel => BUILD.thiserror-1.0.31.bazel} | 4 +- ...azel => BUILD.thiserror-impl-1.0.31.bazel} | 6 +- ....2.bazel => BUILD.unicode-xid-0.2.3.bazel} | 2 +- ...35.2.bazel => BUILD.wasmtime-0.36.0.bazel} | 30 +- .../BUILD.wasmtime-c-api-macros-0.19.0.bazel | 4 +- ... => BUILD.wasmtime-cranelift-0.36.0.bazel} | 22 +- ...el => BUILD.wasmtime-environ-0.36.0.bazel} | 16 +- ....bazel => BUILD.wasmtime-jit-0.36.0.bazel} | 18 +- ... => BUILD.wasmtime-jit-debug-0.36.0.bazel} | 4 +- ...el => BUILD.wasmtime-runtime-0.36.0.bazel} | 30 +- ...azel => BUILD.wasmtime-types-0.36.0.bazel} | 10 +- bazel/repositories.bzl | 6 +- 53 files changed, 526 insertions(+), 461 deletions(-) rename bazel/cargo/wasmtime/remote/{BUILD.anyhow-1.0.56.bazel => BUILD.anyhow-1.0.57.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.backtrace-0.3.64.bazel => BUILD.backtrace-0.3.65.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.82.2.bazel => BUILD.cranelift-bforest-0.83.0.bazel} (90%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.82.2.bazel => BUILD.cranelift-codegen-0.83.0.bazel} (84%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.82.2.bazel => BUILD.cranelift-codegen-meta-0.83.0.bazel} (90%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.82.2.bazel => BUILD.cranelift-codegen-shared-0.83.0.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.82.2.bazel => BUILD.cranelift-entity-0.83.0.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.82.2.bazel => BUILD.cranelift-frontend-0.83.0.bazel} (88%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.82.2.bazel => BUILD.cranelift-native-0.83.0.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.82.2.bazel => BUILD.cranelift-wasm-0.83.0.bazel} (79%) rename bazel/cargo/wasmtime/remote/{BUILD.libc-0.2.122.bazel => BUILD.libc-0.2.125.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.log-0.4.16.bazel => BUILD.log-0.4.17.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.memchr-2.4.1.bazel => BUILD.memchr-2.5.0.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.4.4.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.object-0.28.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.quote-1.0.17.bazel => BUILD.quote-1.0.18.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.rustix-0.33.5.bazel => BUILD.rustix-0.33.7.bazel} (80%) rename bazel/cargo/wasmtime/remote/{BUILD.serde-1.0.136.bazel => BUILD.serde-1.0.137.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.serde_derive-1.0.136.bazel => BUILD.serde_derive-1.0.137.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.syn-1.0.91.bazel => BUILD.syn-1.0.92.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.thiserror-1.0.30.bazel => BUILD.thiserror-1.0.31.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.thiserror-impl-1.0.30.bazel => BUILD.thiserror-impl-1.0.31.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.unicode-xid-0.2.2.bazel => BUILD.unicode-xid-0.2.3.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-0.35.2.bazel => BUILD.wasmtime-0.36.0.bazel} (81%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-0.35.2.bazel => BUILD.wasmtime-cranelift-0.36.0.bazel} (69%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-0.35.2.bazel => BUILD.wasmtime-environ-0.36.0.bazel} (79%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-0.35.2.bazel => BUILD.wasmtime-jit-0.36.0.bazel} (85%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-0.35.2.bazel => BUILD.wasmtime-jit-debug-0.36.0.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-0.35.2.bazel => BUILD.wasmtime-runtime-0.36.0.bazel} (90%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-0.35.2.bazel => BUILD.wasmtime-types-0.36.0.bazel} (84%) diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index ba9b49dca..93e150a89 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -14,7 +14,7 @@ licenses([ # Aliased targets alias( name = "anyhow", - actual = "@wasmtime__anyhow__1_0_56//:anyhow", + actual = "@wasmtime__anyhow__1_0_57//:anyhow", tags = [ "cargo-raze", "manual", @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__0_35_2//:wasmtime", + actual = "@wasmtime__wasmtime__0_36_0//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index 77bdb8c34..666dca2b5 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -26,9 +26,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4361135be9122e0870de935d7c439aef945b9f9ddd4199a553b5270b49c82a27" +checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc" [[package]] name = "atty" @@ -49,16 +49,16 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.64" +version = "0.3.65" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e121dee8023ce33ab248d9ce1493df03c3b38a659b240096fcbd7048ff9c31f" +checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61" dependencies = [ "addr2line", "cc", "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.28.3", "rustc-demangle", ] @@ -100,18 +100,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9956ad3efeb062596e0b25a1091730080cb6483b500bd106b92c7a55e9e0b1" +checksum = "ed44413e7e2fe3260d0ed73e6956ab188b69c10ee92b892e401e0f4f6808c68b" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efc67870c31cae7d03808dfa430ee9ccda9bd82c61b49b939d925d9155cfc42d" +checksum = "0b5d83f0f26bf213f971f45589d17e5b65e4861f9ed22392b0cbb6eaa5bd329c" dependencies = [ "cranelift-bforest", "cranelift-codegen-meta", @@ -126,33 +126,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0f0172d25539fcc64f581d3dce0df00e2065b00e1c750e18832d2cf1e0d27e0" +checksum = "6800dc386177df6ecc5a32680607ed8ba1fa0d31a2a59c8c61fbf44826b8191d" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6cc5717ae2ea849e5c819eb70c95792c2843294d9503700ac55d8d159e2160" +checksum = "c961f85070985ebc8fcdb81b838a5cf842294d1e6ed4852446161c7e246fd455" [[package]] name = "cranelift-entity" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e822e0169d7a078cbc7ed19bca6636752c093e25d994a4febd9914d1118f3945" +checksum = "2347b2b8d1d5429213668f2a8e36c85ee3c73984a2f6a79007e365d3e575e7ed" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf3bc8bd3bb8932e70b71c0de6cba277ae112d4e51dadde2e318f60f2fbe97bc" +checksum = "4cbcdbf7bed29e363568b778649b69dabc3d727256d5d25236096ef693757654" dependencies = [ "cranelift-codegen", "log", @@ -162,9 +162,9 @@ dependencies = [ [[package]] name = "cranelift-native" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8090cade0761622fcb1c805c8ce2c2f085a2467bdee7e21cd9ba399026cf7ac" +checksum = "8f4cdf93552e5ceb2e3c042829ebb4de4378492705f769eadc6a7c6c5251624c" dependencies = [ "cranelift-codegen", "libc", @@ -173,9 +173,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.82.2" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be110a4560fa997ba8bc8376a459ec4d8707074f88058a17b29f43c27e983ad0" +checksum = "d8b859d8cb1806f9ad0f59fdc25cbff576345abfad84c1aba483dd2f8e580e5c" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -319,9 +319,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.122" +version = "0.2.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec647867e2bf0772e28c8bcde4f0d19a9216916e890543b5a03ed8ef27b8f259" +checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b" [[package]] name = "linux-raw-sys" @@ -331,9 +331,9 @@ checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7" [[package]] name = "log" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8" +checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ "cfg-if", ] @@ -349,9 +349,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memoffset" @@ -364,12 +364,11 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.4.4" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" +checksum = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082" dependencies = [ "adler", - "autocfg", ] [[package]] @@ -389,6 +388,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.28.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40bec70ba014595f99f7aa110b84331ffe1ee9aece7fe6f387cc7e3ecda4d456" +dependencies = [ + "memchr", +] + [[package]] name = "once_cell" version = "1.10.0" @@ -427,9 +435,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58" +checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1" dependencies = [ "proc-macro2", ] @@ -518,9 +526,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.33.5" +version = "0.33.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03627528abcc4a365554d32a9f3bbf67f7694c102cfeda792dc86a2d6057cc85" +checksum = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0" dependencies = [ "bitflags", "errno", @@ -532,18 +540,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789" +checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9" +checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be" dependencies = [ "proc-macro2", "quote", @@ -564,9 +572,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "1.0.91" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d" +checksum = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52" dependencies = [ "proc-macro2", "quote", @@ -590,18 +598,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.30" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" +checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.30" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" +checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" dependencies = [ "proc-macro2", "quote", @@ -610,9 +618,9 @@ dependencies = [ [[package]] name = "unicode-xid" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" [[package]] name = "wasi" @@ -628,9 +636,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wasmtime" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637f73fff13248d13882246b67a8208d466c36d7b836b783a62903cb96f11b61" +checksum = "4beb256f8514dd3eb85b03bceb422abfff5f07bf564519cbe0abf80462120bc0" dependencies = [ "anyhow", "backtrace", @@ -640,7 +648,7 @@ dependencies = [ "lazy_static", "libc", "log", - "object", + "object 0.27.1", "once_cell", "paste", "psm", @@ -657,7 +665,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-bazel" -version = "0.35.2" +version = "0.36.0" dependencies = [ "anyhow", "env_logger", @@ -669,7 +677,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.35.2#59bfe50acaffd69f267946d35abe9f87a3b07e29" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.36.0#c0e58a1e1c22b53e0330829057da6125da89bef1" dependencies = [ "proc-macro2", "quote", @@ -677,9 +685,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2d233418e5f560e8010fe13e60943df8be0685c68cbdf9f588dd846a727f2e4" +checksum = "0e8f126b9c55e9550391617049f468878cb9f4af75f33009be72f0c692e1d2ed" dependencies = [ "anyhow", "cranelift-codegen", @@ -690,7 +698,7 @@ dependencies = [ "gimli", "log", "more-asserts", - "object", + "object 0.27.1", "target-lexicon", "thiserror", "wasmparser", @@ -699,9 +707,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f38f25934156bb5496b3fd30be10c8ef41936330d9c936654ebf4eac02e352e" +checksum = "343cfc7e7604b063ef0429e043a06e077a39bcb1ce3e731abe0414431f2610de" dependencies = [ "anyhow", "cranelift-entity", @@ -709,7 +717,7 @@ dependencies = [ "indexmap", "log", "more-asserts", - "object", + "object 0.27.1", "serde", "target-lexicon", "thiserror", @@ -719,9 +727,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7d3293e643c3b397012a579b025116e5818118a7982373551df8f8b0a4c524" +checksum = "81f3a31bf04f02ec7497ddeda20e14b640b1e4d9e1c55c1ebdb268bf30800e2d" dependencies = [ "addr2line", "anyhow", @@ -730,7 +738,7 @@ dependencies = [ "cpp_demangle", "gimli", "log", - "object", + "object 0.27.1", "region", "rustc-demangle", "rustix", @@ -744,18 +752,18 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b4b40b84a96da6fcd7f2460747564091b9b8dedcc7bd66c0cb741adf451de8" +checksum = "4e725c3a37e49bd95d2d350c9f1b6641ac6e75bc357204e857ac058d0c64b720" dependencies = [ "lazy_static", ] [[package]] name = "wasmtime-runtime" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b60eb01e3413a54e791a397d556962876902d7481be496b4b9eb1dc68de14fce" +checksum = "2ed30d50ffd763873f49df0c94efa20c17749f375518117d6677cc29b631a1fc" dependencies = [ "anyhow", "backtrace", @@ -778,9 +786,9 @@ dependencies = [ [[package]] name = "wasmtime-types" -version = "0.35.2" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86cd8d51aa648f2ba5a25bd11a74c08ce2b66796a5bbd5c099ab5db672a2e68f" +checksum = "72080d5bdd54af03de7f5ca8b67dcd8ea36f4dfec75fc89a976ebc847ee1516e" dependencies = [ "cranelift-entity", "serde", diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 1eedb0d3a..9bc63310c 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "0.35.2" +version = "0.36.0" [lib] path = "fake_lib.rs" @@ -10,8 +10,8 @@ path = "fake_lib.rs" env_logger = "0.8" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "0.35.2", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.35.2"} +wasmtime = {version = "0.36.0", default-features = false, features = ['cranelift', 'wasm-backtrace']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.36.0"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index c9efeb8a2..f2d1c047a 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -43,12 +43,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__anyhow__1_0_56", - url = "https://crates.io/api/v1/crates/anyhow/1.0.56/download", + name = "wasmtime__anyhow__1_0_57", + url = "https://crates.io/api/v1/crates/anyhow/1.0.57/download", type = "tar.gz", - sha256 = "4361135be9122e0870de935d7c439aef945b9f9ddd4199a553b5270b49c82a27", - strip_prefix = "anyhow-1.0.56", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.56.bazel"), + sha256 = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc", + strip_prefix = "anyhow-1.0.57", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.57.bazel"), ) maybe( @@ -73,12 +73,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__backtrace__0_3_64", - url = "https://crates.io/api/v1/crates/backtrace/0.3.64/download", + name = "wasmtime__backtrace__0_3_65", + url = "https://crates.io/api/v1/crates/backtrace/0.3.65/download", type = "tar.gz", - sha256 = "5e121dee8023ce33ab248d9ce1493df03c3b38a659b240096fcbd7048ff9c31f", - strip_prefix = "backtrace-0.3.64", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.backtrace-0.3.64.bazel"), + sha256 = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61", + strip_prefix = "backtrace-0.3.65", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.backtrace-0.3.65.bazel"), ) maybe( @@ -133,82 +133,82 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.82.2/download", + name = "wasmtime__cranelift_bforest__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.83.0/download", type = "tar.gz", - sha256 = "5b9956ad3efeb062596e0b25a1091730080cb6483b500bd106b92c7a55e9e0b1", - strip_prefix = "cranelift-bforest-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.82.2.bazel"), + sha256 = "ed44413e7e2fe3260d0ed73e6956ab188b69c10ee92b892e401e0f4f6808c68b", + strip_prefix = "cranelift-bforest-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.83.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.82.2/download", + name = "wasmtime__cranelift_codegen__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.83.0/download", type = "tar.gz", - sha256 = "efc67870c31cae7d03808dfa430ee9ccda9bd82c61b49b939d925d9155cfc42d", - strip_prefix = "cranelift-codegen-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.82.2.bazel"), + sha256 = "0b5d83f0f26bf213f971f45589d17e5b65e4861f9ed22392b0cbb6eaa5bd329c", + strip_prefix = "cranelift-codegen-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.83.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.82.2/download", + name = "wasmtime__cranelift_codegen_meta__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.83.0/download", type = "tar.gz", - sha256 = "b0f0172d25539fcc64f581d3dce0df00e2065b00e1c750e18832d2cf1e0d27e0", - strip_prefix = "cranelift-codegen-meta-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.82.2.bazel"), + sha256 = "6800dc386177df6ecc5a32680607ed8ba1fa0d31a2a59c8c61fbf44826b8191d", + strip_prefix = "cranelift-codegen-meta-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.83.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.82.2/download", + name = "wasmtime__cranelift_codegen_shared__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.83.0/download", type = "tar.gz", - sha256 = "8f6cc5717ae2ea849e5c819eb70c95792c2843294d9503700ac55d8d159e2160", - strip_prefix = "cranelift-codegen-shared-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.82.2.bazel"), + sha256 = "c961f85070985ebc8fcdb81b838a5cf842294d1e6ed4852446161c7e246fd455", + strip_prefix = "cranelift-codegen-shared-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.83.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.82.2/download", + name = "wasmtime__cranelift_entity__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.83.0/download", type = "tar.gz", - sha256 = "e822e0169d7a078cbc7ed19bca6636752c093e25d994a4febd9914d1118f3945", - strip_prefix = "cranelift-entity-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.82.2.bazel"), + sha256 = "2347b2b8d1d5429213668f2a8e36c85ee3c73984a2f6a79007e365d3e575e7ed", + strip_prefix = "cranelift-entity-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.83.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.82.2/download", + name = "wasmtime__cranelift_frontend__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.83.0/download", type = "tar.gz", - sha256 = "bf3bc8bd3bb8932e70b71c0de6cba277ae112d4e51dadde2e318f60f2fbe97bc", - strip_prefix = "cranelift-frontend-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.82.2.bazel"), + sha256 = "4cbcdbf7bed29e363568b778649b69dabc3d727256d5d25236096ef693757654", + strip_prefix = "cranelift-frontend-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.83.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-native/0.82.2/download", + name = "wasmtime__cranelift_native__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-native/0.83.0/download", type = "tar.gz", - sha256 = "a8090cade0761622fcb1c805c8ce2c2f085a2467bdee7e21cd9ba399026cf7ac", - strip_prefix = "cranelift-native-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.82.2.bazel"), + sha256 = "8f4cdf93552e5ceb2e3c042829ebb4de4378492705f769eadc6a7c6c5251624c", + strip_prefix = "cranelift-native-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.83.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_82_2", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.82.2/download", + name = "wasmtime__cranelift_wasm__0_83_0", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.83.0/download", type = "tar.gz", - sha256 = "be110a4560fa997ba8bc8376a459ec4d8707074f88058a17b29f43c27e983ad0", - strip_prefix = "cranelift-wasm-0.82.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.82.2.bazel"), + sha256 = "d8b859d8cb1806f9ad0f59fdc25cbff576345abfad84c1aba483dd2f8e580e5c", + strip_prefix = "cranelift-wasm-0.83.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.83.0.bazel"), ) maybe( @@ -363,12 +363,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__libc__0_2_122", - url = "https://crates.io/api/v1/crates/libc/0.2.122/download", + name = "wasmtime__libc__0_2_125", + url = "https://crates.io/api/v1/crates/libc/0.2.125/download", type = "tar.gz", - sha256 = "ec647867e2bf0772e28c8bcde4f0d19a9216916e890543b5a03ed8ef27b8f259", - strip_prefix = "libc-0.2.122", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.122.bazel"), + sha256 = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b", + strip_prefix = "libc-0.2.125", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.125.bazel"), ) maybe( @@ -383,12 +383,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__log__0_4_16", - url = "https://crates.io/api/v1/crates/log/0.4.16/download", + name = "wasmtime__log__0_4_17", + url = "https://crates.io/api/v1/crates/log/0.4.17/download", type = "tar.gz", - sha256 = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8", - strip_prefix = "log-0.4.16", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.log-0.4.16.bazel"), + sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e", + strip_prefix = "log-0.4.17", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.log-0.4.17.bazel"), ) maybe( @@ -403,12 +403,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__memchr__2_4_1", - url = "https://crates.io/api/v1/crates/memchr/2.4.1/download", + name = "wasmtime__memchr__2_5_0", + url = "https://crates.io/api/v1/crates/memchr/2.5.0/download", type = "tar.gz", - sha256 = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a", - strip_prefix = "memchr-2.4.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memchr-2.4.1.bazel"), + sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d", + strip_prefix = "memchr-2.5.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memchr-2.5.0.bazel"), ) maybe( @@ -423,12 +423,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__miniz_oxide__0_4_4", - url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.4/download", + name = "wasmtime__miniz_oxide__0_5_1", + url = "https://crates.io/api/v1/crates/miniz_oxide/0.5.1/download", type = "tar.gz", - sha256 = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b", - strip_prefix = "miniz_oxide-0.4.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.miniz_oxide-0.4.4.bazel"), + sha256 = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082", + strip_prefix = "miniz_oxide-0.5.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.miniz_oxide-0.5.1.bazel"), ) maybe( @@ -451,6 +451,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.27.1.bazel"), ) + maybe( + http_archive, + name = "wasmtime__object__0_28_3", + url = "https://crates.io/api/v1/crates/object/0.28.3/download", + type = "tar.gz", + sha256 = "40bec70ba014595f99f7aa110b84331ffe1ee9aece7fe6f387cc7e3ecda4d456", + strip_prefix = "object-0.28.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.28.3.bazel"), + ) + maybe( http_archive, name = "wasmtime__once_cell__1_10_0", @@ -503,12 +513,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__quote__1_0_17", - url = "https://crates.io/api/v1/crates/quote/1.0.17/download", + name = "wasmtime__quote__1_0_18", + url = "https://crates.io/api/v1/crates/quote/1.0.18/download", type = "tar.gz", - sha256 = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58", - strip_prefix = "quote-1.0.17", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.17.bazel"), + sha256 = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1", + strip_prefix = "quote-1.0.18", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.18.bazel"), ) maybe( @@ -603,32 +613,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rustix__0_33_5", - url = "https://crates.io/api/v1/crates/rustix/0.33.5/download", + name = "wasmtime__rustix__0_33_7", + url = "https://crates.io/api/v1/crates/rustix/0.33.7/download", type = "tar.gz", - sha256 = "03627528abcc4a365554d32a9f3bbf67f7694c102cfeda792dc86a2d6057cc85", - strip_prefix = "rustix-0.33.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.33.5.bazel"), + sha256 = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0", + strip_prefix = "rustix-0.33.7", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.33.7.bazel"), ) maybe( http_archive, - name = "wasmtime__serde__1_0_136", - url = "https://crates.io/api/v1/crates/serde/1.0.136/download", + name = "wasmtime__serde__1_0_137", + url = "https://crates.io/api/v1/crates/serde/1.0.137/download", type = "tar.gz", - sha256 = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789", - strip_prefix = "serde-1.0.136", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.136.bazel"), + sha256 = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1", + strip_prefix = "serde-1.0.137", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.137.bazel"), ) maybe( http_archive, - name = "wasmtime__serde_derive__1_0_136", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.136/download", + name = "wasmtime__serde_derive__1_0_137", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.137/download", type = "tar.gz", - sha256 = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9", - strip_prefix = "serde_derive-1.0.136", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.136.bazel"), + sha256 = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be", + strip_prefix = "serde_derive-1.0.137", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.137.bazel"), ) maybe( @@ -653,12 +663,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__syn__1_0_91", - url = "https://crates.io/api/v1/crates/syn/1.0.91/download", + name = "wasmtime__syn__1_0_92", + url = "https://crates.io/api/v1/crates/syn/1.0.92/download", type = "tar.gz", - sha256 = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d", - strip_prefix = "syn-1.0.91", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.91.bazel"), + sha256 = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52", + strip_prefix = "syn-1.0.92", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.92.bazel"), ) maybe( @@ -683,32 +693,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__thiserror__1_0_30", - url = "https://crates.io/api/v1/crates/thiserror/1.0.30/download", + name = "wasmtime__thiserror__1_0_31", + url = "https://crates.io/api/v1/crates/thiserror/1.0.31/download", type = "tar.gz", - sha256 = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417", - strip_prefix = "thiserror-1.0.30", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.30.bazel"), + sha256 = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a", + strip_prefix = "thiserror-1.0.31", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.31.bazel"), ) maybe( http_archive, - name = "wasmtime__thiserror_impl__1_0_30", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.30/download", + name = "wasmtime__thiserror_impl__1_0_31", + url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.31/download", type = "tar.gz", - sha256 = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b", - strip_prefix = "thiserror-impl-1.0.30", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.30.bazel"), + sha256 = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a", + strip_prefix = "thiserror-impl-1.0.31", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.31.bazel"), ) maybe( http_archive, - name = "wasmtime__unicode_xid__0_2_2", - url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download", + name = "wasmtime__unicode_xid__0_2_3", + url = "https://crates.io/api/v1/crates/unicode-xid/0.2.3/download", type = "tar.gz", - sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3", - strip_prefix = "unicode-xid-0.2.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-xid-0.2.2.bazel"), + sha256 = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04", + strip_prefix = "unicode-xid-0.2.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-xid-0.2.3.bazel"), ) maybe( @@ -733,81 +743,81 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmtime__0_35_2", - url = "https://crates.io/api/v1/crates/wasmtime/0.35.2/download", + name = "wasmtime__wasmtime__0_36_0", + url = "https://crates.io/api/v1/crates/wasmtime/0.36.0/download", type = "tar.gz", - sha256 = "637f73fff13248d13882246b67a8208d466c36d7b836b783a62903cb96f11b61", - strip_prefix = "wasmtime-0.35.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.35.2.bazel"), + sha256 = "4beb256f8514dd3eb85b03bceb422abfff5f07bf564519cbe0abf80462120bc0", + strip_prefix = "wasmtime-0.36.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.36.0.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "59bfe50acaffd69f267946d35abe9f87a3b07e29", + commit = "c0e58a1e1c22b53e0330829057da6125da89bef1", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__0_35_2", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.35.2/download", + name = "wasmtime__wasmtime_cranelift__0_36_0", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.36.0/download", type = "tar.gz", - sha256 = "a2d233418e5f560e8010fe13e60943df8be0685c68cbdf9f588dd846a727f2e4", - strip_prefix = "wasmtime-cranelift-0.35.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.35.2.bazel"), + sha256 = "0e8f126b9c55e9550391617049f468878cb9f4af75f33009be72f0c692e1d2ed", + strip_prefix = "wasmtime-cranelift-0.36.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.36.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__0_35_2", - url = "https://crates.io/api/v1/crates/wasmtime-environ/0.35.2/download", + name = "wasmtime__wasmtime_environ__0_36_0", + url = "https://crates.io/api/v1/crates/wasmtime-environ/0.36.0/download", type = "tar.gz", - sha256 = "0f38f25934156bb5496b3fd30be10c8ef41936330d9c936654ebf4eac02e352e", - strip_prefix = "wasmtime-environ-0.35.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.35.2.bazel"), + sha256 = "343cfc7e7604b063ef0429e043a06e077a39bcb1ce3e731abe0414431f2610de", + strip_prefix = "wasmtime-environ-0.36.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.36.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__0_35_2", - url = "https://crates.io/api/v1/crates/wasmtime-jit/0.35.2/download", + name = "wasmtime__wasmtime_jit__0_36_0", + url = "https://crates.io/api/v1/crates/wasmtime-jit/0.36.0/download", type = "tar.gz", - sha256 = "bf7d3293e643c3b397012a579b025116e5818118a7982373551df8f8b0a4c524", - strip_prefix = "wasmtime-jit-0.35.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.35.2.bazel"), + sha256 = "81f3a31bf04f02ec7497ddeda20e14b640b1e4d9e1c55c1ebdb268bf30800e2d", + strip_prefix = "wasmtime-jit-0.36.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.36.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__0_35_2", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.35.2/download", + name = "wasmtime__wasmtime_jit_debug__0_36_0", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.36.0/download", type = "tar.gz", - sha256 = "f8b4b40b84a96da6fcd7f2460747564091b9b8dedcc7bd66c0cb741adf451de8", - strip_prefix = "wasmtime-jit-debug-0.35.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.35.2.bazel"), + sha256 = "4e725c3a37e49bd95d2d350c9f1b6641ac6e75bc357204e857ac058d0c64b720", + strip_prefix = "wasmtime-jit-debug-0.36.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.36.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__0_35_2", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.35.2/download", + name = "wasmtime__wasmtime_runtime__0_36_0", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.36.0/download", type = "tar.gz", - sha256 = "b60eb01e3413a54e791a397d556962876902d7481be496b4b9eb1dc68de14fce", - strip_prefix = "wasmtime-runtime-0.35.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.35.2.bazel"), + sha256 = "2ed30d50ffd763873f49df0c94efa20c17749f375518117d6677cc29b631a1fc", + strip_prefix = "wasmtime-runtime-0.36.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.36.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__0_35_2", - url = "https://crates.io/api/v1/crates/wasmtime-types/0.35.2/download", + name = "wasmtime__wasmtime_types__0_36_0", + url = "https://crates.io/api/v1/crates/wasmtime-types/0.36.0/download", type = "tar.gz", - sha256 = "86cd8d51aa648f2ba5a25bd11a74c08ce2b66796a5bbd5c099ab5db672a2e68f", - strip_prefix = "wasmtime-types-0.35.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.35.2.bazel"), + sha256 = "72080d5bdd54af03de7f5ca8b67dcd8ea36f4dfec75fc89a976ebc847ee1516e", + strip_prefix = "wasmtime-types-0.36.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.36.0.bazel"), ) maybe( diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.18.bazel index e43497742..356e1c86d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.18.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.18.bazel @@ -52,6 +52,6 @@ rust_library( version = "0.7.18", # buildifier: leave-alone deps = [ - "@wasmtime__memchr__2_4_1//:memchr", + "@wasmtime__memchr__2_5_0//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.56.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.57.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.56.bazel rename to bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.57.bazel index 203451dba..380bae889 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.56.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.57.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.56", + version = "1.0.57", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=anyhow", "manual", ], - version = "1.0.56", + version = "1.0.57", # buildifier: leave-alone deps = [ ":anyhow_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel index 908aa6a2f..875bfd388 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel @@ -74,7 +74,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.64.bazel b/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.65.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.64.bazel rename to bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.65.bazel index 7412548ca..b2bc85560 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.64.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.65.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.3.64", + version = "0.3.65", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -87,15 +87,15 @@ rust_library( "crate-name=backtrace", "manual", ], - version = "0.3.64", + version = "0.3.65", # buildifier: leave-alone deps = [ ":backtrace_build_script", "@wasmtime__addr2line__0_17_0//:addr2line", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__libc__0_2_122//:libc", - "@wasmtime__miniz_oxide__0_4_4//:miniz_oxide", - "@wasmtime__object__0_27_1//:object", + "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__miniz_oxide__0_5_1//:miniz_oxide", + "@wasmtime__object__0_28_3//:object", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index e22d4cc7b..8cd35cae1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -50,7 +50,7 @@ rust_library( version = "1.3.3", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_136//:serde", + "@wasmtime__serde__1_0_137//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.83.0.bazel similarity index 90% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.83.0.bazel index 1d8a1ab4e..b60663dc0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.83.0.bazel @@ -38,7 +38,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", + "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.83.0.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.83.0.bazel index 80e556ff7..7ef333759 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.83.0.bazel @@ -50,7 +50,7 @@ cargo_build_script( ], crate_root = "build.rs", data = glob(["**"]), - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -58,10 +58,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.82.2", + version = "0.83.0", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_82_2//:cranelift_codegen_meta", + "@wasmtime__cranelift_codegen_meta__0_83_0//:cranelift_codegen_meta", ], ) @@ -78,7 +78,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -87,15 +87,15 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", - "@wasmtime__cranelift_bforest__0_82_2//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_82_2//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", + "@wasmtime__cranelift_bforest__0_83_0//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_83_0//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__log__0_4_17//:log", "@wasmtime__regalloc__0_0_34//:regalloc", "@wasmtime__smallvec__1_8_0//:smallvec", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.83.0.bazel similarity index 90% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.83.0.bazel index f60ee49f6..2f4a6997c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.83.0.bazel @@ -38,7 +38,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_82_2//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_83_0//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.83.0.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.83.0.bazel index d818c39b6..7da881127 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.83.0.bazel @@ -38,7 +38,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.83.0.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.83.0.bazel index d60852dbf..a9c7a1f44 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.83.0.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -49,9 +49,9 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_136//:serde", + "@wasmtime__serde__1_0_137//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.83.0.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.83.0.bazel index 7d5323562..cf962ea34 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.83.0.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -49,11 +49,11 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", + "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_8_0//:smallvec", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.83.0.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.83.0.bazel index 71ba717a5..32e081f73 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.83.0.bazel @@ -42,7 +42,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -51,17 +51,17 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", ] + selects.with_or({ # cfg(target_arch = "s390x") ( "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.83.0.bazel similarity index 79% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.83.0.bazel index 939b958dd..63b92cc17 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.82.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.83.0.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.82.2", + version = "0.83.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_82_2//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_83_0//:cranelift_frontend", "@wasmtime__itertools__0_10_3//:itertools", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_8_0//:smallvec", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_types__0_35_2//:wasmtime_types", + "@wasmtime__wasmtime_types__0_36_0//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel index 9dd434612..dddda905b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel @@ -57,7 +57,7 @@ rust_library( deps = [ "@wasmtime__atty__0_2_14//:atty", "@wasmtime__humantime__2_1_0//:humantime", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__log__0_4_17//:log", "@wasmtime__regex__1_5_5//:regex", "@wasmtime__termcolor__1_1_3//:termcolor", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel index 4543020b2..95685a4b2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel @@ -73,7 +73,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:wasm32-wasi", ): [ - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel index 3f14bcdae..ba82b8b9d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel @@ -81,6 +81,6 @@ rust_library( # buildifier: leave-alone deps = [ ":errno_dragonfly_build_script", - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel index b8563f269..1c5a6c4ae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel @@ -84,7 +84,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel index aa6f7e667..6d39e6e45 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel @@ -51,6 +51,6 @@ rust_library( version = "0.1.19", # buildifier: leave-alone deps = [ - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel index 0603fefbd..5cb538bda 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel @@ -92,7 +92,7 @@ rust_library( deps = [ ":indexmap_build_script", "@wasmtime__hashbrown__0_11_2//:hashbrown", - "@wasmtime__serde__1_0_136//:serde", + "@wasmtime__serde__1_0_137//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.122.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.125.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.libc-0.2.122.bazel rename to bazel/cargo/wasmtime/remote/BUILD.libc-0.2.125.bazel index 74c179895..3aac623b6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.122.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.125.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.122", + version = "0.2.125", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=libc", "manual", ], - version = "0.2.122", + version = "0.2.125", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.16.bazel b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.17.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.log-0.4.16.bazel rename to bazel/cargo/wasmtime/remote/BUILD.log-0.4.17.bazel index c4f20dc6d..ae8c3f762 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.16.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.17.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.4.16", + version = "0.4.17", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=log", "manual", ], - version = "0.4.16", + version = "0.4.17", # buildifier: leave-alone deps = [ ":log_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index cfb337a53..4d94e8232 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -64,7 +64,7 @@ rust_library( "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:x86_64-apple-ios", ): [ - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.4.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.5.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.memchr-2.4.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.memchr-2.5.0.bazel index eeecd0e64..383e0b4e1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.4.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.5.0.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "2.4.1", + version = "2.5.0", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=memchr", "manual", ], - version = "2.4.1", + version = "2.5.0", # buildifier: leave-alone deps = [ ":memchr_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.4.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.4.4.bazel deleted file mode 100644 index 734d45524..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.4.4.bazel +++ /dev/null @@ -1,86 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR (Zlib OR Apache-2.0)" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "miniz_oxide_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.4.4", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__autocfg__1_1_0//:autocfg", - ], -) - -rust_library( - name = "miniz_oxide", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=miniz_oxide", - "manual", - ], - version = "0.4.4", - # buildifier: leave-alone - deps = [ - ":miniz_oxide_build_script", - "@wasmtime__adler__1_0_2//:adler", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.1.bazel new file mode 100644 index 000000000..59257ccba --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.1.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR (Zlib OR Apache-2.0)" +]) + +# Generated Targets + +rust_library( + name = "miniz_oxide", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=miniz_oxide", + "manual", + ], + version = "0.5.1", + # buildifier: leave-alone + deps = [ + "@wasmtime__adler__1_0_2//:adler", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel index 767ffa3ae..b6a7e2fd0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel @@ -35,7 +35,6 @@ rust_library( name = "object", srcs = glob(["**/*.rs"]), crate_features = [ - "archive", "coff", "crc32fast", "elf", @@ -44,7 +43,6 @@ rust_library( "pe", "read_core", "std", - "unaligned", "write", "write_core", ], @@ -64,7 +62,7 @@ rust_library( deps = [ "@wasmtime__crc32fast__1_3_2//:crc32fast", "@wasmtime__indexmap__1_8_1//:indexmap", - "@wasmtime__memchr__2_4_1//:memchr", + "@wasmtime__memchr__2_5_0//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.28.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.28.3.bazel new file mode 100644 index 000000000..bee587e54 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.28.3.bazel @@ -0,0 +1,66 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated Targets + +rust_library( + name = "object", + srcs = glob(["**/*.rs"]), + crate_features = [ + "archive", + "coff", + "elf", + "macho", + "pe", + "read_core", + "unaligned", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=object", + "manual", + ], + version = "0.28.3", + # buildifier: leave-alone + deps = [ + "@wasmtime__memchr__2_5_0//:memchr", + ], +) + +# Unsupported target "integration" with type "test" omitted + +# Unsupported target "parse_self" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel index 54a9631ec..8cef12c89 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel @@ -84,7 +84,7 @@ rust_library( # buildifier: leave-alone deps = [ ":proc_macro2_build_script", - "@wasmtime__unicode_xid__0_2_2//:unicode_xid", + "@wasmtime__unicode_xid__0_2_3//:unicode_xid", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.18.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.quote-1.0.17.bazel rename to bazel/cargo/wasmtime/remote/BUILD.quote-1.0.18.bazel index ec4eb82d1..aa26b5c2b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.17.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.18.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=quote", "manual", ], - version = "1.0.17", + version = "1.0.18", # buildifier: leave-alone deps = [ "@wasmtime__proc_macro2__1_0_37//:proc_macro2", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index fa8ebbe9f..6a8372b6e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -81,7 +81,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel index 8b110fdb7..0007832d4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel @@ -51,7 +51,7 @@ rust_library( version = "0.0.34", # buildifier: leave-alone deps = [ - "@wasmtime__log__0_4_16//:log", + "@wasmtime__log__0_4_17//:log", "@wasmtime__rustc_hash__1_1_0//:rustc_hash", "@wasmtime__smallvec__1_8_0//:smallvec", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.5.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.5.5.bazel index 0d24833b0..431260735 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.5.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.5.5.bazel @@ -71,7 +71,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__aho_corasick__0_7_18//:aho_corasick", - "@wasmtime__memchr__2_4_1//:memchr", + "@wasmtime__memchr__2_5_0//:memchr", "@wasmtime__regex_syntax__0_6_25//:regex_syntax", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel index 9c1971443..2fbd87aba 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel @@ -53,7 +53,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ] + selects.with_or({ # cfg(any(target_os = "macos", target_os = "ios")) ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel similarity index 80% rename from bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel index 8f27532a0..d6204a391 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel @@ -58,12 +58,12 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.33.5", + version = "0.33.7", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", ] + selects.with_or({ - # cfg(all(not(rustix_use_libc), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))) + # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))) ( "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -74,7 +74,15 @@ cargo_build_script( ], "//conditions:default": [], }) + selects.with_or({ - # cfg(any(rustix_use_libc, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + # cfg(all(windows, not(target_vendor = "uwp"))) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) ( "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-pc-windows-msvc", @@ -140,14 +148,14 @@ rust_library( "crate-name=rustix", "manual", ], - version = "0.33.5", + version = "0.33.7", # buildifier: leave-alone deps = [ ":rustix_build_script", "@wasmtime__bitflags__1_3_2//:bitflags", "@wasmtime__io_lifetimes__0_5_3//:io_lifetimes", ] + selects.with_or({ - # cfg(all(not(rustix_use_libc), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))) + # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))) ( "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -158,7 +166,7 @@ rust_library( ], "//conditions:default": [], }) + selects.with_or({ - # cfg(any(rustix_use_libc, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) ( "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-pc-windows-msvc", @@ -178,7 +186,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ "@wasmtime__errno__0_2_8//:errno", - "@wasmtime__libc__0_2_122//:libc", + "@wasmtime__libc__0_2_125//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.136.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.137.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.serde-1.0.136.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde-1.0.137.bazel index 311d8f4c9..0af188e4e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.136.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.137.bazel @@ -58,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.136", + version = "1.0.137", visibility = ["//visibility:private"], deps = [ ], @@ -77,7 +77,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@wasmtime__serde_derive__1_0_136//:serde_derive", + "@wasmtime__serde_derive__1_0_137//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -87,7 +87,7 @@ rust_library( "crate-name=serde", "manual", ], - version = "1.0.136", + version = "1.0.137", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.136.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.137.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.136.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.137.bazel index cc27a93d9..88bdabfb8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.136.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.137.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.136", + version = "1.0.137", visibility = ["//visibility:private"], deps = [ ], @@ -78,12 +78,12 @@ rust_proc_macro( "crate-name=serde_derive", "manual", ], - version = "1.0.136", + version = "1.0.137", # buildifier: leave-alone deps = [ ":serde_derive_build_script", "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_17//:quote", - "@wasmtime__syn__1_0_91//:syn", + "@wasmtime__quote__1_0_18//:quote", + "@wasmtime__syn__1_0_92//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.91.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.92.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.syn-1.0.91.bazel rename to bazel/cargo/wasmtime/remote/BUILD.syn-1.0.92.bazel index 56c48d97b..af36eb37e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.91.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.92.bazel @@ -61,7 +61,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.91", + version = "1.0.92", visibility = ["//visibility:private"], deps = [ ], @@ -94,13 +94,13 @@ rust_library( "crate-name=syn", "manual", ], - version = "1.0.91", + version = "1.0.92", # buildifier: leave-alone deps = [ ":syn_build_script", "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_17//:quote", - "@wasmtime__unicode_xid__0_2_2//:unicode_xid", + "@wasmtime__quote__1_0_18//:quote", + "@wasmtime__unicode_xid__0_2_3//:unicode_xid", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.30.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.31.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.30.bazel rename to bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.31.bazel index d6c042ae0..7730827d6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.30.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.31.bazel @@ -40,7 +40,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@wasmtime__thiserror_impl__1_0_30//:thiserror_impl", + "@wasmtime__thiserror_impl__1_0_31//:thiserror_impl", ], rustc_flags = [ "--cap-lints=allow", @@ -50,7 +50,7 @@ rust_library( "crate-name=thiserror", "manual", ], - version = "1.0.30", + version = "1.0.31", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.30.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.30.bazel rename to bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel index 2361253e2..b5f3f74bd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.30.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel @@ -47,11 +47,11 @@ rust_proc_macro( "crate-name=thiserror-impl", "manual", ], - version = "1.0.30", + version = "1.0.31", # buildifier: leave-alone deps = [ "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_17//:quote", - "@wasmtime__syn__1_0_91//:syn", + "@wasmtime__quote__1_0_18//:quote", + "@wasmtime__syn__1_0_92//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.3.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.3.bazel index 4f3bb923c..92b0eaade 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.3.bazel @@ -50,7 +50,7 @@ rust_library( "crate-name=unicode-xid", "manual", ], - version = "0.2.2", + version = "0.2.3", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.36.0.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.36.0.bazel index 85ec89023..7154d9e2a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.35.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.36.0.bazel @@ -43,12 +43,14 @@ cargo_build_script( build_script_env = { }, crate_features = [ + "backtrace", "cranelift", + "wasm-backtrace", "wasmtime-cranelift", ], crate_root = "build.rs", data = glob(["**"]), - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -56,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.35.2", + version = "0.36.0", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -76,12 +78,14 @@ rust_library( aliases = { }, crate_features = [ + "backtrace", "cranelift", + "wasm-backtrace", "wasmtime-cranelift", ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", proc_macro_deps = [ "@wasmtime__paste__1_0_7//:paste", ], @@ -93,29 +97,29 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "0.35.2", + version = "0.36.0", # buildifier: leave-alone deps = [ ":wasmtime_build_script", - "@wasmtime__anyhow__1_0_56//:anyhow", - "@wasmtime__backtrace__0_3_64//:backtrace", + "@wasmtime__anyhow__1_0_57//:anyhow", + "@wasmtime__backtrace__0_3_65//:backtrace", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__indexmap__1_8_1//:indexmap", "@wasmtime__lazy_static__1_4_0//:lazy_static", - "@wasmtime__libc__0_2_122//:libc", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_27_1//:object", "@wasmtime__once_cell__1_10_0//:once_cell", "@wasmtime__psm__0_1_18//:psm", "@wasmtime__region__2_2_0//:region", - "@wasmtime__serde__1_0_136//:serde", + "@wasmtime__serde__1_0_137//:serde", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__0_35_2//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", - "@wasmtime__wasmtime_jit__0_35_2//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__0_35_2//:wasmtime_runtime", + "@wasmtime__wasmtime_cranelift__0_36_0//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", + "@wasmtime__wasmtime_jit__0_36_0//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__0_36_0//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel index 9b5450c41..86aac72db 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel @@ -38,7 +38,7 @@ rust_proc_macro( ], crate_root = "crates/c-api/macros/src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -51,6 +51,6 @@ rust_proc_macro( # buildifier: leave-alone deps = [ "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_17//:quote", + "@wasmtime__quote__1_0_18//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.36.0.bazel similarity index 69% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.36.0.bazel index e47bd1c5d..42bb963b5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.35.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.36.0.bazel @@ -38,7 +38,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -47,22 +47,22 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "0.35.2", + version = "0.36.0", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_56//:anyhow", - "@wasmtime__cranelift_codegen__0_82_2//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_82_2//:cranelift_frontend", - "@wasmtime__cranelift_native__0_82_2//:cranelift_native", - "@wasmtime__cranelift_wasm__0_82_2//:cranelift_wasm", + "@wasmtime__anyhow__1_0_57//:anyhow", + "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_83_0//:cranelift_frontend", + "@wasmtime__cranelift_native__0_83_0//:cranelift_native", + "@wasmtime__cranelift_wasm__0_83_0//:cranelift_wasm", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__log__0_4_17//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__object__0_27_1//:object", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", - "@wasmtime__thiserror__1_0_30//:thiserror", + "@wasmtime__thiserror__1_0_31//:thiserror", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", + "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.36.0.bazel similarity index 79% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.36.0.bazel index d16edc805..8a28da88b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.35.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.36.0.bazel @@ -38,7 +38,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -47,20 +47,20 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "0.35.2", + version = "0.36.0", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_56//:anyhow", - "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", + "@wasmtime__anyhow__1_0_57//:anyhow", + "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", "@wasmtime__gimli__0_26_1//:gimli", "@wasmtime__indexmap__1_8_1//:indexmap", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__log__0_4_17//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__object__0_27_1//:object", - "@wasmtime__serde__1_0_136//:serde", + "@wasmtime__serde__1_0_137//:serde", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", - "@wasmtime__thiserror__1_0_30//:thiserror", + "@wasmtime__thiserror__1_0_31//:thiserror", "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_types__0_35_2//:wasmtime_types", + "@wasmtime__wasmtime_types__0_36_0//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.36.0.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.36.0.bazel index 44da5368c..46736df69 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.35.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.36.0.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -49,24 +49,24 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "0.35.2", + version = "0.36.0", # buildifier: leave-alone deps = [ "@wasmtime__addr2line__0_17_0//:addr2line", - "@wasmtime__anyhow__1_0_56//:anyhow", + "@wasmtime__anyhow__1_0_57//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_27_1//:object", "@wasmtime__region__2_2_0//:region", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", - "@wasmtime__serde__1_0_136//:serde", + "@wasmtime__serde__1_0_137//:serde", "@wasmtime__target_lexicon__0_12_3//:target_lexicon", - "@wasmtime__thiserror__1_0_30//:thiserror", - "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__0_35_2//:wasmtime_runtime", + "@wasmtime__thiserror__1_0_31//:thiserror", + "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", + "@wasmtime__wasmtime_runtime__0_36_0//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "linux") ( @@ -77,7 +77,7 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__rustix__0_33_5//:rustix", + "@wasmtime__rustix__0_33_7//:rustix", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.36.0.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.36.0.bazel index 6424a9510..3533af15e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.35.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.36.0.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "0.35.2", + version = "0.36.0", # buildifier: leave-alone deps = [ "@wasmtime__lazy_static__1_4_0//:lazy_static", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.36.0.bazel similarity index 90% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.36.0.bazel index 3e21db095..e91c2b127 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.35.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.36.0.bazel @@ -43,11 +43,12 @@ cargo_build_script( build_script_env = { }, crate_features = [ - "default", + "backtrace", + "wasm-backtrace", ], crate_root = "build.rs", data = glob(["**"]), - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -55,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.35.2", + version = "0.36.0", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -107,11 +108,12 @@ rust_library( aliases = { }, crate_features = [ - "default", + "backtrace", + "wasm-backtrace", ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -120,23 +122,23 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "0.35.2", + version = "0.36.0", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", - "@wasmtime__anyhow__1_0_56//:anyhow", - "@wasmtime__backtrace__0_3_64//:backtrace", + "@wasmtime__anyhow__1_0_57//:anyhow", + "@wasmtime__backtrace__0_3_65//:backtrace", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__indexmap__1_8_1//:indexmap", - "@wasmtime__libc__0_2_122//:libc", - "@wasmtime__log__0_4_16//:log", + "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__log__0_4_17//:log", "@wasmtime__memoffset__0_6_5//:memoffset", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__rand__0_8_5//:rand", "@wasmtime__region__2_2_0//:region", - "@wasmtime__thiserror__1_0_30//:thiserror", - "@wasmtime__wasmtime_environ__0_35_2//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__0_35_2//:wasmtime_jit_debug", + "@wasmtime__thiserror__1_0_31//:thiserror", + "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__0_36_0//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -176,7 +178,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_33_5//:rustix", + "@wasmtime__rustix__0_33_7//:rustix", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.36.0.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.36.0.bazel index bf5e260a0..8bb566916 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.35.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.36.0.bazel @@ -38,7 +38,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -47,12 +47,12 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "0.35.2", + version = "0.36.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_82_2//:cranelift_entity", - "@wasmtime__serde__1_0_136//:serde", - "@wasmtime__thiserror__1_0_30//:thiserror", + "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", + "@wasmtime__serde__1_0_137//:serde", + "@wasmtime__thiserror__1_0_31//:thiserror", "@wasmtime__wasmparser__0_83_0//:wasmparser", ], ) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 03a462ea5..8b9751af3 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -201,9 +201,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "9dcb51313f9d6a67169f70759411cddf511000b0372e57532e638441100aac9c", - strip_prefix = "wasmtime-0.35.2", - url = "https://github.com/bytecodealliance/wasmtime/archive/v0.35.2.tar.gz", + sha256 = "6e10746bd5141eebb1ba235b91cc042b743d7240f636be163a2c01bc0444ba68", + strip_prefix = "wasmtime-0.36.0", + url = "https://github.com/bytecodealliance/wasmtime/archive/v0.36.0.tar.gz", ) maybe( From 0b75c21e0d629ec3df8e782b83d98e12b31fc5b6 Mon Sep 17 00:00:00 2001 From: Yi-Ying He Date: Wed, 15 Jun 2022 06:51:49 +0800 Subject: [PATCH 07/90] WasmEdge: update to 0.10.0. (#290) Signed-off-by: YiYing He --- bazel/repositories.bzl | 6 ++-- src/wasmedge/types.h | 2 ++ src/wasmedge/wasmedge.cc | 78 +++++++++++++++++++++------------------- 3 files changed, 46 insertions(+), 40 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 8b9751af3..0fc2da6ea 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -185,9 +185,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_wasmedge_wasmedge", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmedge.BUILD", - sha256 = "6724955a967a1457bcf5dc1787a8da95feaba45d3b498ae42768ebf48f587299", - strip_prefix = "WasmEdge-proxy-wasm-0.9.1", - url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.9.1.tar.gz", + sha256 = "4cff44e8c805ed4364d326ff1dd40e3aeb21ba1a11388372386eea1ccc7f93dd", + strip_prefix = "WasmEdge-proxy-wasm-0.10.0", + url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.10.0.tar.gz", ) native.bind( diff --git a/src/wasmedge/types.h b/src/wasmedge/types.h index e51dede17..b6cd21952 100644 --- a/src/wasmedge/types.h +++ b/src/wasmedge/types.h @@ -23,5 +23,7 @@ using WasmEdgeLoaderPtr = common::CSmartPtr; using WasmEdgeExecutorPtr = common::CSmartPtr; using WasmEdgeASTModulePtr = common::CSmartPtr; +using WasmEdgeModulePtr = + common::CSmartPtr; } // namespace proxy_wasm::WasmEdge diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc index 7d3a4e408..0a0a10d45 100644 --- a/src/wasmedge/wasmedge.cc +++ b/src/wasmedge/wasmedge.cc @@ -212,11 +212,11 @@ using HostFuncDataPtr = std::unique_ptr; struct HostModuleData { HostModuleData(const std::string_view modname) { - cxt_ = WasmEdge_ImportObjectCreate(WasmEdge_StringWrap(modname.data(), modname.length())); + cxt_ = WasmEdge_ModuleInstanceCreate(WasmEdge_StringWrap(modname.data(), modname.length())); } - ~HostModuleData() { WasmEdge_ImportObjectDelete(cxt_); } + ~HostModuleData() { WasmEdge_ModuleInstanceDelete(cxt_); } - WasmEdge_ImportObjectContext *cxt_; + WasmEdge_ModuleInstanceContext *cxt_; }; using HostModuleDataPtr = std::unique_ptr; @@ -228,6 +228,7 @@ class WasmEdge : public WasmVm { validator_ = WasmEdge_ValidatorCreate(nullptr); executor_ = WasmEdge_ExecutorCreate(nullptr, nullptr); store_ = nullptr; + ast_module_ = nullptr; module_ = nullptr; memory_ = nullptr; } @@ -285,11 +286,12 @@ class WasmEdge : public WasmVm { WasmEdgeValidatorPtr validator_; WasmEdgeExecutorPtr executor_; WasmEdgeStorePtr store_; - WasmEdgeASTModulePtr module_; + WasmEdgeASTModulePtr ast_module_; + WasmEdgeModulePtr module_; WasmEdge_MemoryInstanceContext *memory_; std::unordered_map host_functions_; - std::unordered_map import_objects_; + std::unordered_map host_modules_; std::unordered_set module_functions_; }; @@ -303,22 +305,25 @@ bool WasmEdge::load(std::string_view bytecode, std::string_view /*precompiled*/, } res = WasmEdge_ValidatorValidate(validator_.get(), mod); if (!WasmEdge_ResultOK(res)) { + WasmEdge_ASTModuleDelete(mod); return false; } - module_ = mod; + ast_module_ = mod; return true; } bool WasmEdge::link(std::string_view /*debug_name*/) { - assert(module_ != nullptr); + assert(ast_module_ != nullptr); // Create store and register imports. - store_ = WasmEdge_StoreCreate(); + if (store_ == nullptr) { + store_ = WasmEdge_StoreCreate(); + } if (store_ == nullptr) { return false; } WasmEdge_Result res; - for (auto &&it : import_objects_) { + for (auto &&it : host_modules_) { res = WasmEdge_ExecutorRegisterImport(executor_.get(), store_.get(), it.second->cxt_); if (!WasmEdge_ResultOK(res)) { fail(FailState::UnableToInitializeCode, @@ -327,30 +332,33 @@ bool WasmEdge::link(std::string_view /*debug_name*/) { } } // Instantiate module. - res = WasmEdge_ExecutorInstantiate(executor_.get(), store_.get(), module_.get()); + WasmEdge_ModuleInstanceContext *mod = nullptr; + res = WasmEdge_ExecutorInstantiate(executor_.get(), &mod, store_.get(), ast_module_.get()); if (!WasmEdge_ResultOK(res)) { fail(FailState::UnableToInitializeCode, std::string("Failed to link Wasm module: ") + std::string(WasmEdge_ResultGetMessage(res))); return false; } // Get the function and memory exports. - uint32_t memory_num = WasmEdge_StoreListMemoryLength(store_.get()); + uint32_t memory_num = WasmEdge_ModuleInstanceListMemoryLength(mod); if (memory_num > 0) { WasmEdge_String name; - WasmEdge_StoreListMemory(store_.get(), &name, 1); - memory_ = WasmEdge_StoreFindMemory(store_.get(), name); + WasmEdge_ModuleInstanceListMemory(mod, &name, 1); + memory_ = WasmEdge_ModuleInstanceFindMemory(mod, name); if (memory_ == nullptr) { + WasmEdge_ModuleInstanceDelete(mod); return false; } } - uint32_t func_num = WasmEdge_StoreListFunctionLength(store_.get()); + uint32_t func_num = WasmEdge_ModuleInstanceListFunctionLength(mod); if (func_num > 0) { std::vector names(func_num); - WasmEdge_StoreListFunction(store_.get(), &names[0], func_num); + WasmEdge_ModuleInstanceListFunction(mod, &names[0], func_num); for (auto i = 0; i < func_num; i++) { module_functions_.insert(std::string(names[i].Buf, names[i].Length)); } } + module_ = mod; return true; } @@ -398,10 +406,10 @@ bool WasmEdge::setWord(uint64_t pointer, Word word) { template void WasmEdge::registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, void (*function)(Args...)) { - auto it = import_objects_.find(std::string(module_name)); - if (it == import_objects_.end()) { - import_objects_.emplace(module_name, std::make_unique(module_name)); - it = import_objects_.find(std::string(module_name)); + auto it = host_modules_.find(std::string(module_name)); + if (it == host_modules_.end()) { + host_modules_.emplace(module_name, std::make_unique(module_name)); + it = host_modules_.find(std::string(module_name)); } auto data = std::make_unique(module_name, function_name); @@ -435,7 +443,7 @@ void WasmEdge::registerHostFunctionImpl(std::string_view module_name, return; } - WasmEdge_ImportObjectAddFunction( + WasmEdge_ModuleInstanceAddFunction( it->second->cxt_, WasmEdge_StringWrap(function_name.data(), function_name.length()), hostfunc_cxt); host_functions_.insert_or_assign(std::string(module_name) + "." + std::string(function_name), @@ -445,10 +453,10 @@ void WasmEdge::registerHostFunctionImpl(std::string_view module_name, template void WasmEdge::registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, R (*function)(Args...)) { - auto it = import_objects_.find(std::string(module_name)); - if (it == import_objects_.end()) { - import_objects_.emplace(module_name, std::make_unique(module_name)); - it = import_objects_.find(std::string(module_name)); + auto it = host_modules_.find(std::string(module_name)); + if (it == host_modules_.end()) { + host_modules_.emplace(module_name, std::make_unique(module_name)); + it = host_modules_.find(std::string(module_name)); } auto data = std::make_unique(module_name, function_name); @@ -482,7 +490,7 @@ void WasmEdge::registerHostFunctionImpl(std::string_view module_name, return; } - WasmEdge_ImportObjectAddFunction( + WasmEdge_ModuleInstanceAddFunction( it->second->cxt_, WasmEdge_StringWrap(function_name.data(), function_name.length()), hostfunc_cxt); host_functions_.insert_or_assign(std::string(module_name) + "." + std::string(function_name), @@ -492,8 +500,8 @@ void WasmEdge::registerHostFunctionImpl(std::string_view module_name, template void WasmEdge::getModuleFunctionImpl(std::string_view function_name, std::function *function) { - auto *func_cxt = WasmEdge_StoreFindFunction( - store_.get(), WasmEdge_StringWrap(function_name.data(), function_name.length())); + auto *func_cxt = WasmEdge_ModuleInstanceFindFunction( + module_.get(), WasmEdge_StringWrap(function_name.data(), function_name.length())); if (!func_cxt) { *function = nullptr; return; @@ -521,7 +529,7 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, return; } - *function = [function_name, this](ContextBase *context, Args... args) -> void { + *function = [function_name, func_cxt, this](ContextBase *context, Args... args) -> void { WasmEdge_Value params[] = {makeVal(args)...}; const bool log = cmpLogLevel(LogLevel::trace); if (log) { @@ -530,9 +538,7 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, } SaveRestoreContext saved_context(context); WasmEdge_Result res = - WasmEdge_ExecutorInvoke(executor_.get(), store_.get(), - WasmEdge_StringWrap(function_name.data(), function_name.length()), - params, sizeof...(Args), nullptr, 0); + WasmEdge_ExecutorInvoke(executor_.get(), func_cxt, params, sizeof...(Args), nullptr, 0); if (!WasmEdge_ResultOK(res)) { fail(FailState::RuntimeError, "Function: " + std::string(function_name) + " failed:\n" + WasmEdge_ResultGetMessage(res)); @@ -547,8 +553,8 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, template void WasmEdge::getModuleFunctionImpl(std::string_view function_name, std::function *function) { - auto *func_cxt = WasmEdge_StoreFindFunction( - store_.get(), WasmEdge_StringWrap(function_name.data(), function_name.length())); + auto *func_cxt = WasmEdge_ModuleInstanceFindFunction( + module_.get(), WasmEdge_StringWrap(function_name.data(), function_name.length())); if (!func_cxt) { *function = nullptr; return; @@ -576,7 +582,7 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, return; } - *function = [function_name, this](ContextBase *context, Args... args) -> R { + *function = [function_name, func_cxt, this](ContextBase *context, Args... args) -> R { WasmEdge_Value params[] = {makeVal(args)...}; WasmEdge_Value results[1]; const bool log = cmpLogLevel(LogLevel::trace); @@ -586,9 +592,7 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, } SaveRestoreContext saved_context(context); WasmEdge_Result res = - WasmEdge_ExecutorInvoke(executor_.get(), store_.get(), - WasmEdge_StringWrap(function_name.data(), function_name.length()), - params, sizeof...(Args), results, 1); + WasmEdge_ExecutorInvoke(executor_.get(), func_cxt, params, sizeof...(Args), results, 1); if (!WasmEdge_ResultOK(res)) { fail(FailState::RuntimeError, "Function: " + std::string(function_name) + " failed:\n" + WasmEdge_ResultGetMessage(res)); From 73fe589869a0effb0b6e2ed5d018ce8d7768a265 Mon Sep 17 00:00:00 2001 From: chaoqin-li1123 <55518381+chaoqin-li1123@users.noreply.github.com> Date: Wed, 15 Jun 2022 14:34:39 -0400 Subject: [PATCH 08/90] Export emscripten_notify_memory_growth(). (#288) Signed-off-by: chaoqin-li1123 --- include/proxy-wasm/exports.h | 1 + src/exports.cc | 2 ++ src/wasm.cc | 1 + 3 files changed, 4 insertions(+) diff --git a/include/proxy-wasm/exports.h b/include/proxy-wasm/exports.h index 2b3d0db74..325d28ff3 100644 --- a/include/proxy-wasm/exports.h +++ b/include/proxy-wasm/exports.h @@ -177,6 +177,7 @@ void wasi_unstable_proc_exit(Word); Word wasi_unstable_clock_time_get(Word, uint64_t, Word); Word wasi_unstable_random_get(Word, Word); Word pthread_equal(Word left, Word right); +void emscripten_notify_memory_growth(Word); // Support for embedders, not exported to Wasm. diff --git a/src/exports.cc b/src/exports.cc index 01aeb9623..bdefddeb6 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -908,6 +908,8 @@ void wasi_unstable_proc_exit(Word /*exit_code*/) { Word pthread_equal(Word left, Word right) { return static_cast(left == right); } +void emscripten_notify_memory_growth(Word /*memory_index*/) {} + Word set_tick_period_milliseconds(Word period_milliseconds) { TimerToken token = 0; return contextOrEffectiveContext()->setTimerPeriod(std::chrono::milliseconds(period_milliseconds), diff --git a/src/wasm.cc b/src/wasm.cc index 3c0473e87..2295e9880 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -89,6 +89,7 @@ void WasmBase::registerCallbacks() { &ConvertFunctionWordToUint32::convertFunctionWordToUint32) _REGISTER(pthread_equal); + _REGISTER(emscripten_notify_memory_growth); #undef _REGISTER // Register the capability with the VM if it has been allowed, otherwise register a stub. From 0746300de0c645f6a87a5fc51954c6fdb86bb7e6 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Tue, 12 Jul 2022 02:40:59 -0500 Subject: [PATCH 09/90] wasmtime: update to v0.38.1. (#292) Signed-off-by: Piotr Sikora --- bazel/cargo/wasmtime/BUILD.bazel | 8 +- bazel/cargo/wasmtime/Cargo.raze.lock | 253 +++++---- bazel/cargo/wasmtime/Cargo.toml | 15 +- bazel/cargo/wasmtime/cranelift-isle.patch | 9 + bazel/cargo/wasmtime/crates.bzl | 488 ++++++++++-------- .../wasmtime/remote/BUILD.ahash-0.7.6.bazel | 201 ++++++++ ...1.0.57.bazel => BUILD.anyhow-1.0.58.bazel} | 4 +- .../wasmtime/remote/BUILD.atty-0.2.14.bazel | 2 +- ....65.bazel => BUILD.backtrace-0.3.66.bazel} | 10 +- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 2 +- .../remote/BUILD.byteorder-1.4.3.bazel | 58 +++ ...l => BUILD.cranelift-bforest-0.85.1.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.85.1.bazel} | 19 +- ...BUILD.cranelift-codegen-meta-0.85.1.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.85.1.bazel} | 2 +- ...el => BUILD.cranelift-entity-0.85.1.bazel} | 4 +- ... => BUILD.cranelift-frontend-0.85.1.bazel} | 8 +- .../remote/BUILD.cranelift-isle-0.85.1.bazel | 88 ++++ ...el => BUILD.cranelift-native-0.85.1.bazel} | 8 +- ...azel => BUILD.cranelift-wasm-0.85.1.bazel} | 14 +- .../remote/BUILD.crc32fast-1.3.2.bazel | 2 - ...r-1.6.1.bazel => BUILD.either-1.7.0.bazel} | 4 +- ...8.4.bazel => BUILD.env_logger-0.9.0.bazel} | 4 +- .../wasmtime/remote/BUILD.errno-0.2.8.bazel | 2 +- .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 2 +- .../wasmtime/remote/BUILD.fxhash-0.2.1.bazel | 57 ++ ....2.6.bazel => BUILD.getrandom-0.2.7.bazel} | 6 +- .../wasmtime/remote/BUILD.gimli-0.26.1.bazel | 2 +- .../remote/BUILD.hashbrown-0.11.2.bazel | 3 +- ....18.bazel => BUILD.hashbrown-0.12.2.bazel} | 24 +- .../remote/BUILD.hermit-abi-0.1.19.bazel | 2 +- ...1.8.1.bazel => BUILD.indexmap-1.9.1.bazel} | 12 +- .../remote/BUILD.itertools-0.10.3.bazel | 2 +- ...0.2.125.bazel => BUILD.libc-0.2.126.bazel} | 4 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 2 +- ....1.bazel => BUILD.miniz_oxide-0.5.3.bazel} | 2 +- ...0.27.1.bazel => BUILD.object-0.28.4.bazel} | 7 +- ...0.28.3.bazel => BUILD.object-0.29.0.bazel} | 2 +- ...0.0.bazel => BUILD.once_cell-1.13.0.bazel} | 2 +- ...7.bazel => BUILD.proc-macro2-1.0.40.bazel} | 6 +- ...sm-0.1.18.bazel => BUILD.psm-0.1.19.bazel} | 4 +- .../wasmtime/remote/BUILD.quote-1.0.20.bazel | 93 ++++ .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 2 +- .../remote/BUILD.rand_core-0.6.3.bazel | 2 +- ...0.34.bazel => BUILD.regalloc2-0.2.3.bazel} | 12 +- ...ex-1.5.5.bazel => BUILD.regex-1.6.0.bazel} | 4 +- ....bazel => BUILD.regex-syntax-0.6.27.bazel} | 2 +- .../wasmtime/remote/BUILD.region-2.2.0.bazel | 2 +- .../wasmtime/remote/BUILD.rustix-0.33.7.bazel | 2 +- ....0.137.bazel => BUILD.serde-1.0.139.bazel} | 6 +- ...bazel => BUILD.serde_derive-1.0.139.bazel} | 10 +- ...bazel => BUILD.slice-group-by-0.3.0.bazel} | 10 +- ...1.8.0.bazel => BUILD.smallvec-1.9.0.bazel} | 2 +- ...yn-1.0.92.bazel => BUILD.syn-1.0.98.bazel} | 10 +- ...azel => BUILD.target-lexicon-0.12.4.bazel} | 4 +- .../remote/BUILD.thiserror-impl-1.0.31.bazel | 6 +- ....bazel => BUILD.unicode-ident-1.0.1.bazel} | 13 +- .../remote/BUILD.version_check-0.9.4.bazel | 54 ++ ....wasi-0.11.0+wasi-snapshot-preview1.bazel} | 2 +- ....0.bazel => BUILD.wasmparser-0.85.0.bazel} | 5 +- ...36.0.bazel => BUILD.wasmtime-0.38.1.bazel} | 36 +- .../BUILD.wasmtime-c-api-macros-0.19.0.bazel | 4 +- ... => BUILD.wasmtime-cranelift-0.38.1.bazel} | 22 +- ...el => BUILD.wasmtime-environ-0.38.1.bazel} | 18 +- ....bazel => BUILD.wasmtime-jit-0.38.1.bazel} | 14 +- ... => BUILD.wasmtime-jit-debug-0.38.1.bazel} | 2 +- ...el => BUILD.wasmtime-runtime-0.38.1.bazel} | 20 +- ...azel => BUILD.wasmtime-types-0.38.1.bazel} | 8 +- bazel/repositories.bzl | 6 +- 69 files changed, 1206 insertions(+), 517 deletions(-) create mode 100644 bazel/cargo/wasmtime/cranelift-isle.patch create mode 100644 bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel rename bazel/cargo/wasmtime/remote/{BUILD.anyhow-1.0.57.bazel => BUILD.anyhow-1.0.58.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.backtrace-0.3.65.bazel => BUILD.backtrace-0.3.66.bazel} (92%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.83.0.bazel => BUILD.cranelift-bforest-0.85.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.83.0.bazel => BUILD.cranelift-codegen-0.85.1.bazel} (79%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.83.0.bazel => BUILD.cranelift-codegen-meta-0.85.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.83.0.bazel => BUILD.cranelift-codegen-shared-0.85.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.83.0.bazel => BUILD.cranelift-entity-0.85.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.83.0.bazel => BUILD.cranelift-frontend-0.85.1.bazel} (85%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.85.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.83.0.bazel => BUILD.cranelift-native-0.85.1.bazel} (87%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.83.0.bazel => BUILD.cranelift-wasm-0.85.1.bazel} (76%) rename bazel/cargo/wasmtime/remote/{BUILD.either-1.6.1.bazel => BUILD.either-1.7.0.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.env_logger-0.8.4.bazel => BUILD.env_logger-0.9.0.bazel} (96%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.getrandom-0.2.6.bazel => BUILD.getrandom-0.2.7.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.quote-1.0.18.bazel => BUILD.hashbrown-0.12.2.bazel} (67%) rename bazel/cargo/wasmtime/remote/{BUILD.indexmap-1.8.1.bazel => BUILD.indexmap-1.9.1.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.libc-0.2.125.bazel => BUILD.libc-0.2.126.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.miniz_oxide-0.5.1.bazel => BUILD.miniz_oxide-0.5.3.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.object-0.27.1.bazel => BUILD.object-0.28.4.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.object-0.28.3.bazel => BUILD.object-0.29.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.once_cell-1.10.0.bazel => BUILD.once_cell-1.13.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.proc-macro2-1.0.37.bazel => BUILD.proc-macro2-1.0.40.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.psm-0.1.18.bazel => BUILD.psm-0.1.19.bazel} (97%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel rename bazel/cargo/wasmtime/remote/{BUILD.regalloc-0.0.34.bazel => BUILD.regalloc2-0.2.3.bazel} (80%) rename bazel/cargo/wasmtime/remote/{BUILD.regex-1.5.5.bazel => BUILD.regex-1.6.0.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.regex-syntax-0.6.25.bazel => BUILD.regex-syntax-0.6.27.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.serde-1.0.137.bazel => BUILD.serde-1.0.139.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.serde_derive-1.0.137.bazel => BUILD.serde_derive-1.0.139.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.rustc-hash-1.1.0.bazel => BUILD.slice-group-by-0.3.0.bazel} (84%) rename bazel/cargo/wasmtime/remote/{BUILD.smallvec-1.8.0.bazel => BUILD.smallvec-1.9.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.syn-1.0.92.bazel => BUILD.syn-1.0.98.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.target-lexicon-0.12.3.bazel => BUILD.target-lexicon-0.12.4.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.unicode-xid-0.2.3.bazel => BUILD.unicode-ident-1.0.1.bazel} (81%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel => BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmparser-0.83.0.bazel => BUILD.wasmparser-0.85.0.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-0.36.0.bazel => BUILD.wasmtime-0.38.1.bazel} (75%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-0.36.0.bazel => BUILD.wasmtime-cranelift-0.38.1.bazel} (67%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-0.36.0.bazel => BUILD.wasmtime-environ-0.38.1.bazel} (73%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-0.36.0.bazel => BUILD.wasmtime-jit-0.38.1.bazel} (87%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-0.36.0.bazel => BUILD.wasmtime-jit-debug-0.38.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-0.36.0.bazel => BUILD.wasmtime-runtime-0.38.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-0.36.0.bazel => BUILD.wasmtime-types-0.38.1.bazel} (85%) diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index 93e150a89..2f60511c9 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -14,7 +14,7 @@ licenses([ # Aliased targets alias( name = "anyhow", - actual = "@wasmtime__anyhow__1_0_57//:anyhow", + actual = "@wasmtime__anyhow__1_0_58//:anyhow", tags = [ "cargo-raze", "manual", @@ -23,7 +23,7 @@ alias( alias( name = "env_logger", - actual = "@wasmtime__env_logger__0_8_4//:env_logger", + actual = "@wasmtime__env_logger__0_9_0//:env_logger", tags = [ "cargo-raze", "manual", @@ -32,7 +32,7 @@ alias( alias( name = "once_cell", - actual = "@wasmtime__once_cell__1_10_0//:once_cell", + actual = "@wasmtime__once_cell__1_13_0//:once_cell", tags = [ "cargo-raze", "manual", @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__0_36_0//:wasmtime", + actual = "@wasmtime__wasmtime__0_38_1//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index 666dca2b5..8f2838985 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -15,6 +15,17 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "ahash" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +dependencies = [ + "getrandom", + "once_cell", + "version_check", +] + [[package]] name = "aho-corasick" version = "0.7.18" @@ -26,9 +37,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc" +checksum = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704" [[package]] name = "atty" @@ -49,16 +60,16 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.65" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61" +checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" dependencies = [ "addr2line", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.28.3", + "object 0.29.0", "rustc-demangle", ] @@ -77,6 +88,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "byteorder" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" + [[package]] name = "cc" version = "1.0.73" @@ -100,59 +117,60 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed44413e7e2fe3260d0ed73e6956ab188b69c10ee92b892e401e0f4f6808c68b" +checksum = "7901fbba05decc537080b07cb3f1cadf53be7b7602ca8255786288a8692ae29a" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b5d83f0f26bf213f971f45589d17e5b65e4861f9ed22392b0cbb6eaa5bd329c" +checksum = "37ba1b45d243a4a28e12d26cd5f2507da74e77c45927d40de8b6ffbf088b46b5" dependencies = [ "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", + "cranelift-isle", "gimli", "log", - "regalloc", + "regalloc2", "smallvec", "target-lexicon", ] [[package]] name = "cranelift-codegen-meta" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6800dc386177df6ecc5a32680607ed8ba1fa0d31a2a59c8c61fbf44826b8191d" +checksum = "54cc30032171bf230ce22b99c07c3a1de1221cb5375bd6dbe6dbe77d0eed743c" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c961f85070985ebc8fcdb81b838a5cf842294d1e6ed4852446161c7e246fd455" +checksum = "a23f2672426d2bb4c9c3ef53e023076cfc4d8922f0eeaebaf372c92fae8b5c69" [[package]] name = "cranelift-entity" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2347b2b8d1d5429213668f2a8e36c85ee3c73984a2f6a79007e365d3e575e7ed" +checksum = "886c59a5e0de1f06dbb7da80db149c75de10d5e2caca07cdd9fef8a5918a6336" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbcdbf7bed29e363568b778649b69dabc3d727256d5d25236096ef693757654" +checksum = "ace74eeca11c439a9d4ed1a5cb9df31a54cd0f7fbddf82c8ce4ea8e9ad2a8fe0" dependencies = [ "cranelift-codegen", "log", @@ -160,11 +178,17 @@ dependencies = [ "target-lexicon", ] +[[package]] +name = "cranelift-isle" +version = "0.85.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db1ae52a5cc2cad0d86fdd3dcb16b7217d2f1e65ab4f5814aa4f014ad335fa43" + [[package]] name = "cranelift-native" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4cdf93552e5ceb2e3c042829ebb4de4378492705f769eadc6a7c6c5251624c" +checksum = "dadcfb7852900780d37102bce5698bcd401736403f07b52e714ff7a180e0e22f" dependencies = [ "cranelift-codegen", "libc", @@ -173,9 +197,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.83.0" +version = "0.85.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b859d8cb1806f9ad0f59fdc25cbff576345abfad84c1aba483dd2f8e580e5c" +checksum = "c84e3410960389110b88f97776f39f6d2c8becdaa4cd59e390e6b76d9d0e7190" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -198,15 +222,15 @@ dependencies = [ [[package]] name = "either" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" [[package]] name = "env_logger" -version = "0.8.4" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" +checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" dependencies = [ "atty", "humantime", @@ -242,11 +266,20 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +dependencies = [ + "byteorder", +] + [[package]] name = "getrandom" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad" +checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" dependencies = [ "cfg-if", "libc", @@ -269,6 +302,15 @@ name = "hashbrown" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +dependencies = [ + "ahash", +] + +[[package]] +name = "hashbrown" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "607c8a29735385251a339424dd462993c0fed8fa09d378f259377df08c126022" [[package]] name = "hermit-abi" @@ -287,12 +329,12 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "indexmap" -version = "1.8.1" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee" +checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.2", "serde", ] @@ -319,9 +361,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.125" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b" +checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" [[package]] name = "linux-raw-sys" @@ -364,9 +406,9 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.5.1" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082" +checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" dependencies = [ "adler", ] @@ -379,29 +421,30 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "object" -version = "0.27.1" +version = "0.28.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9" +checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" dependencies = [ "crc32fast", + "hashbrown 0.11.2", "indexmap", "memchr", ] [[package]] name = "object" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40bec70ba014595f99f7aa110b84331ffe1ee9aece7fe6f387cc7e3ecda4d456" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ "memchr", ] [[package]] name = "once_cell" -version = "1.10.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" +checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" [[package]] name = "paste" @@ -417,27 +460,27 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "proc-macro2" -version = "1.0.37" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" +checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] name = "psm" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "871372391786ccec00d3c5d3d6608905b3d4db263639cfe075d3b60a736d115a" +checksum = "accd89aa18fbf9533a581355a22438101fe9c2ed8c9e2f0dcf520552a3afddf2" dependencies = [ "cc", ] [[package]] name = "quote" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1" +checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" dependencies = [ "proc-macro2", ] @@ -473,21 +516,22 @@ dependencies = [ ] [[package]] -name = "regalloc" -version = "0.0.34" +name = "regalloc2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02" +checksum = "4a8d23b35d7177df3b9d31ed8a9ab4bf625c668be77a319d4f5efd4a5257701c" dependencies = [ + "fxhash", "log", - "rustc-hash", + "slice-group-by", "smallvec", ] [[package]] name = "regex" -version = "1.5.5" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286" +checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" dependencies = [ "aho-corasick", "memchr", @@ -496,9 +540,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.6.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" [[package]] name = "region" @@ -518,12 +562,6 @@ version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - [[package]] name = "rustix" version = "0.33.7" @@ -540,29 +578,35 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.137" +version = "1.0.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1" +checksum = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.137" +version = "1.0.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be" +checksum = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb" dependencies = [ "proc-macro2", "quote", "syn", ] +[[package]] +name = "slice-group-by" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" + [[package]] name = "smallvec" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" +checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" [[package]] name = "stable_deref_trait" @@ -572,20 +616,20 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "1.0.92" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52" +checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", ] [[package]] name = "target-lexicon" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fa7e55043acb85fca6b3c01485a2eeb6b69c5d21002e273c79e465f43b7ac1" +checksum = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1" [[package]] name = "termcolor" @@ -617,28 +661,37 @@ dependencies = [ ] [[package]] -name = "unicode-xid" -version = "0.2.3" +name = "unicode-ident" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c" + +[[package]] +name = "version_check" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" +version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasmparser" -version = "0.83.0" +version = "0.85.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" +checksum = "570460c58b21e9150d2df0eaaedbb7816c34bcec009ae0dcc976e40ba81463e7" +dependencies = [ + "indexmap", +] [[package]] name = "wasmtime" -version = "0.36.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4beb256f8514dd3eb85b03bceb422abfff5f07bf564519cbe0abf80462120bc0" +checksum = "e76e2b2833bb0ece666ccdbed7b71b617d447da11f1bb61f4f2bab2648f745ee" dependencies = [ "anyhow", "backtrace", @@ -648,7 +701,7 @@ dependencies = [ "lazy_static", "libc", "log", - "object 0.27.1", + "object 0.28.4", "once_cell", "paste", "psm", @@ -665,7 +718,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-bazel" -version = "0.36.0" +version = "0.38.1" dependencies = [ "anyhow", "env_logger", @@ -677,7 +730,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.36.0#c0e58a1e1c22b53e0330829057da6125da89bef1" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.38.1#9e2adfb34531610d691f74dd3f559bc5b800eb02" dependencies = [ "proc-macro2", "quote", @@ -685,9 +738,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.36.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e8f126b9c55e9550391617049f468878cb9f4af75f33009be72f0c692e1d2ed" +checksum = "5dc0f80afa1ce97083a7168e6b6948d015d6237369e9f4a511d38c9c4ac8fbb9" dependencies = [ "anyhow", "cranelift-codegen", @@ -698,7 +751,7 @@ dependencies = [ "gimli", "log", "more-asserts", - "object 0.27.1", + "object 0.28.4", "target-lexicon", "thiserror", "wasmparser", @@ -707,9 +760,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.36.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343cfc7e7604b063ef0429e043a06e077a39bcb1ce3e731abe0414431f2610de" +checksum = "0816d9365196f1f447060087e0f87239ccded830bd54970a1168b0c9c8e824c9" dependencies = [ "anyhow", "cranelift-entity", @@ -717,7 +770,7 @@ dependencies = [ "indexmap", "log", "more-asserts", - "object 0.27.1", + "object 0.28.4", "serde", "target-lexicon", "thiserror", @@ -727,9 +780,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.36.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81f3a31bf04f02ec7497ddeda20e14b640b1e4d9e1c55c1ebdb268bf30800e2d" +checksum = "5c687f33cfa0f89ec1646929d0ff102087052cf9f0d15533de56526b0da0d1b3" dependencies = [ "addr2line", "anyhow", @@ -738,7 +791,7 @@ dependencies = [ "cpp_demangle", "gimli", "log", - "object 0.27.1", + "object 0.28.4", "region", "rustc-demangle", "rustix", @@ -752,18 +805,18 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "0.36.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e725c3a37e49bd95d2d350c9f1b6641ac6e75bc357204e857ac058d0c64b720" +checksum = "b252d1d025f94f3954ba2111f12f3a22826a0764a11c150c2d46623115a69e27" dependencies = [ "lazy_static", ] [[package]] name = "wasmtime-runtime" -version = "0.36.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ed30d50ffd763873f49df0c94efa20c17749f375518117d6677cc29b631a1fc" +checksum = "ace251693103c9facbbd7df87a29a75e68016e48bc83c09133f2fda6b575e0ab" dependencies = [ "anyhow", "backtrace", @@ -786,9 +839,9 @@ dependencies = [ [[package]] name = "wasmtime-types" -version = "0.36.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72080d5bdd54af03de7f5ca8b67dcd8ea36f4dfec75fc89a976ebc847ee1516e" +checksum = "d129b0487a95986692af8708ffde9c50b0568dcefd79200941d475713b4f40bb" dependencies = [ "cranelift-entity", "serde", diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 9bc63310c..94080d0ab 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,17 +1,17 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "0.36.0" +version = "0.38.1" [lib] path = "fake_lib.rs" [dependencies] -env_logger = "0.8" +env_logger = "0.9" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "0.36.0", default-features = false, features = ['cranelift', 'wasm-backtrace']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.36.0"} +wasmtime = {version = "0.38.1", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.38.1"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" @@ -20,6 +20,12 @@ genmode = "Remote" package_aliases_dir = "." workspace_path = "//bazel/cargo/wasmtime" +[package.metadata.raze.crates.cranelift-isle.'*'] +patches = [ + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", +] +patch_args = ["-p4"] + [package.metadata.raze.crates.rustix.'*'] additional_flags = [ "--cfg=feature=\\\"cc\\\"", @@ -27,4 +33,3 @@ additional_flags = [ buildrs_additional_deps = [ "@wasmtime__cc__1_0_73//:cc", ] - diff --git a/bazel/cargo/wasmtime/cranelift-isle.patch b/bazel/cargo/wasmtime/cranelift-isle.patch new file mode 100644 index 000000000..5fca1d9d0 --- /dev/null +++ b/bazel/cargo/wasmtime/cranelift-isle.patch @@ -0,0 +1,9 @@ +diff --git a/cranelift/isle/isle/src/lib.rs b/cranelift/isle/isle/src/lib.rs +index 1164dafc3..4a9ad01ad 100644 +--- a/cranelift/isle/isle/src/lib.rs ++++ b/cranelift/isle/isle/src/lib.rs +@@ -1,4 +1,3 @@ +-#![doc = include_str!("../README.md")] + #![deny(missing_docs)] + + use std::collections::hash_map::Entry; diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index f2d1c047a..13e205e57 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -31,6 +31,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.adler-1.0.2.bazel"), ) + maybe( + http_archive, + name = "wasmtime__ahash__0_7_6", + url = "https://crates.io/api/v1/crates/ahash/0.7.6/download", + type = "tar.gz", + sha256 = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47", + strip_prefix = "ahash-0.7.6", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ahash-0.7.6.bazel"), + ) + maybe( http_archive, name = "wasmtime__aho_corasick__0_7_18", @@ -43,12 +53,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__anyhow__1_0_57", - url = "https://crates.io/api/v1/crates/anyhow/1.0.57/download", + name = "wasmtime__anyhow__1_0_58", + url = "https://crates.io/api/v1/crates/anyhow/1.0.58/download", type = "tar.gz", - sha256 = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc", - strip_prefix = "anyhow-1.0.57", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.57.bazel"), + sha256 = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704", + strip_prefix = "anyhow-1.0.58", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.58.bazel"), ) maybe( @@ -73,12 +83,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__backtrace__0_3_65", - url = "https://crates.io/api/v1/crates/backtrace/0.3.65/download", + name = "wasmtime__backtrace__0_3_66", + url = "https://crates.io/api/v1/crates/backtrace/0.3.66/download", type = "tar.gz", - sha256 = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61", - strip_prefix = "backtrace-0.3.65", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.backtrace-0.3.65.bazel"), + sha256 = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7", + strip_prefix = "backtrace-0.3.66", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.backtrace-0.3.66.bazel"), ) maybe( @@ -101,6 +111,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bitflags-1.3.2.bazel"), ) + maybe( + http_archive, + name = "wasmtime__byteorder__1_4_3", + url = "https://crates.io/api/v1/crates/byteorder/1.4.3/download", + type = "tar.gz", + sha256 = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610", + strip_prefix = "byteorder-1.4.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.byteorder-1.4.3.bazel"), + ) + maybe( http_archive, name = "wasmtime__cc__1_0_73", @@ -133,82 +153,98 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.83.0/download", + name = "wasmtime__cranelift_bforest__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.85.1/download", type = "tar.gz", - sha256 = "ed44413e7e2fe3260d0ed73e6956ab188b69c10ee92b892e401e0f4f6808c68b", - strip_prefix = "cranelift-bforest-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.83.0.bazel"), + sha256 = "7901fbba05decc537080b07cb3f1cadf53be7b7602ca8255786288a8692ae29a", + strip_prefix = "cranelift-bforest-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.85.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.83.0/download", + name = "wasmtime__cranelift_codegen__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.85.1/download", type = "tar.gz", - sha256 = "0b5d83f0f26bf213f971f45589d17e5b65e4861f9ed22392b0cbb6eaa5bd329c", - strip_prefix = "cranelift-codegen-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.83.0.bazel"), + sha256 = "37ba1b45d243a4a28e12d26cd5f2507da74e77c45927d40de8b6ffbf088b46b5", + strip_prefix = "cranelift-codegen-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.85.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.83.0/download", + name = "wasmtime__cranelift_codegen_meta__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.85.1/download", type = "tar.gz", - sha256 = "6800dc386177df6ecc5a32680607ed8ba1fa0d31a2a59c8c61fbf44826b8191d", - strip_prefix = "cranelift-codegen-meta-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.83.0.bazel"), + sha256 = "54cc30032171bf230ce22b99c07c3a1de1221cb5375bd6dbe6dbe77d0eed743c", + strip_prefix = "cranelift-codegen-meta-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.85.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.83.0/download", + name = "wasmtime__cranelift_codegen_shared__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.85.1/download", type = "tar.gz", - sha256 = "c961f85070985ebc8fcdb81b838a5cf842294d1e6ed4852446161c7e246fd455", - strip_prefix = "cranelift-codegen-shared-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.83.0.bazel"), + sha256 = "a23f2672426d2bb4c9c3ef53e023076cfc4d8922f0eeaebaf372c92fae8b5c69", + strip_prefix = "cranelift-codegen-shared-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.85.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.83.0/download", + name = "wasmtime__cranelift_entity__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.85.1/download", type = "tar.gz", - sha256 = "2347b2b8d1d5429213668f2a8e36c85ee3c73984a2f6a79007e365d3e575e7ed", - strip_prefix = "cranelift-entity-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.83.0.bazel"), + sha256 = "886c59a5e0de1f06dbb7da80db149c75de10d5e2caca07cdd9fef8a5918a6336", + strip_prefix = "cranelift-entity-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.85.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.83.0/download", + name = "wasmtime__cranelift_frontend__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.85.1/download", type = "tar.gz", - sha256 = "4cbcdbf7bed29e363568b778649b69dabc3d727256d5d25236096ef693757654", - strip_prefix = "cranelift-frontend-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.83.0.bazel"), + sha256 = "ace74eeca11c439a9d4ed1a5cb9df31a54cd0f7fbddf82c8ce4ea8e9ad2a8fe0", + strip_prefix = "cranelift-frontend-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.85.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-native/0.83.0/download", + name = "wasmtime__cranelift_isle__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-isle/0.85.1/download", type = "tar.gz", - sha256 = "8f4cdf93552e5ceb2e3c042829ebb4de4378492705f769eadc6a7c6c5251624c", - strip_prefix = "cranelift-native-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.83.0.bazel"), + sha256 = "db1ae52a5cc2cad0d86fdd3dcb16b7217d2f1e65ab4f5814aa4f014ad335fa43", + strip_prefix = "cranelift-isle-0.85.1", + patches = [ + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", + ], + patch_args = [ + "-p4", + ], + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.85.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_83_0", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.83.0/download", + name = "wasmtime__cranelift_native__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-native/0.85.1/download", type = "tar.gz", - sha256 = "d8b859d8cb1806f9ad0f59fdc25cbff576345abfad84c1aba483dd2f8e580e5c", - strip_prefix = "cranelift-wasm-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.83.0.bazel"), + sha256 = "dadcfb7852900780d37102bce5698bcd401736403f07b52e714ff7a180e0e22f", + strip_prefix = "cranelift-native-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.85.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__cranelift_wasm__0_85_1", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.85.1/download", + type = "tar.gz", + sha256 = "c84e3410960389110b88f97776f39f6d2c8becdaa4cd59e390e6b76d9d0e7190", + strip_prefix = "cranelift-wasm-0.85.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.85.1.bazel"), ) maybe( @@ -223,22 +259,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__either__1_6_1", - url = "https://crates.io/api/v1/crates/either/1.6.1/download", + name = "wasmtime__either__1_7_0", + url = "https://crates.io/api/v1/crates/either/1.7.0/download", type = "tar.gz", - sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457", - strip_prefix = "either-1.6.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.either-1.6.1.bazel"), + sha256 = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be", + strip_prefix = "either-1.7.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.either-1.7.0.bazel"), ) maybe( http_archive, - name = "wasmtime__env_logger__0_8_4", - url = "https://crates.io/api/v1/crates/env_logger/0.8.4/download", + name = "wasmtime__env_logger__0_9_0", + url = "https://crates.io/api/v1/crates/env_logger/0.9.0/download", type = "tar.gz", - sha256 = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3", - strip_prefix = "env_logger-0.8.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.8.4.bazel"), + sha256 = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3", + strip_prefix = "env_logger-0.9.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.9.0.bazel"), ) maybe( @@ -273,12 +309,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__getrandom__0_2_6", - url = "https://crates.io/api/v1/crates/getrandom/0.2.6/download", + name = "wasmtime__fxhash__0_2_1", + url = "https://crates.io/api/v1/crates/fxhash/0.2.1/download", + type = "tar.gz", + sha256 = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c", + strip_prefix = "fxhash-0.2.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.fxhash-0.2.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__getrandom__0_2_7", + url = "https://crates.io/api/v1/crates/getrandom/0.2.7/download", type = "tar.gz", - sha256 = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad", - strip_prefix = "getrandom-0.2.6", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.6.bazel"), + sha256 = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6", + strip_prefix = "getrandom-0.2.7", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.7.bazel"), ) maybe( @@ -301,6 +347,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.11.2.bazel"), ) + maybe( + http_archive, + name = "wasmtime__hashbrown__0_12_2", + url = "https://crates.io/api/v1/crates/hashbrown/0.12.2/download", + type = "tar.gz", + sha256 = "607c8a29735385251a339424dd462993c0fed8fa09d378f259377df08c126022", + strip_prefix = "hashbrown-0.12.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.12.2.bazel"), + ) + maybe( http_archive, name = "wasmtime__hermit_abi__0_1_19", @@ -323,12 +379,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__indexmap__1_8_1", - url = "https://crates.io/api/v1/crates/indexmap/1.8.1/download", + name = "wasmtime__indexmap__1_9_1", + url = "https://crates.io/api/v1/crates/indexmap/1.9.1/download", type = "tar.gz", - sha256 = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee", - strip_prefix = "indexmap-1.8.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.8.1.bazel"), + sha256 = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e", + strip_prefix = "indexmap-1.9.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.1.bazel"), ) maybe( @@ -363,12 +419,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__libc__0_2_125", - url = "https://crates.io/api/v1/crates/libc/0.2.125/download", + name = "wasmtime__libc__0_2_126", + url = "https://crates.io/api/v1/crates/libc/0.2.126/download", type = "tar.gz", - sha256 = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b", - strip_prefix = "libc-0.2.125", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.125.bazel"), + sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836", + strip_prefix = "libc-0.2.126", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.126.bazel"), ) maybe( @@ -423,12 +479,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__miniz_oxide__0_5_1", - url = "https://crates.io/api/v1/crates/miniz_oxide/0.5.1/download", + name = "wasmtime__miniz_oxide__0_5_3", + url = "https://crates.io/api/v1/crates/miniz_oxide/0.5.3/download", type = "tar.gz", - sha256 = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082", - strip_prefix = "miniz_oxide-0.5.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.miniz_oxide-0.5.1.bazel"), + sha256 = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc", + strip_prefix = "miniz_oxide-0.5.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.miniz_oxide-0.5.3.bazel"), ) maybe( @@ -443,32 +499,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__object__0_27_1", - url = "https://crates.io/api/v1/crates/object/0.27.1/download", + name = "wasmtime__object__0_28_4", + url = "https://crates.io/api/v1/crates/object/0.28.4/download", type = "tar.gz", - sha256 = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9", - strip_prefix = "object-0.27.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.27.1.bazel"), + sha256 = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424", + strip_prefix = "object-0.28.4", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.28.4.bazel"), ) maybe( http_archive, - name = "wasmtime__object__0_28_3", - url = "https://crates.io/api/v1/crates/object/0.28.3/download", + name = "wasmtime__object__0_29_0", + url = "https://crates.io/api/v1/crates/object/0.29.0/download", type = "tar.gz", - sha256 = "40bec70ba014595f99f7aa110b84331ffe1ee9aece7fe6f387cc7e3ecda4d456", - strip_prefix = "object-0.28.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.28.3.bazel"), + sha256 = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53", + strip_prefix = "object-0.29.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.29.0.bazel"), ) maybe( http_archive, - name = "wasmtime__once_cell__1_10_0", - url = "https://crates.io/api/v1/crates/once_cell/1.10.0/download", + name = "wasmtime__once_cell__1_13_0", + url = "https://crates.io/api/v1/crates/once_cell/1.13.0/download", type = "tar.gz", - sha256 = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9", - strip_prefix = "once_cell-1.10.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.10.0.bazel"), + sha256 = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1", + strip_prefix = "once_cell-1.13.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.13.0.bazel"), ) maybe( @@ -493,32 +549,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__proc_macro2__1_0_37", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.37/download", + name = "wasmtime__proc_macro2__1_0_40", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.40/download", type = "tar.gz", - sha256 = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1", - strip_prefix = "proc-macro2-1.0.37", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.37.bazel"), + sha256 = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7", + strip_prefix = "proc-macro2-1.0.40", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.40.bazel"), ) maybe( http_archive, - name = "wasmtime__psm__0_1_18", - url = "https://crates.io/api/v1/crates/psm/0.1.18/download", + name = "wasmtime__psm__0_1_19", + url = "https://crates.io/api/v1/crates/psm/0.1.19/download", type = "tar.gz", - sha256 = "871372391786ccec00d3c5d3d6608905b3d4db263639cfe075d3b60a736d115a", - strip_prefix = "psm-0.1.18", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.18.bazel"), + sha256 = "accd89aa18fbf9533a581355a22438101fe9c2ed8c9e2f0dcf520552a3afddf2", + strip_prefix = "psm-0.1.19", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.19.bazel"), ) maybe( http_archive, - name = "wasmtime__quote__1_0_18", - url = "https://crates.io/api/v1/crates/quote/1.0.18/download", + name = "wasmtime__quote__1_0_20", + url = "https://crates.io/api/v1/crates/quote/1.0.20/download", type = "tar.gz", - sha256 = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1", - strip_prefix = "quote-1.0.18", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.18.bazel"), + sha256 = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804", + strip_prefix = "quote-1.0.20", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.20.bazel"), ) maybe( @@ -553,32 +609,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__regalloc__0_0_34", - url = "https://crates.io/api/v1/crates/regalloc/0.0.34/download", + name = "wasmtime__regalloc2__0_2_3", + url = "https://crates.io/api/v1/crates/regalloc2/0.2.3/download", type = "tar.gz", - sha256 = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02", - strip_prefix = "regalloc-0.0.34", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc-0.0.34.bazel"), + sha256 = "4a8d23b35d7177df3b9d31ed8a9ab4bf625c668be77a319d4f5efd4a5257701c", + strip_prefix = "regalloc2-0.2.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.2.3.bazel"), ) maybe( http_archive, - name = "wasmtime__regex__1_5_5", - url = "https://crates.io/api/v1/crates/regex/1.5.5/download", + name = "wasmtime__regex__1_6_0", + url = "https://crates.io/api/v1/crates/regex/1.6.0/download", type = "tar.gz", - sha256 = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286", - strip_prefix = "regex-1.5.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.5.5.bazel"), + sha256 = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b", + strip_prefix = "regex-1.6.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.6.0.bazel"), ) maybe( http_archive, - name = "wasmtime__regex_syntax__0_6_25", - url = "https://crates.io/api/v1/crates/regex-syntax/0.6.25/download", + name = "wasmtime__regex_syntax__0_6_27", + url = "https://crates.io/api/v1/crates/regex-syntax/0.6.27/download", type = "tar.gz", - sha256 = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b", - strip_prefix = "regex-syntax-0.6.25", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.6.25.bazel"), + sha256 = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244", + strip_prefix = "regex-syntax-0.6.27", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.6.27.bazel"), ) maybe( @@ -601,16 +657,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustc-demangle-0.1.21.bazel"), ) - maybe( - http_archive, - name = "wasmtime__rustc_hash__1_1_0", - url = "https://crates.io/api/v1/crates/rustc-hash/1.1.0/download", - type = "tar.gz", - sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2", - strip_prefix = "rustc-hash-1.1.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustc-hash-1.1.0.bazel"), - ) - maybe( http_archive, name = "wasmtime__rustix__0_33_7", @@ -623,32 +669,42 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__serde__1_0_137", - url = "https://crates.io/api/v1/crates/serde/1.0.137/download", + name = "wasmtime__serde__1_0_139", + url = "https://crates.io/api/v1/crates/serde/1.0.139/download", type = "tar.gz", - sha256 = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1", - strip_prefix = "serde-1.0.137", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.137.bazel"), + sha256 = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6", + strip_prefix = "serde-1.0.139", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.139.bazel"), ) maybe( http_archive, - name = "wasmtime__serde_derive__1_0_137", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.137/download", + name = "wasmtime__serde_derive__1_0_139", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.139/download", type = "tar.gz", - sha256 = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be", - strip_prefix = "serde_derive-1.0.137", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.137.bazel"), + sha256 = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb", + strip_prefix = "serde_derive-1.0.139", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.139.bazel"), ) maybe( http_archive, - name = "wasmtime__smallvec__1_8_0", - url = "https://crates.io/api/v1/crates/smallvec/1.8.0/download", + name = "wasmtime__slice_group_by__0_3_0", + url = "https://crates.io/api/v1/crates/slice-group-by/0.3.0/download", type = "tar.gz", - sha256 = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83", - strip_prefix = "smallvec-1.8.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.smallvec-1.8.0.bazel"), + sha256 = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec", + strip_prefix = "slice-group-by-0.3.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.slice-group-by-0.3.0.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__smallvec__1_9_0", + url = "https://crates.io/api/v1/crates/smallvec/1.9.0/download", + type = "tar.gz", + sha256 = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1", + strip_prefix = "smallvec-1.9.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.smallvec-1.9.0.bazel"), ) maybe( @@ -663,22 +719,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__syn__1_0_92", - url = "https://crates.io/api/v1/crates/syn/1.0.92/download", + name = "wasmtime__syn__1_0_98", + url = "https://crates.io/api/v1/crates/syn/1.0.98/download", type = "tar.gz", - sha256 = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52", - strip_prefix = "syn-1.0.92", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.92.bazel"), + sha256 = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd", + strip_prefix = "syn-1.0.98", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.98.bazel"), ) maybe( http_archive, - name = "wasmtime__target_lexicon__0_12_3", - url = "https://crates.io/api/v1/crates/target-lexicon/0.12.3/download", + name = "wasmtime__target_lexicon__0_12_4", + url = "https://crates.io/api/v1/crates/target-lexicon/0.12.4/download", type = "tar.gz", - sha256 = "d7fa7e55043acb85fca6b3c01485a2eeb6b69c5d21002e273c79e465f43b7ac1", - strip_prefix = "target-lexicon-0.12.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.3.bazel"), + sha256 = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1", + strip_prefix = "target-lexicon-0.12.4", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.4.bazel"), ) maybe( @@ -713,111 +769,121 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__unicode_xid__0_2_3", - url = "https://crates.io/api/v1/crates/unicode-xid/0.2.3/download", + name = "wasmtime__unicode_ident__1_0_1", + url = "https://crates.io/api/v1/crates/unicode-ident/1.0.1/download", + type = "tar.gz", + sha256 = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c", + strip_prefix = "unicode-ident-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__version_check__0_9_4", + url = "https://crates.io/api/v1/crates/version_check/0.9.4/download", type = "tar.gz", - sha256 = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04", - strip_prefix = "unicode-xid-0.2.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-xid-0.2.3.bazel"), + sha256 = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f", + strip_prefix = "version_check-0.9.4", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.version_check-0.9.4.bazel"), ) maybe( http_archive, - name = "wasmtime__wasi__0_10_2_wasi_snapshot_preview1", - url = "https://crates.io/api/v1/crates/wasi/0.10.2+wasi-snapshot-preview1/download", + name = "wasmtime__wasi__0_11_0_wasi_snapshot_preview1", + url = "https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download", type = "tar.gz", - sha256 = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6", - strip_prefix = "wasi-0.10.2+wasi-snapshot-preview1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"), + sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", + strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmparser__0_83_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.83.0/download", + name = "wasmtime__wasmparser__0_85_0", + url = "https://crates.io/api/v1/crates/wasmparser/0.85.0/download", type = "tar.gz", - sha256 = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a", - strip_prefix = "wasmparser-0.83.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.83.0.bazel"), + sha256 = "570460c58b21e9150d2df0eaaedbb7816c34bcec009ae0dcc976e40ba81463e7", + strip_prefix = "wasmparser-0.85.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.85.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime__0_36_0", - url = "https://crates.io/api/v1/crates/wasmtime/0.36.0/download", + name = "wasmtime__wasmtime__0_38_1", + url = "https://crates.io/api/v1/crates/wasmtime/0.38.1/download", type = "tar.gz", - sha256 = "4beb256f8514dd3eb85b03bceb422abfff5f07bf564519cbe0abf80462120bc0", - strip_prefix = "wasmtime-0.36.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.36.0.bazel"), + sha256 = "e76e2b2833bb0ece666ccdbed7b71b617d447da11f1bb61f4f2bab2648f745ee", + strip_prefix = "wasmtime-0.38.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.38.1.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "c0e58a1e1c22b53e0330829057da6125da89bef1", + commit = "9e2adfb34531610d691f74dd3f559bc5b800eb02", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__0_36_0", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.36.0/download", + name = "wasmtime__wasmtime_cranelift__0_38_1", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.38.1/download", type = "tar.gz", - sha256 = "0e8f126b9c55e9550391617049f468878cb9f4af75f33009be72f0c692e1d2ed", - strip_prefix = "wasmtime-cranelift-0.36.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.36.0.bazel"), + sha256 = "5dc0f80afa1ce97083a7168e6b6948d015d6237369e9f4a511d38c9c4ac8fbb9", + strip_prefix = "wasmtime-cranelift-0.38.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.38.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__0_36_0", - url = "https://crates.io/api/v1/crates/wasmtime-environ/0.36.0/download", + name = "wasmtime__wasmtime_environ__0_38_1", + url = "https://crates.io/api/v1/crates/wasmtime-environ/0.38.1/download", type = "tar.gz", - sha256 = "343cfc7e7604b063ef0429e043a06e077a39bcb1ce3e731abe0414431f2610de", - strip_prefix = "wasmtime-environ-0.36.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.36.0.bazel"), + sha256 = "0816d9365196f1f447060087e0f87239ccded830bd54970a1168b0c9c8e824c9", + strip_prefix = "wasmtime-environ-0.38.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.38.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__0_36_0", - url = "https://crates.io/api/v1/crates/wasmtime-jit/0.36.0/download", + name = "wasmtime__wasmtime_jit__0_38_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit/0.38.1/download", type = "tar.gz", - sha256 = "81f3a31bf04f02ec7497ddeda20e14b640b1e4d9e1c55c1ebdb268bf30800e2d", - strip_prefix = "wasmtime-jit-0.36.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.36.0.bazel"), + sha256 = "5c687f33cfa0f89ec1646929d0ff102087052cf9f0d15533de56526b0da0d1b3", + strip_prefix = "wasmtime-jit-0.38.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.38.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__0_36_0", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.36.0/download", + name = "wasmtime__wasmtime_jit_debug__0_38_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.38.1/download", type = "tar.gz", - sha256 = "4e725c3a37e49bd95d2d350c9f1b6641ac6e75bc357204e857ac058d0c64b720", - strip_prefix = "wasmtime-jit-debug-0.36.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.36.0.bazel"), + sha256 = "b252d1d025f94f3954ba2111f12f3a22826a0764a11c150c2d46623115a69e27", + strip_prefix = "wasmtime-jit-debug-0.38.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.38.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__0_36_0", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.36.0/download", + name = "wasmtime__wasmtime_runtime__0_38_1", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.38.1/download", type = "tar.gz", - sha256 = "2ed30d50ffd763873f49df0c94efa20c17749f375518117d6677cc29b631a1fc", - strip_prefix = "wasmtime-runtime-0.36.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.36.0.bazel"), + sha256 = "ace251693103c9facbbd7df87a29a75e68016e48bc83c09133f2fda6b575e0ab", + strip_prefix = "wasmtime-runtime-0.38.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.38.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__0_36_0", - url = "https://crates.io/api/v1/crates/wasmtime-types/0.36.0/download", + name = "wasmtime__wasmtime_types__0_38_1", + url = "https://crates.io/api/v1/crates/wasmtime-types/0.38.1/download", type = "tar.gz", - sha256 = "72080d5bdd54af03de7f5ca8b67dcd8ea36f4dfec75fc89a976ebc847ee1516e", - strip_prefix = "wasmtime-types-0.36.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.36.0.bazel"), + sha256 = "d129b0487a95986692af8708ffde9c50b0568dcefd79200941d475713b4f40bb", + strip_prefix = "wasmtime-types-0.38.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.38.1.bazel"), ) maybe( diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel new file mode 100644 index 000000000..6b159da44 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel @@ -0,0 +1,201 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "ahash_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.6", + visibility = ["//visibility:private"], + deps = [ + "@wasmtime__version_check__0_9_4//:version_check", + ] + selects.with_or({ + # cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi")) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(not(all(target_arch = "arm", target_os = "none"))) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "ahash" with type "bench" omitted + +# Unsupported target "map" with type "bench" omitted + +rust_library( + name = "ahash", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=ahash", + "manual", + ], + version = "0.7.6", + # buildifier: leave-alone + deps = [ + ":ahash_build_script", + ] + selects.with_or({ + # cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi")) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + "@wasmtime__getrandom__0_2_7//:getrandom", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(not(all(target_arch = "arm", target_os = "none"))) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + "@wasmtime__once_cell__1_13_0//:once_cell", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "bench" with type "test" omitted + +# Unsupported target "map_tests" with type "test" omitted + +# Unsupported target "nopanic" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.57.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.58.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.57.bazel rename to bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.58.bazel index 380bae889..7e9d3543d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.57.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.58.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.57", + version = "1.0.58", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=anyhow", "manual", ], - version = "1.0.57", + version = "1.0.58", # buildifier: leave-alone deps = [ ":anyhow_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel index 875bfd388..84025f552 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel @@ -74,7 +74,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.65.bazel b/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.66.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.65.bazel rename to bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.66.bazel index b2bc85560..711f7230c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.65.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.66.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.3.65", + version = "0.3.66", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -87,15 +87,15 @@ rust_library( "crate-name=backtrace", "manual", ], - version = "0.3.65", + version = "0.3.66", # buildifier: leave-alone deps = [ ":backtrace_build_script", "@wasmtime__addr2line__0_17_0//:addr2line", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__libc__0_2_125//:libc", - "@wasmtime__miniz_oxide__0_5_1//:miniz_oxide", - "@wasmtime__object__0_28_3//:object", + "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__miniz_oxide__0_5_3//:miniz_oxide", + "@wasmtime__object__0_29_0//:object", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index 8cd35cae1..06661a195 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -50,7 +50,7 @@ rust_library( version = "1.3.3", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_137//:serde", + "@wasmtime__serde__1_0_139//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel new file mode 100644 index 000000000..044c9cd0f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel @@ -0,0 +1,58 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated Targets + +# Unsupported target "bench" with type "bench" omitted + +rust_library( + name = "byteorder", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=byteorder", + "manual", + ], + version = "1.4.3", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.85.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.85.1.bazel index b60663dc0..b230628a1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.85.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", + "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.85.1.bazel similarity index 79% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.85.1.bazel index 7ef333759..f7b7ccd75 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.85.1.bazel @@ -58,10 +58,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.83.0", + version = "0.85.1", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_83_0//:cranelift_codegen_meta", + "@wasmtime__cranelift_codegen_meta__0_85_1//:cranelift_codegen_meta", + "@wasmtime__cranelift_isle__0_85_1//:cranelift_isle", ], ) @@ -87,17 +88,17 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", - "@wasmtime__cranelift_bforest__0_83_0//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_83_0//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", + "@wasmtime__cranelift_bforest__0_85_1//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_85_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", "@wasmtime__gimli__0_26_1//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regalloc__0_0_34//:regalloc", - "@wasmtime__smallvec__1_8_0//:smallvec", - "@wasmtime__target_lexicon__0_12_3//:target_lexicon", + "@wasmtime__regalloc2__0_2_3//:regalloc2", + "@wasmtime__smallvec__1_9_0//:smallvec", + "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.85.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.85.1.bazel index 2f4a6997c..13e23bb6e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.85.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_83_0//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_85_1//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.85.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.85.1.bazel index 7da881127..83f167723 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.85.1.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.85.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.85.1.bazel index a9c7a1f44..08cbb9d0f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.85.1.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_137//:serde", + "@wasmtime__serde__1_0_139//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.85.1.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.85.1.bazel index cf962ea34..0e47a1821 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.85.1.bazel @@ -49,12 +49,12 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", "@wasmtime__log__0_4_17//:log", - "@wasmtime__smallvec__1_8_0//:smallvec", - "@wasmtime__target_lexicon__0_12_3//:target_lexicon", + "@wasmtime__smallvec__1_9_0//:smallvec", + "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.85.1.bazel new file mode 100644 index 000000000..a05626249 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.85.1.bazel @@ -0,0 +1,88 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "cranelift_isle_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.85.1", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "cranelift_isle", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=cranelift-isle", + "manual", + ], + version = "0.85.1", + # buildifier: leave-alone + deps = [ + ":cranelift_isle_build_script", + ], +) + +# Unsupported target "run_tests" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.85.1.bazel similarity index 87% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.85.1.bazel index 32e081f73..dc39f77a2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.85.1.bazel @@ -51,17 +51,17 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", - "@wasmtime__target_lexicon__0_12_3//:target_lexicon", + "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", + "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ] + selects.with_or({ # cfg(target_arch = "s390x") ( "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.85.1.bazel similarity index 76% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.85.1.bazel index 63b92cc17..f0d7b4d85 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.85.1.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.83.0", + version = "0.85.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_83_0//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_85_1//:cranelift_frontend", "@wasmtime__itertools__0_10_3//:itertools", "@wasmtime__log__0_4_17//:log", - "@wasmtime__smallvec__1_8_0//:smallvec", - "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_types__0_36_0//:wasmtime_types", + "@wasmtime__smallvec__1_9_0//:smallvec", + "@wasmtime__wasmparser__0_85_0//:wasmparser", + "@wasmtime__wasmtime_types__0_38_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel index 128a07730..4ae93d10d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel @@ -43,7 +43,6 @@ cargo_build_script( build_script_env = { }, crate_features = [ - "default", "std", ], crate_root = "build.rs", @@ -68,7 +67,6 @@ rust_library( name = "crc32fast", srcs = glob(["**/*.rs"]), crate_features = [ - "default", "std", ], crate_root = "src/lib.rs", diff --git a/bazel/cargo/wasmtime/remote/BUILD.either-1.6.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.either-1.7.0.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.either-1.6.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.either-1.7.0.bazel index 051360647..6a666ae8c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.either-1.6.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.either-1.7.0.bazel @@ -38,7 +38,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -47,7 +47,7 @@ rust_library( "crate-name=either", "manual", ], - version = "1.6.1", + version = "1.7.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.0.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.0.bazel index dddda905b..6e7c24eae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.8.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.0.bazel @@ -52,13 +52,13 @@ rust_library( "crate-name=env_logger", "manual", ], - version = "0.8.4", + version = "0.9.0", # buildifier: leave-alone deps = [ "@wasmtime__atty__0_2_14//:atty", "@wasmtime__humantime__2_1_0//:humantime", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regex__1_5_5//:regex", + "@wasmtime__regex__1_6_0//:regex", "@wasmtime__termcolor__1_1_3//:termcolor", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel index 95685a4b2..ba4303b75 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel @@ -73,7 +73,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:wasm32-wasi", ): [ - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel index ba82b8b9d..8acac1400 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel @@ -81,6 +81,6 @@ rust_library( # buildifier: leave-alone deps = [ ":errno_dragonfly_build_script", - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel new file mode 100644 index 000000000..3608f3063 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel @@ -0,0 +1,57 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated Targets + +# Unsupported target "fxhash" with type "bench" omitted + +rust_library( + name = "fxhash", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "lib.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=fxhash", + "manual", + ], + version = "0.2.1", + # buildifier: leave-alone + deps = [ + "@wasmtime__byteorder__1_4_3//:byteorder", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.7.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel rename to bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.7.bazel index 1c5a6c4ae..059b638c1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.7.bazel @@ -52,7 +52,7 @@ rust_library( "crate-name=getrandom", "manual", ], - version = "0.2.6", + version = "0.2.7", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", @@ -61,7 +61,7 @@ rust_library( ( "@rules_rust//rust/platform:wasm32-wasi", ): [ - "@wasmtime__wasi__0_10_2_wasi_snapshot_preview1//:wasi", + "@wasmtime__wasi__0_11_0_wasi_snapshot_preview1//:wasi", ], "//conditions:default": [], }) + selects.with_or({ @@ -84,7 +84,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel index 4fcd8e077..b726bd804 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel @@ -68,7 +68,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__fallible_iterator__0_2_0//:fallible_iterator", - "@wasmtime__indexmap__1_8_1//:indexmap", + "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__stable_deref_trait__1_2_0//:stable_deref_trait", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel index 1cc30e2cf..e5de01424 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel @@ -37,7 +37,7 @@ rust_library( name = "hashbrown", srcs = glob(["**/*.rs"]), crate_features = [ - "raw", + "ahash", ], crate_root = "src/lib.rs", data = [], @@ -53,6 +53,7 @@ rust_library( version = "0.11.2", # buildifier: leave-alone deps = [ + "@wasmtime__ahash__0_7_6//:ahash", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.2.bazel similarity index 67% rename from bazel/cargo/wasmtime/remote/BUILD.quote-1.0.18.bazel rename to bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.2.bazel index aa26b5c2b..df6b301ae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.18.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.2.bazel @@ -31,31 +31,37 @@ licenses([ # Generated Targets +# Unsupported target "bench" with type "bench" omitted + +# Unsupported target "insert_unique_unchecked" with type "bench" omitted + rust_library( - name = "quote", + name = "hashbrown", srcs = glob(["**/*.rs"]), crate_features = [ - "default", - "proc-macro", + "raw", ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-raze", - "crate-name=quote", + "crate-name=hashbrown", "manual", ], - version = "1.0.18", + version = "0.12.2", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_37//:proc_macro2", ], ) -# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "hasher" with type "test" omitted + +# Unsupported target "rayon" with type "test" omitted + +# Unsupported target "serde" with type "test" omitted -# Unsupported target "test" with type "test" omitted +# Unsupported target "set" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel index 6d39e6e45..a66aeb652 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel @@ -51,6 +51,6 @@ rust_library( version = "0.1.19", # buildifier: leave-alone deps = [ - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel index 5cb538bda..9c2d17f57 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.8.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel @@ -49,7 +49,7 @@ cargo_build_script( ], crate_root = "build.rs", data = glob(["**"]), - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.8.1", + version = "1.9.1", visibility = ["//visibility:private"], deps = [ "@wasmtime__autocfg__1_1_0//:autocfg", @@ -78,7 +78,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -87,12 +87,12 @@ rust_library( "crate-name=indexmap", "manual", ], - version = "1.8.1", + version = "1.9.1", # buildifier: leave-alone deps = [ ":indexmap_build_script", - "@wasmtime__hashbrown__0_11_2//:hashbrown", - "@wasmtime__serde__1_0_137//:serde", + "@wasmtime__hashbrown__0_12_2//:hashbrown", + "@wasmtime__serde__1_0_139//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.3.bazel index cf8c4ca3e..863cb6e51 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.3.bazel @@ -71,7 +71,7 @@ rust_library( version = "0.10.3", # buildifier: leave-alone deps = [ - "@wasmtime__either__1_6_1//:either", + "@wasmtime__either__1_7_0//:either", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.125.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.126.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.libc-0.2.125.bazel rename to bazel/cargo/wasmtime/remote/BUILD.libc-0.2.126.bazel index 3aac623b6..1702fdb42 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.125.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.126.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.125", + version = "0.2.126", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=libc", "manual", ], - version = "0.2.125", + version = "0.2.126", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index 4d94e8232..a09f1a1c9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -64,7 +64,7 @@ rust_library( "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:x86_64-apple-ios", ): [ - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.3.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.3.bazel index 59257ccba..ba23d2620 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.3.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=miniz_oxide", "manual", ], - version = "0.5.1", + version = "0.5.3", # buildifier: leave-alone deps = [ "@wasmtime__adler__1_0_2//:adler", diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.28.4.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.object-0.28.4.bazel index b6a7e2fd0..c43b06732 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.27.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.28.4.bazel @@ -38,6 +38,7 @@ rust_library( "coff", "crc32fast", "elf", + "hashbrown", "indexmap", "macho", "pe", @@ -45,6 +46,7 @@ rust_library( "std", "write", "write_core", + "write_std", ], crate_root = "src/lib.rs", data = [], @@ -57,11 +59,12 @@ rust_library( "crate-name=object", "manual", ], - version = "0.27.1", + version = "0.28.4", # buildifier: leave-alone deps = [ "@wasmtime__crc32fast__1_3_2//:crc32fast", - "@wasmtime__indexmap__1_8_1//:indexmap", + "@wasmtime__hashbrown__0_11_2//:hashbrown", + "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__memchr__2_5_0//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.28.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.object-0.28.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel index bee587e54..be97d2801 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.28.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel @@ -54,7 +54,7 @@ rust_library( "crate-name=object", "manual", ], - version = "0.28.3", + version = "0.29.0", # buildifier: leave-alone deps = [ "@wasmtime__memchr__2_5_0//:memchr", diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.13.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.once_cell-1.10.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.once_cell-1.13.0.bazel index df9306375..50c8e47be 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.10.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.13.0.bazel @@ -65,7 +65,7 @@ rust_library( "crate-name=once_cell", "manual", ], - version = "1.10.0", + version = "1.13.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.40.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel rename to bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.40.bazel index 8cef12c89..298ea3764 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.37.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.40.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.37", + version = "1.0.40", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=proc-macro2", "manual", ], - version = "1.0.37", + version = "1.0.40", # buildifier: leave-alone deps = [ ":proc_macro2_build_script", - "@wasmtime__unicode_xid__0_2_3//:unicode_xid", + "@wasmtime__unicode_ident__1_0_1//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.19.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.psm-0.1.18.bazel rename to bazel/cargo/wasmtime/remote/BUILD.psm-0.1.19.bazel index 323fd32d9..697f08fae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.18.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.19.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.1.18", + version = "0.1.19", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -89,7 +89,7 @@ rust_library( "crate-name=psm", "manual", ], - version = "0.1.18", + version = "0.1.19", # buildifier: leave-alone deps = [ ":psm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel new file mode 100644 index 000000000..41f48600f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel @@ -0,0 +1,93 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "quote_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.20", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "quote", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=quote", + "manual", + ], + version = "1.0.20", + # buildifier: leave-alone + deps = [ + ":quote_build_script", + "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + ], +) + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 6a8372b6e..35812478e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -81,7 +81,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel index 79c206b2b..f5886d18a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel @@ -53,6 +53,6 @@ rust_library( version = "0.6.3", # buildifier: leave-alone deps = [ - "@wasmtime__getrandom__0_2_6//:getrandom", + "@wasmtime__getrandom__0_2_7//:getrandom", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.2.3.bazel similarity index 80% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.2.3.bazel index 0007832d4..0d5655bc0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc-0.0.34.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.2.3.bazel @@ -32,9 +32,10 @@ licenses([ # Generated Targets rust_library( - name = "regalloc", + name = "regalloc2", srcs = glob(["**/*.rs"]), crate_features = [ + "checker", "default", ], crate_root = "src/lib.rs", @@ -45,14 +46,15 @@ rust_library( ], tags = [ "cargo-raze", - "crate-name=regalloc", + "crate-name=regalloc2", "manual", ], - version = "0.0.34", + version = "0.2.3", # buildifier: leave-alone deps = [ + "@wasmtime__fxhash__0_2_1//:fxhash", "@wasmtime__log__0_4_17//:log", - "@wasmtime__rustc_hash__1_1_0//:rustc_hash", - "@wasmtime__smallvec__1_8_0//:smallvec", + "@wasmtime__slice_group_by__0_3_0//:slice_group_by", + "@wasmtime__smallvec__1_9_0//:smallvec", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.5.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.regex-1.5.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel index 431260735..9a9d27bb2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.5.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel @@ -67,12 +67,12 @@ rust_library( "crate-name=regex", "manual", ], - version = "1.5.5", + version = "1.6.0", # buildifier: leave-alone deps = [ "@wasmtime__aho_corasick__0_7_18//:aho_corasick", "@wasmtime__memchr__2_5_0//:memchr", - "@wasmtime__regex_syntax__0_6_25//:regex_syntax", + "@wasmtime__regex_syntax__0_6_27//:regex_syntax", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.25.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.27.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.25.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.27.bazel index b04c80e3c..b885fca3f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.25.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.27.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=regex-syntax", "manual", ], - version = "0.6.25", + version = "0.6.27", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel index 2fbd87aba..91805a666 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel @@ -53,7 +53,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ] + selects.with_or({ # cfg(any(target_os = "macos", target_os = "ios")) ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel index d6204a391..cefd75200 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel @@ -186,7 +186,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ "@wasmtime__errno__0_2_8//:errno", - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.137.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.139.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.serde-1.0.137.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde-1.0.139.bazel index 0af188e4e..7aa7b9944 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.137.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.139.bazel @@ -58,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.137", + version = "1.0.139", visibility = ["//visibility:private"], deps = [ ], @@ -77,7 +77,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@wasmtime__serde_derive__1_0_137//:serde_derive", + "@wasmtime__serde_derive__1_0_139//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -87,7 +87,7 @@ rust_library( "crate-name=serde", "manual", ], - version = "1.0.137", + version = "1.0.139", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.137.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.139.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.137.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.139.bazel index 88bdabfb8..4cff57740 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.137.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.139.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.137", + version = "1.0.139", visibility = ["//visibility:private"], deps = [ ], @@ -78,12 +78,12 @@ rust_proc_macro( "crate-name=serde_derive", "manual", ], - version = "1.0.137", + version = "1.0.139", # buildifier: leave-alone deps = [ ":serde_derive_build_script", - "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_18//:quote", - "@wasmtime__syn__1_0_92//:syn", + "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__quote__1_0_20//:quote", + "@wasmtime__syn__1_0_98//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.0.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.0.bazel index 0f07a4bc7..6e370df41 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.0.bazel @@ -26,13 +26,13 @@ package(default_visibility = [ ]) licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" + "notice", # MIT from expression "MIT" ]) # Generated Targets rust_library( - name = "rustc_hash", + name = "slice_group_by", srcs = glob(["**/*.rs"]), crate_features = [ "default", @@ -40,16 +40,16 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-raze", - "crate-name=rustc-hash", + "crate-name=slice-group-by", "manual", ], - version = "1.1.0", + version = "0.3.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.9.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.smallvec-1.8.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.smallvec-1.9.0.bazel index 734404e4a..9600167e2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.9.0.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=smallvec", "manual", ], - version = "1.8.0", + version = "1.9.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.92.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.syn-1.0.92.bazel rename to bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel index af36eb37e..47eda55de 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.92.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel @@ -61,7 +61,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.92", + version = "1.0.98", visibility = ["//visibility:private"], deps = [ ], @@ -94,13 +94,13 @@ rust_library( "crate-name=syn", "manual", ], - version = "1.0.92", + version = "1.0.98", # buildifier: leave-alone deps = [ ":syn_build_script", - "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_18//:quote", - "@wasmtime__unicode_xid__0_2_3//:unicode_xid", + "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__quote__1_0_20//:quote", + "@wasmtime__unicode_ident__1_0_1//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel index c4767d0a5..e617fce82 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.12.3", + version = "0.12.4", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=target-lexicon", "manual", ], - version = "0.12.3", + version = "0.12.4", # buildifier: leave-alone deps = [ ":target_lexicon_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel index b5f3f74bd..eb959b04e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel @@ -50,8 +50,8 @@ rust_proc_macro( version = "1.0.31", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_18//:quote", - "@wasmtime__syn__1_0_92//:syn", + "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__quote__1_0_20//:quote", + "@wasmtime__syn__1_0_98//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.1.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.1.bazel index 92b0eaade..665e53f28 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.1.bazel @@ -34,26 +34,27 @@ licenses([ # Unsupported target "xid" with type "bench" omitted rust_library( - name = "unicode_xid", + name = "unicode_ident", srcs = glob(["**/*.rs"]), crate_features = [ - "default", ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-raze", - "crate-name=unicode-xid", + "crate-name=unicode-ident", "manual", ], - version = "0.2.3", + version = "1.0.1", # buildifier: leave-alone deps = [ ], ) -# Unsupported target "exhaustive_tests" with type "test" omitted +# Unsupported target "compare" with type "test" omitted + +# Unsupported target "static_size" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel new file mode 100644 index 000000000..12fff826e --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel @@ -0,0 +1,54 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "version_check", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=version_check", + "manual", + ], + version = "0.9.4", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel index 1c0bde1e7..ff55f34da 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasi", "manual", ], - version = "0.10.2+wasi-snapshot-preview1", + version = "0.11.0+wasi-snapshot-preview1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.83.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.85.0.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.83.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.85.0.bazel index 7f37d9630..4a2f051c4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.83.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.85.0.bazel @@ -42,7 +42,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -51,8 +51,9 @@ rust_library( "crate-name=wasmparser", "manual", ], - version = "0.83.0", + version = "0.85.0", # buildifier: leave-alone deps = [ + "@wasmtime__indexmap__1_9_1//:indexmap", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.36.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.38.1.bazel similarity index 75% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.36.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.38.1.bazel index 7154d9e2a..573c8ebe9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.36.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.38.1.bazel @@ -43,9 +43,7 @@ cargo_build_script( build_script_env = { }, crate_features = [ - "backtrace", "cranelift", - "wasm-backtrace", "wasmtime-cranelift", ], crate_root = "build.rs", @@ -58,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.0", + version = "0.38.1", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -78,9 +76,7 @@ rust_library( aliases = { }, crate_features = [ - "backtrace", "cranelift", - "wasm-backtrace", "wasmtime-cranelift", ], crate_root = "src/lib.rs", @@ -97,29 +93,29 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "0.36.0", + version = "0.38.1", # buildifier: leave-alone deps = [ ":wasmtime_build_script", - "@wasmtime__anyhow__1_0_57//:anyhow", - "@wasmtime__backtrace__0_3_65//:backtrace", + "@wasmtime__anyhow__1_0_58//:anyhow", + "@wasmtime__backtrace__0_3_66//:backtrace", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_8_1//:indexmap", + "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__lazy_static__1_4_0//:lazy_static", - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__libc__0_2_126//:libc", "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_27_1//:object", - "@wasmtime__once_cell__1_10_0//:once_cell", - "@wasmtime__psm__0_1_18//:psm", + "@wasmtime__object__0_28_4//:object", + "@wasmtime__once_cell__1_13_0//:once_cell", + "@wasmtime__psm__0_1_19//:psm", "@wasmtime__region__2_2_0//:region", - "@wasmtime__serde__1_0_137//:serde", - "@wasmtime__target_lexicon__0_12_3//:target_lexicon", - "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__0_36_0//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", - "@wasmtime__wasmtime_jit__0_36_0//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__0_36_0//:wasmtime_runtime", + "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__wasmparser__0_85_0//:wasmparser", + "@wasmtime__wasmtime_cranelift__0_38_1//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit__0_38_1//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__0_38_1//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel index 86aac72db..c84ee1df4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel @@ -50,7 +50,7 @@ rust_proc_macro( version = "0.19.0", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_37//:proc_macro2", - "@wasmtime__quote__1_0_18//:quote", + "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__quote__1_0_20//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.36.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.38.1.bazel similarity index 67% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.36.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.38.1.bazel index 42bb963b5..5860328cd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.36.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.38.1.bazel @@ -47,22 +47,22 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "0.36.0", + version = "0.38.1", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_57//:anyhow", - "@wasmtime__cranelift_codegen__0_83_0//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_83_0//:cranelift_frontend", - "@wasmtime__cranelift_native__0_83_0//:cranelift_native", - "@wasmtime__cranelift_wasm__0_83_0//:cranelift_wasm", + "@wasmtime__anyhow__1_0_58//:anyhow", + "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_85_1//:cranelift_frontend", + "@wasmtime__cranelift_native__0_85_1//:cranelift_native", + "@wasmtime__cranelift_wasm__0_85_1//:cranelift_wasm", "@wasmtime__gimli__0_26_1//:gimli", "@wasmtime__log__0_4_17//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", - "@wasmtime__object__0_27_1//:object", - "@wasmtime__target_lexicon__0_12_3//:target_lexicon", + "@wasmtime__object__0_28_4//:object", + "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", + "@wasmtime__wasmparser__0_85_0//:wasmparser", + "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.36.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.38.1.bazel similarity index 73% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.36.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.38.1.bazel index 8a28da88b..0ab887ee1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.36.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.38.1.bazel @@ -47,20 +47,20 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "0.36.0", + version = "0.38.1", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_57//:anyhow", - "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", + "@wasmtime__anyhow__1_0_58//:anyhow", + "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", "@wasmtime__gimli__0_26_1//:gimli", - "@wasmtime__indexmap__1_8_1//:indexmap", + "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__log__0_4_17//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", - "@wasmtime__object__0_27_1//:object", - "@wasmtime__serde__1_0_137//:serde", - "@wasmtime__target_lexicon__0_12_3//:target_lexicon", + "@wasmtime__object__0_28_4//:object", + "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_83_0//:wasmparser", - "@wasmtime__wasmtime_types__0_36_0//:wasmtime_types", + "@wasmtime__wasmparser__0_85_0//:wasmparser", + "@wasmtime__wasmtime_types__0_38_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.36.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.38.1.bazel similarity index 87% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.36.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.38.1.bazel index 46736df69..cb158a7cf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.36.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.38.1.bazel @@ -49,24 +49,24 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "0.36.0", + version = "0.38.1", # buildifier: leave-alone deps = [ "@wasmtime__addr2line__0_17_0//:addr2line", - "@wasmtime__anyhow__1_0_57//:anyhow", + "@wasmtime__anyhow__1_0_58//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", "@wasmtime__gimli__0_26_1//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_27_1//:object", + "@wasmtime__object__0_28_4//:object", "@wasmtime__region__2_2_0//:region", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", - "@wasmtime__serde__1_0_137//:serde", - "@wasmtime__target_lexicon__0_12_3//:target_lexicon", + "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__0_36_0//:wasmtime_runtime", + "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", + "@wasmtime__wasmtime_runtime__0_38_1//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "linux") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.36.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.38.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.36.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.38.1.bazel index 3533af15e..8ddfe20ad 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.36.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.38.1.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "0.36.0", + version = "0.38.1", # buildifier: leave-alone deps = [ "@wasmtime__lazy_static__1_4_0//:lazy_static", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.36.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.38.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.36.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.38.1.bazel index e91c2b127..501a0625b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.36.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.38.1.bazel @@ -43,8 +43,6 @@ cargo_build_script( build_script_env = { }, crate_features = [ - "backtrace", - "wasm-backtrace", ], crate_root = "build.rs", data = glob(["**"]), @@ -56,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.0", + version = "0.38.1", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -108,8 +106,6 @@ rust_library( aliases = { }, crate_features = [ - "backtrace", - "wasm-backtrace", ], crate_root = "src/lib.rs", data = [], @@ -122,23 +118,23 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "0.36.0", + version = "0.38.1", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", - "@wasmtime__anyhow__1_0_57//:anyhow", - "@wasmtime__backtrace__0_3_65//:backtrace", + "@wasmtime__anyhow__1_0_58//:anyhow", + "@wasmtime__backtrace__0_3_66//:backtrace", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_8_1//:indexmap", - "@wasmtime__libc__0_2_125//:libc", + "@wasmtime__indexmap__1_9_1//:indexmap", + "@wasmtime__libc__0_2_126//:libc", "@wasmtime__log__0_4_17//:log", "@wasmtime__memoffset__0_6_5//:memoffset", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__rand__0_8_5//:rand", "@wasmtime__region__2_2_0//:region", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmtime_environ__0_36_0//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__0_36_0//:wasmtime_jit_debug", + "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__0_38_1//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.36.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.38.1.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.36.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.38.1.bazel index 8bb566916..dca2d0441 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.36.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.38.1.bazel @@ -47,12 +47,12 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "0.36.0", + version = "0.38.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_83_0//:cranelift_entity", - "@wasmtime__serde__1_0_137//:serde", + "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", + "@wasmtime__serde__1_0_139//:serde", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_83_0//:wasmparser", + "@wasmtime__wasmparser__0_85_0//:wasmparser", ], ) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 0fc2da6ea..3851027d7 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -201,9 +201,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "6e10746bd5141eebb1ba235b91cc042b743d7240f636be163a2c01bc0444ba68", - strip_prefix = "wasmtime-0.36.0", - url = "https://github.com/bytecodealliance/wasmtime/archive/v0.36.0.tar.gz", + sha256 = "8cb4ed3f14a1b054ff36e7017c056f10a28b57673f21d7548354fd40f2f02b3b", + strip_prefix = "wasmtime-0.38.1", + url = "https://github.com/bytecodealliance/wasmtime/archive/v0.38.1.tar.gz", ) maybe( From bcd1c4a698ca2cee79959e150ba3b02ffa790eea Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Tue, 12 Jul 2022 13:01:11 -0500 Subject: [PATCH 10/90] v8: update to v10.4.132.18. (#293) Signed-off-by: Piotr Sikora --- bazel/external/v8.patch | 292 ++++++++++++++++++++++++++++++++++++---- bazel/repositories.bzl | 10 +- src/v8/v8.cc | 2 + 3 files changed, 270 insertions(+), 34 deletions(-) diff --git a/bazel/external/v8.patch b/bazel/external/v8.patch index 219935001..7748793d0 100644 --- a/bazel/external/v8.patch +++ b/bazel/external/v8.patch @@ -1,6 +1,7 @@ # 1. Disable pointer compression (limits the maximum number of WasmVMs). # 2. Don't expose Wasm C API (only Wasm C++ API). -# 3. Fix linking on Linux (needed only for branch-heads/10.0). +# 3. Fix cross-compilation (https://crrev.com/c/3735165). +# 4. Fix build errors in SIMD IndexOf/includes (https://crrev.com/c/3749192). diff --git a/BUILD.bazel b/BUILD.bazel index 5fb10d3940..a19930d36e 100644 @@ -34,31 +35,264 @@ index ce3f569fd5..dc8a4c4f6a 100644 } // extern "C" + +#endif -diff --git a/bazel/defs.bzl b/bazel/defs.bzl -index dee5e69cc4..070fadb969 100644 ---- a/bazel/defs.bzl -+++ b/bazel/defs.bzl -@@ -159,8 +159,21 @@ def _default_args(): - "DbgHelp.lib", - "Advapi32.lib", - ], -- "@v8//bazel/config:is_macos": ["-pthread"], -- "//conditions:default": ["-Wl,--no-as-needed -ldl -pthread"], -+ "@v8//bazel/config:is_macos": [ -+ "-pthread", -+ ], -+ "@v8//bazel/config:is_android": [ -+ "-Wl,--no-as-needed", -+ "-ldl", -+ "-pthread", -+ ], -+ "@v8//bazel/config:is_linux": [ -+ "-Wl,--no-as-needed", -+ "-ldl", -+ "-lrt", -+ "-pthread", -+ ], -+ "//conditions:default": [], - }) + select({ - ":should_add_rdynamic": ["-rdynamic"], - "//conditions:default": [], +diff --git a/src/execution/clobber-registers.cc b/src/execution/clobber-registers.cc +index 8f7fba765f..a7f5bf80cf 100644 +--- a/src/execution/clobber-registers.cc ++++ b/src/execution/clobber-registers.cc +@@ -5,19 +5,22 @@ + + #include "src/base/build_config.h" + +-#if V8_HOST_ARCH_ARM ++// Check both {HOST_ARCH} and {TARGET_ARCH} to disable the functionality of this ++// file for cross-compilation. The reason is that the inline assembly code below ++// does not work for cross-compilation. ++#if V8_HOST_ARCH_ARM && V8_TARGET_ARCH_ARM + #include "src/codegen/arm/register-arm.h" +-#elif V8_HOST_ARCH_ARM64 ++#elif V8_HOST_ARCH_ARM64 && V8_TARGET_ARCH_ARM64 + #include "src/codegen/arm64/register-arm64.h" +-#elif V8_HOST_ARCH_IA32 ++#elif V8_HOST_ARCH_IA32 && V8_TARGET_ARCH_IA32 + #include "src/codegen/ia32/register-ia32.h" +-#elif V8_HOST_ARCH_X64 ++#elif V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64 + #include "src/codegen/x64/register-x64.h" +-#elif V8_HOST_ARCH_LOONG64 ++#elif V8_HOST_ARCH_LOONG64 && V8_TARGET_ARCH_LOONG64 + #include "src/codegen/loong64/register-loong64.h" +-#elif V8_HOST_ARCH_MIPS ++#elif V8_HOST_ARCH_MIPS && V8_TARGET_ARCH_MIPS + #include "src/codegen/mips/register-mips.h" +-#elif V8_HOST_ARCH_MIPS64 ++#elif V8_HOST_ARCH_MIPS64 && V8_TARGET_ARCH_MIPS64 + #include "src/codegen/mips64/register-mips64.h" + #endif + +@@ -26,14 +29,15 @@ namespace internal { + + #if V8_CC_MSVC + // msvc only support inline assembly on x86 +-#if V8_HOST_ARCH_IA32 ++#if V8_HOST_ARCH_IA32 && V8_TARGET_ARCH_IA32 + #define CLOBBER_REGISTER(R) __asm xorps R, R + + #endif + + #else // !V8_CC_MSVC + +-#if V8_HOST_ARCH_X64 || V8_HOST_ARCH_IA32 ++#if (V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64) || \ ++ (V8_HOST_ARCH_IA32 && V8_TARGET_ARCH_IA32) + #define CLOBBER_REGISTER(R) \ + __asm__ volatile( \ + "xorps " \ +@@ -42,20 +46,19 @@ namespace internal { + "%%" #R :: \ + :); + +-#elif V8_HOST_ARCH_ARM64 ++#elif V8_HOST_ARCH_ARM64 && V8_TARGET_ARCH_ARM64 + #define CLOBBER_REGISTER(R) __asm__ volatile("fmov " #R ",xzr" :::); + +-#elif V8_HOST_ARCH_LOONG64 ++#elif V8_HOST_ARCH_LOONG64 && V8_TARGET_ARCH_LOONG64 + #define CLOBBER_REGISTER(R) __asm__ volatile("movgr2fr.d $" #R ",$zero" :::); + +-#elif V8_HOST_ARCH_MIPS ++#elif V8_HOST_ARCH_MIPS && V8_TARGET_ARCH_MIPS + #define CLOBBER_USE_REGISTER(R) __asm__ volatile("mtc1 $zero,$" #R :::); + +-#elif V8_HOST_ARCH_MIPS64 ++#elif V8_HOST_ARCH_MIPS64 && V8_TARGET_ARCH_MIPS64 + #define CLOBBER_USE_REGISTER(R) __asm__ volatile("dmtc1 $zero,$" #R :::); + +-#endif // V8_HOST_ARCH_X64 || V8_HOST_ARCH_IA32 || V8_HOST_ARCH_ARM64 || +- // V8_HOST_ARCH_LOONG64 || V8_HOST_ARCH_MIPS || V8_HOST_ARCH_MIPS64 ++#endif // V8_HOST_ARCH_XXX && V8_TARGET_ARCH_XXX + + #endif // V8_CC_MSVC + +diff --git a/src/objects/simd.cc b/src/objects/simd.cc +index 0a73b9c686..be6b72d157 100644 +--- a/src/objects/simd.cc ++++ b/src/objects/simd.cc +@@ -354,8 +354,13 @@ Address ArrayIndexOfIncludes(Address array_start, uintptr_t array_len, + if (reinterpret_cast(array) % sizeof(double) != 0) { + // Slow scalar search for unaligned double array. + for (; from_index < array_len; from_index++) { +- if (fixed_array.get_representation(static_cast(from_index)) == +- *reinterpret_cast(&search_num)) { ++ if (fixed_array.is_the_hole(static_cast(from_index))) { ++ // |search_num| cannot be NaN, so there is no need to check against ++ // holes. ++ continue; ++ } ++ if (fixed_array.get_scalar(static_cast(from_index)) == ++ search_num) { + return from_index; + } + } +diff --git a/src/objects/simd.cc b/src/objects/simd.cc +index d3cedfe330..0a73b9c686 100644 +--- a/src/objects/simd.cc ++++ b/src/objects/simd.cc +@@ -95,24 +95,21 @@ inline int extract_first_nonzero_index(T v) { + } + + template <> +-inline int extract_first_nonzero_index(int32x4_t v) { +- int32x4_t mask = {4, 3, 2, 1}; ++inline int extract_first_nonzero_index(uint32x4_t v) { ++ uint32x4_t mask = {4, 3, 2, 1}; + mask = vandq_u32(mask, v); + return 4 - vmaxvq_u32(mask); + } + + template <> +-inline int extract_first_nonzero_index(int64x2_t v) { +- int32x4_t mask = {2, 0, 1, 0}; // Could also be {2,2,1,1} or {0,2,0,1} +- mask = vandq_u32(mask, vreinterpretq_s32_s64(v)); ++inline int extract_first_nonzero_index(uint64x2_t v) { ++ uint32x4_t mask = {2, 0, 1, 0}; // Could also be {2,2,1,1} or {0,2,0,1} ++ mask = vandq_u32(mask, vreinterpretq_u32_u64(v)); + return 2 - vmaxvq_u32(mask); + } + +-template <> +-inline int extract_first_nonzero_index(float64x2_t v) { +- int32x4_t mask = {2, 0, 1, 0}; // Could also be {2,2,1,1} or {0,2,0,1} +- mask = vandq_u32(mask, vreinterpretq_s32_f64(v)); +- return 2 - vmaxvq_u32(mask); ++inline int32_t reinterpret_vmaxvq_u64(uint64x2_t v) { ++ return vmaxvq_u32(vreinterpretq_u32_u64(v)); + } + #endif + +@@ -204,14 +201,14 @@ inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, + } + #elif defined(NEON64) + if constexpr (std::is_same::value) { +- VECTORIZED_LOOP_Neon(int32x4_t, int32x4_t, vdupq_n_u32, vceqq_u32, ++ VECTORIZED_LOOP_Neon(uint32x4_t, uint32x4_t, vdupq_n_u32, vceqq_u32, + vmaxvq_u32) + } else if constexpr (std::is_same::value) { +- VECTORIZED_LOOP_Neon(int64x2_t, int64x2_t, vdupq_n_u64, vceqq_u64, +- vmaxvq_u32) ++ VECTORIZED_LOOP_Neon(uint64x2_t, uint64x2_t, vdupq_n_u64, vceqq_u64, ++ reinterpret_vmaxvq_u64) + } else if constexpr (std::is_same::value) { +- VECTORIZED_LOOP_Neon(float64x2_t, float64x2_t, vdupq_n_f64, vceqq_f64, +- vmaxvq_f64) ++ VECTORIZED_LOOP_Neon(float64x2_t, uint64x2_t, vdupq_n_f64, vceqq_f64, ++ reinterpret_vmaxvq_u64) + } + #else + UNREACHABLE(); +diff --git a/src/objects/simd.cc b/src/objects/simd.cc +index be6b72d157..a71968fd10 100644 +--- a/src/objects/simd.cc ++++ b/src/objects/simd.cc +@@ -148,9 +148,14 @@ inline int32_t reinterpret_vmaxvq_u64(uint64x2_t v) { + template + inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, + uintptr_t index, T search_element) { +- static_assert(std::is_same::value || +- std::is_same::value || +- std::is_same::value); ++ static constexpr bool is_uint32 = ++ sizeof(T) == sizeof(uint32_t) && std::is_integral::value; ++ static constexpr bool is_uint64 = ++ sizeof(T) == sizeof(uint64_t) && std::is_integral::value; ++ static constexpr bool is_double = ++ sizeof(T) == sizeof(double) && std::is_floating_point::value; ++ ++ static_assert(is_uint32 || is_uint64 || is_double); + + #if !(defined(__SSE3__) || defined(NEON64)) + // No SIMD available. +@@ -178,14 +183,14 @@ inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, + + // Inserting one of the vectorized loop + #ifdef __SSE3__ +- if constexpr (std::is_same::value) { ++ if constexpr (is_uint32) { + #define MOVEMASK(x) _mm_movemask_ps(_mm_castsi128_ps(x)) + #define EXTRACT(x) base::bits::CountTrailingZeros32(x) + VECTORIZED_LOOP_x86(__m128i, __m128i, _mm_set1_epi32, _mm_cmpeq_epi32, + MOVEMASK, EXTRACT) + #undef MOVEMASK + #undef EXTRACT +- } else if constexpr (std::is_same::value) { ++ } else if constexpr (is_uint64) { + #define SET1(x) _mm_castsi128_ps(_mm_set1_epi64x(x)) + #define CMP(a, b) _mm_cmpeq_pd(_mm_castps_pd(a), _mm_castps_pd(b)) + #define EXTRACT(x) base::bits::CountTrailingZeros32(x) +@@ -193,20 +198,20 @@ inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, + #undef SET1 + #undef CMP + #undef EXTRACT +- } else if constexpr (std::is_same::value) { ++ } else if constexpr (is_double) { + #define EXTRACT(x) base::bits::CountTrailingZeros32(x) + VECTORIZED_LOOP_x86(__m128d, __m128d, _mm_set1_pd, _mm_cmpeq_pd, + _mm_movemask_pd, EXTRACT) + #undef EXTRACT + } + #elif defined(NEON64) +- if constexpr (std::is_same::value) { ++ if constexpr (is_uint32) { + VECTORIZED_LOOP_Neon(uint32x4_t, uint32x4_t, vdupq_n_u32, vceqq_u32, + vmaxvq_u32) +- } else if constexpr (std::is_same::value) { ++ } else if constexpr (is_uint64) { + VECTORIZED_LOOP_Neon(uint64x2_t, uint64x2_t, vdupq_n_u64, vceqq_u64, + reinterpret_vmaxvq_u64) +- } else if constexpr (std::is_same::value) { ++ } else if constexpr (is_double) { + VECTORIZED_LOOP_Neon(float64x2_t, uint64x2_t, vdupq_n_f64, vceqq_f64, + reinterpret_vmaxvq_u64) + } +@@ -240,9 +245,14 @@ template + TARGET_AVX2 inline uintptr_t fast_search_avx(T* array, uintptr_t array_len, + uintptr_t index, + T search_element) { +- static_assert(std::is_same::value || +- std::is_same::value || +- std::is_same::value); ++ static constexpr bool is_uint32 = ++ sizeof(T) == sizeof(uint32_t) && std::is_integral::value; ++ static constexpr bool is_uint64 = ++ sizeof(T) == sizeof(uint64_t) && std::is_integral::value; ++ static constexpr bool is_double = ++ sizeof(T) == sizeof(double) && std::is_floating_point::value; ++ ++ static_assert(is_uint32 || is_uint64 || is_double); + + const int target_align = 32; + // Scalar loop to reach desired alignment +@@ -256,21 +266,21 @@ TARGET_AVX2 inline uintptr_t fast_search_avx(T* array, uintptr_t array_len, + } + + // Generating vectorized loop +- if constexpr (std::is_same::value) { ++ if constexpr (is_uint32) { + #define MOVEMASK(x) _mm256_movemask_ps(_mm256_castsi256_ps(x)) + #define EXTRACT(x) base::bits::CountTrailingZeros32(x) + VECTORIZED_LOOP_x86(__m256i, __m256i, _mm256_set1_epi32, _mm256_cmpeq_epi32, + MOVEMASK, EXTRACT) + #undef MOVEMASK + #undef EXTRACT +- } else if constexpr (std::is_same::value) { ++ } else if constexpr (is_uint64) { + #define MOVEMASK(x) _mm256_movemask_pd(_mm256_castsi256_pd(x)) + #define EXTRACT(x) base::bits::CountTrailingZeros32(x) + VECTORIZED_LOOP_x86(__m256i, __m256i, _mm256_set1_epi64x, + _mm256_cmpeq_epi64, MOVEMASK, EXTRACT) + #undef MOVEMASK + #undef EXTRACT +- } else if constexpr (std::is_same::value) { ++ } else if constexpr (is_double) { + #define CMP(a, b) _mm256_cmp_pd(a, b, _CMP_EQ_OQ) + #define EXTRACT(x) base::bits::CountTrailingZeros32(x) + VECTORIZED_LOOP_x86(__m256d, __m256d, _mm256_set1_pd, CMP, diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 3851027d7..3cc0e1856 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -116,10 +116,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( git_repository, name = "v8", - # 10.0.139.6 - commit = "1e242a567b609aa18ce46f7b04cc51fd85756b67", + # 10.4.132.18 + commit = "ce33dd2c08521fbe7f616bcd5941f2f388338030", remote = "https://chromium.googlesource.com/v8/v8", - shallow_since = "1646671271 +0000", + shallow_since = "1657561920 +0000", patches = ["@proxy_wasm_cpp_host//bazel/external:v8.patch"], patch_args = ["-p1"], ) @@ -147,9 +147,9 @@ def proxy_wasm_cpp_host_repositories(): new_git_repository, name = "com_googlesource_chromium_zlib", build_file = "@v8//:bazel/BUILD.zlib", - commit = "9538f4194f6e5eff1bd59f2396ed9d05b1a8d801", + commit = "64bbf988543996eb8df9a86877b32917187eba8f", remote = "https://chromium.googlesource.com/chromium/src/third_party/zlib.git", - shallow_since = "1644963419 -0800", + shallow_since = "1653988038 -0700", ) native.bind( diff --git a/src/v8/v8.cc b/src/v8/v8.cc index abad6d514..7603ea671 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -34,6 +34,7 @@ #include "wasm-api/wasm.hh" namespace v8::internal { +extern bool FLAG_liftoff; extern unsigned int FLAG_wasm_max_mem_pages; } // namespace v8::internal @@ -45,6 +46,7 @@ wasm::Engine *engine() { static wasm::own engine; std::call_once(init, []() { + ::v8::internal::FLAG_liftoff = false; ::v8::internal::FLAG_wasm_max_mem_pages = PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES / PROXY_WASM_HOST_WASM_MEMORY_PAGE_SIZE_BYTES; ::v8::V8::EnableWebAssemblyTrapHandler(true); From 2cf68d6c00b4141ecf2afb5e5d51ebd21a27ed43 Mon Sep 17 00:00:00 2001 From: Le Yao Date: Wed, 13 Jul 2022 10:34:51 +0800 Subject: [PATCH 11/90] wamr: update to WAMR-05-18-2022. (#291) Signed-off-by: Le Yao --- bazel/repositories.bzl | 8 ++++---- src/wamr/wamr.cc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 3cc0e1856..6faef655c 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -168,10 +168,10 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasm_micro_runtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr.BUILD", - # WAMR-01-18-2022 - sha256 = "af88da144bcb5ecac417af7fd34130487f5e4792e79670f07530474b2ef43912", - strip_prefix = "wasm-micro-runtime-d856af6c33591815ab4c890f0606bc99ee8135ad", - url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/d856af6c33591815ab4c890f0606bc99ee8135ad.tar.gz", + # WAMR-05-18-2022 + sha256 = "350736fffdc49533f5f372221d01e3b570ecd7b85f4429b22f5d89594eb99d9c", + strip_prefix = "wasm-micro-runtime-d7a2888b18c478d87ce8094e1419b4e061db289f", + url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/d7a2888b18c478d87ce8094e1419b4e061db289f.tar.gz", ) native.bind( diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index 93cae4d58..6e97ebfb0 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -296,7 +296,7 @@ bool Wamr::link(std::string_view /*debug_name*/) { return false; } - wasm_extern_vec_t imports_vec = {imports.size(), imports.data()}; + wasm_extern_vec_t imports_vec = {imports.size(), imports.data(), imports.size()}; instance_ = wasm_instance_new(store_.get(), module_.get(), &imports_vec, nullptr); if (instance_ == nullptr) { fail(FailState::UnableToInitializeCode, "Failed to create new Wasm instance"); From 4ddbed3c8c8c1aa76db8157e22ae3be676e76ac1 Mon Sep 17 00:00:00 2001 From: Ingwon Song <102102227+ingwonsong@users.noreply.github.com> Date: Sat, 30 Jul 2022 22:31:42 -0700 Subject: [PATCH 12/90] Configuration canary for the second or further plugins. (#289) Fixes #175. Signed-off-by: Ingwon Song --- .github/workflows/test.yml | 14 +++- WORKSPACE | 12 ++++ bazel/repositories.bzl | 6 +- include/proxy-wasm/wasm.h | 11 +-- src/wasm.cc | 78 ++++++++++++--------- test/BUILD | 1 + test/test_data/BUILD | 6 ++ test/test_data/canary_check.cc | 52 ++++++++++++++ test/utility.cc | 2 + test/utility.h | 34 ++++++++- test/wasm_test.cc | 122 +++++++++++++++++++++++++++++++++ 11 files changed, 295 insertions(+), 43 deletions(-) create mode 100644 test/test_data/canary_check.cc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 251818335..9aea8357f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,6 +56,18 @@ jobs: --config=clang -c opt $(bazel query 'kind(was.*_rust_binary, //test/test_data/...)') + $(bazel query 'kind(_optimized_wasm_cc_binary, //test/test_data/...)') + + # Currently, in Github Action, "Bazel build step" creates `wasm_canary_check.wasm` directory as a temporal directory. + # Since the name of this directory has "*.wasm" pattern, the step "Mangle build rules to use existing test data" fails. + # So, here, we clear out the directories in test_data. + - name: Clean up test data + shell: bash + run: | + # Remove temporal directories + for i in $(find bazel-bin/test/test_data/ -mindepth 1 -maxdepth 1 -type d); do \ + rm -rf $i; \ + done - name: Upload test data uses: actions/upload-artifact@v2 @@ -201,7 +213,7 @@ jobs: os: ubuntu-20.04 arch: s390x action: test - flags: --config=clang + flags: --config=clang --test_timeout=1800 run_under: docker run --rm --env HOME=$HOME --env USER=$(id -un) --volume "$HOME:$HOME" --workdir $(pwd) --user $(id -u):$(id -g) --platform linux/s390x piotrsikora/build-tools:bazel-5.0.0-clang-13-gcc-11 cache: true - name: 'Wasmtime on macOS/x86_64' diff --git a/WORKSPACE b/WORKSPACE index 77ecd3a0b..478a58dea 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -7,3 +7,15 @@ proxy_wasm_cpp_host_repositories() load("@proxy_wasm_cpp_host//bazel:dependencies.bzl", "proxy_wasm_cpp_host_dependencies") proxy_wasm_cpp_host_dependencies() + +load("@proxy_wasm_cpp_sdk//bazel:repositories.bzl", "proxy_wasm_cpp_sdk_repositories") + +proxy_wasm_cpp_sdk_repositories() + +load("@proxy_wasm_cpp_sdk//bazel:dependencies.bzl", "proxy_wasm_cpp_sdk_dependencies") + +proxy_wasm_cpp_sdk_dependencies() + +load("@proxy_wasm_cpp_sdk//bazel:dependencies_extra.bzl", "proxy_wasm_cpp_sdk_dependencies_extra") + +proxy_wasm_cpp_sdk_dependencies_extra() diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 6faef655c..29fec2483 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -86,9 +86,9 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "proxy_wasm_cpp_sdk", - sha256 = "c57de2425b5c61d7f630c5061e319b4557ae1f1c7526e5a51c33dc1299471b08", - strip_prefix = "proxy-wasm-cpp-sdk-fd0be8405db25de0264bdb78fae3a82668c03782", - urls = ["https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/fd0be8405db25de0264bdb78fae3a82668c03782.tar.gz"], + sha256 = "89792fc1abca331f29f99870476a04146de5e82ff903bdffca90e6729c1f2470", + strip_prefix = "proxy-wasm-cpp-sdk-95bb82ce45c41d9100fd1ec15d2ffc67f7f3ceee", + urls = ["https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/95bb82ce45c41d9100fd1ec15d2ffc67f7f3ceee.tar.gz"], ) # Test dependencies. diff --git a/include/proxy-wasm/wasm.h b/include/proxy-wasm/wasm.h index fbef823ad..873531afd 100644 --- a/include/proxy-wasm/wasm.h +++ b/include/proxy-wasm/wasm.h @@ -314,6 +314,10 @@ class WasmBase : public std::enable_shared_from_this { std::shared_ptr vm_id_handle_; }; +using WasmHandleFactory = std::function(std::string_view vm_id)>; +using WasmHandleCloneFactory = + std::function(std::shared_ptr wasm)>; + // Handle which enables shutdown operations to run post deletion (e.g. post listener drain). class WasmHandleBase : public std::enable_shared_from_this { public: @@ -324,6 +328,9 @@ class WasmHandleBase : public std::enable_shared_from_this { } } + bool canary(const std::shared_ptr &plugin, + const WasmHandleCloneFactory &clone_factory); + void kill() { wasm_base_ = nullptr; } std::shared_ptr &wasm() { return wasm_base_; } @@ -335,10 +342,6 @@ class WasmHandleBase : public std::enable_shared_from_this { std::string makeVmKey(std::string_view vm_id, std::string_view configuration, std::string_view code); -using WasmHandleFactory = std::function(std::string_view vm_id)>; -using WasmHandleCloneFactory = - std::function(std::shared_ptr wasm)>; - // Returns nullptr on failure (i.e. initialization of the VM fails). std::shared_ptr createWasm(const std::string &vm_key, const std::string &code, const std::shared_ptr &plugin, diff --git a/src/wasm.cc b/src/wasm.cc index 2295e9880..fe21d7925 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -447,6 +447,35 @@ void WasmBase::finishShutdown() { } } +bool WasmHandleBase::canary(const std::shared_ptr &plugin, + const WasmHandleCloneFactory &clone_factory) { + if (this->wasm() == nullptr) { + return false; + } + auto configuration_canary_handle = clone_factory(shared_from_this()); + if (!configuration_canary_handle) { + this->wasm()->fail(FailState::UnableToCloneVm, "Failed to clone Base Wasm"); + return false; + } + if (!configuration_canary_handle->wasm()->initialize()) { + configuration_canary_handle->wasm()->fail(FailState::UnableToInitializeCode, + "Failed to initialize Wasm code"); + return false; + } + auto *root_context = configuration_canary_handle->wasm()->start(plugin); + if (root_context == nullptr) { + configuration_canary_handle->wasm()->fail(FailState::StartFailed, "Failed to start base Wasm"); + return false; + } + if (!configuration_canary_handle->wasm()->configure(root_context, plugin)) { + configuration_canary_handle->wasm()->fail(FailState::ConfigureFailed, + "Failed to configure base Wasm plugin"); + return false; + } + configuration_canary_handle->kill(); + return true; +} + std::shared_ptr createWasm(const std::string &vm_key, const std::string &code, const std::shared_ptr &plugin, const WasmHandleFactory &factory, @@ -465,44 +494,29 @@ std::shared_ptr createWasm(const std::string &vm_key, const std: base_wasms->erase(it); } } - if (wasm_handle) { - return wasm_handle; - } - wasm_handle = factory(vm_key); if (!wasm_handle) { - return nullptr; + // If no cached base_wasm, creates a new base_wasm, loads the code and initializes it. + wasm_handle = factory(vm_key); + if (!wasm_handle) { + return nullptr; + } + if (!wasm_handle->wasm()->load(code, allow_precompiled)) { + wasm_handle->wasm()->fail(FailState::UnableToInitializeCode, "Failed to load Wasm code"); + return nullptr; + } + if (!wasm_handle->wasm()->initialize()) { + wasm_handle->wasm()->fail(FailState::UnableToInitializeCode, + "Failed to initialize Wasm code"); + return nullptr; + } + (*base_wasms)[vm_key] = wasm_handle; } - (*base_wasms)[vm_key] = wasm_handle; } - if (!wasm_handle->wasm()->load(code, allow_precompiled)) { - wasm_handle->wasm()->fail(FailState::UnableToInitializeCode, "Failed to load Wasm code"); - return nullptr; - } - if (!wasm_handle->wasm()->initialize()) { - wasm_handle->wasm()->fail(FailState::UnableToInitializeCode, "Failed to initialize Wasm code"); - return nullptr; - } - auto configuration_canary_handle = clone_factory(wasm_handle); - if (!configuration_canary_handle) { - wasm_handle->wasm()->fail(FailState::UnableToCloneVm, "Failed to clone Base Wasm"); - return nullptr; - } - if (!configuration_canary_handle->wasm()->initialize()) { - wasm_handle->wasm()->fail(FailState::UnableToInitializeCode, "Failed to initialize Wasm code"); - return nullptr; - } - auto *root_context = configuration_canary_handle->wasm()->start(plugin); - if (root_context == nullptr) { - configuration_canary_handle->wasm()->fail(FailState::StartFailed, "Failed to start base Wasm"); + // Either creating new one or reusing the existing one, apply canary for each plugin. + if (!wasm_handle->canary(plugin, clone_factory)) { return nullptr; } - if (!configuration_canary_handle->wasm()->configure(root_context, plugin)) { - configuration_canary_handle->wasm()->fail(FailState::ConfigureFailed, - "Failed to configure base Wasm plugin"); - return nullptr; - } - configuration_canary_handle->kill(); return wasm_handle; }; diff --git a/test/BUILD b/test/BUILD index 93373486d..196cbc590 100644 --- a/test/BUILD +++ b/test/BUILD @@ -91,6 +91,7 @@ cc_test( srcs = ["wasm_test.cc"], data = [ "//test/test_data:abi_export.wasm", + "//test/test_data:canary_check.wasm", ], linkstatic = 1, deps = [ diff --git a/test/test_data/BUILD b/test/test_data/BUILD index 553d43b14..c6892954e 100644 --- a/test/test_data/BUILD +++ b/test/test_data/BUILD @@ -1,4 +1,5 @@ load("@proxy_wasm_cpp_host//bazel:wasm.bzl", "wasm_rust_binary") +load("@proxy_wasm_cpp_sdk//bazel:defs.bzl", "proxy_wasm_cc_binary") licenses(["notice"]) # Apache 2 @@ -59,3 +60,8 @@ wasm_rust_binary( srcs = ["random.rs"], wasi = True, ) + +proxy_wasm_cc_binary( + name = "canary_check.wasm", + srcs = ["canary_check.cc"], +) diff --git a/test/test_data/canary_check.cc b/test/test_data/canary_check.cc new file mode 100644 index 000000000..38cf8b410 --- /dev/null +++ b/test/test_data/canary_check.cc @@ -0,0 +1,52 @@ +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include +#include +#include + +#include "proxy_wasm_intrinsics.h" + +class CanaryCheckRootContext1 : public RootContext { +public: + explicit CanaryCheckRootContext1(uint32_t id, std::string_view root_id) + : RootContext(id, root_id) {} + bool onConfigure(size_t s) override { + LOG_TRACE("onConfigure: root_id_1"); + return s != 0; + } +}; + +class CanaryCheckContext : public Context { +public: + explicit CanaryCheckContext(uint32_t id, RootContext *root) : Context(id, root) {} +}; + +class CanaryCheckRootContext2 : public RootContext { +public: + explicit CanaryCheckRootContext2(uint32_t id, std::string_view root_id) + : RootContext(id, root_id) {} + bool onConfigure(size_t s) override { + LOG_TRACE("onConfigure: root_id_2"); + return s != 0; + } +}; + +static RegisterContextFactory register_CanaryCheckContext1(CONTEXT_FACTORY(CanaryCheckContext), + ROOT_FACTORY(CanaryCheckRootContext1), + "root_id_1"); + +static RegisterContextFactory register_CanaryCheckContext2(CONTEXT_FACTORY(CanaryCheckContext), + ROOT_FACTORY(CanaryCheckRootContext2), + "root_id_2"); diff --git a/test/utility.cc b/test/utility.cc index e4196f8df..ee6f2b951 100644 --- a/test/utility.cc +++ b/test/utility.cc @@ -16,6 +16,8 @@ namespace proxy_wasm { +std::string TestContext::global_log_; + std::vector getWasmEngines() { std::vector engines = { #if defined(PROXY_WASM_HOST_ENGINE_V8) diff --git a/test/utility.h b/test/utility.h index 3935723bd..06114e2c3 100644 --- a/test/utility.h +++ b/test/utility.h @@ -91,16 +91,34 @@ class TestIntegration : public WasmVmIntegration { class TestContext : public ContextBase { public: TestContext(WasmBase *wasm) : ContextBase(wasm) {} + TestContext(WasmBase *wasm, const std::shared_ptr &plugin) + : ContextBase(wasm, plugin) {} WasmResult log(uint32_t /*log_level*/, std::string_view message) override { - log_ += std::string(message) + "\n"; + auto new_log = std::string(message) + "\n"; + log_ += new_log; + global_log_ += new_log; return WasmResult::Ok; } + WasmResult getProperty(std::string_view path, std::string *result) override { + if (path == "plugin_root_id") { + *result = root_id_; + return WasmResult::Ok; + } + return unimplemented(); + } + bool isLogEmpty() { return log_.empty(); } bool isLogged(std::string_view message) { return log_.find(message) != std::string::npos; } + static bool isGlobalLogged(std::string_view message) { + return global_log_.find(message) != std::string::npos; + } + + static void resetGlobalLog() { global_log_ = ""; } + uint64_t getCurrentTimeNanoseconds() override { return std::chrono::duration_cast( std::chrono::system_clock::now().time_since_epoch()) @@ -114,14 +132,24 @@ class TestContext : public ContextBase { private: std::string log_; + static std::string global_log_; }; class TestWasm : public WasmBase { public: - TestWasm(std::unique_ptr wasm_vm, std::unordered_map envs = {}) - : WasmBase(std::move(wasm_vm), "", "", "", std::move(envs), {}) {} + TestWasm(std::unique_ptr wasm_vm, std::unordered_map envs = {}, + std::string_view vm_id = "", std::string_view vm_configuration = "", + std::string_view vm_key = "") + : WasmBase(std::move(wasm_vm), vm_id, vm_configuration, vm_key, std::move(envs), {}) {} + + TestWasm(const std::shared_ptr &base_wasm_handle, const WasmVmFactory &factory) + : WasmBase(base_wasm_handle, factory) {} ContextBase *createVmContext() override { return new TestContext(this); }; + + ContextBase *createRootContext(const std::shared_ptr &plugin) override { + return new TestContext(this, plugin); + } }; class TestVm : public testing::TestWithParam { diff --git a/test/wasm_test.cc b/test/wasm_test.cc index 51026b559..387348e8d 100644 --- a/test/wasm_test.cc +++ b/test/wasm_test.cc @@ -14,6 +14,8 @@ #include "include/proxy-wasm/wasm.h" +#include + #include "gtest/gtest.h" #include "test/utility.h" @@ -113,4 +115,124 @@ TEST_P(TestVm, GetOrCreateThreadLocalWasmFailCallbacks) { ASSERT_NE(thread_local_plugin3->wasm(), thread_local_plugin2->wasm()); } +// Tests the canary is always applied when making a call `createWasm` +TEST_P(TestVm, AlwaysApplyCanary) { + // Use different root_id, but the others are the same + const auto *const plugin_name = "plugin_name"; + + const std::string root_ids[2] = {"root_id_1", "root_id_2"}; + const std::string vm_ids[2] = {"vm_id_1", "vm_id_2"}; + const std::string vm_configs[2] = {"vm_config_1", "vm_config_2"}; + const std::string plugin_configs[3] = {"plugin_config_1", "plugin_config_2", + /* raising the error */ ""}; + const std::string plugin_keys[2] = {"plugin_key_1", "plugin_key_2"}; + const auto fail_open = false; + + // Define common callbacks + auto canary_count = 0; + WasmHandleCloneFactory wasm_handle_clone_factory_for_canary = + [&canary_count, this](const std::shared_ptr &base_wasm_handle) + -> std::shared_ptr { + auto wasm = std::make_shared(base_wasm_handle, + [this]() -> std::unique_ptr { return newVm(); }); + canary_count++; + return std::make_shared(wasm); + }; + + PluginHandleFactory plugin_handle_factory = + [](const std::shared_ptr &base_wasm, + const std::shared_ptr &plugin) -> std::shared_ptr { + return std::make_shared(base_wasm, plugin); + }; + + // Read the minimal loadable binary. + auto source = readTestWasmFile("canary_check.wasm"); + + WasmHandleFactory wasm_handle_factory_baseline = + [this, vm_ids, vm_configs](std::string_view vm_key) -> std::shared_ptr { + auto base_wasm = std::make_shared( + newVm(), std::unordered_map(), vm_ids[0], vm_configs[0], vm_key); + return std::make_shared(base_wasm); + }; + + // Create a baseline plugin. + const auto plugin_baseline = std::make_shared( + plugin_name, root_ids[0], vm_ids[0], engine_, plugin_configs[0], fail_open, plugin_keys[0]); + + const auto vm_key_baseline = makeVmKey(vm_ids[0], vm_configs[0], "common_code"); + // Create a base Wasm by createWasm. + auto wasm_handle_baseline = + createWasm(vm_key_baseline, source, plugin_baseline, wasm_handle_factory_baseline, + wasm_handle_clone_factory_for_canary, false); + ASSERT_TRUE(wasm_handle_baseline && wasm_handle_baseline->wasm()); + + // Check if it ran for baseline root context + EXPECT_TRUE(TestContext::isGlobalLogged("onConfigure: " + root_ids[0])); + // For each create Wasm, canary should be done. + EXPECT_EQ(canary_count, 1); + + std::unordered_set> reference_holder; + + for (const auto &root_id : root_ids) { + for (const auto &vm_id : vm_ids) { + for (const auto &vm_config : vm_configs) { + for (const auto &plugin_key : plugin_keys) { + for (const auto &plugin_config : plugin_configs) { + canary_count = 0; + TestContext::resetGlobalLog(); + WasmHandleFactory wasm_handle_factory_comp = + [this, vm_id, + vm_config](std::string_view vm_key) -> std::shared_ptr { + auto base_wasm = std::make_shared( + newVm(), std::unordered_map(), vm_id, vm_config, + vm_key); + return std::make_shared(base_wasm); + }; + const auto plugin_comp = std::make_shared( + plugin_name, root_id, vm_id, engine_, plugin_config, fail_open, plugin_key); + const auto vm_key = makeVmKey(vm_id, vm_config, "common_code"); + // Create a base Wasm by createWasm. + auto wasm_handle_comp = + createWasm(vm_key, source, plugin_comp, wasm_handle_factory_comp, + wasm_handle_clone_factory_for_canary, false); + // For each create Wasm, canary should be done. + EXPECT_EQ(canary_count, 1); + + if (plugin_config.empty()) { + // canary_check.wasm should raise the error at `onConfigure` in canary when the + // `plugin_config` is empty string. + EXPECT_EQ(wasm_handle_comp, nullptr); + continue; + } + + ASSERT_TRUE(wasm_handle_comp && wasm_handle_comp->wasm()); + // Keep the reference of wasm_handle_comp in order to utilize the WasmHandleBase + // cache of createWasm. If we don't keep the reference, WasmHandleBase and VM will be + // destroyed for each iteration. + reference_holder.insert(wasm_handle_comp); + + EXPECT_TRUE(TestContext::isGlobalLogged("onConfigure: " + root_id)); + + // Wasm VM is unique for vm_key. + if (vm_key == vm_key_baseline) { + EXPECT_EQ(wasm_handle_baseline->wasm(), wasm_handle_comp->wasm()); + } else { + EXPECT_NE(wasm_handle_baseline->wasm(), wasm_handle_comp->wasm()); + } + + // plugin->key() is unique for root_id + plugin_config + plugin_key. + // plugin->key() is used as an identifier of local-specific plugins as well. + if (root_id == root_ids[0] && plugin_config == plugin_configs[0] && + plugin_key == plugin_keys[0]) { + EXPECT_EQ(plugin_baseline->key(), plugin_comp->key()); + } else { + EXPECT_NE(plugin_baseline->key(), plugin_comp->key()); + } + } + } + } + } + } +} + } // namespace proxy_wasm From 9219629fca0a4f2d110c101c7cb87c921a84c5a6 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 1 Aug 2022 12:09:25 -0500 Subject: [PATCH 13/90] Update Bazel to v5.2.0. (#298) Signed-off-by: Piotr Sikora --- .bazelversion | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bazelversion b/.bazelversion index 0062ac971..91ff57278 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -5.0.0 +5.2.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9aea8357f..55c9822eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -214,7 +214,7 @@ jobs: arch: s390x action: test flags: --config=clang --test_timeout=1800 - run_under: docker run --rm --env HOME=$HOME --env USER=$(id -un) --volume "$HOME:$HOME" --workdir $(pwd) --user $(id -u):$(id -g) --platform linux/s390x piotrsikora/build-tools:bazel-5.0.0-clang-13-gcc-11 + run_under: docker run --rm --env HOME=$HOME --env USER=$(id -un) --volume "$HOME:$HOME" --workdir $(pwd) --user $(id -u):$(id -g) --platform linux/s390x piotrsikora/build-tools:bazel-5.2.0-clang-14-gcc-12 cache: true - name: 'Wasmtime on macOS/x86_64' engine: 'wasmtime' From 0208b079575bb57549e1a7444974941c81d6a55a Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 1 Aug 2022 15:11:45 -0500 Subject: [PATCH 14/90] Update rules_rust to v0.8.1 (with Rust v1.62.1). (#297) Signed-off-by: Piotr Sikora --- bazel/dependencies.bzl | 4 ++-- bazel/external/rules_rust.patch | 15 +++++++++++++++ bazel/repositories.bzl | 8 +++++--- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 bazel/external/rules_rust.patch diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 95efe8ad0..8e0cfe91d 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -34,7 +34,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.60.0", + version = "1.62.1", ) rust_repository_set( name = "rust_linux_s390x", @@ -43,7 +43,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.60.0", + version = "1.62.1", ) zig_register_toolchains( diff --git a/bazel/external/rules_rust.patch b/bazel/external/rules_rust.patch new file mode 100644 index 000000000..67689bec2 --- /dev/null +++ b/bazel/external/rules_rust.patch @@ -0,0 +1,15 @@ +# https://github.com/bazelbuild/rules_rust/pull/1315 + +diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl +index 6cdbefeb..284d4afa 100644 +--- a/rust/private/rustc.bzl ++++ b/rust/private/rustc.bzl +@@ -1024,7 +1024,7 @@ def rustc_compile_action( + ), + ] + +- if crate_info.type in ["staticlib", "cdylib"]: ++ if crate_info.type in ["staticlib", "cdylib"] and not out_binary: + # These rules are not supposed to be depended on by other rust targets, and + # as such they shouldn't provide a CrateInfo. However, one may still want to + # write a rust_test for them, so we provide the CrateInfo wrapped in a provider diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 29fec2483..0732d8886 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -66,10 +66,12 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_rust", - sha256 = "0c57c91a20df12d2b1e5db6c58fd6df21bce0c73940eeafbcb87761c14c28878", - strip_prefix = "rules_rust-0.3.1", + sha256 = "f3d443e9ad1eca99fbcade1c649adbd8200753cf22e47846b3105a43a550273b", + strip_prefix = "rules_rust-0.8.1", # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/archive/0.3.1.tar.gz", + url = "https://github.com/bazelbuild/rules_rust/archive/0.8.1.tar.gz", + patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], + patch_args = ["-p1"], ) # Core. From 9387a5b77418e41bbf2b0909c68c14db42a1e743 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 1 Aug 2022 16:34:05 -0500 Subject: [PATCH 15/90] wasmtime: update to v0.39.1. (#296) While there, add a format check to verify presence of manual fixes to workaround google/cargo-raze#451. Signed-off-by: Piotr Sikora --- .github/workflows/format.yml | 4 + bazel/cargo/wasmtime/BUILD.bazel | 2 +- bazel/cargo/wasmtime/Cargo.raze.lock | 169 +++++---- bazel/cargo/wasmtime/Cargo.toml | 6 +- bazel/cargo/wasmtime/crates.bzl | 342 ++++++++++-------- .../remote/BUILD.addr2line-0.17.0.bazel | 2 +- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 2 +- ...l => BUILD.cranelift-bforest-0.86.1.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.86.1.bazel} | 18 +- ...BUILD.cranelift-codegen-meta-0.86.1.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.86.1.bazel} | 2 +- ...el => BUILD.cranelift-entity-0.86.1.bazel} | 4 +- ... => BUILD.cranelift-frontend-0.86.1.bazel} | 4 +- ...azel => BUILD.cranelift-isle-0.86.1.bazel} | 4 +- ...el => BUILD.cranelift-native-0.86.1.bazel} | 4 +- ...azel => BUILD.cranelift-wasm-0.86.1.bazel} | 12 +- ...-0.26.1.bazel => BUILD.gimli-0.26.2.bazel} | 4 +- ...2.2.bazel => BUILD.hashbrown-0.12.3.bazel} | 2 +- .../remote/BUILD.indexmap-1.9.1.bazel | 4 +- ...3.bazel => BUILD.io-lifetimes-0.7.2.bazel} | 4 +- ...bazel => BUILD.linux-raw-sys-0.0.46.bazel} | 3 +- ...0.bazel => BUILD.proc-macro2-1.0.42.bazel} | 6 +- ...sm-0.1.19.bazel => BUILD.psm-0.1.20.bazel} | 4 +- .../wasmtime/remote/BUILD.quote-1.0.20.bazel | 2 +- ....2.3.bazel => BUILD.regalloc2-0.3.1.bazel} | 2 +- ...0.33.7.bazel => BUILD.rustix-0.35.7.bazel} | 52 ++- ....0.139.bazel => BUILD.serde-1.0.140.bazel} | 6 +- ...bazel => BUILD.serde_derive-1.0.140.bazel} | 6 +- .../wasmtime/remote/BUILD.syn-1.0.98.bazel | 4 +- .../remote/BUILD.thiserror-impl-1.0.31.bazel | 2 +- ....bazel => BUILD.unicode-ident-1.0.2.bazel} | 4 +- ....0.bazel => BUILD.wasmparser-0.86.0.bazel} | 2 +- ...38.1.bazel => BUILD.wasmtime-0.39.1.bazel} | 23 +- .../BUILD.wasmtime-c-api-macros-0.19.0.bazel | 2 +- ... => BUILD.wasmtime-cranelift-0.39.1.bazel} | 18 +- ...el => BUILD.wasmtime-environ-0.39.1.bazel} | 12 +- ....bazel => BUILD.wasmtime-jit-0.39.1.bazel} | 14 +- ... => BUILD.wasmtime-jit-debug-0.39.1.bazel} | 2 +- ...el => BUILD.wasmtime-runtime-0.39.1.bazel} | 13 +- ...azel => BUILD.wasmtime-types-0.39.1.bazel} | 8 +- .../wasmtime/remote/BUILD.winapi-0.3.9.bazel | 8 - .../remote/BUILD.windows-sys-0.36.1.bazel | 88 +++++ .../BUILD.windows_aarch64_msvc-0.36.1.bazel | 84 +++++ .../BUILD.windows_i686_gnu-0.36.1.bazel | 84 +++++ .../BUILD.windows_i686_msvc-0.36.1.bazel | 84 +++++ .../BUILD.windows_x86_64_gnu-0.36.1.bazel | 84 +++++ .../BUILD.windows_x86_64_msvc-0.36.1.bazel | 84 +++++ bazel/repositories.bzl | 6 +- 48 files changed, 963 insertions(+), 341 deletions(-) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.85.1.bazel => BUILD.cranelift-bforest-0.86.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.85.1.bazel => BUILD.cranelift-codegen-0.86.1.bazel} (81%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.85.1.bazel => BUILD.cranelift-codegen-meta-0.86.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.85.1.bazel => BUILD.cranelift-codegen-shared-0.86.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.85.1.bazel => BUILD.cranelift-entity-0.86.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.85.1.bazel => BUILD.cranelift-frontend-0.86.1.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-isle-0.85.1.bazel => BUILD.cranelift-isle-0.86.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.85.1.bazel => BUILD.cranelift-native-0.86.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.85.1.bazel => BUILD.cranelift-wasm-0.86.1.bazel} (79%) rename bazel/cargo/wasmtime/remote/{BUILD.gimli-0.26.1.bazel => BUILD.gimli-0.26.2.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.hashbrown-0.12.2.bazel => BUILD.hashbrown-0.12.3.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.io-lifetimes-0.5.3.bazel => BUILD.io-lifetimes-0.7.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.linux-raw-sys-0.0.42.bazel => BUILD.linux-raw-sys-0.0.46.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.proc-macro2-1.0.40.bazel => BUILD.proc-macro2-1.0.42.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.psm-0.1.19.bazel => BUILD.psm-0.1.20.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.regalloc2-0.2.3.bazel => BUILD.regalloc2-0.3.1.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.rustix-0.33.7.bazel => BUILD.rustix-0.35.7.bazel} (69%) rename bazel/cargo/wasmtime/remote/{BUILD.serde-1.0.139.bazel => BUILD.serde-1.0.140.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.serde_derive-1.0.139.bazel => BUILD.serde_derive-1.0.140.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.unicode-ident-1.0.1.bazel => BUILD.unicode-ident-1.0.2.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmparser-0.85.0.bazel => BUILD.wasmparser-0.86.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-0.38.1.bazel => BUILD.wasmtime-0.39.1.bazel} (83%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-0.38.1.bazel => BUILD.wasmtime-cranelift-0.39.1.bazel} (73%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-0.38.1.bazel => BUILD.wasmtime-environ-0.39.1.bazel} (82%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-0.38.1.bazel => BUILD.wasmtime-jit-0.39.1.bazel} (87%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-0.38.1.bazel => BUILD.wasmtime-jit-debug-0.39.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-0.38.1.bazel => BUILD.wasmtime-runtime-0.39.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-0.38.1.bazel => BUILD.wasmtime-types-0.39.1.bazel} (85%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.36.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.36.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index aa685007d..1f0f44628 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -84,6 +84,10 @@ jobs: - name: Install dependencies run: cargo install cargo-raze --version 0.14.1 + - name: Format (bazel query) + run: | + bazel query 'deps(//bazel/cargo/...)' + - name: Format (cargo raze) working-directory: bazel/cargo run: | diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index 2f60511c9..a6e9ee996 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__0_38_1//:wasmtime", + actual = "@wasmtime__wasmtime__0_39_1//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index 8f2838985..cb561715e 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -117,18 +117,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7901fbba05decc537080b07cb3f1cadf53be7b7602ca8255786288a8692ae29a" +checksum = "529ffacce2249ac60edba2941672dfedf3d96558b415d0d8083cd007456e0f55" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ba1b45d243a4a28e12d26cd5f2507da74e77c45927d40de8b6ffbf088b46b5" +checksum = "427d105f617efc8cb55f8d036a7fded2e227892d8780b4985e5551f8d27c4a92" dependencies = [ "cranelift-bforest", "cranelift-codegen-meta", @@ -144,33 +144,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54cc30032171bf230ce22b99c07c3a1de1221cb5375bd6dbe6dbe77d0eed743c" +checksum = "551674bed85b838d45358e3eab4f0ffaa6790c70dc08184204b9a54b41cdb7d1" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a23f2672426d2bb4c9c3ef53e023076cfc4d8922f0eeaebaf372c92fae8b5c69" +checksum = "2b3a63ae57498c3eb495360944a33571754241e15e47e3bcae6082f40fec5866" [[package]] name = "cranelift-entity" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "886c59a5e0de1f06dbb7da80db149c75de10d5e2caca07cdd9fef8a5918a6336" +checksum = "11aa8aa624c72cc1c94ea3d0739fa61248260b5b14d3646f51593a88d67f3e6e" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace74eeca11c439a9d4ed1a5cb9df31a54cd0f7fbddf82c8ce4ea8e9ad2a8fe0" +checksum = "544ee8f4d1c9559c9aa6d46e7aaeac4a13856d620561094f35527356c7d21bd0" dependencies = [ "cranelift-codegen", "log", @@ -180,15 +180,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db1ae52a5cc2cad0d86fdd3dcb16b7217d2f1e65ab4f5814aa4f014ad335fa43" +checksum = "ed16b14363d929b8c37e3c557d0a7396791b383ecc302141643c054343170aad" [[package]] name = "cranelift-native" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dadcfb7852900780d37102bce5698bcd401736403f07b52e714ff7a180e0e22f" +checksum = "51617cf8744634f2ed3c989c3c40cd6444f63377c6d994adab0d85807f3eb682" dependencies = [ "cranelift-codegen", "libc", @@ -197,9 +197,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.85.1" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c84e3410960389110b88f97776f39f6d2c8becdaa4cd59e390e6b76d9d0e7190" +checksum = "e5a8073a41efc173fd19bad3f725c170c705df6da999fc47a738ff310225dd63" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -288,9 +288,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.26.1" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4" +checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ "fallible-iterator", "indexmap", @@ -308,9 +308,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "607c8a29735385251a339424dd462993c0fed8fa09d378f259377df08c126022" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hermit-abi" @@ -334,15 +334,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" dependencies = [ "autocfg", - "hashbrown 0.12.2", + "hashbrown 0.12.3", "serde", ] [[package]] name = "io-lifetimes" -version = "0.5.3" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6" +checksum = "24c3f4eff5495aee4c0399d7b6a0dc2b6e81be84242ffbfcf253ebacccc1d0cb" [[package]] name = "itertools" @@ -367,9 +367,9 @@ checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" [[package]] name = "linux-raw-sys" -version = "0.0.42" +version = "0.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7" +checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" [[package]] name = "log" @@ -460,18 +460,18 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "proc-macro2" -version = "1.0.40" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" +checksum = "c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b" dependencies = [ "unicode-ident", ] [[package]] name = "psm" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd89aa18fbf9533a581355a22438101fe9c2ed8c9e2f0dcf520552a3afddf2" +checksum = "f446d0a6efba22928558c4fb4ce0b3fd6c89b0061343e390bf01a703742b8125" dependencies = [ "cc", ] @@ -517,9 +517,9 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.2.3" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a8d23b35d7177df3b9d31ed8a9ab4bf625c668be77a319d4f5efd4a5257701c" +checksum = "76ff2e57a7d050308b3fde0f707aa240b491b190e3855f212860f11bb3af4205" dependencies = [ "fxhash", "log", @@ -564,32 +564,32 @@ checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" [[package]] name = "rustix" -version = "0.33.7" +version = "0.35.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0" +checksum = "d51cc38aa10f6bbb377ed28197aa052aa4e2b762c22be9d3153d01822587e787" dependencies = [ "bitflags", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "winapi", + "windows-sys", ] [[package]] name = "serde" -version = "1.0.139" +version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6" +checksum = "fc855a42c7967b7c369eb5860f7164ef1f6f81c20c7cc1141f2a604e18723b03" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.139" +version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb" +checksum = "6f2122636b9fe3b81f1cb25099fcf2d3f542cdb1d45940d56c713158884a05da" dependencies = [ "proc-macro2", "quote", @@ -662,9 +662,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c" +checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7" [[package]] name = "version_check" @@ -680,18 +680,18 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasmparser" -version = "0.85.0" +version = "0.86.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "570460c58b21e9150d2df0eaaedbb7816c34bcec009ae0dcc976e40ba81463e7" +checksum = "4bcbfe95447da2aa7ff171857fc8427513eb57c75a729bb190e974dc695e8f5c" dependencies = [ "indexmap", ] [[package]] name = "wasmtime" -version = "0.38.1" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e76e2b2833bb0ece666ccdbed7b71b617d447da11f1bb61f4f2bab2648f745ee" +checksum = "0d10a6853d64e99fffdae80f93a45080475c9267f87743060814dc1186d74618" dependencies = [ "anyhow", "backtrace", @@ -713,12 +713,12 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "winapi", + "windows-sys", ] [[package]] name = "wasmtime-c-api-bazel" -version = "0.38.1" +version = "0.39.1" dependencies = [ "anyhow", "env_logger", @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.38.1#9e2adfb34531610d691f74dd3f559bc5b800eb02" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.39.1#19b5436ac346b8e61230baeaf18e802db6f0b858" dependencies = [ "proc-macro2", "quote", @@ -738,9 +738,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.38.1" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dc0f80afa1ce97083a7168e6b6948d015d6237369e9f4a511d38c9c4ac8fbb9" +checksum = "3302b33d919e8e33f1717d592c10c3cddccb318d0e1e0bef75178f579686ba94" dependencies = [ "anyhow", "cranelift-codegen", @@ -760,9 +760,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.38.1" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0816d9365196f1f447060087e0f87239ccded830bd54970a1168b0c9c8e824c9" +checksum = "7c50fb925e8eaa9f8431f9b784ea89a13c703cb445ddfe51cb437596fc34e734" dependencies = [ "anyhow", "cranelift-entity", @@ -780,9 +780,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.38.1" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c687f33cfa0f89ec1646929d0ff102087052cf9f0d15533de56526b0da0d1b3" +checksum = "cad81635f33ab69aa04b386c9d954aef9f6230059f66caf67e55fb65bfd2f3e0" dependencies = [ "addr2line", "anyhow", @@ -800,23 +800,23 @@ dependencies = [ "thiserror", "wasmtime-environ", "wasmtime-runtime", - "winapi", + "windows-sys", ] [[package]] name = "wasmtime-jit-debug" -version = "0.38.1" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b252d1d025f94f3954ba2111f12f3a22826a0764a11c150c2d46623115a69e27" +checksum = "55e23273fddce8cab149a0743c46932bf4910268641397ed86b46854b089f38f" dependencies = [ "lazy_static", ] [[package]] name = "wasmtime-runtime" -version = "0.38.1" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace251693103c9facbbd7df87a29a75e68016e48bc83c09133f2fda6b575e0ab" +checksum = "36b8aafb292502d28dc2d25f44d4a81e229bb2e0cc14ca847dde4448a1a62ae4" dependencies = [ "anyhow", "backtrace", @@ -834,14 +834,14 @@ dependencies = [ "thiserror", "wasmtime-environ", "wasmtime-jit-debug", - "winapi", + "windows-sys", ] [[package]] name = "wasmtime-types" -version = "0.38.1" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d129b0487a95986692af8708ffde9c50b0568dcefd79200941d475713b4f40bb" +checksum = "dd7edc34f358fc290d12e326de81884422cb94cf74cc305b27979569875332d6" dependencies = [ "cranelift-entity", "serde", @@ -879,3 +879,46 @@ name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-sys" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" +dependencies = [ + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" + +[[package]] +name = "windows_i686_gnu" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" + +[[package]] +name = "windows_i686_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 94080d0ab..f78765cca 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "0.38.1" +version = "0.39.1" [lib] path = "fake_lib.rs" @@ -10,8 +10,8 @@ path = "fake_lib.rs" env_logger = "0.9" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "0.38.1", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.38.1"} +wasmtime = {version = "0.39.1", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.39.1"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index 13e205e57..100e2321c 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -153,98 +153,98 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.85.1/download", + name = "wasmtime__cranelift_bforest__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.86.1/download", type = "tar.gz", - sha256 = "7901fbba05decc537080b07cb3f1cadf53be7b7602ca8255786288a8692ae29a", - strip_prefix = "cranelift-bforest-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.85.1.bazel"), + sha256 = "529ffacce2249ac60edba2941672dfedf3d96558b415d0d8083cd007456e0f55", + strip_prefix = "cranelift-bforest-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.85.1/download", + name = "wasmtime__cranelift_codegen__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.86.1/download", type = "tar.gz", - sha256 = "37ba1b45d243a4a28e12d26cd5f2507da74e77c45927d40de8b6ffbf088b46b5", - strip_prefix = "cranelift-codegen-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.85.1.bazel"), + sha256 = "427d105f617efc8cb55f8d036a7fded2e227892d8780b4985e5551f8d27c4a92", + strip_prefix = "cranelift-codegen-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.85.1/download", + name = "wasmtime__cranelift_codegen_meta__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.86.1/download", type = "tar.gz", - sha256 = "54cc30032171bf230ce22b99c07c3a1de1221cb5375bd6dbe6dbe77d0eed743c", - strip_prefix = "cranelift-codegen-meta-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.85.1.bazel"), + sha256 = "551674bed85b838d45358e3eab4f0ffaa6790c70dc08184204b9a54b41cdb7d1", + strip_prefix = "cranelift-codegen-meta-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.85.1/download", + name = "wasmtime__cranelift_codegen_shared__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.86.1/download", type = "tar.gz", - sha256 = "a23f2672426d2bb4c9c3ef53e023076cfc4d8922f0eeaebaf372c92fae8b5c69", - strip_prefix = "cranelift-codegen-shared-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.85.1.bazel"), + sha256 = "2b3a63ae57498c3eb495360944a33571754241e15e47e3bcae6082f40fec5866", + strip_prefix = "cranelift-codegen-shared-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.85.1/download", + name = "wasmtime__cranelift_entity__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.86.1/download", type = "tar.gz", - sha256 = "886c59a5e0de1f06dbb7da80db149c75de10d5e2caca07cdd9fef8a5918a6336", - strip_prefix = "cranelift-entity-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.85.1.bazel"), + sha256 = "11aa8aa624c72cc1c94ea3d0739fa61248260b5b14d3646f51593a88d67f3e6e", + strip_prefix = "cranelift-entity-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.85.1/download", + name = "wasmtime__cranelift_frontend__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.86.1/download", type = "tar.gz", - sha256 = "ace74eeca11c439a9d4ed1a5cb9df31a54cd0f7fbddf82c8ce4ea8e9ad2a8fe0", - strip_prefix = "cranelift-frontend-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.85.1.bazel"), + sha256 = "544ee8f4d1c9559c9aa6d46e7aaeac4a13856d620561094f35527356c7d21bd0", + strip_prefix = "cranelift-frontend-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_isle__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-isle/0.85.1/download", + name = "wasmtime__cranelift_isle__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-isle/0.86.1/download", type = "tar.gz", - sha256 = "db1ae52a5cc2cad0d86fdd3dcb16b7217d2f1e65ab4f5814aa4f014ad335fa43", - strip_prefix = "cranelift-isle-0.85.1", + sha256 = "ed16b14363d929b8c37e3c557d0a7396791b383ecc302141643c054343170aad", + strip_prefix = "cranelift-isle-0.86.1", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", ], patch_args = [ "-p4", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.85.1.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-native/0.85.1/download", + name = "wasmtime__cranelift_native__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-native/0.86.1/download", type = "tar.gz", - sha256 = "dadcfb7852900780d37102bce5698bcd401736403f07b52e714ff7a180e0e22f", - strip_prefix = "cranelift-native-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.85.1.bazel"), + sha256 = "51617cf8744634f2ed3c989c3c40cd6444f63377c6d994adab0d85807f3eb682", + strip_prefix = "cranelift-native-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.86.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_85_1", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.85.1/download", + name = "wasmtime__cranelift_wasm__0_86_1", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.86.1/download", type = "tar.gz", - sha256 = "c84e3410960389110b88f97776f39f6d2c8becdaa4cd59e390e6b76d9d0e7190", - strip_prefix = "cranelift-wasm-0.85.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.85.1.bazel"), + sha256 = "e5a8073a41efc173fd19bad3f725c170c705df6da999fc47a738ff310225dd63", + strip_prefix = "cranelift-wasm-0.86.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.86.1.bazel"), ) maybe( @@ -329,12 +329,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__gimli__0_26_1", - url = "https://crates.io/api/v1/crates/gimli/0.26.1/download", + name = "wasmtime__gimli__0_26_2", + url = "https://crates.io/api/v1/crates/gimli/0.26.2/download", type = "tar.gz", - sha256 = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4", - strip_prefix = "gimli-0.26.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.gimli-0.26.1.bazel"), + sha256 = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d", + strip_prefix = "gimli-0.26.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.gimli-0.26.2.bazel"), ) maybe( @@ -349,12 +349,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__hashbrown__0_12_2", - url = "https://crates.io/api/v1/crates/hashbrown/0.12.2/download", + name = "wasmtime__hashbrown__0_12_3", + url = "https://crates.io/api/v1/crates/hashbrown/0.12.3/download", type = "tar.gz", - sha256 = "607c8a29735385251a339424dd462993c0fed8fa09d378f259377df08c126022", - strip_prefix = "hashbrown-0.12.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.12.2.bazel"), + sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", + strip_prefix = "hashbrown-0.12.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.12.3.bazel"), ) maybe( @@ -389,12 +389,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__io_lifetimes__0_5_3", - url = "https://crates.io/api/v1/crates/io-lifetimes/0.5.3/download", + name = "wasmtime__io_lifetimes__0_7_2", + url = "https://crates.io/api/v1/crates/io-lifetimes/0.7.2/download", type = "tar.gz", - sha256 = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6", - strip_prefix = "io-lifetimes-0.5.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-0.5.3.bazel"), + sha256 = "24c3f4eff5495aee4c0399d7b6a0dc2b6e81be84242ffbfcf253ebacccc1d0cb", + strip_prefix = "io-lifetimes-0.7.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-0.7.2.bazel"), ) maybe( @@ -429,12 +429,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__linux_raw_sys__0_0_42", - url = "https://crates.io/api/v1/crates/linux-raw-sys/0.0.42/download", + name = "wasmtime__linux_raw_sys__0_0_46", + url = "https://crates.io/api/v1/crates/linux-raw-sys/0.0.46/download", type = "tar.gz", - sha256 = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7", - strip_prefix = "linux-raw-sys-0.0.42", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.0.42.bazel"), + sha256 = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d", + strip_prefix = "linux-raw-sys-0.0.46", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.0.46.bazel"), ) maybe( @@ -549,22 +549,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__proc_macro2__1_0_40", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.40/download", + name = "wasmtime__proc_macro2__1_0_42", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.42/download", type = "tar.gz", - sha256 = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7", - strip_prefix = "proc-macro2-1.0.40", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.40.bazel"), + sha256 = "c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b", + strip_prefix = "proc-macro2-1.0.42", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.42.bazel"), ) maybe( http_archive, - name = "wasmtime__psm__0_1_19", - url = "https://crates.io/api/v1/crates/psm/0.1.19/download", + name = "wasmtime__psm__0_1_20", + url = "https://crates.io/api/v1/crates/psm/0.1.20/download", type = "tar.gz", - sha256 = "accd89aa18fbf9533a581355a22438101fe9c2ed8c9e2f0dcf520552a3afddf2", - strip_prefix = "psm-0.1.19", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.19.bazel"), + sha256 = "f446d0a6efba22928558c4fb4ce0b3fd6c89b0061343e390bf01a703742b8125", + strip_prefix = "psm-0.1.20", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.20.bazel"), ) maybe( @@ -609,12 +609,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__regalloc2__0_2_3", - url = "https://crates.io/api/v1/crates/regalloc2/0.2.3/download", + name = "wasmtime__regalloc2__0_3_1", + url = "https://crates.io/api/v1/crates/regalloc2/0.3.1/download", type = "tar.gz", - sha256 = "4a8d23b35d7177df3b9d31ed8a9ab4bf625c668be77a319d4f5efd4a5257701c", - strip_prefix = "regalloc2-0.2.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.2.3.bazel"), + sha256 = "76ff2e57a7d050308b3fde0f707aa240b491b190e3855f212860f11bb3af4205", + strip_prefix = "regalloc2-0.3.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.3.1.bazel"), ) maybe( @@ -659,32 +659,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rustix__0_33_7", - url = "https://crates.io/api/v1/crates/rustix/0.33.7/download", + name = "wasmtime__rustix__0_35_7", + url = "https://crates.io/api/v1/crates/rustix/0.35.7/download", type = "tar.gz", - sha256 = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0", - strip_prefix = "rustix-0.33.7", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.33.7.bazel"), + sha256 = "d51cc38aa10f6bbb377ed28197aa052aa4e2b762c22be9d3153d01822587e787", + strip_prefix = "rustix-0.35.7", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.35.7.bazel"), ) maybe( http_archive, - name = "wasmtime__serde__1_0_139", - url = "https://crates.io/api/v1/crates/serde/1.0.139/download", + name = "wasmtime__serde__1_0_140", + url = "https://crates.io/api/v1/crates/serde/1.0.140/download", type = "tar.gz", - sha256 = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6", - strip_prefix = "serde-1.0.139", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.139.bazel"), + sha256 = "fc855a42c7967b7c369eb5860f7164ef1f6f81c20c7cc1141f2a604e18723b03", + strip_prefix = "serde-1.0.140", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.140.bazel"), ) maybe( http_archive, - name = "wasmtime__serde_derive__1_0_139", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.139/download", + name = "wasmtime__serde_derive__1_0_140", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.140/download", type = "tar.gz", - sha256 = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb", - strip_prefix = "serde_derive-1.0.139", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.139.bazel"), + sha256 = "6f2122636b9fe3b81f1cb25099fcf2d3f542cdb1d45940d56c713158884a05da", + strip_prefix = "serde_derive-1.0.140", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.140.bazel"), ) maybe( @@ -769,12 +769,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__unicode_ident__1_0_1", - url = "https://crates.io/api/v1/crates/unicode-ident/1.0.1/download", + name = "wasmtime__unicode_ident__1_0_2", + url = "https://crates.io/api/v1/crates/unicode-ident/1.0.2/download", type = "tar.gz", - sha256 = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c", - strip_prefix = "unicode-ident-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.1.bazel"), + sha256 = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7", + strip_prefix = "unicode-ident-1.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.2.bazel"), ) maybe( @@ -799,91 +799,91 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmparser__0_85_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.85.0/download", + name = "wasmtime__wasmparser__0_86_0", + url = "https://crates.io/api/v1/crates/wasmparser/0.86.0/download", type = "tar.gz", - sha256 = "570460c58b21e9150d2df0eaaedbb7816c34bcec009ae0dcc976e40ba81463e7", - strip_prefix = "wasmparser-0.85.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.85.0.bazel"), + sha256 = "4bcbfe95447da2aa7ff171857fc8427513eb57c75a729bb190e974dc695e8f5c", + strip_prefix = "wasmparser-0.86.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.86.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime__0_38_1", - url = "https://crates.io/api/v1/crates/wasmtime/0.38.1/download", + name = "wasmtime__wasmtime__0_39_1", + url = "https://crates.io/api/v1/crates/wasmtime/0.39.1/download", type = "tar.gz", - sha256 = "e76e2b2833bb0ece666ccdbed7b71b617d447da11f1bb61f4f2bab2648f745ee", - strip_prefix = "wasmtime-0.38.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.38.1.bazel"), + sha256 = "0d10a6853d64e99fffdae80f93a45080475c9267f87743060814dc1186d74618", + strip_prefix = "wasmtime-0.39.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.39.1.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "9e2adfb34531610d691f74dd3f559bc5b800eb02", + commit = "19b5436ac346b8e61230baeaf18e802db6f0b858", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__0_38_1", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.38.1/download", + name = "wasmtime__wasmtime_cranelift__0_39_1", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.39.1/download", type = "tar.gz", - sha256 = "5dc0f80afa1ce97083a7168e6b6948d015d6237369e9f4a511d38c9c4ac8fbb9", - strip_prefix = "wasmtime-cranelift-0.38.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.38.1.bazel"), + sha256 = "3302b33d919e8e33f1717d592c10c3cddccb318d0e1e0bef75178f579686ba94", + strip_prefix = "wasmtime-cranelift-0.39.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.39.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__0_38_1", - url = "https://crates.io/api/v1/crates/wasmtime-environ/0.38.1/download", + name = "wasmtime__wasmtime_environ__0_39_1", + url = "https://crates.io/api/v1/crates/wasmtime-environ/0.39.1/download", type = "tar.gz", - sha256 = "0816d9365196f1f447060087e0f87239ccded830bd54970a1168b0c9c8e824c9", - strip_prefix = "wasmtime-environ-0.38.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.38.1.bazel"), + sha256 = "7c50fb925e8eaa9f8431f9b784ea89a13c703cb445ddfe51cb437596fc34e734", + strip_prefix = "wasmtime-environ-0.39.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.39.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__0_38_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit/0.38.1/download", + name = "wasmtime__wasmtime_jit__0_39_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit/0.39.1/download", type = "tar.gz", - sha256 = "5c687f33cfa0f89ec1646929d0ff102087052cf9f0d15533de56526b0da0d1b3", - strip_prefix = "wasmtime-jit-0.38.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.38.1.bazel"), + sha256 = "cad81635f33ab69aa04b386c9d954aef9f6230059f66caf67e55fb65bfd2f3e0", + strip_prefix = "wasmtime-jit-0.39.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.39.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__0_38_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.38.1/download", + name = "wasmtime__wasmtime_jit_debug__0_39_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.39.1/download", type = "tar.gz", - sha256 = "b252d1d025f94f3954ba2111f12f3a22826a0764a11c150c2d46623115a69e27", - strip_prefix = "wasmtime-jit-debug-0.38.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.38.1.bazel"), + sha256 = "55e23273fddce8cab149a0743c46932bf4910268641397ed86b46854b089f38f", + strip_prefix = "wasmtime-jit-debug-0.39.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.39.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__0_38_1", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.38.1/download", + name = "wasmtime__wasmtime_runtime__0_39_1", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.39.1/download", type = "tar.gz", - sha256 = "ace251693103c9facbbd7df87a29a75e68016e48bc83c09133f2fda6b575e0ab", - strip_prefix = "wasmtime-runtime-0.38.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.38.1.bazel"), + sha256 = "36b8aafb292502d28dc2d25f44d4a81e229bb2e0cc14ca847dde4448a1a62ae4", + strip_prefix = "wasmtime-runtime-0.39.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.39.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__0_38_1", - url = "https://crates.io/api/v1/crates/wasmtime-types/0.38.1/download", + name = "wasmtime__wasmtime_types__0_39_1", + url = "https://crates.io/api/v1/crates/wasmtime-types/0.39.1/download", type = "tar.gz", - sha256 = "d129b0487a95986692af8708ffde9c50b0568dcefd79200941d475713b4f40bb", - strip_prefix = "wasmtime-types-0.38.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.38.1.bazel"), + sha256 = "dd7edc34f358fc290d12e326de81884422cb94cf74cc305b27979569875332d6", + strip_prefix = "wasmtime-types-0.39.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.39.1.bazel"), ) maybe( @@ -925,3 +925,63 @@ def wasmtime_fetch_remote_crates(): strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), ) + + maybe( + http_archive, + name = "wasmtime__windows_sys__0_36_1", + url = "https://crates.io/api/v1/crates/windows-sys/0.36.1/download", + type = "tar.gz", + sha256 = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2", + strip_prefix = "windows-sys-0.36.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__windows_aarch64_msvc__0_36_1", + url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.36.1/download", + type = "tar.gz", + sha256 = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47", + strip_prefix = "windows_aarch64_msvc-0.36.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__windows_i686_gnu__0_36_1", + url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.36.1/download", + type = "tar.gz", + sha256 = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6", + strip_prefix = "windows_i686_gnu-0.36.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__windows_i686_msvc__0_36_1", + url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.36.1/download", + type = "tar.gz", + sha256 = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024", + strip_prefix = "windows_i686_msvc-0.36.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__windows_x86_64_gnu__0_36_1", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.36.1/download", + type = "tar.gz", + sha256 = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1", + strip_prefix = "windows_x86_64_gnu-0.36.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.36.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__windows_x86_64_msvc__0_36_1", + url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.36.1/download", + type = "tar.gz", + sha256 = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680", + strip_prefix = "windows_x86_64_msvc-0.36.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.36.1.bazel"), + ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel index 35a316e9b..7c243418c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel @@ -52,7 +52,7 @@ rust_library( version = "0.17.0", # buildifier: leave-alone deps = [ - "@wasmtime__gimli__0_26_1//:gimli", + "@wasmtime__gimli__0_26_2//:gimli", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index 06661a195..9c84912e1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -50,7 +50,7 @@ rust_library( version = "1.3.3", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__serde__1_0_140//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.86.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.86.1.bazel index b230628a1..2c47d6ca1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.86.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.86.1.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.86.1.bazel index f7b7ccd75..7166edccc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.86.1.bazel @@ -58,11 +58,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.85.1", + version = "0.86.1", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_85_1//:cranelift_codegen_meta", - "@wasmtime__cranelift_isle__0_85_1//:cranelift_isle", + "@wasmtime__cranelift_codegen_meta__0_86_1//:cranelift_codegen_meta", + "@wasmtime__cranelift_isle__0_86_1//:cranelift_isle", ], ) @@ -88,16 +88,16 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", - "@wasmtime__cranelift_bforest__0_85_1//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_85_1//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", - "@wasmtime__gimli__0_26_1//:gimli", + "@wasmtime__cranelift_bforest__0_86_1//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_86_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regalloc2__0_2_3//:regalloc2", + "@wasmtime__regalloc2__0_3_1//:regalloc2", "@wasmtime__smallvec__1_9_0//:smallvec", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.86.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.86.1.bazel index 13e23bb6e..facc249e0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.86.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_85_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_86_1//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.86.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.86.1.bazel index 83f167723..f07373936 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.86.1.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.86.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.86.1.bazel index 08cbb9d0f..94b0c60f6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.86.1.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__serde__1_0_140//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.86.1.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.86.1.bazel index 0e47a1821..9af54ee58 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.86.1.bazel @@ -49,10 +49,10 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_9_0//:smallvec", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.86.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.86.1.bazel index a05626249..19c0d17f3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.86.1.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.85.1", + version = "0.86.1", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "crate-name=cranelift-isle", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ ":cranelift_isle_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.86.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.86.1.bazel index dc39f77a2..dfad6ff09 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.86.1.bazel @@ -51,10 +51,10 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ] + selects.with_or({ # cfg(target_arch = "s390x") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.85.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.86.1.bazel similarity index 79% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.85.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.86.1.bazel index f0d7b4d85..31d86a2d4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.85.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.86.1.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.85.1", + version = "0.86.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_85_1//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_86_1//:cranelift_frontend", "@wasmtime__itertools__0_10_3//:itertools", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_9_0//:smallvec", - "@wasmtime__wasmparser__0_85_0//:wasmparser", - "@wasmtime__wasmtime_types__0_38_1//:wasmtime_types", + "@wasmtime__wasmparser__0_86_0//:wasmparser", + "@wasmtime__wasmtime_types__0_39_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel index b726bd804..ec6cb4852 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel @@ -26,7 +26,7 @@ package(default_visibility = [ ]) licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" + "notice", # MIT from expression "MIT OR Apache-2.0" ]) # Generated Targets @@ -64,7 +64,7 @@ rust_library( "crate-name=gimli", "manual", ], - version = "0.26.1", + version = "0.26.2", # buildifier: leave-alone deps = [ "@wasmtime__fallible_iterator__0_2_0//:fallible_iterator", diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel index df6b301ae..3b0fce03b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel @@ -52,7 +52,7 @@ rust_library( "crate-name=hashbrown", "manual", ], - version = "0.12.2", + version = "0.12.3", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel index 9c2d17f57..0de97917d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel @@ -91,8 +91,8 @@ rust_library( # buildifier: leave-alone deps = [ ":indexmap_build_script", - "@wasmtime__hashbrown__0_12_2//:hashbrown", - "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__hashbrown__0_12_3//:hashbrown", + "@wasmtime__serde__1_0_140//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.5.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.5.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.2.bazel index 711157c37..5f40d72df 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.5.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.5.3", + version = "0.7.2", visibility = ["//visibility:private"], deps = [ ], @@ -86,7 +86,7 @@ rust_library( "crate-name=io-lifetimes", "manual", ], - version = "0.5.3", + version = "0.7.2", # buildifier: leave-alone deps = [ ":io_lifetimes_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.42.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.46.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.42.bazel rename to bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.46.bazel index 9aa497183..a3a724ab6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.42.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.46.bazel @@ -39,7 +39,6 @@ rust_library( "general", "ioctl", "no_std", - "std", ], crate_root = "src/lib.rs", data = [], @@ -52,7 +51,7 @@ rust_library( "crate-name=linux-raw-sys", "manual", ], - version = "0.0.42", + version = "0.0.46", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.40.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.42.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.40.bazel rename to bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.42.bazel index 298ea3764..df239e4a7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.40.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.42.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.40", + version = "1.0.42", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=proc-macro2", "manual", ], - version = "1.0.40", + version = "1.0.42", # buildifier: leave-alone deps = [ ":proc_macro2_build_script", - "@wasmtime__unicode_ident__1_0_1//:unicode_ident", + "@wasmtime__unicode_ident__1_0_2//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.20.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.psm-0.1.19.bazel rename to bazel/cargo/wasmtime/remote/BUILD.psm-0.1.20.bazel index 697f08fae..df571f008 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.20.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.1.19", + version = "0.1.20", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -89,7 +89,7 @@ rust_library( "crate-name=psm", "manual", ], - version = "0.1.19", + version = "0.1.20", # buildifier: leave-alone deps = [ ":psm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel index 41f48600f..31bdc853a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel @@ -84,7 +84,7 @@ rust_library( # buildifier: leave-alone deps = [ ":quote_build_script", - "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__proc_macro2__1_0_42//:proc_macro2", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.2.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.2.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.1.bazel index 0d5655bc0..a1fbc6f0d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.2.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.1.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=regalloc2", "manual", ], - version = "0.2.3", + version = "0.3.1", # buildifier: leave-alone deps = [ "@wasmtime__fxhash__0_2_1//:fxhash", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.7.bazel similarity index 69% rename from bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.7.bazel index cefd75200..f6c825bce 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.33.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.7.bazel @@ -45,6 +45,9 @@ cargo_build_script( crate_features = [ "default", "io-lifetimes", + "linux-raw-sys", + "mm", + "process", "std", ], crate_root = "build.rs", @@ -58,31 +61,28 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.33.7", + version = "0.35.7", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", ] + selects.with_or({ - # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))) + # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", ): [ - "@wasmtime__linux_raw_sys__0_0_42//:linux_raw_sys", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(all(windows, not(target_vendor = "uwp"))) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ + "@wasmtime__linux_raw_sys__0_0_46//:linux_raw_sys", ], "//conditions:default": [], }) + selects.with_or({ - # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) ( "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-pc-windows-msvc", @@ -109,6 +109,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ + "@wasmtime__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }), @@ -130,10 +131,14 @@ rust_library( name = "rustix", srcs = glob(["**/*.rs"]), aliases = { + "@wasmtime__errno__0_2_8//:errno": "libc_errno", }, crate_features = [ "default", "io-lifetimes", + "linux-raw-sys", + "mm", + "process", "std", ], crate_root = "src/lib.rs", @@ -148,25 +153,30 @@ rust_library( "crate-name=rustix", "manual", ], - version = "0.33.7", + version = "0.35.7", # buildifier: leave-alone deps = [ ":rustix_build_script", "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__io_lifetimes__0_5_3//:io_lifetimes", + "@wasmtime__io_lifetimes__0_7_2//:io_lifetimes", ] + selects.with_or({ - # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))) + # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", ): [ - "@wasmtime__linux_raw_sys__0_0_42//:linux_raw_sys", + "@wasmtime__linux_raw_sys__0_0_46//:linux_raw_sys", ], "//conditions:default": [], }) + selects.with_or({ - # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", not(target_pointer_width = "32")), target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) ( "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-pc-windows-msvc", @@ -195,7 +205,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__winapi__0_3_9//:winapi", + "@wasmtime__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }), @@ -207,14 +217,20 @@ rust_library( # Unsupported target "io" with type "test" omitted +# Unsupported target "mm" with type "test" omitted + # Unsupported target "net" with type "test" omitted +# Unsupported target "param" with type "test" omitted + # Unsupported target "path" with type "test" omitted # Unsupported target "process" with type "test" omitted # Unsupported target "rand" with type "test" omitted +# Unsupported target "termios" with type "test" omitted + # Unsupported target "thread" with type "test" omitted # Unsupported target "time" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.139.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.140.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.serde-1.0.139.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde-1.0.140.bazel index 7aa7b9944..bc423b52d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.139.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.140.bazel @@ -58,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.139", + version = "1.0.140", visibility = ["//visibility:private"], deps = [ ], @@ -77,7 +77,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@wasmtime__serde_derive__1_0_139//:serde_derive", + "@wasmtime__serde_derive__1_0_140//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -87,7 +87,7 @@ rust_library( "crate-name=serde", "manual", ], - version = "1.0.139", + version = "1.0.140", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.139.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.140.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.139.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.140.bazel index 4cff57740..68dae3a52 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.139.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.140.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.139", + version = "1.0.140", visibility = ["//visibility:private"], deps = [ ], @@ -78,11 +78,11 @@ rust_proc_macro( "crate-name=serde_derive", "manual", ], - version = "1.0.139", + version = "1.0.140", # buildifier: leave-alone deps = [ ":serde_derive_build_script", - "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__proc_macro2__1_0_42//:proc_macro2", "@wasmtime__quote__1_0_20//:quote", "@wasmtime__syn__1_0_98//:syn", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel index 47eda55de..d6d65ce09 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel @@ -98,9 +98,9 @@ rust_library( # buildifier: leave-alone deps = [ ":syn_build_script", - "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__proc_macro2__1_0_42//:proc_macro2", "@wasmtime__quote__1_0_20//:quote", - "@wasmtime__unicode_ident__1_0_1//:unicode_ident", + "@wasmtime__unicode_ident__1_0_2//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel index eb959b04e..e0aa3ba97 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel @@ -50,7 +50,7 @@ rust_proc_macro( version = "1.0.31", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__proc_macro2__1_0_42//:proc_macro2", "@wasmtime__quote__1_0_20//:quote", "@wasmtime__syn__1_0_98//:syn", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.2.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.2.bazel index 665e53f28..1fe703741 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.2.bazel @@ -26,7 +26,7 @@ package(default_visibility = [ ]) licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" + "notice", # MIT from expression "(MIT OR Apache-2.0) AND Unicode-DFS-2016" ]) # Generated Targets @@ -49,7 +49,7 @@ rust_library( "crate-name=unicode-ident", "manual", ], - version = "1.0.1", + version = "1.0.2", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.85.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.86.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.85.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.86.0.bazel index 4a2f051c4..7f20f3239 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.85.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.86.0.bazel @@ -51,7 +51,7 @@ rust_library( "crate-name=wasmparser", "manual", ], - version = "0.85.0", + version = "0.86.0", # buildifier: leave-alone deps = [ "@wasmtime__indexmap__1_9_1//:indexmap", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.38.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.39.1.bazel similarity index 83% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.38.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.39.1.bazel index 573c8ebe9..1d41169cb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.38.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.39.1.bazel @@ -44,7 +44,6 @@ cargo_build_script( }, crate_features = [ "cranelift", - "wasmtime-cranelift", ], crate_root = "build.rs", data = glob(["**"]), @@ -56,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.38.1", + version = "0.39.1", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -65,6 +64,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ + "@wasmtime__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }), @@ -77,7 +77,6 @@ rust_library( }, crate_features = [ "cranelift", - "wasmtime-cranelift", ], crate_root = "src/lib.rs", data = [], @@ -93,7 +92,7 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "0.38.1", + version = "0.39.1", # buildifier: leave-alone deps = [ ":wasmtime_build_script", @@ -107,22 +106,22 @@ rust_library( "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_28_4//:object", "@wasmtime__once_cell__1_13_0//:once_cell", - "@wasmtime__psm__0_1_19//:psm", + "@wasmtime__psm__0_1_20//:psm", "@wasmtime__region__2_2_0//:region", - "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__serde__1_0_140//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", - "@wasmtime__wasmparser__0_85_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__0_38_1//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit__0_38_1//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__0_38_1//:wasmtime_runtime", + "@wasmtime__wasmparser__0_86_0//:wasmparser", + "@wasmtime__wasmtime_cranelift__0_39_1//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit__0_39_1//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__0_39_1//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__winapi__0_3_9//:winapi", + "@wasmtime__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel index c84ee1df4..f89e48e9c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel @@ -50,7 +50,7 @@ rust_proc_macro( version = "0.19.0", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_40//:proc_macro2", + "@wasmtime__proc_macro2__1_0_42//:proc_macro2", "@wasmtime__quote__1_0_20//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.38.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.39.1.bazel similarity index 73% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.38.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.39.1.bazel index 5860328cd..271a03530 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.38.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.39.1.bazel @@ -47,22 +47,22 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "0.38.1", + version = "0.39.1", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_58//:anyhow", - "@wasmtime__cranelift_codegen__0_85_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_85_1//:cranelift_frontend", - "@wasmtime__cranelift_native__0_85_1//:cranelift_native", - "@wasmtime__cranelift_wasm__0_85_1//:cranelift_wasm", - "@wasmtime__gimli__0_26_1//:gimli", + "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_86_1//:cranelift_frontend", + "@wasmtime__cranelift_native__0_86_1//:cranelift_native", + "@wasmtime__cranelift_wasm__0_86_1//:cranelift_wasm", + "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__object__0_28_4//:object", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_85_0//:wasmparser", - "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", + "@wasmtime__wasmparser__0_86_0//:wasmparser", + "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.38.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.39.1.bazel similarity index 82% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.38.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.39.1.bazel index 0ab887ee1..d419143af 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.38.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.39.1.bazel @@ -47,20 +47,20 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "0.38.1", + version = "0.39.1", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_58//:anyhow", - "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", - "@wasmtime__gimli__0_26_1//:gimli", + "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__log__0_4_17//:log", "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__object__0_28_4//:object", - "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__serde__1_0_140//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_85_0//:wasmparser", - "@wasmtime__wasmtime_types__0_38_1//:wasmtime_types", + "@wasmtime__wasmparser__0_86_0//:wasmparser", + "@wasmtime__wasmtime_types__0_39_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.38.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.39.1.bazel similarity index 87% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.38.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.39.1.bazel index cb158a7cf..9dc295d10 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.38.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.39.1.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "0.38.1", + version = "0.39.1", # buildifier: leave-alone deps = [ "@wasmtime__addr2line__0_17_0//:addr2line", @@ -57,16 +57,16 @@ rust_library( "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", - "@wasmtime__gimli__0_26_1//:gimli", + "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_28_4//:object", "@wasmtime__region__2_2_0//:region", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", - "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__serde__1_0_140//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__0_38_1//:wasmtime_runtime", + "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", + "@wasmtime__wasmtime_runtime__0_39_1//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "linux") ( @@ -77,7 +77,7 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__rustix__0_33_7//:rustix", + "@wasmtime__rustix__0_35_7//:rustix", ], "//conditions:default": [], }) + selects.with_or({ @@ -86,7 +86,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__winapi__0_3_9//:winapi", + "@wasmtime__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.38.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.39.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.38.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.39.1.bazel index 8ddfe20ad..0a4d8d96d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.38.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.39.1.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "0.38.1", + version = "0.39.1", # buildifier: leave-alone deps = [ "@wasmtime__lazy_static__1_4_0//:lazy_static", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.38.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.39.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.38.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.39.1.bazel index 501a0625b..1bb5b3c7a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.38.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.39.1.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.38.1", + version = "0.39.1", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -73,6 +73,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ + "@wasmtime__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -118,7 +119,7 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "0.38.1", + version = "0.39.1", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", @@ -133,8 +134,8 @@ rust_library( "@wasmtime__rand__0_8_5//:rand", "@wasmtime__region__2_2_0//:region", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmtime_environ__0_38_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__0_38_1//:wasmtime_jit_debug", + "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__0_39_1//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -151,7 +152,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__winapi__0_3_9//:winapi", + "@wasmtime__windows_sys__0_36_1//:windows_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -174,7 +175,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_33_7//:rustix", + "@wasmtime__rustix__0_35_7//:rustix", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.38.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.39.1.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.38.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.39.1.bazel index dca2d0441..582cfbd44 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.38.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.39.1.bazel @@ -47,12 +47,12 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "0.38.1", + version = "0.39.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_85_1//:cranelift_entity", - "@wasmtime__serde__1_0_139//:serde", + "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__serde__1_0_140//:serde", "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_85_0//:wasmparser", + "@wasmtime__wasmparser__0_86_0//:wasmparser", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel index 55dfd5cad..e8b88f89d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel @@ -47,8 +47,6 @@ cargo_build_script( "consoleapi", "errhandlingapi", "fileapi", - "handleapi", - "impl-default", "memoryapi", "minwinbase", "minwindef", @@ -60,8 +58,6 @@ cargo_build_script( "wincon", "winerror", "winnt", - "ws2ipdef", - "ws2tcpip", ], crate_root = "build.rs", data = glob(["**"]), @@ -87,8 +83,6 @@ rust_library( "consoleapi", "errhandlingapi", "fileapi", - "handleapi", - "impl-default", "memoryapi", "minwinbase", "minwindef", @@ -100,8 +94,6 @@ rust_library( "wincon", "winerror", "winnt", - "ws2ipdef", - "ws2tcpip", ], crate_root = "src/lib.rs", data = [], diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel new file mode 100644 index 000000000..8ba64f652 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel @@ -0,0 +1,88 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "windows_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_Security", + "Win32_Storage", + "Win32_Storage_FileSystem", + "Win32_System", + "Win32_System_Diagnostics", + "Win32_System_Diagnostics_Debug", + "Win32_System_Kernel", + "Win32_System_Memory", + "Win32_System_Threading", + "default", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows-sys", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ] + selects.with_or({ + # i686-pc-windows-msvc + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + ): [ + "@wasmtime__windows_i686_msvc__0_36_1//:windows_i686_msvc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # x86_64-pc-windows-msvc + ( + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@wasmtime__windows_x86_64_msvc__0_36_1//:windows_x86_64_msvc", + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel new file mode 100644 index 000000000..bdbed759a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_aarch64_msvc_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_aarch64_msvc", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ":windows_aarch64_msvc_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.36.1.bazel new file mode 100644 index 000000000..a20218dc6 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.36.1.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_i686_gnu_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_i686_gnu", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_i686_gnu", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ":windows_i686_gnu_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.36.1.bazel new file mode 100644 index 000000000..f0d7b96cb --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.36.1.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_i686_msvc_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_i686_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_i686_msvc", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ":windows_i686_msvc_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel new file mode 100644 index 000000000..6fb1e25e2 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_x86_64_gnu_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_x86_64_gnu", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ":windows_x86_64_gnu_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel new file mode 100644 index 000000000..b94fe7017 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_x86_64_msvc_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.36.1", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_x86_64_msvc", + "manual", + ], + version = "0.36.1", + # buildifier: leave-alone + deps = [ + ":windows_x86_64_msvc_build_script", + ], +) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 0732d8886..c9b8e6a0f 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -203,9 +203,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "8cb4ed3f14a1b054ff36e7017c056f10a28b57673f21d7548354fd40f2f02b3b", - strip_prefix = "wasmtime-0.38.1", - url = "https://github.com/bytecodealliance/wasmtime/archive/v0.38.1.tar.gz", + sha256 = "6ef70886da14245f575c6ff8c7c999ae22579257eba5ebf382e066598c1e381c", + strip_prefix = "wasmtime-0.39.1", + url = "https://github.com/bytecodealliance/wasmtime/archive/v0.39.1.tar.gz", ) maybe( From 38277868280b1c2933d6cf01fd7302ae8fbd6fc8 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 1 Aug 2022 19:59:50 -0500 Subject: [PATCH 16/90] wavm: update to nightly/2022-05-14. (#295) Signed-off-by: Piotr Sikora --- bazel/external/wavm.patch | 14 -------------- bazel/repositories.bzl | 8 +++----- test/runtime_test.cc | 6 ------ 3 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 bazel/external/wavm.patch diff --git a/bazel/external/wavm.patch b/bazel/external/wavm.patch deleted file mode 100644 index a03c67c32..000000000 --- a/bazel/external/wavm.patch +++ /dev/null @@ -1,14 +0,0 @@ -# Fix build with Clang 13. (https://github.com/WAVM/WAVM/pull/332) - -diff --git a/Lib/Platform/POSIX/ThreadPOSIX.cpp b/Lib/Platform/POSIX/ThreadPOSIX.cpp -index e1f232f6..d3241349 100644 ---- a/Lib/Platform/POSIX/ThreadPOSIX.cpp -+++ b/Lib/Platform/POSIX/ThreadPOSIX.cpp -@@ -173,6 +173,7 @@ WAVM_NO_ASAN static void touchStackPages(U8* minAddr, Uptr numBytesPerPage) - sum += *touchAddr; - if(touchAddr < minAddr + numBytesPerPage) { break; } - } -+ WAVM_SUPPRESS_UNUSED(sum); - } - - bool Platform::initThreadAndGlobalSignalsOnce() diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index c9b8e6a0f..af8d5c8b6 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -233,11 +233,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_wavm_wavm", build_file = "@proxy_wasm_cpp_host//bazel/external:wavm.BUILD", - sha256 = "bf2b2aec8a4c6a5413081c0527cb40dd16cb67e9c74a91f8a82fe1cf27a3c5d5", - strip_prefix = "WAVM-c8997ebf154f3b42e688e670a7d0fa045b7a32a0", - url = "https://github.com/WAVM/WAVM/archive/c8997ebf154f3b42e688e670a7d0fa045b7a32a0.tar.gz", - patches = ["@proxy_wasm_cpp_host//bazel/external:wavm.patch"], - patch_args = ["-p1"], + sha256 = "7cfa3d7334c96f89553bb44eeee736a192826a78b4db114042d38d6882748f5b", + strip_prefix = "WAVM-nightly-2022-05-14", + url = "https://github.com/WAVM/WAVM/archive/refs/tags/nightly/2022-05-14.tar.gz", ) native.bind( diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 2d178466a..d0f6fd0af 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -165,12 +165,6 @@ TEST_P(TestVm, Trap) { } TEST_P(TestVm, Trap2) { - if (engine_ == "wavm") { - // TODO(mathetake): Somehow WAVM exits with 'munmap_chunk(): invalid pointer' on unidentified - // build condition in 'libstdc++ abi::__cxa_demangle' originally from - // WAVM::Runtime::describeCallStack. Needs further investigation. - return; - } auto source = readTestWasmFile("trap.wasm"); ASSERT_FALSE(source.empty()); auto wasm = TestWasm(std::move(vm_)); From d8a784759921081afe3fa54debeb202d4a6c67e2 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 1 Aug 2022 21:22:48 -0500 Subject: [PATCH 17/90] Demangle in-VM backtraces from C++ and Rust plugins. (#299) Before: Proxy-Wasm plugin in-VM backtrace: 0: 0x60c3 - rust_oom 1: 0x6d2c - __rg_oom 2: 0x38b1 - __rust_alloc_error_handler 3: 0x6cb3 - _ZN5alloc5alloc18handle_alloc_error8rt_error17hc05c98d79426d4d3E 4: 0x6ca5 - _ZN4core3ops8function6FnOnce9call_once17h104529aa81b44c4eE 5: 0x6d1e - _ZN4core10intrinsics17const_eval_select17hbbf517c24e8eee9cE 6: 0x6cc1 - _ZN5alloc5alloc18handle_alloc_error17hd51ecca19a6d9162E 7: 0x519 - _ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$11allocate_in17h4065aea9ced9d1eeE 8: 0x2b9 - _ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$16with_capacity_in17h2c8a17f6c910dc68E 9: 0x303a - _ZN5alloc3vec16Vec$LT$T$C$A$GT$16with_capacity_in17hb7917fc637d55bb8E After: Proxy-Wasm plugin in-VM backtrace: 0: 0x60c3 - rust_oom 1: 0x6d2c - __rg_oom 2: 0x38b1 - __rust_alloc_error_handler 3: 0x6cb3 - alloc::alloc::handle_alloc_error::rt_error::hc05c98d79426d4d3 4: 0x6ca5 - core::ops::function::FnOnce::call_once::h104529aa81b44c4e 5: 0x6d1e - core::intrinsics::const_eval_select::hbbf517c24e8eee9c 6: 0x6cc1 - alloc::alloc::handle_alloc_error::hd51ecca19a6d9162 7: 0x519 - alloc::raw_vec::RawVec$LT$T$C$A$GT$::allocate_in::h4065aea9ced9d1ee 8: 0x2b9 - alloc::raw_vec::RawVec$LT$T$C$A$GT$::with_capacity_in::h2c8a17f6c910dc68 9: 0x303a - alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in::hb7917fc637d55bb8 Signed-off-by: Piotr Sikora --- src/bytecode_util.cc | 15 ++++++++++++++- test/runtime_test.cc | 3 +++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/bytecode_util.cc b/src/bytecode_util.cc index 3c5f768f2..0d44c57e2 100644 --- a/src/bytecode_util.cc +++ b/src/bytecode_util.cc @@ -14,6 +14,10 @@ #include "include/proxy-wasm/bytecode_util.h" +#if !defined(_MSC_VER) +#include +#endif + #include namespace proxy_wasm { @@ -165,7 +169,16 @@ bool BytecodeUtil::getFunctionNameIndex(std::string_view bytecode, if (!parseVarint(pos, end, func_name_size) || pos + func_name_size > end) { return false; } - ret.insert({func_index, std::string(pos, func_name_size)}); + auto func_name = std::string(pos, func_name_size); +#if !defined(_MSC_VER) + int status; + char *data = abi::__cxa_demangle(func_name.c_str(), nullptr, nullptr, &status); + if (data != nullptr) { + func_name = std::string(data); + ::free(data); + } +#endif + ret.insert({func_index, func_name}); pos += func_name_size; } if (start + subsection_size != pos) { diff --git a/test/runtime_test.cc b/test/runtime_test.cc index d0f6fd0af..dfb2c3633 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -139,6 +139,7 @@ TEST_P(TestVm, WasmMemoryLimit) { EXPECT_TRUE(host->isErrorLogged("Uncaught RuntimeError: unreachable")); EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); EXPECT_TRUE(host->isErrorLogged(" - rust_oom")); + EXPECT_TRUE(host->isErrorLogged(" - alloc::alloc::handle_alloc_error")); } } @@ -160,6 +161,7 @@ TEST_P(TestVm, Trap) { if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Uncaught RuntimeError: unreachable")); EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); + EXPECT_TRUE(host->isErrorLogged(" - std::panicking::begin_panic")); EXPECT_TRUE(host->isErrorLogged(" - trigger")); } } @@ -182,6 +184,7 @@ TEST_P(TestVm, Trap2) { if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Uncaught RuntimeError: unreachable")); EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); + EXPECT_TRUE(host->isErrorLogged(" - std::panicking::begin_panic")); EXPECT_TRUE(host->isErrorLogged(" - trigger2")); } } From c3c1a8ff02ce55fc55b2c6437cdc147cd919de0d Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 1 Aug 2022 22:33:32 -0500 Subject: [PATCH 18/90] Print trap messages in a consistent manner across Wasm engines. (#300) Signed-off-by: Piotr Sikora --- src/wamr/wamr.cc | 8 ++++---- src/wasmedge/wasmedge.cc | 8 ++++---- src/wasmtime/wasmtime.cc | 8 ++++---- test/runtime_test.cc | 28 ++++++++++++++++++++++------ 4 files changed, 34 insertions(+), 18 deletions(-) diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index 6e97ebfb0..e193358cc 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -578,9 +578,9 @@ void Wamr::getModuleFunctionImpl(std::string_view function_name, if (trap) { WasmByteVec error_message; wasm_trap_message(trap.get(), error_message.get()); + std::string message(error_message.get()->data); // NULL-terminated fail(FailState::RuntimeError, - "Function: " + std::string(function_name) + " failed:\n" + - std::string(error_message.get()->data, error_message.get()->size)); + "Function: " + std::string(function_name) + " failed: " + message); return; } if (log) { @@ -628,9 +628,9 @@ void Wamr::getModuleFunctionImpl(std::string_view function_name, if (trap) { WasmByteVec error_message; wasm_trap_message(trap.get(), error_message.get()); + std::string message(error_message.get()->data); // NULL-terminated fail(FailState::RuntimeError, - "Function: " + std::string(function_name) + " failed:\n" + - std::string(error_message.get()->data, error_message.get()->size)); + "Function: " + std::string(function_name) + " failed: " + message); return R{}; } R ret = convertValueTypeToArg(results.data[0]); diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc index 0a0a10d45..f22d588ac 100644 --- a/src/wasmedge/wasmedge.cc +++ b/src/wasmedge/wasmedge.cc @@ -540,8 +540,8 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, WasmEdge_Result res = WasmEdge_ExecutorInvoke(executor_.get(), func_cxt, params, sizeof...(Args), nullptr, 0); if (!WasmEdge_ResultOK(res)) { - fail(FailState::RuntimeError, "Function: " + std::string(function_name) + " failed:\n" + - WasmEdge_ResultGetMessage(res)); + fail(FailState::RuntimeError, "Function: " + std::string(function_name) + + " failed: " + WasmEdge_ResultGetMessage(res)); return; } if (log) { @@ -594,8 +594,8 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, WasmEdge_Result res = WasmEdge_ExecutorInvoke(executor_.get(), func_cxt, params, sizeof...(Args), results, 1); if (!WasmEdge_ResultOK(res)) { - fail(FailState::RuntimeError, "Function: " + std::string(function_name) + " failed:\n" + - WasmEdge_ResultGetMessage(res)); + fail(FailState::RuntimeError, "Function: " + std::string(function_name) + + " failed: " + WasmEdge_ResultGetMessage(res)); return R{}; } R ret = convValTypeToArg(results[0]); diff --git a/src/wasmtime/wasmtime.cc b/src/wasmtime/wasmtime.cc index 06f4f0e3c..040dea072 100644 --- a/src/wasmtime/wasmtime.cc +++ b/src/wasmtime/wasmtime.cc @@ -616,9 +616,9 @@ void Wasmtime::getModuleFunctionImpl(std::string_view function_name, if (trap) { WasmByteVec error_message; wasm_trap_message(trap.get(), error_message.get()); + std::string message(error_message.get()->data); // NULL-terminated fail(FailState::RuntimeError, - "Function: " + std::string(function_name) + " failed:\n" + - std::string(error_message.get()->data, error_message.get()->size)); + "Function: " + std::string(function_name) + " failed: " + message); return; } if (log) { @@ -678,9 +678,9 @@ void Wasmtime::getModuleFunctionImpl(std::string_view function_name, if (trap) { WasmByteVec error_message; wasm_trap_message(trap.get(), error_message.get()); + std::string message(error_message.get()->data); // NULL-terminated fail(FailState::RuntimeError, - "Function: " + std::string(function_name) + " failed:\n" + - std::string(error_message.get()->data, error_message.get()->size)); + "Function: " + std::string(function_name) + " failed: " + message); return R{}; } R ret = convertValueTypeToArg(results.data[0]); diff --git a/test/runtime_test.cc b/test/runtime_test.cc index dfb2c3633..20f723f5f 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -108,9 +108,7 @@ TEST_P(TestVm, TerminateExecution) { // Check integration logs. auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: infinite_loop failed")); - if (engine_ == "v8") { - EXPECT_TRUE(host->isErrorLogged("Uncaught Error: termination_exception")); - } + EXPECT_TRUE(host->isErrorLogged("termination_exception")); } TEST_P(TestVm, WasmMemoryLimit) { @@ -135,8 +133,14 @@ TEST_P(TestVm, WasmMemoryLimit) { // Check integration logs. auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: infinite_memory failed")); + // Trap message + if (engine_ == "wavm") { + EXPECT_TRUE(host->isErrorLogged("wavm.reachedUnreachable")); + } else { + EXPECT_TRUE(host->isErrorLogged("unreachable")); + } + // Backtrace if (engine_ == "v8") { - EXPECT_TRUE(host->isErrorLogged("Uncaught RuntimeError: unreachable")); EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); EXPECT_TRUE(host->isErrorLogged(" - rust_oom")); EXPECT_TRUE(host->isErrorLogged(" - alloc::alloc::handle_alloc_error")); @@ -158,8 +162,14 @@ TEST_P(TestVm, Trap) { // Check integration logs. auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: trigger failed")); + // Trap message + if (engine_ == "wavm") { + EXPECT_TRUE(host->isErrorLogged("wavm.reachedUnreachable")); + } else { + EXPECT_TRUE(host->isErrorLogged("unreachable")); + } + // Backtrace if (engine_ == "v8") { - EXPECT_TRUE(host->isErrorLogged("Uncaught RuntimeError: unreachable")); EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); EXPECT_TRUE(host->isErrorLogged(" - std::panicking::begin_panic")); EXPECT_TRUE(host->isErrorLogged(" - trigger")); @@ -181,8 +191,14 @@ TEST_P(TestVm, Trap2) { // Check integration logs. auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: trigger2 failed")); + // Trap message + if (engine_ == "wavm") { + EXPECT_TRUE(host->isErrorLogged("wavm.reachedUnreachable")); + } else { + EXPECT_TRUE(host->isErrorLogged("unreachable")); + } + // Backtrace if (engine_ == "v8") { - EXPECT_TRUE(host->isErrorLogged("Uncaught RuntimeError: unreachable")); EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); EXPECT_TRUE(host->isErrorLogged(" - std::panicking::begin_panic")); EXPECT_TRUE(host->isErrorLogged(" - trigger2")); From 33b2e7596d4afec915e41b60aaa465e835b4d6f7 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Thu, 4 Aug 2022 16:04:12 -0500 Subject: [PATCH 19/90] Don't overread buffers. (#303) While there, make sure to write a return pointer and length when returning an empty buffer. Reported by Chris Ertl from Google Security. Signed-off-by: Piotr Sikora --- src/exports.cc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/exports.cc b/src/exports.cc index bdefddeb6..837f9e1e0 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -485,13 +485,21 @@ Word get_buffer_bytes(Word type, Word start, Word length, Word ptr_ptr, Word siz return WasmResult::BadArgument; } // Don't overread. - if (start + length > buffer->size()) { + if (start > buffer->size()) { + length = 0; + } else if (start + length > buffer->size()) { length = buffer->size() - start; } - if (length > 0) { - return buffer->copyTo(context->wasm(), start, length, ptr_ptr, size_ptr); + if (length == 0) { + if (!context->wasmVm()->setWord(ptr_ptr, Word(0))) { + return WasmResult::InvalidMemoryAccess; + } + if (!context->wasmVm()->setWord(size_ptr, Word(0))) { + return WasmResult::InvalidMemoryAccess; + } + return WasmResult::Ok; } - return WasmResult::Ok; + return buffer->copyTo(context->wasm(), start, length, ptr_ptr, size_ptr); } Word get_buffer_status(Word type, Word length_ptr, Word flags_ptr) { From fa691f8b80afd2c9215f2419bc30acccc3733153 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Thu, 4 Aug 2022 19:37:52 -0500 Subject: [PATCH 20/90] Harden Wasm bytecode parsing. (#304) Reported by Chris Ertl from Google Security. Signed-off-by: Piotr Sikora --- .bazelrc | 40 ++++++++++------ .github/workflows/test.yml | 6 ++- bazel/dependencies.bzl | 5 ++ bazel/repositories.bzl | 8 ++++ src/bytecode_util.cc | 44 +++++++++++++----- test/fuzz/BUILD | 19 ++++++++ test/fuzz/bytecode_util_fuzzer.cc | 41 ++++++++++++++++ ...h-10198e96614e9ff7ca6dae581f4f7f13143257d7 | Bin 0 -> 15 bytes ...h-6d94d1b10bc8dabc467a8e4a9a7105f62c81ff4c | Bin 0 -> 15 bytes ...h-8cff35e5a0f9722df891fd1f05ca6dc2bd3d42aa | Bin 0 -> 154 bytes ...h-9718722528a7c015ef3852490a6c67649bda70c0 | Bin 0 -> 478 bytes ...h-ed7193f661f04a66a13facee4d25709e6f479d3d | Bin 0 -> 14 bytes 12 files changed, 136 insertions(+), 27 deletions(-) create mode 100644 test/fuzz/BUILD create mode 100644 test/fuzz/bytecode_util_fuzzer.cc create mode 100644 test/fuzz/corpus_bytecode/crash-10198e96614e9ff7ca6dae581f4f7f13143257d7 create mode 100644 test/fuzz/corpus_bytecode/crash-6d94d1b10bc8dabc467a8e4a9a7105f62c81ff4c create mode 100644 test/fuzz/corpus_bytecode/crash-8cff35e5a0f9722df891fd1f05ca6dc2bd3d42aa create mode 100644 test/fuzz/corpus_bytecode/crash-9718722528a7c015ef3852490a6c67649bda70c0 create mode 100644 test/fuzz/corpus_bytecode/crash-ed7193f661f04a66a13facee4d25709e6f479d3d diff --git a/.bazelrc b/.bazelrc index 00f6848f4..a8212233d 100644 --- a/.bazelrc +++ b/.bazelrc @@ -8,37 +8,49 @@ build:clang --action_env=BAZEL_COMPILER=clang build:clang --action_env=CC=clang build:clang --action_env=CXX=clang++ +# Common flags for Clang sanitizers. +build:clang-xsan --config=clang +build:clang-xsan --copt -O1 +build:clang-xsan --copt -fno-omit-frame-pointer +build:clang-xsan --copt -fno-optimize-sibling-calls +build:clang-xsan --copt -fno-sanitize-recover=all +build:clang-xsan --linkopt -fsanitize-link-c++-runtime +build:clang-xsan --linkopt -fuse-ld=lld +build:clang-xsan --linkopt -rtlib=compiler-rt +build:clang-xsan --linkopt --unwindlib=libgcc + # Use Clang compiler with Address and Undefined Behavior Sanitizers. -build:clang-asan --config=clang +build:clang-asan --config=clang-xsan build:clang-asan --copt -DADDRESS_SANITIZER=1 build:clang-asan --copt -DUNDEFINED_SANITIZER=1 -build:clang-asan --copt -O1 -build:clang-asan --copt -fno-omit-frame-pointer -build:clang-asan --copt -fno-optimize-sibling-calls build:clang-asan --copt -fsanitize=address,undefined build:clang-asan --copt -fsanitize-address-use-after-scope build:clang-asan --linkopt -fsanitize=address,undefined build:clang-asan --linkopt -fsanitize-address-use-after-scope -build:clang-asan --linkopt -fsanitize-link-c++-runtime -build:clang-asan --linkopt -fuse-ld=lld build:clang-asan --test_env=ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:strict_init_order=1:strict_string_checks=1 -build:clang-asan --test_env=UBSAN_OPTIONS=halt_on_error=1:print_stacktrace=1 +build:clang-asan --test_env=UBSAN_OPTIONS=print_stacktrace=1 build:clang-asan --test_env=ASAN_SYMBOLIZER_PATH # Use Clang compiler with Address and Undefined Behavior Sanitizers (strict version). build:clang-asan-strict --config=clang-asan -build:clang-asan-strict --copt -fsanitize=integer -build:clang-asan-strict --linkopt -fsanitize=integer +build:clang-asan-strict --copt -fsanitize=integer,local-bounds,nullability +build:clang-asan-strict --linkopt -fsanitize=integer,local-bounds,nullability + +# Use Honggfuzz with Address and Undefined Behavior Sanitizers (strict version). +build:clang-asan-honggfuzz --config=clang-asan-strict +build:clang-asan-honggfuzz --@rules_fuzzing//fuzzing:cc_engine=@rules_fuzzing//fuzzing/engines:honggfuzz +build:clang-asan-honggfuzz --@rules_fuzzing//fuzzing:cc_engine_instrumentation=honggfuzz + +# Use LibFuzzer with Address and Undefined Behavior Sanitizers (strict version). +build:clang-asan-libfuzzer --config=clang-asan-strict +build:clang-asan-libfuzzer --@rules_fuzzing//fuzzing:cc_engine=@rules_fuzzing//fuzzing/engines:libfuzzer +build:clang-asan-libfuzzer --@rules_fuzzing//fuzzing:cc_engine_instrumentation=libfuzzer # Use Clang compiler with Thread Sanitizer. -build:clang-tsan --config=clang +build:clang-tsan --config=clang-xsan build:clang-tsan --copt -DTHREAD_SANITIZER=1 -build:clang-tsan --copt -O1 -build:clang-tsan --copt -fno-omit-frame-pointer -build:clang-tsan --copt -fno-optimize-sibling-calls build:clang-tsan --copt -fsanitize=thread build:clang-tsan --linkopt -fsanitize=thread -build:clang-tsan --linkopt -fuse-ld=lld # Use Clang-Tidy tool. build:clang-tidy --aspects @bazel_clang_tidy//clang_tidy:clang_tidy.bzl%clang_tidy_aspect diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55c9822eb..3ed6ca714 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -125,6 +125,7 @@ jobs: os: windows-2019 arch: x86_64 action: test + targets: -//test/fuzz/... - name: 'V8 on Linux/x86_64' engine: 'v8' repo: 'v8' @@ -155,6 +156,7 @@ jobs: os: ubuntu-20.04 arch: aarch64 action: test + targets: -//test/fuzz/... flags: --config=zig-cc-linux-aarch64 --@v8//bazel/config:v8_target_cpu=arm64 deps: qemu-user-static libc6-arm64-cross cache: true @@ -228,6 +230,7 @@ jobs: os: windows-2019 arch: x86_64 action: test + targets: -//test/fuzz/... - name: 'WAVM on Linux/x86_64' engine: 'wavm' repo: 'com_github_wavm_wavm' @@ -280,6 +283,7 @@ jobs: done - name: Bazel build/test + shell: bash run: > ${{ matrix.run_under }} bazel ${{ matrix.action }} @@ -287,7 +291,7 @@ jobs: --test_output=errors --define engine=${{ matrix.engine }} ${{ matrix.flags }} - //test/... + -- //test/... ${{ matrix.targets }} - name: Bazel build/test (signed Wasm module) if: ${{ matrix.engine != 'null' && !startsWith(matrix.os, 'windows') }} diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 8e0cfe91d..b6a4cb576 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -17,6 +17,8 @@ load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@proxy_wasm_cpp_host//bazel/cargo/wasmsign:crates.bzl", "wasmsign_fetch_remote_crates") load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime:crates.bzl", "wasmtime_fetch_remote_crates") load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") +load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init") +load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") load("@rules_python//python:pip.bzl", "pip_install") load("@rules_rust//rust:repositories.bzl", "rust_repositories", "rust_repository_set") @@ -25,6 +27,9 @@ def proxy_wasm_cpp_host_dependencies(): rules_foreign_cc_dependencies() + rules_fuzzing_dependencies() + rules_fuzzing_init() + rust_repositories() rust_repository_set( name = "rust_linux_x86_64", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index af8d5c8b6..87ca15ee8 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -55,6 +55,14 @@ def proxy_wasm_cpp_host_repositories(): url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.7.1.tar.gz", ) + maybe( + http_archive, + name = "rules_fuzzing", + sha256 = "23bb074064c6f488d12044934ab1b0631e8e6898d5cf2f6bde087adb01111573", + strip_prefix = "rules_fuzzing-0.3.1", + url = "https://github.com/bazelbuild/rules_fuzzing/archive/v0.3.1.zip", + ) + maybe( http_archive, name = "rules_python", diff --git a/src/bytecode_util.cc b/src/bytecode_util.cc index 0d44c57e2..70a373e01 100644 --- a/src/bytecode_util.cc +++ b/src/bytecode_util.cc @@ -48,15 +48,18 @@ bool BytecodeUtil::getAbiVersion(std::string_view bytecode, proxy_wasm::AbiVersi return false; } if (section_type == 7 /* export section */) { + const char *section_end = pos + section_len; uint32_t export_vector_size = 0; - if (!parseVarint(pos, end, export_vector_size) || pos + export_vector_size > end) { + if (!parseVarint(pos, section_end, export_vector_size) || + pos + export_vector_size > section_end) { return false; } // Search thourgh exports. for (uint32_t i = 0; i < export_vector_size; i++) { // Parse name of the export. uint32_t export_name_size = 0; - if (!parseVarint(pos, end, export_name_size) || pos + export_name_size > end) { + if (!parseVarint(pos, section_end, export_name_size) || + pos + export_name_size > section_end) { return false; } const auto *const name_begin = pos; @@ -65,7 +68,7 @@ bool BytecodeUtil::getAbiVersion(std::string_view bytecode, proxy_wasm::AbiVersi return false; } // Check if it is a function type export - if (*pos++ == 0x00) { + if (*pos++ == 0x00 /* function */) { const std::string export_name = {name_begin, export_name_size}; // Check the name of the function. if (export_name == "proxy_abi_version_0_1_0") { @@ -114,24 +117,25 @@ bool BytecodeUtil::getCustomSection(std::string_view bytecode, std::string_view } if (section_type == 0) { // Custom section. - const auto *const section_data_start = pos; + const char *section_end = pos + section_len; uint32_t section_name_len = 0; - if (!BytecodeUtil::parseVarint(pos, end, section_name_len) || pos + section_name_len > end) { + if (!BytecodeUtil::parseVarint(pos, section_end, section_name_len) || + pos + section_name_len > section_end) { return false; } if (section_name_len == name.size() && ::memcmp(pos, name.data(), section_name_len) == 0) { pos += section_name_len; - ret = {pos, static_cast(section_data_start + section_len - pos)}; + ret = {pos, static_cast(section_end - pos)}; return true; } - pos = section_data_start + section_len; + pos = section_end; } else { // Skip other sections. pos += section_len; } } return true; -}; +} bool BytecodeUtil::getFunctionNameIndex(std::string_view bytecode, std::unordered_map &ret) { @@ -242,16 +246,32 @@ bool BytecodeUtil::getStrippedSource(std::string_view bytecode, std::string &ret bool BytecodeUtil::parseVarint(const char *&pos, const char *end, uint32_t &ret) { uint32_t shift = 0; + uint32_t total = 0; + uint32_t v; char b; - do { + while (pos < end) { if (pos + 1 > end) { + // overread return false; } b = *pos++; - ret += (b & 0x7f) << shift; + v = (b & 0x7f); + if (shift == 28 && v > 3) { + // overflow + return false; + } + total += v << shift; + if ((b & 0x80) == 0) { + ret = total; + return true; + } shift += 7; - } while ((b & 0x80) != 0); - return ret != static_cast(-1); + if (shift > 28) { + // overflow + return false; + } + } + return false; } } // namespace proxy_wasm diff --git a/test/fuzz/BUILD b/test/fuzz/BUILD new file mode 100644 index 000000000..9e9ca0c78 --- /dev/null +++ b/test/fuzz/BUILD @@ -0,0 +1,19 @@ +load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test") + +licenses(["notice"]) # Apache 2 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "corpus_bytecode", + srcs = glob(["corpus_bytecode/**"]), +) + +cc_fuzz_test( + name = "bytecode_util_fuzzer", + srcs = ["bytecode_util_fuzzer.cc"], + corpus = [":corpus_bytecode"], + deps = [ + "//:lib", + ], +) diff --git a/test/fuzz/bytecode_util_fuzzer.cc b/test/fuzz/bytecode_util_fuzzer.cc new file mode 100644 index 000000000..b77d9423b --- /dev/null +++ b/test/fuzz/bytecode_util_fuzzer.cc @@ -0,0 +1,41 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "include/proxy-wasm/bytecode_util.h" + +#include + +namespace proxy_wasm { +namespace { + +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { + auto bytecode = std::string_view(reinterpret_cast(data), size); + + AbiVersion version; + BytecodeUtil::getAbiVersion(bytecode, version); + + std::string_view custom_section; + BytecodeUtil::getCustomSection(bytecode, "precompiled", custom_section); + + std::string stripped_source; + BytecodeUtil::getStrippedSource(bytecode, stripped_source); + + std::unordered_map function_names; + BytecodeUtil::getFunctionNameIndex(bytecode, function_names); + + return 0; +} + +} // namespace +} // namespace proxy_wasm diff --git a/test/fuzz/corpus_bytecode/crash-10198e96614e9ff7ca6dae581f4f7f13143257d7 b/test/fuzz/corpus_bytecode/crash-10198e96614e9ff7ca6dae581f4f7f13143257d7 new file mode 100644 index 0000000000000000000000000000000000000000..a8e688a41706365ea8aab20ad3d7644381700103 GIT binary patch literal 15 WcmZQbEY4+MWMp7x`1k+*{}ccog$0TL literal 0 HcmV?d00001 diff --git a/test/fuzz/corpus_bytecode/crash-6d94d1b10bc8dabc467a8e4a9a7105f62c81ff4c b/test/fuzz/corpus_bytecode/crash-6d94d1b10bc8dabc467a8e4a9a7105f62c81ff4c new file mode 100644 index 0000000000000000000000000000000000000000..81aa8f42e6f64c3e745ef7be6034330c926babf8 GIT binary patch literal 15 WcmZQbEY4;AFLI56nI$hVHx&RT3k22x literal 0 HcmV?d00001 diff --git a/test/fuzz/corpus_bytecode/crash-8cff35e5a0f9722df891fd1f05ca6dc2bd3d42aa b/test/fuzz/corpus_bytecode/crash-8cff35e5a0f9722df891fd1f05ca6dc2bd3d42aa new file mode 100644 index 0000000000000000000000000000000000000000..63b0377d5fbcd6f9478ebc21b78dc8c5ff2f8a96 GIT binary patch literal 154 zcmZQbEY4;A&%n^kz`y{dx`9j}Sj@n{!3>cAQVgv?yjkQL12aorVs0t}d*pEjfkcox cMuyI7&I}I{Kx_pN0RoH=iZoIIrW~vr0D7Yij{pDw literal 0 HcmV?d00001 diff --git a/test/fuzz/corpus_bytecode/crash-9718722528a7c015ef3852490a6c67649bda70c0 b/test/fuzz/corpus_bytecode/crash-9718722528a7c015ef3852490a6c67649bda70c0 new file mode 100644 index 0000000000000000000000000000000000000000..c5eb9dd069c848e3c72f1d573c7c38d683b8f73f GIT binary patch literal 478 zcmchU!41MN3`M_{(n?%7a^u!LsF;I8C9dJp1z-l&VFe~&1C|K?J56cTJC@?u&rTHo zpdTX4(BOi|#n5P-oY`hf5l}lv$OZD&<4jv^FT)9St}9n7@^xutyMNp21xvt(7UO6~ z#y90}xe9w6Dqwh|^a0M*wU5LaPr~@bo%<(|E1AcZNa9nMW9l->qHStfDEh-iQNN#V SrYi2U Date: Thu, 4 Aug 2022 23:58:33 -0500 Subject: [PATCH 21/90] Harden Pairs de/serialization. (#305) Reported by Chris Ertl from Google Security. Signed-off-by: Piotr Sikora --- BUILD | 2 + include/proxy-wasm/exports.h | 30 --- include/proxy-wasm/limits.h | 10 + include/proxy-wasm/pairs_util.h | 63 +++++++ src/exports.cc | 82 +++------ src/pairs_util.cc | 171 ++++++++++++++++++ test/fuzz/BUILD | 14 ++ ...h-0bf4371e72f7ae83f9c5bf3e2485531cdcaaaa04 | Bin 0 -> 36 bytes test/fuzz/pairs_util_fuzzer.cc | 46 +++++ 9 files changed, 332 insertions(+), 86 deletions(-) create mode 100644 include/proxy-wasm/pairs_util.h create mode 100644 src/pairs_util.cc create mode 100644 test/fuzz/corpus_pairs/crash-0bf4371e72f7ae83f9c5bf3e2485531cdcaaaa04 create mode 100644 test/fuzz/pairs_util_fuzzer.cc diff --git a/BUILD b/BUILD index 67d8d89df..46edf1d1c 100644 --- a/BUILD +++ b/BUILD @@ -52,6 +52,7 @@ cc_library( "src/bytecode_util.cc", "src/context.cc", "src/exports.cc", + "src/pairs_util.cc", "src/shared_data.cc", "src/shared_data.h", "src/shared_queue.cc", @@ -62,6 +63,7 @@ cc_library( ], hdrs = [ "include/proxy-wasm/bytecode_util.h", + "include/proxy-wasm/pairs_util.h", "include/proxy-wasm/signature_util.h", ], linkopts = select({ diff --git a/include/proxy-wasm/exports.h b/include/proxy-wasm/exports.h index 325d28ff3..376a4d3b6 100644 --- a/include/proxy-wasm/exports.h +++ b/include/proxy-wasm/exports.h @@ -62,36 +62,6 @@ struct RegisterForeignFunction { namespace exports { -template size_t pairsSize(const Pairs &result) { - size_t size = 4; // number of headers - for (auto &p : result) { - size += 8; // size of key, size of value - size += p.first.size() + 1; // null terminated key - size += p.second.size() + 1; // null terminated value - } - return size; -} - -template void marshalPairs(const Pairs &result, char *buffer) { - char *b = buffer; - *reinterpret_cast(b) = htowasm(result.size()); - b += sizeof(uint32_t); - for (auto &p : result) { - *reinterpret_cast(b) = htowasm(p.first.size()); - b += sizeof(uint32_t); - *reinterpret_cast(b) = htowasm(p.second.size()); - b += sizeof(uint32_t); - } - for (auto &p : result) { - memcpy(b, p.first.data(), p.first.size()); - b += p.first.size(); - *b++ = 0; - memcpy(b, p.second.data(), p.second.size()); - b += p.second.size(); - *b++ = 0; - } -} - // ABI functions exported from host to wasm. Word get_configuration(Word value_ptr_ptr, Word value_size_ptr); diff --git a/include/proxy-wasm/limits.h b/include/proxy-wasm/limits.h index d02d4c5e3..9b9ac1cd3 100644 --- a/include/proxy-wasm/limits.h +++ b/include/proxy-wasm/limits.h @@ -30,3 +30,13 @@ #ifndef PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES #define PROXY_WASM_HOST_WASI_RANDOM_GET_MAX_SIZE_BYTES (64 * 1024) #endif + +// Maximum allowed size of Pairs buffer to deserialize. +#ifndef PROXY_WASM_HOST_PAIRS_MAX_BYTES +#define PROXY_WASM_HOST_PAIRS_MAX_BYTES (1024 * 1024) +#endif + +// Maximum allowed number of pairs in a Pairs buffer to deserialize. +#ifndef PROXY_WASM_HOST_PAIRS_MAX_COUNT +#define PROXY_WASM_HOST_PAIRS_MAX_COUNT 1024 +#endif diff --git a/include/proxy-wasm/pairs_util.h b/include/proxy-wasm/pairs_util.h new file mode 100644 index 000000000..54df2fd88 --- /dev/null +++ b/include/proxy-wasm/pairs_util.h @@ -0,0 +1,63 @@ +// Copyright 2016-2019 Envoy Project Authors +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#pragma once + +#include +#include +#include + +namespace proxy_wasm { + +using Pairs = std::vector>; +using StringPairs = std::vector>; + +class PairsUtil { +public: + /** + * pairsSize returns the buffer size required to serialize Pairs. + * @param pairs Pairs to serialize. + * @return size of the output buffer. + */ + static size_t pairsSize(const Pairs &pairs); + + static size_t pairsSize(const StringPairs &stringpairs) { + Pairs views(stringpairs.begin(), stringpairs.end()); + return pairsSize(views); + } + + /** + * marshalPairs serializes Pairs to output buffer. + * @param pairs Pairs to serialize. + * @param buffer output buffer. + * @param size size of the output buffer. + * @return indicates whether serialization succeeded or not. + */ + static bool marshalPairs(const Pairs &pairs, char *buffer, size_t size); + + static bool marshalPairs(const StringPairs &stringpairs, char *buffer, size_t size) { + Pairs views(stringpairs.begin(), stringpairs.end()); + return marshalPairs(views, buffer, size); + } + + /** + * toPairs deserializes input buffer to Pairs. + * @param buffer serialized input buffer. + * @return deserialized Pairs or an empty instance in case of deserialization failure. + */ + static Pairs toPairs(std::string_view buffer); +}; + +} // namespace proxy_wasm diff --git a/src/exports.cc b/src/exports.cc index 837f9e1e0..b06c40437 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -14,6 +14,7 @@ // limitations under the License. // #include "include/proxy-wasm/limits.h" +#include "include/proxy-wasm/pairs_util.h" #include "include/proxy-wasm/wasm.h" #include @@ -58,55 +59,6 @@ RegisterForeignFunction::RegisterForeignFunction(const std::string &name, WasmFo namespace exports { -namespace { - -Pairs toPairs(std::string_view buffer) { - Pairs result; - const char *b = buffer.data(); - if (buffer.size() < sizeof(uint32_t)) { - return {}; - } - auto size = wasmtoh(*reinterpret_cast(b)); - b += sizeof(uint32_t); - if (sizeof(uint32_t) + size * 2 * sizeof(uint32_t) > buffer.size()) { - return {}; - } - result.resize(size); - for (uint32_t i = 0; i < size; i++) { - result[i].first = std::string_view(nullptr, wasmtoh(*reinterpret_cast(b))); - b += sizeof(uint32_t); - result[i].second = std::string_view(nullptr, wasmtoh(*reinterpret_cast(b))); - b += sizeof(uint32_t); - } - for (auto &p : result) { - p.first = std::string_view(b, p.first.size()); - b += p.first.size() + 1; - p.second = std::string_view(b, p.second.size()); - b += p.second.size() + 1; - } - return result; -} - -template -bool getPairs(ContextBase *context, const Pairs &result, uint64_t ptr_ptr, uint64_t size_ptr) { - if (result.empty()) { - return context->wasm()->copyToPointerSize("", ptr_ptr, size_ptr); - } - uint64_t size = pairsSize(result); - uint64_t ptr = 0; - char *buffer = static_cast(context->wasm()->allocMemory(size, &ptr)); - marshalPairs(result, buffer); - if (!context->wasmVm()->setWord(ptr_ptr, Word(ptr))) { - return false; - } - if (!context->wasmVm()->setWord(size_ptr, Word(size))) { - return false; - } - return true; -} - -} // namespace - // General ABI. Word set_property(Word key_ptr, Word key_size, Word value_ptr, Word value_size) { @@ -200,7 +152,7 @@ Word send_local_response(Word response_code, Word response_code_details_ptr, if (!details || !body || !additional_response_header_pairs) { return WasmResult::InvalidMemoryAccess; } - auto additional_headers = toPairs(additional_response_header_pairs.value()); + auto additional_headers = PairsUtil::toPairs(additional_response_header_pairs.value()); context->sendLocalResponse(response_code, body.value(), std::move(additional_headers), grpc_status, details.value()); context->wasm()->stopNextIteration(true); @@ -435,7 +387,25 @@ Word get_header_map_pairs(Word type, Word ptr_ptr, Word size_ptr) { if (result != WasmResult::Ok) { return result; } - if (!getPairs(context, pairs, ptr_ptr, size_ptr)) { + if (pairs.empty()) { + if (!context->wasm()->copyToPointerSize("", ptr_ptr, size_ptr)) { + return WasmResult::InvalidMemoryAccess; + } + return WasmResult::Ok; + } + uint64_t size = PairsUtil::pairsSize(pairs); + uint64_t ptr = 0; + char *buffer = static_cast(context->wasm()->allocMemory(size, &ptr)); + if (buffer == nullptr) { + return WasmResult::InvalidMemoryAccess; + } + if (!PairsUtil::marshalPairs(pairs, buffer, size)) { + return WasmResult::InvalidMemoryAccess; + } + if (!context->wasmVm()->setWord(ptr_ptr, Word(ptr))) { + return WasmResult::InvalidMemoryAccess; + } + if (!context->wasmVm()->setWord(size_ptr, Word(size))) { return WasmResult::InvalidMemoryAccess; } return WasmResult::Ok; @@ -451,7 +421,7 @@ Word set_header_map_pairs(Word type, Word ptr, Word size) { return WasmResult::InvalidMemoryAccess; } return context->setHeaderMapPairs(static_cast(type.u64_), - toPairs(data.value())); + PairsUtil::toPairs(data.value())); } Word get_header_map_size(Word type, Word result_ptr) { @@ -549,8 +519,8 @@ Word http_call(Word uri_ptr, Word uri_size, Word header_pairs_ptr, Word header_p if (!uri || !body || !header_pairs || !trailer_pairs) { return WasmResult::InvalidMemoryAccess; } - auto headers = toPairs(header_pairs.value()); - auto trailers = toPairs(trailer_pairs.value()); + auto headers = PairsUtil::toPairs(header_pairs.value()); + auto trailers = PairsUtil::toPairs(trailer_pairs.value()); uint32_t token = 0; // NB: try to write the token to verify the memory before starting the async // operation. @@ -619,7 +589,7 @@ Word grpc_call(Word service_ptr, Word service_size, Word service_name_ptr, Word return WasmResult::InvalidMemoryAccess; } uint32_t token = 0; - auto initial_metadata = toPairs(initial_metadata_pairs.value()); + auto initial_metadata = PairsUtil::toPairs(initial_metadata_pairs.value()); auto result = context->grpcCall(service.value(), service_name.value(), method_name.value(), initial_metadata, request.value(), std::chrono::milliseconds(timeout_milliseconds), &token); @@ -645,7 +615,7 @@ Word grpc_stream(Word service_ptr, Word service_size, Word service_name_ptr, Wor return WasmResult::InvalidMemoryAccess; } uint32_t token = 0; - auto initial_metadata = toPairs(initial_metadata_pairs.value()); + auto initial_metadata = PairsUtil::toPairs(initial_metadata_pairs.value()); auto result = context->grpcStream(service.value(), service_name.value(), method_name.value(), initial_metadata, &token); if (result != WasmResult::Ok) { diff --git a/src/pairs_util.cc b/src/pairs_util.cc new file mode 100644 index 000000000..d49259216 --- /dev/null +++ b/src/pairs_util.cc @@ -0,0 +1,171 @@ +// Copyright 2016-2019 Envoy Project Authors +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "include/proxy-wasm/pairs_util.h" + +#include +#include +#include + +#include "include/proxy-wasm/limits.h" +#include "include/proxy-wasm/word.h" + +namespace proxy_wasm { + +using Sizes = std::vector>; + +size_t PairsUtil::pairsSize(const Pairs &pairs) { + size_t size = sizeof(uint32_t); // number of headers + for (const auto &p : pairs) { + size += 2 * sizeof(uint32_t); // size of name, size of value + size += p.first.size() + 1; // NULL-terminated name + size += p.second.size() + 1; // NULL-terminated value + } + return size; +} + +bool PairsUtil::marshalPairs(const Pairs &pairs, char *buffer, size_t size) { + if (buffer == nullptr) { + return false; + } + + char *pos = buffer; + const char *end = buffer + size; + + // Write number of pairs. + uint32_t num_pairs = htowasm(pairs.size()); + if (pos + sizeof(uint32_t) > end) { + return false; + } + ::memcpy(pos, &num_pairs, sizeof(uint32_t)); + pos += sizeof(uint32_t); + + for (const auto &p : pairs) { + // Write name length. + uint32_t name_len = htowasm(p.first.size()); + if (pos + sizeof(uint32_t) > end) { + return false; + } + ::memcpy(pos, &name_len, sizeof(uint32_t)); + pos += sizeof(uint32_t); + + // Write value length. + uint32_t value_len = htowasm(p.second.size()); + if (pos + sizeof(uint32_t) > end) { + return false; + } + ::memcpy(pos, &value_len, sizeof(uint32_t)); + pos += sizeof(uint32_t); + } + + for (const auto &p : pairs) { + // Write name. + if (pos + p.first.size() + 1 > end) { + return false; + } + ::memcpy(pos, p.first.data(), p.first.size()); + pos += p.first.size(); + *pos++ = '\0'; // NULL-terminated string. + + // Write value. + if (pos + p.second.size() + 1 > end) { + return false; + } + ::memcpy(pos, p.second.data(), p.second.size()); + pos += p.second.size(); + *pos++ = '\0'; // NULL-terminated string. + } + + return pos == end; +} + +Pairs PairsUtil::toPairs(std::string_view buffer) { + if (buffer.data() == nullptr || buffer.size() > PROXY_WASM_HOST_PAIRS_MAX_BYTES) { + return {}; + } + + const char *pos = buffer.data(); + const char *end = buffer.data() + buffer.size(); + + // Read number of pairs. + if (pos + sizeof(uint32_t) > end) { + return {}; + } + uint32_t num_pairs = wasmtoh(*reinterpret_cast(pos)); + pos += sizeof(uint32_t); + + // Check if we're not going to exceed the limit. + if (num_pairs > PROXY_WASM_HOST_PAIRS_MAX_COUNT) { + return {}; + } + if (pos + num_pairs * 2 * sizeof(uint32_t) > end) { + return {}; + } + + Sizes sizes; + sizes.resize(num_pairs); + + for (auto &s : sizes) { + // Read name length. + if (pos + sizeof(uint32_t) > end) { + return {}; + } + s.first = wasmtoh(*reinterpret_cast(pos)); + pos += sizeof(uint32_t); + + // Read value length. + if (pos + sizeof(uint32_t) > end) { + return {}; + } + s.second = wasmtoh(*reinterpret_cast(pos)); + pos += sizeof(uint32_t); + } + + Pairs pairs; + pairs.resize(num_pairs); + + for (uint32_t i = 0; i < num_pairs; i++) { + auto &s = sizes[i]; + auto &p = pairs[i]; + + // Don't overread. + if (pos + s.first + 1 > end) { + return {}; + } + p.first = std::string_view(pos, s.first); + pos += s.first; + if (*pos++ != '\0') { // NULL-terminated string. + return {}; + } + + // Don't overread. + if (pos + s.second + 1 > end) { + return {}; + } + p.second = std::string_view(pos, s.second); + pos += s.second; + if (*pos++ != '\0') { // NULL-terminated string. + return {}; + } + } + + if (pos != end) { + return {}; + } + + return pairs; +} + +} // namespace proxy_wasm diff --git a/test/fuzz/BUILD b/test/fuzz/BUILD index 9e9ca0c78..4c069bcf1 100644 --- a/test/fuzz/BUILD +++ b/test/fuzz/BUILD @@ -17,3 +17,17 @@ cc_fuzz_test( "//:lib", ], ) + +filegroup( + name = "corpus_pairs", + srcs = glob(["corpus_pairs/**"]), +) + +cc_fuzz_test( + name = "pairs_util_fuzzer", + srcs = ["pairs_util_fuzzer.cc"], + corpus = [":corpus_pairs"], + deps = [ + "//:lib", + ], +) diff --git a/test/fuzz/corpus_pairs/crash-0bf4371e72f7ae83f9c5bf3e2485531cdcaaaa04 b/test/fuzz/corpus_pairs/crash-0bf4371e72f7ae83f9c5bf3e2485531cdcaaaa04 new file mode 100644 index 0000000000000000000000000000000000000000..7be804a261255c5c35bf5ebcd6d32047dc1137f0 GIT binary patch literal 36 TcmZQ!VEE7Q9~C&Da{mJW1JNHQ literal 0 HcmV?d00001 diff --git a/test/fuzz/pairs_util_fuzzer.cc b/test/fuzz/pairs_util_fuzzer.cc new file mode 100644 index 000000000..aaef0d099 --- /dev/null +++ b/test/fuzz/pairs_util_fuzzer.cc @@ -0,0 +1,46 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "include/proxy-wasm/pairs_util.h" + +#include + +namespace proxy_wasm { +namespace { + +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { + auto input = std::string_view(reinterpret_cast(data), size); + + auto pairs = PairsUtil::toPairs(input); + + if (!pairs.empty()) { + // Verify that non-empty Pairs serializes back to the same bytes. + auto new_size = PairsUtil::pairsSize(pairs); + if (new_size != size) { + __builtin_trap(); + } + std::vector new_data(new_size); + if (!PairsUtil::marshalPairs(pairs, new_data.data(), new_data.size())) { + __builtin_trap(); + } + if (::memcmp(new_data.data(), data, size) != 0) { + __builtin_trap(); + } + } + + return 0; +} + +} // namespace +} // namespace proxy_wasm From 66b3b7ddadffd178fc0a5608311213a1778c4e43 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 5 Aug 2022 01:42:16 -0500 Subject: [PATCH 22/90] v8: add restricted callbacks. (#306) Restricted callbacks can invoke only allow-listed hostcalls. This mechanism is introduced primarily to prevent malicious plugins from modifying the state from "proxy_on_memory_allocate" ("malloc") callbacks, which could result in dangling pointers and/or out-of-bound access. While there, limit the hostcalls available during early initialization ("_initialize", "_start", and "main" callbacks). Reported by Chris Ertl from Google Security. Signed-off-by: Piotr Sikora --- include/proxy-wasm/wasm.h | 8 +++ include/proxy-wasm/wasm_vm.h | 15 +++++ src/v8/v8.cc | 12 ++++ src/wasm.cc | 20 +++++++ test/BUILD | 15 +++++ test/security_test.cc | 106 +++++++++++++++++++++++++++++++++++ test/test_data/BUILD | 5 ++ test/test_data/bad_malloc.rs | 47 ++++++++++++++++ 8 files changed, 228 insertions(+) create mode 100644 test/security_test.cc create mode 100644 test/test_data/bad_malloc.rs diff --git a/include/proxy-wasm/wasm.h b/include/proxy-wasm/wasm.h index 873531afd..23ed3c1da 100644 --- a/include/proxy-wasm/wasm.h +++ b/include/proxy-wasm/wasm.h @@ -392,7 +392,15 @@ inline void *WasmBase::allocMemory(uint64_t size, uint64_t *address) { if (!malloc_) { return nullptr; } + wasm_vm_->setRestrictedCallback( + true, {// logging (Proxy-Wasm) + "env.proxy_log", + // logging (stdout/stderr) + "wasi_unstable.fd_write", "wasi_snapshot_preview1.fd_write", + // time + "wasi_unstable.clock_time_get", "wasi_snapshot_preview1.clock_time_get"}); Word a = malloc_(vm_context(), size); + wasm_vm_->setRestrictedCallback(false); if (!a.u64_) { return nullptr; } diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index 800348ac3..879e200d1 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "include/proxy-wasm/word.h" @@ -314,6 +315,16 @@ class WasmVm { fail_callbacks_.push_back(fail_callback); } + bool isHostFunctionAllowed(const std::string &name) { + return !restricted_callback_ || allowed_hostcalls_.find(name) != allowed_hostcalls_.end(); + } + + void setRestrictedCallback(bool restricted, + std::unordered_set allowed_hostcalls = {}) { + restricted_callback_ = restricted; + allowed_hostcalls_ = std::move(allowed_hostcalls); + } + // Integrator operations. std::unique_ptr &integration() { return integration_; } bool cmpLogLevel(proxy_wasm::LogLevel level) { return integration_->getLogLevel() <= level; } @@ -322,6 +333,10 @@ class WasmVm { std::unique_ptr integration_; FailState failed_ = FailState::Ok; std::vector> fail_callbacks_; + +private: + bool restricted_callback_{false}; + std::unordered_set allowed_hostcalls_{}; }; // Thread local state set during a call into a WASM VM so that calls coming out of the diff --git a/src/v8/v8.cc b/src/v8/v8.cc index 7603ea671..ad43e0799 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -107,6 +107,8 @@ class V8 : public WasmVm { void terminate() override; private: + wasm::own trap(std::string message); + std::string getFailMessage(std::string_view function_name, wasm::own trap); template @@ -503,6 +505,10 @@ bool V8::setWord(uint64_t pointer, Word word) { return true; } +wasm::own V8::trap(std::string message) { + return wasm::Trap::make(store_.get(), wasm::Message::make(std::move(message))); +} + template void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, void (*function)(Args...)) { @@ -519,6 +525,9 @@ void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view func_data->vm_->integration()->trace("[vm->host] " + func_data->name_ + "(" + printValues(params, sizeof...(Args)) + ")"); } + if (!func_data->vm_->isHostFunctionAllowed(func_data->name_)) { + return dynamic_cast(func_data->vm_)->trap("restricted_callback"); + } auto args = convertValTypesToArgsTuple>(params); auto function = reinterpret_cast(func_data->raw_func_); std::apply(function, args); @@ -552,6 +561,9 @@ void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view func_data->vm_->integration()->trace("[vm->host] " + func_data->name_ + "(" + printValues(params, sizeof...(Args)) + ")"); } + if (!func_data->vm_->isHostFunctionAllowed(func_data->name_)) { + return dynamic_cast(func_data->vm_)->trap("restricted_callback"); + } auto args = convertValTypesToArgsTuple>(params); auto function = reinterpret_cast(func_data->raw_func_); R rvalue = std::apply(function, args); diff --git a/src/wasm.cc b/src/wasm.cc index fe21d7925..5519b3e77 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -355,6 +355,25 @@ ContextBase *WasmBase::getRootContext(const std::shared_ptr &plugin, } void WasmBase::startVm(ContextBase *root_context) { + // wasi_snapshot_preview1.clock_time_get + wasm_vm_->setRestrictedCallback( + true, {// logging (Proxy-Wasm) + "env.proxy_log", + // logging (stdout/stderr) + "wasi_unstable.fd_write", "wasi_snapshot_preview1.fd_write", + // args + "wasi_unstable.args_sizes_get", "wasi_snapshot_preview1.args_sizes_get", + "wasi_unstable.args_get", "wasi_snapshot_preview1.args_get", + // environment variables + "wasi_unstable.environ_sizes_get", "wasi_snapshot_preview1.environ_sizes_get", + "wasi_unstable.environ_get", "wasi_snapshot_preview1.environ_get", + // preopened files/directories + "wasi_unstable.fd_prestat_get", "wasi_snapshot_preview1.fd_prestat_get", + "wasi_unstable.fd_prestat_dir_name", "wasi_snapshot_preview1.fd_prestat_dir_name", + // time + "wasi_unstable.clock_time_get", "wasi_snapshot_preview1.clock_time_get", + // random + "wasi_unstable.random_get", "wasi_snapshot_preview1.random_get"}); if (_initialize_) { // WASI reactor. _initialize_(root_context); @@ -370,6 +389,7 @@ void WasmBase::startVm(ContextBase *root_context) { // WASI command. _start_(root_context); } + wasm_vm_->setRestrictedCallback(false); } bool WasmBase::configure(ContextBase *root_context, std::shared_ptr plugin) { diff --git a/test/BUILD b/test/BUILD index 196cbc590..42748b92d 100644 --- a/test/BUILD +++ b/test/BUILD @@ -102,6 +102,21 @@ cc_test( ], ) +cc_test( + name = "security_test", + srcs = ["security_test.cc"], + data = [ + "//test/test_data:bad_malloc.wasm", + ], + linkstatic = 1, + deps = [ + ":utility_lib", + "//:lib", + "@com_google_googletest//:gtest", + "@com_google_googletest//:gtest_main", + ], +) + cc_test( name = "shared_data", srcs = ["shared_data_test.cc"], diff --git a/test/security_test.cc b/test/security_test.cc new file mode 100644 index 000000000..a077e4ae6 --- /dev/null +++ b/test/security_test.cc @@ -0,0 +1,106 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" + +#include +#include + +#include "include/proxy-wasm/context.h" +#include "include/proxy-wasm/wasm.h" + +#include "test/utility.h" + +namespace proxy_wasm { + +INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines()), + [](const testing::TestParamInfo &info) { + return info.param; + }); + +TEST_P(TestVm, MallocNoHostcalls) { + if (engine_ != "v8") { + return; + } + auto source = readTestWasmFile("bad_malloc.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + uint64_t ptr = 0; + void *result = wasm.allocMemory(0x1000, &ptr); + EXPECT_NE(result, nullptr); + EXPECT_FALSE(wasm.isFailed()); + + // Check application logs. + auto *context = dynamic_cast(wasm.vm_context()); + EXPECT_TRUE(context->isLogEmpty()); + // Check integration logs. + auto *integration = dynamic_cast(wasm.wasm_vm()->integration().get()); + EXPECT_FALSE(integration->isErrorLogged("Function: proxy_on_memory_allocate failed")); + EXPECT_FALSE(integration->isErrorLogged("restricted_callback")); +} + +TEST_P(TestVm, MallocWithLog) { + if (engine_ != "v8") { + return; + } + auto source = readTestWasmFile("bad_malloc.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + uint64_t ptr = 0; + // 0xAAAA => hostcall to proxy_log (allowed). + void *result = wasm.allocMemory(0xAAAA, &ptr); + EXPECT_NE(result, nullptr); + EXPECT_FALSE(wasm.isFailed()); + + // Check application logs. + auto *context = dynamic_cast(wasm.vm_context()); + EXPECT_TRUE(context->isLogged("this is fine")); + // Check integration logs. + auto *integration = dynamic_cast(wasm.wasm_vm()->integration().get()); + EXPECT_FALSE(integration->isErrorLogged("Function: proxy_on_memory_allocate failed")); + EXPECT_FALSE(integration->isErrorLogged("restricted_callback")); +} + +TEST_P(TestVm, MallocWithHostcall) { + if (engine_ != "v8") { + return; + } + auto source = readTestWasmFile("bad_malloc.wasm"); + ASSERT_FALSE(source.empty()); + auto wasm = TestWasm(std::move(vm_)); + ASSERT_TRUE(wasm.load(source, false)); + ASSERT_TRUE(wasm.initialize()); + + uint64_t ptr = 0; + // 0xBBBB => hostcall to proxy_done (not allowed). + void *result = wasm.allocMemory(0xBBBB, &ptr); + EXPECT_EQ(result, nullptr); + EXPECT_TRUE(wasm.isFailed()); + + // Check application logs. + auto *context = dynamic_cast(wasm.vm_context()); + EXPECT_TRUE(context->isLogEmpty()); + // Check integration logs. + auto *integration = dynamic_cast(wasm.wasm_vm()->integration().get()); + EXPECT_TRUE(integration->isErrorLogged("Function: proxy_on_memory_allocate failed")); + EXPECT_TRUE(integration->isErrorLogged("restricted_callback")); +} + +} // namespace proxy_wasm diff --git a/test/test_data/BUILD b/test/test_data/BUILD index c6892954e..38612ca15 100644 --- a/test/test_data/BUILD +++ b/test/test_data/BUILD @@ -28,6 +28,11 @@ wasm_rust_binary( ], ) +wasm_rust_binary( + name = "bad_malloc.wasm", + srcs = ["bad_malloc.rs"], +) + wasm_rust_binary( name = "callback.wasm", srcs = ["callback.rs"], diff --git a/test/test_data/bad_malloc.rs b/test/test_data/bad_malloc.rs new file mode 100644 index 000000000..43c60da02 --- /dev/null +++ b/test/test_data/bad_malloc.rs @@ -0,0 +1,47 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +use std::mem::MaybeUninit; + +extern "C" { + fn proxy_log(level: u32, message_data: *const u8, message_size: usize) -> u32; + fn proxy_done() -> u32; +} + +#[no_mangle] +pub extern "C" fn proxy_abi_version_0_2_0() {} + +#[no_mangle] +pub extern "C" fn proxy_on_memory_allocate(size: usize) -> *mut u8 { + let mut vec: Vec> = Vec::with_capacity(size); + unsafe { + vec.set_len(size); + } + match size { + 0xAAAA => { + let message = "this is fine"; + unsafe { + proxy_log(0, message.as_ptr(), message.len()); + } + } + 0xBBBB => { + unsafe { + proxy_done(); + } + } + _ => {} + } + let slice = vec.into_boxed_slice(); + Box::into_raw(slice) as *mut u8 +} From 4fcf895fa2433a1cdf20704926b8b7e4039a6a04 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 5 Aug 2022 02:43:10 -0500 Subject: [PATCH 23/90] v8: make sure we're operating in a wasm32 memory space. (#307) Reported by Chris Ertl from Google Security. Signed-off-by: Piotr Sikora --- src/v8/v8.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/v8/v8.cc b/src/v8/v8.cc index ad43e0799..2d8660bcc 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -469,6 +469,10 @@ uint64_t V8::getMemorySize() { return memory_->data_size(); } std::optional V8::getMemory(uint64_t pointer, uint64_t size) { assert(memory_ != nullptr); + // Make sure we're operating in a wasm32 memory space. + if (pointer > UINT32_MAX || size > UINT32_MAX || pointer + size > UINT32_MAX) { + return std::nullopt; + } if (pointer + size > memory_->data_size()) { return std::nullopt; } @@ -477,6 +481,10 @@ std::optional V8::getMemory(uint64_t pointer, uint64_t size) { bool V8::setMemory(uint64_t pointer, uint64_t size, const void *data) { assert(memory_ != nullptr); + // Make sure we're operating in a wasm32 memory space. + if (pointer > UINT32_MAX || size > UINT32_MAX || pointer + size > UINT32_MAX) { + return false; + } if (pointer + size > memory_->data_size()) { return false; } @@ -486,6 +494,10 @@ bool V8::setMemory(uint64_t pointer, uint64_t size, const void *data) { bool V8::getWord(uint64_t pointer, Word *word) { constexpr auto size = sizeof(uint32_t); + // Make sure we're operating in a wasm32 memory space. + if (pointer > UINT32_MAX || pointer + size > UINT32_MAX) { + return false; + } if (pointer + size > memory_->data_size()) { return false; } @@ -497,6 +509,10 @@ bool V8::getWord(uint64_t pointer, Word *word) { bool V8::setWord(uint64_t pointer, Word word) { constexpr auto size = sizeof(uint32_t); + // Make sure we're operating in a wasm32 memory space. + if (pointer > UINT32_MAX || pointer + size > UINT32_MAX) { + return false; + } if (pointer + size > memory_->data_size()) { return false; } From 537b944de526aaeda803dfa3bbcffe1f408b986c Mon Sep 17 00:00:00 2001 From: Konstantin Maksimov <18444445+knm3000@users.noreply.github.com> Date: Sun, 2 Oct 2022 04:08:53 +0200 Subject: [PATCH 24/90] Do not reverse bytes for NullVM. (#282) Fixes https://github.com/proxy-wasm/proxy-wasm-cpp-host/issues/294. Signed-off-by: Konstantin Maksimov --- include/proxy-wasm/null_vm.h | 1 + include/proxy-wasm/wasm_vm.h | 6 ++++++ include/proxy-wasm/word.h | 8 ++++---- src/exports.cc | 5 +++-- src/pairs_util.cc | 31 +++++++++++++++++++++++++------ src/signature_util.cc | 2 +- src/v8/v8.cc | 5 +++-- src/wamr/wamr.cc | 5 +++-- src/wasmedge/wasmedge.cc | 1 + src/wasmtime/wasmtime.cc | 5 +++-- src/wavm/wavm.cc | 5 +++-- test/BUILD | 11 +++++++++++ test/null_vm_test.cc | 6 ++++++ test/pairs_util_test.cc | 33 +++++++++++++++++++++++++++++++++ test/wasm_vm_test.cc | 3 ++- 15 files changed, 105 insertions(+), 22 deletions(-) create mode 100644 test/pairs_util_test.cc diff --git a/include/proxy-wasm/null_vm.h b/include/proxy-wasm/null_vm.h index 3a38fd990..a0a3798ff 100644 --- a/include/proxy-wasm/null_vm.h +++ b/include/proxy-wasm/null_vm.h @@ -61,6 +61,7 @@ struct NullVm : public WasmVm { #undef _REGISTER_CALLBACK void terminate() override {} + bool usesWasmByteOrder() override { return false; } std::string plugin_name_; std::unique_ptr plugin_; diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index 879e200d1..acf0ccf3b 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -303,6 +303,12 @@ class WasmVm { */ virtual void terminate() = 0; + /** + * Byte order flag (host or wasm). + * @return 'false' for a null VM and 'true' for a wasm VM. + */ + virtual bool usesWasmByteOrder() = 0; + bool isFailed() { return failed_ != FailState::Ok; } void fail(FailState fail_state, std::string_view message) { integration()->error(message); diff --git a/include/proxy-wasm/word.h b/include/proxy-wasm/word.h index 559471eb8..90ea932df 100644 --- a/include/proxy-wasm/word.h +++ b/include/proxy-wasm/word.h @@ -24,11 +24,11 @@ namespace proxy_wasm { // Use byteswap functions only when compiling for big-endian platforms. #if defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && \ __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ -#define htowasm(x) __builtin_bswap32(x) -#define wasmtoh(x) __builtin_bswap32(x) +#define htowasm(x, vm_uses_wasm_byte_order) ((vm_uses_wasm_byte_order) ? __builtin_bswap32(x) : (x)) +#define wasmtoh(x, vm_uses_wasm_byte_order) ((vm_uses_wasm_byte_order) ? __builtin_bswap32(x) : (x)) #else -#define htowasm(x) (x) -#define wasmtoh(x) (x) +#define htowasm(x, vm_uses_wasm_byte_order) (x) +#define wasmtoh(x, vm_uses_wasm_byte_order) (x) #endif // Represents a Wasm-native word-sized datum. On 32-bit VMs, the high bits are always zero. diff --git a/src/exports.cc b/src/exports.cc index b06c40437..0290dcf0f 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -693,8 +693,9 @@ Word writevImpl(Word fd, Word iovs, Word iovs_len, Word *nwritten_ptr) { } const auto *iovec = reinterpret_cast(memslice.value().data()); if (iovec[1] != 0U /* buf_len */) { - memslice = context->wasmVm()->getMemory(wasmtoh(iovec[0]) /* buf */, - wasmtoh(iovec[1]) /* buf_len */); + const auto buf = wasmtoh(iovec[0], context->wasmVm()->usesWasmByteOrder()); + const auto buf_len = wasmtoh(iovec[1], context->wasmVm()->usesWasmByteOrder()); + memslice = context->wasmVm()->getMemory(buf, buf_len); if (!memslice) { return 21; // __WASI_EFAULT } diff --git a/src/pairs_util.cc b/src/pairs_util.cc index d49259216..d21135788 100644 --- a/src/pairs_util.cc +++ b/src/pairs_util.cc @@ -19,6 +19,7 @@ #include #include +#include "include/proxy-wasm/exports.h" #include "include/proxy-wasm/limits.h" #include "include/proxy-wasm/word.h" @@ -45,7 +46,10 @@ bool PairsUtil::marshalPairs(const Pairs &pairs, char *buffer, size_t size) { const char *end = buffer + size; // Write number of pairs. - uint32_t num_pairs = htowasm(pairs.size()); + uint32_t num_pairs = + htowasm(pairs.size(), contextOrEffectiveContext() != nullptr + ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() + : false); if (pos + sizeof(uint32_t) > end) { return false; } @@ -54,7 +58,10 @@ bool PairsUtil::marshalPairs(const Pairs &pairs, char *buffer, size_t size) { for (const auto &p : pairs) { // Write name length. - uint32_t name_len = htowasm(p.first.size()); + uint32_t name_len = + htowasm(p.first.size(), contextOrEffectiveContext() != nullptr + ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() + : false); if (pos + sizeof(uint32_t) > end) { return false; } @@ -62,7 +69,10 @@ bool PairsUtil::marshalPairs(const Pairs &pairs, char *buffer, size_t size) { pos += sizeof(uint32_t); // Write value length. - uint32_t value_len = htowasm(p.second.size()); + uint32_t value_len = + htowasm(p.second.size(), contextOrEffectiveContext() != nullptr + ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() + : false); if (pos + sizeof(uint32_t) > end) { return false; } @@ -103,7 +113,10 @@ Pairs PairsUtil::toPairs(std::string_view buffer) { if (pos + sizeof(uint32_t) > end) { return {}; } - uint32_t num_pairs = wasmtoh(*reinterpret_cast(pos)); + uint32_t num_pairs = wasmtoh(*reinterpret_cast(pos), + contextOrEffectiveContext() != nullptr + ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() + : false); pos += sizeof(uint32_t); // Check if we're not going to exceed the limit. @@ -122,14 +135,20 @@ Pairs PairsUtil::toPairs(std::string_view buffer) { if (pos + sizeof(uint32_t) > end) { return {}; } - s.first = wasmtoh(*reinterpret_cast(pos)); + s.first = wasmtoh(*reinterpret_cast(pos), + contextOrEffectiveContext() != nullptr + ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() + : false); pos += sizeof(uint32_t); // Read value length. if (pos + sizeof(uint32_t) > end) { return {}; } - s.second = wasmtoh(*reinterpret_cast(pos)); + s.second = wasmtoh(*reinterpret_cast(pos), + contextOrEffectiveContext() != nullptr + ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() + : false); pos += sizeof(uint32_t); } diff --git a/src/signature_util.cc b/src/signature_util.cc index a8f29363b..46b9d3333 100644 --- a/src/signature_util.cc +++ b/src/signature_util.cc @@ -86,7 +86,7 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess uint32_t alg_id; std::memcpy(&alg_id, payload.data(), sizeof(uint32_t)); - alg_id = wasmtoh(alg_id); + alg_id = wasmtoh(alg_id, true); if (alg_id != 2) { message = "Signature has a wrong alg_id (want: 2, is: " + std::to_string(alg_id) + ")"; diff --git a/src/v8/v8.cc b/src/v8/v8.cc index 2d8660bcc..5718d1308 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -105,6 +105,7 @@ class V8 : public WasmVm { #undef _GET_MODULE_FUNCTION void terminate() override; + bool usesWasmByteOrder() override { return true; } private: wasm::own trap(std::string message); @@ -503,7 +504,7 @@ bool V8::getWord(uint64_t pointer, Word *word) { } uint32_t word32; ::memcpy(&word32, memory_->data() + pointer, size); - word->u64_ = wasmtoh(word32); + word->u64_ = wasmtoh(word32, true); return true; } @@ -516,7 +517,7 @@ bool V8::setWord(uint64_t pointer, Word word) { if (pointer + size > memory_->data_size()) { return false; } - uint32_t word32 = htowasm(word.u32()); + uint32_t word32 = htowasm(word.u32(), true); ::memcpy(memory_->data() + pointer, &word32, size); return true; } diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index e193358cc..2ca6863be 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -87,6 +87,7 @@ class Wamr : public WasmVm { #undef _GET_MODULE_FUNCTION void terminate() override {} + bool usesWasmByteOrder() override { return true; } private: template @@ -368,7 +369,7 @@ bool Wamr::getWord(uint64_t pointer, Word *word) { uint32_t word32; ::memcpy(&word32, wasm_memory_data(memory_.get()) + pointer, size); - word->u64_ = wasmtoh(word32); + word->u64_ = wasmtoh(word32, true); return true; } @@ -377,7 +378,7 @@ bool Wamr::setWord(uint64_t pointer, Word word) { if (pointer + size > wasm_memory_data_size(memory_.get())) { return false; } - uint32_t word32 = htowasm(word.u32()); + uint32_t word32 = htowasm(word.u32(), true); ::memcpy(wasm_memory_data(memory_.get()) + pointer, &word32, size); return true; } diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc index f22d588ac..89813096f 100644 --- a/src/wasmedge/wasmedge.cc +++ b/src/wasmedge/wasmedge.cc @@ -281,6 +281,7 @@ class WasmEdge : public WasmVm { std::function *function); void terminate() override {} + bool usesWasmByteOrder() override { return true; } WasmEdgeLoaderPtr loader_; WasmEdgeValidatorPtr validator_; diff --git a/src/wasmtime/wasmtime.cc b/src/wasmtime/wasmtime.cc index 040dea072..2cfc21888 100644 --- a/src/wasmtime/wasmtime.cc +++ b/src/wasmtime/wasmtime.cc @@ -98,6 +98,7 @@ class Wasmtime : public WasmVm { std::function *function); void terminate() override {} + bool usesWasmByteOrder() override { return true; } WasmStorePtr store_; WasmModulePtr module_; @@ -394,7 +395,7 @@ bool Wasmtime::getWord(uint64_t pointer, Word *word) { uint32_t word32; ::memcpy(&word32, wasm_memory_data(memory_.get()) + pointer, size); - word->u64_ = wasmtoh(word32); + word->u64_ = wasmtoh(word32, true); return true; } @@ -403,7 +404,7 @@ bool Wasmtime::setWord(uint64_t pointer, Word word) { if (pointer + size > wasm_memory_data_size(memory_.get())) { return false; } - uint32_t word32 = htowasm(word.u32()); + uint32_t word32 = htowasm(word.u32(), true); ::memcpy(wasm_memory_data(memory_.get()) + pointer, &word32, size); return true; } diff --git a/src/wavm/wavm.cc b/src/wavm/wavm.cc index 1041b7fa7..670eb7c41 100644 --- a/src/wavm/wavm.cc +++ b/src/wavm/wavm.cc @@ -230,6 +230,7 @@ struct Wavm : public WasmVm { #undef _REGISTER_CALLBACK void terminate() override {} + bool usesWasmByteOrder() override { return true; } IR::Module ir_module_; WAVM::Runtime::ModuleRef module_ = nullptr; @@ -389,12 +390,12 @@ bool Wavm::getWord(uint64_t pointer, Word *data) { auto *p = reinterpret_cast(memory_base_ + pointer); uint32_t data32; memcpy(&data32, p, sizeof(uint32_t)); - data->u64_ = wasmtoh(data32); + data->u64_ = wasmtoh(data32, true); return true; } bool Wavm::setWord(uint64_t pointer, Word data) { - uint32_t data32 = htowasm(data.u32()); + uint32_t data32 = htowasm(data.u32(), true); return setMemory(pointer, sizeof(uint32_t), &data32); } diff --git a/test/BUILD b/test/BUILD index 42748b92d..71b30296b 100644 --- a/test/BUILD +++ b/test/BUILD @@ -165,6 +165,17 @@ cc_test( ], ) +cc_test( + name = "pairs_util_test", + srcs = ["pairs_util_test.cc"], + linkstatic = 1, + deps = [ + "//:lib", + "@com_google_googletest//:gtest", + "@com_google_googletest//:gtest_main", + ], +) + cc_library( name = "utility_lib", testonly = True, diff --git a/test/null_vm_test.cc b/test/null_vm_test.cc index 774c685d3..5bb862f96 100644 --- a/test/null_vm_test.cc +++ b/test/null_vm_test.cc @@ -73,4 +73,10 @@ TEST_F(BaseVmTest, NullVmStartup) { EXPECT_NE(test_null_vm_plugin, nullptr); } +TEST_F(BaseVmTest, ByteOrder) { + auto wasm_vm = createNullVm(); + EXPECT_TRUE(wasm_vm->load("test_null_vm_plugin", {}, {})); + EXPECT_FALSE(wasm_vm->usesWasmByteOrder()); +} + } // namespace proxy_wasm diff --git a/test/pairs_util_test.cc b/test/pairs_util_test.cc new file mode 100644 index 000000000..3f9fcd965 --- /dev/null +++ b/test/pairs_util_test.cc @@ -0,0 +1,33 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "include/proxy-wasm/pairs_util.h" +#include "gtest/gtest.h" + +namespace proxy_wasm { + +TEST(PairsUtilTest, EncodeDecode) { + proxy_wasm::Pairs pairs1; + std::string data1("some_data"); + auto size_str = std::to_string(data1.size()); + pairs1.push_back({data1, size_str}); + std::vector buffer(PairsUtil::pairsSize(pairs1)); + EXPECT_TRUE(PairsUtil::marshalPairs(pairs1, buffer.data(), buffer.size())); + auto pairs2 = PairsUtil::toPairs(std::string_view(buffer.data(), buffer.size())); + EXPECT_EQ(pairs2.size(), pairs1.size()); + EXPECT_EQ(pairs2[0].first, pairs1[0].first); + EXPECT_EQ(pairs2[0].second, pairs1[0].second); +} + +} // namespace proxy_wasm diff --git a/test/wasm_vm_test.cc b/test/wasm_vm_test.cc index 642ea636f..a9caac935 100644 --- a/test/wasm_vm_test.cc +++ b/test/wasm_vm_test.cc @@ -53,7 +53,8 @@ TEST_P(TestVm, Memory) { ASSERT_TRUE(vm_->getWord(0x2000, &word)); ASSERT_EQ(100, word.u64_); - uint32_t data[2] = {htowasm(static_cast(-1)), htowasm(200)}; + uint32_t data[2] = {htowasm(static_cast(-1), vm_->usesWasmByteOrder()), + htowasm(200, vm_->usesWasmByteOrder())}; ASSERT_TRUE(vm_->setMemory(0x200, sizeof(int32_t) * 2, static_cast(data))); ASSERT_TRUE(vm_->getWord(0x200, &word)); ASSERT_EQ(-1, static_cast(word.u64_)); From 25d6a99de9378e65a6bb6a56a2ca5073870ddc3c Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 6 Oct 2022 23:10:48 -0700 Subject: [PATCH 25/90] Add default visibility to Bazel's config_settings. (#311) Signed-off-by: Keith Smiley --- bazel/BUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazel/BUILD b/bazel/BUILD index 2fe0c7924..39f25a630 100644 --- a/bazel/BUILD +++ b/bazel/BUILD @@ -1,5 +1,7 @@ load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) + config_setting( name = "engine_null", values = {"define": "engine=null"}, From b0a0594e8ab4023857393fab349170fb487ec5a9 Mon Sep 17 00:00:00 2001 From: Dhi Aurrahman Date: Sun, 9 Oct 2022 16:35:30 +0700 Subject: [PATCH 26/90] v8: update to v10.7.193.13. (#310) Signed-off-by: Dhi Aurrahman --- bazel/external/v8.patch | 263 ---------------------------------------- bazel/repositories.bzl | 29 +---- src/v8/v8.cc | 10 +- test/BUILD | 2 + 4 files changed, 10 insertions(+), 294 deletions(-) diff --git a/bazel/external/v8.patch b/bazel/external/v8.patch index 7748793d0..52af7b6ad 100644 --- a/bazel/external/v8.patch +++ b/bazel/external/v8.patch @@ -1,7 +1,5 @@ # 1. Disable pointer compression (limits the maximum number of WasmVMs). # 2. Don't expose Wasm C API (only Wasm C++ API). -# 3. Fix cross-compilation (https://crrev.com/c/3735165). -# 4. Fix build errors in SIMD IndexOf/includes (https://crrev.com/c/3749192). diff --git a/BUILD.bazel b/BUILD.bazel index 5fb10d3940..a19930d36e 100644 @@ -35,264 +33,3 @@ index ce3f569fd5..dc8a4c4f6a 100644 } // extern "C" + +#endif -diff --git a/src/execution/clobber-registers.cc b/src/execution/clobber-registers.cc -index 8f7fba765f..a7f5bf80cf 100644 ---- a/src/execution/clobber-registers.cc -+++ b/src/execution/clobber-registers.cc -@@ -5,19 +5,22 @@ - - #include "src/base/build_config.h" - --#if V8_HOST_ARCH_ARM -+// Check both {HOST_ARCH} and {TARGET_ARCH} to disable the functionality of this -+// file for cross-compilation. The reason is that the inline assembly code below -+// does not work for cross-compilation. -+#if V8_HOST_ARCH_ARM && V8_TARGET_ARCH_ARM - #include "src/codegen/arm/register-arm.h" --#elif V8_HOST_ARCH_ARM64 -+#elif V8_HOST_ARCH_ARM64 && V8_TARGET_ARCH_ARM64 - #include "src/codegen/arm64/register-arm64.h" --#elif V8_HOST_ARCH_IA32 -+#elif V8_HOST_ARCH_IA32 && V8_TARGET_ARCH_IA32 - #include "src/codegen/ia32/register-ia32.h" --#elif V8_HOST_ARCH_X64 -+#elif V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64 - #include "src/codegen/x64/register-x64.h" --#elif V8_HOST_ARCH_LOONG64 -+#elif V8_HOST_ARCH_LOONG64 && V8_TARGET_ARCH_LOONG64 - #include "src/codegen/loong64/register-loong64.h" --#elif V8_HOST_ARCH_MIPS -+#elif V8_HOST_ARCH_MIPS && V8_TARGET_ARCH_MIPS - #include "src/codegen/mips/register-mips.h" --#elif V8_HOST_ARCH_MIPS64 -+#elif V8_HOST_ARCH_MIPS64 && V8_TARGET_ARCH_MIPS64 - #include "src/codegen/mips64/register-mips64.h" - #endif - -@@ -26,14 +29,15 @@ namespace internal { - - #if V8_CC_MSVC - // msvc only support inline assembly on x86 --#if V8_HOST_ARCH_IA32 -+#if V8_HOST_ARCH_IA32 && V8_TARGET_ARCH_IA32 - #define CLOBBER_REGISTER(R) __asm xorps R, R - - #endif - - #else // !V8_CC_MSVC - --#if V8_HOST_ARCH_X64 || V8_HOST_ARCH_IA32 -+#if (V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64) || \ -+ (V8_HOST_ARCH_IA32 && V8_TARGET_ARCH_IA32) - #define CLOBBER_REGISTER(R) \ - __asm__ volatile( \ - "xorps " \ -@@ -42,20 +46,19 @@ namespace internal { - "%%" #R :: \ - :); - --#elif V8_HOST_ARCH_ARM64 -+#elif V8_HOST_ARCH_ARM64 && V8_TARGET_ARCH_ARM64 - #define CLOBBER_REGISTER(R) __asm__ volatile("fmov " #R ",xzr" :::); - --#elif V8_HOST_ARCH_LOONG64 -+#elif V8_HOST_ARCH_LOONG64 && V8_TARGET_ARCH_LOONG64 - #define CLOBBER_REGISTER(R) __asm__ volatile("movgr2fr.d $" #R ",$zero" :::); - --#elif V8_HOST_ARCH_MIPS -+#elif V8_HOST_ARCH_MIPS && V8_TARGET_ARCH_MIPS - #define CLOBBER_USE_REGISTER(R) __asm__ volatile("mtc1 $zero,$" #R :::); - --#elif V8_HOST_ARCH_MIPS64 -+#elif V8_HOST_ARCH_MIPS64 && V8_TARGET_ARCH_MIPS64 - #define CLOBBER_USE_REGISTER(R) __asm__ volatile("dmtc1 $zero,$" #R :::); - --#endif // V8_HOST_ARCH_X64 || V8_HOST_ARCH_IA32 || V8_HOST_ARCH_ARM64 || -- // V8_HOST_ARCH_LOONG64 || V8_HOST_ARCH_MIPS || V8_HOST_ARCH_MIPS64 -+#endif // V8_HOST_ARCH_XXX && V8_TARGET_ARCH_XXX - - #endif // V8_CC_MSVC - -diff --git a/src/objects/simd.cc b/src/objects/simd.cc -index 0a73b9c686..be6b72d157 100644 ---- a/src/objects/simd.cc -+++ b/src/objects/simd.cc -@@ -354,8 +354,13 @@ Address ArrayIndexOfIncludes(Address array_start, uintptr_t array_len, - if (reinterpret_cast(array) % sizeof(double) != 0) { - // Slow scalar search for unaligned double array. - for (; from_index < array_len; from_index++) { -- if (fixed_array.get_representation(static_cast(from_index)) == -- *reinterpret_cast(&search_num)) { -+ if (fixed_array.is_the_hole(static_cast(from_index))) { -+ // |search_num| cannot be NaN, so there is no need to check against -+ // holes. -+ continue; -+ } -+ if (fixed_array.get_scalar(static_cast(from_index)) == -+ search_num) { - return from_index; - } - } -diff --git a/src/objects/simd.cc b/src/objects/simd.cc -index d3cedfe330..0a73b9c686 100644 ---- a/src/objects/simd.cc -+++ b/src/objects/simd.cc -@@ -95,24 +95,21 @@ inline int extract_first_nonzero_index(T v) { - } - - template <> --inline int extract_first_nonzero_index(int32x4_t v) { -- int32x4_t mask = {4, 3, 2, 1}; -+inline int extract_first_nonzero_index(uint32x4_t v) { -+ uint32x4_t mask = {4, 3, 2, 1}; - mask = vandq_u32(mask, v); - return 4 - vmaxvq_u32(mask); - } - - template <> --inline int extract_first_nonzero_index(int64x2_t v) { -- int32x4_t mask = {2, 0, 1, 0}; // Could also be {2,2,1,1} or {0,2,0,1} -- mask = vandq_u32(mask, vreinterpretq_s32_s64(v)); -+inline int extract_first_nonzero_index(uint64x2_t v) { -+ uint32x4_t mask = {2, 0, 1, 0}; // Could also be {2,2,1,1} or {0,2,0,1} -+ mask = vandq_u32(mask, vreinterpretq_u32_u64(v)); - return 2 - vmaxvq_u32(mask); - } - --template <> --inline int extract_first_nonzero_index(float64x2_t v) { -- int32x4_t mask = {2, 0, 1, 0}; // Could also be {2,2,1,1} or {0,2,0,1} -- mask = vandq_u32(mask, vreinterpretq_s32_f64(v)); -- return 2 - vmaxvq_u32(mask); -+inline int32_t reinterpret_vmaxvq_u64(uint64x2_t v) { -+ return vmaxvq_u32(vreinterpretq_u32_u64(v)); - } - #endif - -@@ -204,14 +201,14 @@ inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, - } - #elif defined(NEON64) - if constexpr (std::is_same::value) { -- VECTORIZED_LOOP_Neon(int32x4_t, int32x4_t, vdupq_n_u32, vceqq_u32, -+ VECTORIZED_LOOP_Neon(uint32x4_t, uint32x4_t, vdupq_n_u32, vceqq_u32, - vmaxvq_u32) - } else if constexpr (std::is_same::value) { -- VECTORIZED_LOOP_Neon(int64x2_t, int64x2_t, vdupq_n_u64, vceqq_u64, -- vmaxvq_u32) -+ VECTORIZED_LOOP_Neon(uint64x2_t, uint64x2_t, vdupq_n_u64, vceqq_u64, -+ reinterpret_vmaxvq_u64) - } else if constexpr (std::is_same::value) { -- VECTORIZED_LOOP_Neon(float64x2_t, float64x2_t, vdupq_n_f64, vceqq_f64, -- vmaxvq_f64) -+ VECTORIZED_LOOP_Neon(float64x2_t, uint64x2_t, vdupq_n_f64, vceqq_f64, -+ reinterpret_vmaxvq_u64) - } - #else - UNREACHABLE(); -diff --git a/src/objects/simd.cc b/src/objects/simd.cc -index be6b72d157..a71968fd10 100644 ---- a/src/objects/simd.cc -+++ b/src/objects/simd.cc -@@ -148,9 +148,14 @@ inline int32_t reinterpret_vmaxvq_u64(uint64x2_t v) { - template - inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, - uintptr_t index, T search_element) { -- static_assert(std::is_same::value || -- std::is_same::value || -- std::is_same::value); -+ static constexpr bool is_uint32 = -+ sizeof(T) == sizeof(uint32_t) && std::is_integral::value; -+ static constexpr bool is_uint64 = -+ sizeof(T) == sizeof(uint64_t) && std::is_integral::value; -+ static constexpr bool is_double = -+ sizeof(T) == sizeof(double) && std::is_floating_point::value; -+ -+ static_assert(is_uint32 || is_uint64 || is_double); - - #if !(defined(__SSE3__) || defined(NEON64)) - // No SIMD available. -@@ -178,14 +183,14 @@ inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, - - // Inserting one of the vectorized loop - #ifdef __SSE3__ -- if constexpr (std::is_same::value) { -+ if constexpr (is_uint32) { - #define MOVEMASK(x) _mm_movemask_ps(_mm_castsi128_ps(x)) - #define EXTRACT(x) base::bits::CountTrailingZeros32(x) - VECTORIZED_LOOP_x86(__m128i, __m128i, _mm_set1_epi32, _mm_cmpeq_epi32, - MOVEMASK, EXTRACT) - #undef MOVEMASK - #undef EXTRACT -- } else if constexpr (std::is_same::value) { -+ } else if constexpr (is_uint64) { - #define SET1(x) _mm_castsi128_ps(_mm_set1_epi64x(x)) - #define CMP(a, b) _mm_cmpeq_pd(_mm_castps_pd(a), _mm_castps_pd(b)) - #define EXTRACT(x) base::bits::CountTrailingZeros32(x) -@@ -193,20 +198,20 @@ inline uintptr_t fast_search_noavx(T* array, uintptr_t array_len, - #undef SET1 - #undef CMP - #undef EXTRACT -- } else if constexpr (std::is_same::value) { -+ } else if constexpr (is_double) { - #define EXTRACT(x) base::bits::CountTrailingZeros32(x) - VECTORIZED_LOOP_x86(__m128d, __m128d, _mm_set1_pd, _mm_cmpeq_pd, - _mm_movemask_pd, EXTRACT) - #undef EXTRACT - } - #elif defined(NEON64) -- if constexpr (std::is_same::value) { -+ if constexpr (is_uint32) { - VECTORIZED_LOOP_Neon(uint32x4_t, uint32x4_t, vdupq_n_u32, vceqq_u32, - vmaxvq_u32) -- } else if constexpr (std::is_same::value) { -+ } else if constexpr (is_uint64) { - VECTORIZED_LOOP_Neon(uint64x2_t, uint64x2_t, vdupq_n_u64, vceqq_u64, - reinterpret_vmaxvq_u64) -- } else if constexpr (std::is_same::value) { -+ } else if constexpr (is_double) { - VECTORIZED_LOOP_Neon(float64x2_t, uint64x2_t, vdupq_n_f64, vceqq_f64, - reinterpret_vmaxvq_u64) - } -@@ -240,9 +245,14 @@ template - TARGET_AVX2 inline uintptr_t fast_search_avx(T* array, uintptr_t array_len, - uintptr_t index, - T search_element) { -- static_assert(std::is_same::value || -- std::is_same::value || -- std::is_same::value); -+ static constexpr bool is_uint32 = -+ sizeof(T) == sizeof(uint32_t) && std::is_integral::value; -+ static constexpr bool is_uint64 = -+ sizeof(T) == sizeof(uint64_t) && std::is_integral::value; -+ static constexpr bool is_double = -+ sizeof(T) == sizeof(double) && std::is_floating_point::value; -+ -+ static_assert(is_uint32 || is_uint64 || is_double); - - const int target_align = 32; - // Scalar loop to reach desired alignment -@@ -256,21 +266,21 @@ TARGET_AVX2 inline uintptr_t fast_search_avx(T* array, uintptr_t array_len, - } - - // Generating vectorized loop -- if constexpr (std::is_same::value) { -+ if constexpr (is_uint32) { - #define MOVEMASK(x) _mm256_movemask_ps(_mm256_castsi256_ps(x)) - #define EXTRACT(x) base::bits::CountTrailingZeros32(x) - VECTORIZED_LOOP_x86(__m256i, __m256i, _mm256_set1_epi32, _mm256_cmpeq_epi32, - MOVEMASK, EXTRACT) - #undef MOVEMASK - #undef EXTRACT -- } else if constexpr (std::is_same::value) { -+ } else if constexpr (is_uint64) { - #define MOVEMASK(x) _mm256_movemask_pd(_mm256_castsi256_pd(x)) - #define EXTRACT(x) base::bits::CountTrailingZeros32(x) - VECTORIZED_LOOP_x86(__m256i, __m256i, _mm256_set1_epi64x, - _mm256_cmpeq_epi64, MOVEMASK, EXTRACT) - #undef MOVEMASK - #undef EXTRACT -- } else if constexpr (std::is_same::value) { -+ } else if constexpr (is_double) { - #define CMP(a, b) _mm256_cmp_pd(a, b, _CMP_EQ_OQ) - #define EXTRACT(x) base::bits::CountTrailingZeros32(x) - VECTORIZED_LOOP_x86(__m256d, __m256d, _mm256_set1_pd, CMP, diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 87ca15ee8..e01f9d0d4 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -126,10 +126,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( git_repository, name = "v8", - # 10.4.132.18 - commit = "ce33dd2c08521fbe7f616bcd5941f2f388338030", + # 10.7.193.13 + commit = "6c8b357a84847a479cd329478522feefc1c3195a", remote = "https://chromium.googlesource.com/v8/v8", - shallow_since = "1657561920 +0000", + shallow_since = "1664374400 +0000", patches = ["@proxy_wasm_cpp_host//bazel/external:v8.patch"], patch_args = ["-p1"], ) @@ -143,9 +143,9 @@ def proxy_wasm_cpp_host_repositories(): new_git_repository, name = "com_googlesource_chromium_base_trace_event_common", build_file = "@v8//:bazel/BUILD.trace_event_common", - commit = "d115b033c4e53666b535cbd1985ffe60badad082", + commit = "521ac34ebd795939c7e16b37d9d3ddb40e8ed556", remote = "https://chromium.googlesource.com/chromium/src/base/trace_event/common.git", - shallow_since = "1642576054 -0800", + shallow_since = "1662508800 +0000", ) native.bind( @@ -153,25 +153,6 @@ def proxy_wasm_cpp_host_repositories(): actual = "@com_googlesource_chromium_base_trace_event_common//:trace_event_common", ) - maybe( - new_git_repository, - name = "com_googlesource_chromium_zlib", - build_file = "@v8//:bazel/BUILD.zlib", - commit = "64bbf988543996eb8df9a86877b32917187eba8f", - remote = "https://chromium.googlesource.com/chromium/src/third_party/zlib.git", - shallow_since = "1653988038 -0700", - ) - - native.bind( - name = "zlib", - actual = "@com_googlesource_chromium_zlib//:zlib", - ) - - native.bind( - name = "zlib_compression_utils", - actual = "@com_googlesource_chromium_zlib//:zlib_compression_utils", - ) - # WAMR with dependencies. maybe( diff --git a/src/v8/v8.cc b/src/v8/v8.cc index 5718d1308..61779c1d5 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -30,14 +30,10 @@ #include "include/v8-version.h" #include "include/v8.h" +#include "src/flags/flags.h" #include "src/wasm/c-api.h" #include "wasm-api/wasm.hh" -namespace v8::internal { -extern bool FLAG_liftoff; -extern unsigned int FLAG_wasm_max_mem_pages; -} // namespace v8::internal - namespace proxy_wasm { namespace v8 { @@ -46,8 +42,8 @@ wasm::Engine *engine() { static wasm::own engine; std::call_once(init, []() { - ::v8::internal::FLAG_liftoff = false; - ::v8::internal::FLAG_wasm_max_mem_pages = + ::v8::internal::v8_flags.liftoff = false; + ::v8::internal::v8_flags.wasm_max_mem_pages = PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES / PROXY_WASM_HOST_WASM_MEMORY_PAGE_SIZE_BYTES; ::v8::V8::EnableWebAssemblyTrapHandler(true); engine = wasm::Engine::make(); diff --git a/test/BUILD b/test/BUILD index 71b30296b..aa99c0f35 100644 --- a/test/BUILD +++ b/test/BUILD @@ -52,6 +52,7 @@ cc_test( cc_test( name = "runtime_test", + timeout = "long", srcs = ["runtime_test.cc"], data = [ "//test/test_data:callback.wasm", @@ -152,6 +153,7 @@ cc_test( cc_test( name = "wasm_vm_test", + timeout = "long", srcs = ["wasm_vm_test.cc"], data = [ "//test/test_data:abi_export.wasm", From 0176f43edfcbd854c13313aea6a923effe1d6537 Mon Sep 17 00:00:00 2001 From: River <6375745+RiverPhillips@users.noreply.github.com> Date: Thu, 27 Oct 2022 03:49:15 +0100 Subject: [PATCH 27/90] wasmtime: update to v1.0.1. (#309) Signed-off-by: river phillips --- bazel/cargo/wasmtime/BUILD.bazel | 8 +- bazel/cargo/wasmtime/Cargo.raze.lock | 289 ++++------ bazel/cargo/wasmtime/Cargo.toml | 12 +- bazel/cargo/wasmtime/bumpalo.patch | 9 + bazel/cargo/wasmtime/crates.bzl | 518 ++++++++---------- .../wasmtime/remote/BUILD.adler-1.0.2.bazel | 56 -- .../wasmtime/remote/BUILD.ahash-0.7.6.bazel | 4 +- ....bazel => BUILD.aho-corasick-0.7.19.bazel} | 2 +- ...1.0.58.bazel => BUILD.anyhow-1.0.66.bazel} | 4 +- .../remote/BUILD.arrayvec-0.7.2.bazel | 64 +++ .../wasmtime/remote/BUILD.atty-0.2.14.bazel | 2 +- .../remote/BUILD.backtrace-0.3.66.bazel | 111 ---- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 2 +- ...1.4.0.bazel => BUILD.bumpalo-3.11.1.bazel} | 15 +- ...l => BUILD.cranelift-bforest-0.88.1.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.88.1.bazel} | 20 +- ...BUILD.cranelift-codegen-meta-0.88.1.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.88.1.bazel} | 2 +- ...el => BUILD.cranelift-entity-0.88.1.bazel} | 4 +- ... => BUILD.cranelift-frontend-0.88.1.bazel} | 6 +- ...azel => BUILD.cranelift-isle-0.88.1.bazel} | 4 +- ...el => BUILD.cranelift-native-0.88.1.bazel} | 6 +- ...azel => BUILD.cranelift-wasm-0.88.1.bazel} | 16 +- ...r-1.7.0.bazel => BUILD.either-1.8.0.bazel} | 3 +- ...9.0.bazel => BUILD.env_logger-0.9.1.bazel} | 2 +- .../wasmtime/remote/BUILD.errno-0.2.8.bazel | 4 +- .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 2 +- ....2.7.bazel => BUILD.getrandom-0.2.8.bazel} | 4 +- .../remote/BUILD.hashbrown-0.11.2.bazel | 66 --- .../remote/BUILD.hashbrown-0.12.3.bazel | 2 + .../remote/BUILD.hermit-abi-0.1.19.bazel | 2 +- .../remote/BUILD.indexmap-1.9.1.bazel | 2 +- .../remote/BUILD.io-lifetimes-0.7.2.bazel | 102 ---- .../remote/BUILD.io-lifetimes-0.7.4.bazel | 84 +++ ...0.3.bazel => BUILD.itertools-0.10.5.bazel} | 4 +- ...0.2.126.bazel => BUILD.libc-0.2.137.bazel} | 4 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 2 +- .../remote/BUILD.miniz_oxide-0.5.3.bazel | 55 -- .../remote/BUILD.more-asserts-0.2.2.bazel | 54 -- .../wasmtime/remote/BUILD.object-0.28.4.bazel | 74 --- .../wasmtime/remote/BUILD.object-0.29.0.bazel | 12 +- ...3.0.bazel => BUILD.once_cell-1.15.0.bazel} | 4 +- ...te-1.0.7.bazel => BUILD.paste-1.0.9.bazel} | 2 +- ...2.bazel => BUILD.proc-macro2-1.0.47.bazel} | 6 +- ...sm-0.1.20.bazel => BUILD.psm-0.1.21.bazel} | 4 +- ...-1.0.20.bazel => BUILD.quote-1.0.21.bazel} | 6 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 4 +- .../remote/BUILD.rand_chacha-0.3.1.bazel | 2 +- ....6.3.bazel => BUILD.rand_core-0.6.4.bazel} | 4 +- ....3.1.bazel => BUILD.regalloc2-0.3.2.bazel} | 4 +- .../wasmtime/remote/BUILD.regex-1.6.0.bazel | 2 +- .../wasmtime/remote/BUILD.region-2.2.0.bazel | 79 --- ....35.7.bazel => BUILD.rustix-0.35.12.bazel} | 54 +- ....0.140.bazel => BUILD.serde-1.0.147.bazel} | 6 +- ...bazel => BUILD.serde_derive-1.0.147.bazel} | 10 +- ....9.0.bazel => BUILD.smallvec-1.10.0.bazel} | 4 +- ...n-1.0.98.bazel => BUILD.syn-1.0.103.bazel} | 10 +- ....31.bazel => BUILD.thiserror-1.0.37.bazel} | 36 +- ...azel => BUILD.thiserror-impl-1.0.37.bazel} | 8 +- ....bazel => BUILD.unicode-ident-1.0.5.bazel} | 2 +- ....0.bazel => BUILD.wasmparser-0.89.1.bazel} | 2 +- ....39.1.bazel => BUILD.wasmtime-1.0.1.bazel} | 31 +- .../BUILD.wasmtime-asm-macros-1.0.1.bazel | 55 ++ .../BUILD.wasmtime-c-api-macros-0.19.0.bazel | 4 +- ...l => BUILD.wasmtime-cranelift-1.0.1.bazel} | 23 +- ...zel => BUILD.wasmtime-environ-1.0.1.bazel} | 19 +- ...1.bazel => BUILD.wasmtime-jit-1.0.1.bazel} | 17 +- ...l => BUILD.wasmtime-jit-debug-1.0.1.bazel} | 6 +- ...zel => BUILD.wasmtime-runtime-1.0.1.bazel} | 23 +- ...bazel => BUILD.wasmtime-types-1.0.1.bazel} | 10 +- .../wasmtime/remote/BUILD.winapi-0.3.9.bazel | 6 - .../remote/BUILD.windows-sys-0.36.1.bazel | 1 + bazel/repositories.bzl | 6 +- 73 files changed, 813 insertions(+), 1277 deletions(-) create mode 100644 bazel/cargo/wasmtime/bumpalo.patch delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.adler-1.0.2.bazel rename bazel/cargo/wasmtime/remote/{BUILD.aho-corasick-0.7.18.bazel => BUILD.aho-corasick-0.7.19.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.anyhow-1.0.58.bazel => BUILD.anyhow-1.0.66.bazel} (98%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.66.bazel rename bazel/cargo/wasmtime/remote/{BUILD.lazy_static-1.4.0.bazel => BUILD.bumpalo-3.11.1.bazel} (80%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.86.1.bazel => BUILD.cranelift-bforest-0.88.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.86.1.bazel => BUILD.cranelift-codegen-0.88.1.bazel} (78%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.86.1.bazel => BUILD.cranelift-codegen-meta-0.88.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.86.1.bazel => BUILD.cranelift-codegen-shared-0.88.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.86.1.bazel => BUILD.cranelift-entity-0.88.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.86.1.bazel => BUILD.cranelift-frontend-0.88.1.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-isle-0.86.1.bazel => BUILD.cranelift-isle-0.88.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.86.1.bazel => BUILD.cranelift-native-0.88.1.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.86.1.bazel => BUILD.cranelift-wasm-0.88.1.bazel} (73%) rename bazel/cargo/wasmtime/remote/{BUILD.either-1.7.0.bazel => BUILD.either-1.8.0.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.env_logger-0.9.0.bazel => BUILD.env_logger-0.9.1.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.getrandom-0.2.7.bazel => BUILD.getrandom-0.2.8.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.4.bazel rename bazel/cargo/wasmtime/remote/{BUILD.itertools-0.10.3.bazel => BUILD.itertools-0.10.5.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.libc-0.2.126.bazel => BUILD.libc-0.2.137.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.3.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.more-asserts-0.2.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.object-0.28.4.bazel rename bazel/cargo/wasmtime/remote/{BUILD.once_cell-1.13.0.bazel => BUILD.once_cell-1.15.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.paste-1.0.7.bazel => BUILD.paste-1.0.9.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.proc-macro2-1.0.42.bazel => BUILD.proc-macro2-1.0.47.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.psm-0.1.20.bazel => BUILD.psm-0.1.21.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.quote-1.0.20.bazel => BUILD.quote-1.0.21.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.rand_core-0.6.3.bazel => BUILD.rand_core-0.6.4.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.regalloc2-0.3.1.bazel => BUILD.regalloc2-0.3.2.bazel} (94%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.rustix-0.35.7.bazel => BUILD.rustix-0.35.12.bazel} (83%) rename bazel/cargo/wasmtime/remote/{BUILD.serde-1.0.140.bazel => BUILD.serde-1.0.147.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.serde_derive-1.0.140.bazel => BUILD.serde_derive-1.0.147.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.smallvec-1.9.0.bazel => BUILD.smallvec-1.10.0.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.syn-1.0.98.bazel => BUILD.syn-1.0.103.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.thiserror-1.0.31.bazel => BUILD.thiserror-1.0.37.bazel} (70%) rename bazel/cargo/wasmtime/remote/{BUILD.thiserror-impl-1.0.31.bazel => BUILD.thiserror-impl-1.0.37.bazel} (86%) rename bazel/cargo/wasmtime/remote/{BUILD.unicode-ident-1.0.2.bazel => BUILD.unicode-ident-1.0.5.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmparser-0.86.0.bazel => BUILD.wasmparser-0.89.1.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-0.39.1.bazel => BUILD.wasmtime-1.0.1.bazel} (75%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-1.0.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-0.39.1.bazel => BUILD.wasmtime-cranelift-1.0.1.bazel} (64%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-0.39.1.bazel => BUILD.wasmtime-environ-1.0.1.bazel} (73%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-0.39.1.bazel => BUILD.wasmtime-jit-1.0.1.bazel} (84%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-0.39.1.bazel => BUILD.wasmtime-jit-debug-1.0.1.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-0.39.1.bazel => BUILD.wasmtime-runtime-1.0.1.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-0.39.1.bazel => BUILD.wasmtime-types-1.0.1.bazel} (81%) diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index a6e9ee996..2f7ca27d9 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -14,7 +14,7 @@ licenses([ # Aliased targets alias( name = "anyhow", - actual = "@wasmtime__anyhow__1_0_58//:anyhow", + actual = "@wasmtime__anyhow__1_0_66//:anyhow", tags = [ "cargo-raze", "manual", @@ -23,7 +23,7 @@ alias( alias( name = "env_logger", - actual = "@wasmtime__env_logger__0_9_0//:env_logger", + actual = "@wasmtime__env_logger__0_9_1//:env_logger", tags = [ "cargo-raze", "manual", @@ -32,7 +32,7 @@ alias( alias( name = "once_cell", - actual = "@wasmtime__once_cell__1_13_0//:once_cell", + actual = "@wasmtime__once_cell__1_15_0//:once_cell", tags = [ "cargo-raze", "manual", @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__0_39_1//:wasmtime", + actual = "@wasmtime__wasmtime__1_0_1//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index cb561715e..fe3f47a0e 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -9,12 +9,6 @@ dependencies = [ "gimli", ] -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "ahash" version = "0.7.6" @@ -28,18 +22,24 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.18" +version = "0.7.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e" dependencies = [ "memchr", ] [[package]] name = "anyhow" -version = "1.0.58" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704" +checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" + +[[package]] +name = "arrayvec" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" [[package]] name = "atty" @@ -58,21 +58,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" -[[package]] -name = "backtrace" -version = "0.3.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object 0.29.0", - "rustc-demangle", -] - [[package]] name = "bincode" version = "1.3.3" @@ -88,6 +73,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bumpalo" +version = "3.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" + [[package]] name = "byteorder" version = "1.4.3" @@ -117,19 +108,21 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "529ffacce2249ac60edba2941672dfedf3d96558b415d0d8083cd007456e0f55" +checksum = "44409ccf2d0f663920cab563d2b79fcd6b2e9a2bcc6e929fef76c8f82ad6c17a" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427d105f617efc8cb55f8d036a7fded2e227892d8780b4985e5551f8d27c4a92" +checksum = "98de2018ad96eb97f621f7d6b900a0cc661aec8d02ea4a50e56ecb48e5a2fcaf" dependencies = [ + "arrayvec", + "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", @@ -144,33 +137,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "551674bed85b838d45358e3eab4f0ffaa6790c70dc08184204b9a54b41cdb7d1" +checksum = "5287ce36e6c4758fbaf298bd1a8697ad97a4f2375a3d1b61142ea538db4877e5" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b3a63ae57498c3eb495360944a33571754241e15e47e3bcae6082f40fec5866" +checksum = "2855c24219e2f08827f3f4ffb2da92e134ae8d8ecc185b11ec8f9878cf5f588e" [[package]] name = "cranelift-entity" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11aa8aa624c72cc1c94ea3d0739fa61248260b5b14d3646f51593a88d67f3e6e" +checksum = "0b65673279d75d34bf11af9660ae2dbd1c22e6d28f163f5c72f4e1dc56d56103" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "544ee8f4d1c9559c9aa6d46e7aaeac4a13856d620561094f35527356c7d21bd0" +checksum = "3ed2b3d7a4751163f6c4a349205ab1b7d9c00eecf19dcea48592ef1f7688eefc" dependencies = [ "cranelift-codegen", "log", @@ -180,15 +173,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed16b14363d929b8c37e3c557d0a7396791b383ecc302141643c054343170aad" +checksum = "3be64cecea9d90105fc6a2ba2d003e98c867c1d6c4c86cc878f97ad9fb916293" [[package]] name = "cranelift-native" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51617cf8744634f2ed3c989c3c40cd6444f63377c6d994adab0d85807f3eb682" +checksum = "c4a03a6ac1b063e416ca4b93f6247978c991475e8271465340caa6f92f3c16a4" dependencies = [ "cranelift-codegen", "libc", @@ -197,9 +190,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.86.1" +version = "0.88.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5a8073a41efc173fd19bad3f725c170c705df6da999fc47a738ff310225dd63" +checksum = "c699873f7b30bc5f20dd03a796b4183e073a46616c91704792ec35e45d13f913" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -222,15 +215,15 @@ dependencies = [ [[package]] name = "either" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" +checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "env_logger" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" +checksum = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272" dependencies = [ "atty", "humantime", @@ -277,9 +270,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ "cfg-if", "libc", @@ -299,19 +292,13 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.11.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ "ahash", ] -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - [[package]] name = "hermit-abi" version = "0.1.19" @@ -334,36 +321,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" dependencies = [ "autocfg", - "hashbrown 0.12.3", + "hashbrown", "serde", ] [[package]] name = "io-lifetimes" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24c3f4eff5495aee4c0399d7b6a0dc2b6e81be84242ffbfcf253ebacccc1d0cb" +checksum = "e6e481ccbe3dea62107216d0d1138bb8ad8e5e5c43009a098bd1990272c497b0" [[package]] name = "itertools" -version = "0.10.3" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" dependencies = [ "either", ] -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - [[package]] name = "libc" -version = "0.2.126" +version = "0.2.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" +checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" [[package]] name = "linux-raw-sys" @@ -404,53 +385,29 @@ dependencies = [ "autocfg", ] -[[package]] -name = "miniz_oxide" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" -dependencies = [ - "adler", -] - -[[package]] -name = "more-asserts" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" - -[[package]] -name = "object" -version = "0.28.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" -dependencies = [ - "crc32fast", - "hashbrown 0.11.2", - "indexmap", - "memchr", -] - [[package]] name = "object" version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ + "crc32fast", + "hashbrown", + "indexmap", "memchr", ] [[package]] name = "once_cell" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" +checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1" [[package]] name = "paste" -version = "1.0.7" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc" +checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1" [[package]] name = "ppv-lite86" @@ -460,27 +417,27 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "proc-macro2" -version = "1.0.42" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b" +checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" dependencies = [ "unicode-ident", ] [[package]] name = "psm" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f446d0a6efba22928558c4fb4ce0b3fd6c89b0061343e390bf01a703742b8125" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" dependencies = [ "cc", ] [[package]] name = "quote" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" +checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" dependencies = [ "proc-macro2", ] @@ -508,18 +465,18 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ "getrandom", ] [[package]] name = "regalloc2" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76ff2e57a7d050308b3fde0f707aa240b491b190e3855f212860f11bb3af4205" +checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779" dependencies = [ "fxhash", "log", @@ -544,18 +501,6 @@ version = "0.6.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" -[[package]] -name = "region" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877e54ea2adcd70d80e9179344c97f93ef0dffd6b03e1f4529e6e83ab2fa9ae0" -dependencies = [ - "bitflags", - "libc", - "mach", - "winapi", -] - [[package]] name = "rustc-demangle" version = "0.1.21" @@ -564,9 +509,9 @@ checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" [[package]] name = "rustix" -version = "0.35.7" +version = "0.35.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51cc38aa10f6bbb377ed28197aa052aa4e2b762c22be9d3153d01822587e787" +checksum = "985947f9b6423159c4726323f373be0a21bdb514c5af06a849cb3d2dce2d01e8" dependencies = [ "bitflags", "errno", @@ -578,18 +523,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.140" +version = "1.0.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc855a42c7967b7c369eb5860f7164ef1f6f81c20c7cc1141f2a604e18723b03" +checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.140" +version = "1.0.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2122636b9fe3b81f1cb25099fcf2d3f542cdb1d45940d56c713158884a05da" +checksum = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852" dependencies = [ "proc-macro2", "quote", @@ -604,9 +549,9 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "smallvec" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" +checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "stable_deref_trait" @@ -616,9 +561,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "1.0.98" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" +checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" dependencies = [ "proc-macro2", "quote", @@ -642,18 +587,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.31" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" +checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.31" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" +checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" dependencies = [ "proc-macro2", "quote", @@ -662,9 +607,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.2" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7" +checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" [[package]] name = "version_check" @@ -680,32 +625,29 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasmparser" -version = "0.86.0" +version = "0.89.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcbfe95447da2aa7ff171857fc8427513eb57c75a729bb190e974dc695e8f5c" +checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" dependencies = [ "indexmap", ] [[package]] name = "wasmtime" -version = "0.39.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d10a6853d64e99fffdae80f93a45080475c9267f87743060814dc1186d74618" +checksum = "f1f511c4917c83d04da68333921107db75747c4e11a2f654a8e909cc5e0520dc" dependencies = [ "anyhow", - "backtrace", "bincode", "cfg-if", "indexmap", - "lazy_static", "libc", "log", - "object 0.28.4", + "object", "once_cell", "paste", "psm", - "region", "serde", "target-lexicon", "wasmparser", @@ -716,9 +658,18 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "wasmtime-asm-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39bf3debfe744bf19dd3732990ce6f8c0ced7439e2370ba4e1d8f5a3660a3178" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-c-api-bazel" -version = "0.39.1" +version = "1.0.1" dependencies = [ "anyhow", "env_logger", @@ -730,7 +681,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v0.39.1#19b5436ac346b8e61230baeaf18e802db6f0b858" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v1.0.1#c63087ff668fbdffe326c7b48401acbbf0e82a65" dependencies = [ "proc-macro2", "quote", @@ -738,9 +689,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.39.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3302b33d919e8e33f1717d592c10c3cddccb318d0e1e0bef75178f579686ba94" +checksum = "058217e28644b012bdcdf0e445f58d496d78c2e0b6a6dd93558e701591dad705" dependencies = [ "anyhow", "cranelift-codegen", @@ -750,8 +701,7 @@ dependencies = [ "cranelift-wasm", "gimli", "log", - "more-asserts", - "object 0.28.4", + "object", "target-lexicon", "thiserror", "wasmparser", @@ -760,17 +710,16 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.39.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c50fb925e8eaa9f8431f9b784ea89a13c703cb445ddfe51cb437596fc34e734" +checksum = "c7af06848df28b7661471d9a80d30a973e0f401f2e3ed5396ad7e225ed217047" dependencies = [ "anyhow", "cranelift-entity", "gimli", "indexmap", "log", - "more-asserts", - "object 0.28.4", + "object", "serde", "target-lexicon", "thiserror", @@ -780,9 +729,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.39.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cad81635f33ab69aa04b386c9d954aef9f6230059f66caf67e55fb65bfd2f3e0" +checksum = "9028fb63a54185b3c192b7500ef8039c7bb8d7f62bfc9e7c258483a33a3d13bb" dependencies = [ "addr2line", "anyhow", @@ -791,8 +740,7 @@ dependencies = [ "cpp_demangle", "gimli", "log", - "object 0.28.4", - "region", + "object", "rustc-demangle", "rustix", "serde", @@ -805,21 +753,20 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "0.39.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55e23273fddce8cab149a0743c46932bf4910268641397ed86b46854b089f38f" +checksum = "25e82d4ef93296785de7efca92f7679dc67fe68a13b625a5ecc8d7503b377a37" dependencies = [ - "lazy_static", + "once_cell", ] [[package]] name = "wasmtime-runtime" -version = "0.39.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36b8aafb292502d28dc2d25f44d4a81e229bb2e0cc14ca847dde4448a1a62ae4" +checksum = "9f0e9bea7d517d114fe66b930b2124ee086516ee93eeebfd97f75f366c5b0553" dependencies = [ "anyhow", - "backtrace", "cc", "cfg-if", "indexmap", @@ -827,11 +774,11 @@ dependencies = [ "log", "mach", "memoffset", - "more-asserts", + "paste", "rand", - "region", "rustix", "thiserror", + "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", "windows-sys", @@ -839,9 +786,9 @@ dependencies = [ [[package]] name = "wasmtime-types" -version = "0.39.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd7edc34f358fc290d12e326de81884422cb94cf74cc305b27979569875332d6" +checksum = "69b83e93ed41b8fdc936244cfd5e455480cf1eca1fd60c78a0040038b4ce5075" dependencies = [ "cranelift-entity", "serde", diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index f78765cca..9ea642465 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "0.39.1" +version = "1.0.1" [lib] path = "fake_lib.rs" @@ -10,8 +10,8 @@ path = "fake_lib.rs" env_logger = "0.9" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "0.39.1", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.39.1"} +wasmtime = {version = "1.0.1", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v1.0.1"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" @@ -26,6 +26,12 @@ patches = [ ] patch_args = ["-p4"] +[package.metadata.raze.crates.bumpalo.'*'] +patches = [ + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:bumpalo.patch", +] +patch_args = ["-p1"] + [package.metadata.raze.crates.rustix.'*'] additional_flags = [ "--cfg=feature=\\\"cc\\\"", diff --git a/bazel/cargo/wasmtime/bumpalo.patch b/bazel/cargo/wasmtime/bumpalo.patch new file mode 100644 index 000000000..22befe431 --- /dev/null +++ b/bazel/cargo/wasmtime/bumpalo.patch @@ -0,0 +1,9 @@ +diff --git a/src/lib.rs b/src/lib.rs +index be68365..47c14cd 100644 +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -1,4 +1,3 @@ +-#![doc = include_str!("../README.md")] + #![deny(missing_debug_implementations)] + #![deny(missing_docs)] + #![no_std] diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index 100e2321c..fc569e559 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -21,16 +21,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.addr2line-0.17.0.bazel"), ) - maybe( - http_archive, - name = "wasmtime__adler__1_0_2", - url = "https://crates.io/api/v1/crates/adler/1.0.2/download", - type = "tar.gz", - sha256 = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe", - strip_prefix = "adler-1.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.adler-1.0.2.bazel"), - ) - maybe( http_archive, name = "wasmtime__ahash__0_7_6", @@ -43,22 +33,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__aho_corasick__0_7_18", - url = "https://crates.io/api/v1/crates/aho-corasick/0.7.18/download", + name = "wasmtime__aho_corasick__0_7_19", + url = "https://crates.io/api/v1/crates/aho-corasick/0.7.19/download", type = "tar.gz", - sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f", - strip_prefix = "aho-corasick-0.7.18", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-0.7.18.bazel"), + sha256 = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e", + strip_prefix = "aho-corasick-0.7.19", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-0.7.19.bazel"), ) maybe( http_archive, - name = "wasmtime__anyhow__1_0_58", - url = "https://crates.io/api/v1/crates/anyhow/1.0.58/download", + name = "wasmtime__anyhow__1_0_66", + url = "https://crates.io/api/v1/crates/anyhow/1.0.66/download", type = "tar.gz", - sha256 = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704", - strip_prefix = "anyhow-1.0.58", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.58.bazel"), + sha256 = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6", + strip_prefix = "anyhow-1.0.66", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.66.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__arrayvec__0_7_2", + url = "https://crates.io/api/v1/crates/arrayvec/0.7.2/download", + type = "tar.gz", + sha256 = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6", + strip_prefix = "arrayvec-0.7.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.arrayvec-0.7.2.bazel"), ) maybe( @@ -81,16 +81,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.autocfg-1.1.0.bazel"), ) - maybe( - http_archive, - name = "wasmtime__backtrace__0_3_66", - url = "https://crates.io/api/v1/crates/backtrace/0.3.66/download", - type = "tar.gz", - sha256 = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7", - strip_prefix = "backtrace-0.3.66", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.backtrace-0.3.66.bazel"), - ) - maybe( http_archive, name = "wasmtime__bincode__1_3_3", @@ -111,6 +101,22 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bitflags-1.3.2.bazel"), ) + maybe( + http_archive, + name = "wasmtime__bumpalo__3_11_1", + url = "https://crates.io/api/v1/crates/bumpalo/3.11.1/download", + type = "tar.gz", + sha256 = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba", + strip_prefix = "bumpalo-3.11.1", + patches = [ + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:bumpalo.patch", + ], + patch_args = [ + "-p1", + ], + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.11.1.bazel"), + ) + maybe( http_archive, name = "wasmtime__byteorder__1_4_3", @@ -153,98 +159,98 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.86.1/download", + name = "wasmtime__cranelift_bforest__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.88.1/download", type = "tar.gz", - sha256 = "529ffacce2249ac60edba2941672dfedf3d96558b415d0d8083cd007456e0f55", - strip_prefix = "cranelift-bforest-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.86.1.bazel"), + sha256 = "44409ccf2d0f663920cab563d2b79fcd6b2e9a2bcc6e929fef76c8f82ad6c17a", + strip_prefix = "cranelift-bforest-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.86.1/download", + name = "wasmtime__cranelift_codegen__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.88.1/download", type = "tar.gz", - sha256 = "427d105f617efc8cb55f8d036a7fded2e227892d8780b4985e5551f8d27c4a92", - strip_prefix = "cranelift-codegen-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.86.1.bazel"), + sha256 = "98de2018ad96eb97f621f7d6b900a0cc661aec8d02ea4a50e56ecb48e5a2fcaf", + strip_prefix = "cranelift-codegen-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.86.1/download", + name = "wasmtime__cranelift_codegen_meta__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.88.1/download", type = "tar.gz", - sha256 = "551674bed85b838d45358e3eab4f0ffaa6790c70dc08184204b9a54b41cdb7d1", - strip_prefix = "cranelift-codegen-meta-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.86.1.bazel"), + sha256 = "5287ce36e6c4758fbaf298bd1a8697ad97a4f2375a3d1b61142ea538db4877e5", + strip_prefix = "cranelift-codegen-meta-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.86.1/download", + name = "wasmtime__cranelift_codegen_shared__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.88.1/download", type = "tar.gz", - sha256 = "2b3a63ae57498c3eb495360944a33571754241e15e47e3bcae6082f40fec5866", - strip_prefix = "cranelift-codegen-shared-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.86.1.bazel"), + sha256 = "2855c24219e2f08827f3f4ffb2da92e134ae8d8ecc185b11ec8f9878cf5f588e", + strip_prefix = "cranelift-codegen-shared-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.86.1/download", + name = "wasmtime__cranelift_entity__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.88.1/download", type = "tar.gz", - sha256 = "11aa8aa624c72cc1c94ea3d0739fa61248260b5b14d3646f51593a88d67f3e6e", - strip_prefix = "cranelift-entity-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.86.1.bazel"), + sha256 = "0b65673279d75d34bf11af9660ae2dbd1c22e6d28f163f5c72f4e1dc56d56103", + strip_prefix = "cranelift-entity-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.86.1/download", + name = "wasmtime__cranelift_frontend__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.88.1/download", type = "tar.gz", - sha256 = "544ee8f4d1c9559c9aa6d46e7aaeac4a13856d620561094f35527356c7d21bd0", - strip_prefix = "cranelift-frontend-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.86.1.bazel"), + sha256 = "3ed2b3d7a4751163f6c4a349205ab1b7d9c00eecf19dcea48592ef1f7688eefc", + strip_prefix = "cranelift-frontend-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_isle__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-isle/0.86.1/download", + name = "wasmtime__cranelift_isle__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-isle/0.88.1/download", type = "tar.gz", - sha256 = "ed16b14363d929b8c37e3c557d0a7396791b383ecc302141643c054343170aad", - strip_prefix = "cranelift-isle-0.86.1", + sha256 = "3be64cecea9d90105fc6a2ba2d003e98c867c1d6c4c86cc878f97ad9fb916293", + strip_prefix = "cranelift-isle-0.88.1", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", ], patch_args = [ "-p4", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.86.1.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-native/0.86.1/download", + name = "wasmtime__cranelift_native__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-native/0.88.1/download", type = "tar.gz", - sha256 = "51617cf8744634f2ed3c989c3c40cd6444f63377c6d994adab0d85807f3eb682", - strip_prefix = "cranelift-native-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.86.1.bazel"), + sha256 = "c4a03a6ac1b063e416ca4b93f6247978c991475e8271465340caa6f92f3c16a4", + strip_prefix = "cranelift-native-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.88.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_86_1", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.86.1/download", + name = "wasmtime__cranelift_wasm__0_88_1", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.88.1/download", type = "tar.gz", - sha256 = "e5a8073a41efc173fd19bad3f725c170c705df6da999fc47a738ff310225dd63", - strip_prefix = "cranelift-wasm-0.86.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.86.1.bazel"), + sha256 = "c699873f7b30bc5f20dd03a796b4183e073a46616c91704792ec35e45d13f913", + strip_prefix = "cranelift-wasm-0.88.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.88.1.bazel"), ) maybe( @@ -259,22 +265,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__either__1_7_0", - url = "https://crates.io/api/v1/crates/either/1.7.0/download", + name = "wasmtime__either__1_8_0", + url = "https://crates.io/api/v1/crates/either/1.8.0/download", type = "tar.gz", - sha256 = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be", - strip_prefix = "either-1.7.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.either-1.7.0.bazel"), + sha256 = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797", + strip_prefix = "either-1.8.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.either-1.8.0.bazel"), ) maybe( http_archive, - name = "wasmtime__env_logger__0_9_0", - url = "https://crates.io/api/v1/crates/env_logger/0.9.0/download", + name = "wasmtime__env_logger__0_9_1", + url = "https://crates.io/api/v1/crates/env_logger/0.9.1/download", type = "tar.gz", - sha256 = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3", - strip_prefix = "env_logger-0.9.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.9.0.bazel"), + sha256 = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272", + strip_prefix = "env_logger-0.9.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.9.1.bazel"), ) maybe( @@ -319,12 +325,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__getrandom__0_2_7", - url = "https://crates.io/api/v1/crates/getrandom/0.2.7/download", + name = "wasmtime__getrandom__0_2_8", + url = "https://crates.io/api/v1/crates/getrandom/0.2.8/download", type = "tar.gz", - sha256 = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6", - strip_prefix = "getrandom-0.2.7", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.7.bazel"), + sha256 = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31", + strip_prefix = "getrandom-0.2.8", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.8.bazel"), ) maybe( @@ -337,16 +343,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.gimli-0.26.2.bazel"), ) - maybe( - http_archive, - name = "wasmtime__hashbrown__0_11_2", - url = "https://crates.io/api/v1/crates/hashbrown/0.11.2/download", - type = "tar.gz", - sha256 = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e", - strip_prefix = "hashbrown-0.11.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.11.2.bazel"), - ) - maybe( http_archive, name = "wasmtime__hashbrown__0_12_3", @@ -389,42 +385,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__io_lifetimes__0_7_2", - url = "https://crates.io/api/v1/crates/io-lifetimes/0.7.2/download", + name = "wasmtime__io_lifetimes__0_7_4", + url = "https://crates.io/api/v1/crates/io-lifetimes/0.7.4/download", type = "tar.gz", - sha256 = "24c3f4eff5495aee4c0399d7b6a0dc2b6e81be84242ffbfcf253ebacccc1d0cb", - strip_prefix = "io-lifetimes-0.7.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-0.7.2.bazel"), + sha256 = "e6e481ccbe3dea62107216d0d1138bb8ad8e5e5c43009a098bd1990272c497b0", + strip_prefix = "io-lifetimes-0.7.4", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-0.7.4.bazel"), ) maybe( http_archive, - name = "wasmtime__itertools__0_10_3", - url = "https://crates.io/api/v1/crates/itertools/0.10.3/download", + name = "wasmtime__itertools__0_10_5", + url = "https://crates.io/api/v1/crates/itertools/0.10.5/download", type = "tar.gz", - sha256 = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3", - strip_prefix = "itertools-0.10.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.itertools-0.10.3.bazel"), + sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473", + strip_prefix = "itertools-0.10.5", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.itertools-0.10.5.bazel"), ) maybe( http_archive, - name = "wasmtime__lazy_static__1_4_0", - url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download", + name = "wasmtime__libc__0_2_137", + url = "https://crates.io/api/v1/crates/libc/0.2.137/download", type = "tar.gz", - sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646", - strip_prefix = "lazy_static-1.4.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.lazy_static-1.4.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__libc__0_2_126", - url = "https://crates.io/api/v1/crates/libc/0.2.126/download", - type = "tar.gz", - sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836", - strip_prefix = "libc-0.2.126", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.126.bazel"), + sha256 = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89", + strip_prefix = "libc-0.2.137", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.137.bazel"), ) maybe( @@ -477,36 +463,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.6.5.bazel"), ) - maybe( - http_archive, - name = "wasmtime__miniz_oxide__0_5_3", - url = "https://crates.io/api/v1/crates/miniz_oxide/0.5.3/download", - type = "tar.gz", - sha256 = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc", - strip_prefix = "miniz_oxide-0.5.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.miniz_oxide-0.5.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__more_asserts__0_2_2", - url = "https://crates.io/api/v1/crates/more-asserts/0.2.2/download", - type = "tar.gz", - sha256 = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389", - strip_prefix = "more-asserts-0.2.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.more-asserts-0.2.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__object__0_28_4", - url = "https://crates.io/api/v1/crates/object/0.28.4/download", - type = "tar.gz", - sha256 = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424", - strip_prefix = "object-0.28.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.28.4.bazel"), - ) - maybe( http_archive, name = "wasmtime__object__0_29_0", @@ -519,22 +475,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__once_cell__1_13_0", - url = "https://crates.io/api/v1/crates/once_cell/1.13.0/download", + name = "wasmtime__once_cell__1_15_0", + url = "https://crates.io/api/v1/crates/once_cell/1.15.0/download", type = "tar.gz", - sha256 = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1", - strip_prefix = "once_cell-1.13.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.13.0.bazel"), + sha256 = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1", + strip_prefix = "once_cell-1.15.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.15.0.bazel"), ) maybe( http_archive, - name = "wasmtime__paste__1_0_7", - url = "https://crates.io/api/v1/crates/paste/1.0.7/download", + name = "wasmtime__paste__1_0_9", + url = "https://crates.io/api/v1/crates/paste/1.0.9/download", type = "tar.gz", - sha256 = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc", - strip_prefix = "paste-1.0.7", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.7.bazel"), + sha256 = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1", + strip_prefix = "paste-1.0.9", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.9.bazel"), ) maybe( @@ -549,32 +505,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__proc_macro2__1_0_42", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.42/download", + name = "wasmtime__proc_macro2__1_0_47", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.47/download", type = "tar.gz", - sha256 = "c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b", - strip_prefix = "proc-macro2-1.0.42", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.42.bazel"), + sha256 = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725", + strip_prefix = "proc-macro2-1.0.47", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.47.bazel"), ) maybe( http_archive, - name = "wasmtime__psm__0_1_20", - url = "https://crates.io/api/v1/crates/psm/0.1.20/download", + name = "wasmtime__psm__0_1_21", + url = "https://crates.io/api/v1/crates/psm/0.1.21/download", type = "tar.gz", - sha256 = "f446d0a6efba22928558c4fb4ce0b3fd6c89b0061343e390bf01a703742b8125", - strip_prefix = "psm-0.1.20", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.20.bazel"), + sha256 = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874", + strip_prefix = "psm-0.1.21", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.21.bazel"), ) maybe( http_archive, - name = "wasmtime__quote__1_0_20", - url = "https://crates.io/api/v1/crates/quote/1.0.20/download", + name = "wasmtime__quote__1_0_21", + url = "https://crates.io/api/v1/crates/quote/1.0.21/download", type = "tar.gz", - sha256 = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804", - strip_prefix = "quote-1.0.20", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.20.bazel"), + sha256 = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179", + strip_prefix = "quote-1.0.21", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.21.bazel"), ) maybe( @@ -599,22 +555,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rand_core__0_6_3", - url = "https://crates.io/api/v1/crates/rand_core/0.6.3/download", + name = "wasmtime__rand_core__0_6_4", + url = "https://crates.io/api/v1/crates/rand_core/0.6.4/download", type = "tar.gz", - sha256 = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7", - strip_prefix = "rand_core-0.6.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rand_core-0.6.3.bazel"), + sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c", + strip_prefix = "rand_core-0.6.4", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rand_core-0.6.4.bazel"), ) maybe( http_archive, - name = "wasmtime__regalloc2__0_3_1", - url = "https://crates.io/api/v1/crates/regalloc2/0.3.1/download", + name = "wasmtime__regalloc2__0_3_2", + url = "https://crates.io/api/v1/crates/regalloc2/0.3.2/download", type = "tar.gz", - sha256 = "76ff2e57a7d050308b3fde0f707aa240b491b190e3855f212860f11bb3af4205", - strip_prefix = "regalloc2-0.3.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.3.1.bazel"), + sha256 = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779", + strip_prefix = "regalloc2-0.3.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.3.2.bazel"), ) maybe( @@ -637,16 +593,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.6.27.bazel"), ) - maybe( - http_archive, - name = "wasmtime__region__2_2_0", - url = "https://crates.io/api/v1/crates/region/2.2.0/download", - type = "tar.gz", - sha256 = "877e54ea2adcd70d80e9179344c97f93ef0dffd6b03e1f4529e6e83ab2fa9ae0", - strip_prefix = "region-2.2.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.region-2.2.0.bazel"), - ) - maybe( http_archive, name = "wasmtime__rustc_demangle__0_1_21", @@ -659,32 +605,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rustix__0_35_7", - url = "https://crates.io/api/v1/crates/rustix/0.35.7/download", + name = "wasmtime__rustix__0_35_12", + url = "https://crates.io/api/v1/crates/rustix/0.35.12/download", type = "tar.gz", - sha256 = "d51cc38aa10f6bbb377ed28197aa052aa4e2b762c22be9d3153d01822587e787", - strip_prefix = "rustix-0.35.7", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.35.7.bazel"), + sha256 = "985947f9b6423159c4726323f373be0a21bdb514c5af06a849cb3d2dce2d01e8", + strip_prefix = "rustix-0.35.12", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.35.12.bazel"), ) maybe( http_archive, - name = "wasmtime__serde__1_0_140", - url = "https://crates.io/api/v1/crates/serde/1.0.140/download", + name = "wasmtime__serde__1_0_147", + url = "https://crates.io/api/v1/crates/serde/1.0.147/download", type = "tar.gz", - sha256 = "fc855a42c7967b7c369eb5860f7164ef1f6f81c20c7cc1141f2a604e18723b03", - strip_prefix = "serde-1.0.140", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.140.bazel"), + sha256 = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965", + strip_prefix = "serde-1.0.147", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.147.bazel"), ) maybe( http_archive, - name = "wasmtime__serde_derive__1_0_140", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.140/download", + name = "wasmtime__serde_derive__1_0_147", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.147/download", type = "tar.gz", - sha256 = "6f2122636b9fe3b81f1cb25099fcf2d3f542cdb1d45940d56c713158884a05da", - strip_prefix = "serde_derive-1.0.140", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.140.bazel"), + sha256 = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852", + strip_prefix = "serde_derive-1.0.147", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.147.bazel"), ) maybe( @@ -699,12 +645,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__smallvec__1_9_0", - url = "https://crates.io/api/v1/crates/smallvec/1.9.0/download", + name = "wasmtime__smallvec__1_10_0", + url = "https://crates.io/api/v1/crates/smallvec/1.10.0/download", type = "tar.gz", - sha256 = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1", - strip_prefix = "smallvec-1.9.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.smallvec-1.9.0.bazel"), + sha256 = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0", + strip_prefix = "smallvec-1.10.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.smallvec-1.10.0.bazel"), ) maybe( @@ -719,12 +665,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__syn__1_0_98", - url = "https://crates.io/api/v1/crates/syn/1.0.98/download", + name = "wasmtime__syn__1_0_103", + url = "https://crates.io/api/v1/crates/syn/1.0.103/download", type = "tar.gz", - sha256 = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd", - strip_prefix = "syn-1.0.98", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.98.bazel"), + sha256 = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d", + strip_prefix = "syn-1.0.103", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.103.bazel"), ) maybe( @@ -749,32 +695,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__thiserror__1_0_31", - url = "https://crates.io/api/v1/crates/thiserror/1.0.31/download", + name = "wasmtime__thiserror__1_0_37", + url = "https://crates.io/api/v1/crates/thiserror/1.0.37/download", type = "tar.gz", - sha256 = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a", - strip_prefix = "thiserror-1.0.31", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.31.bazel"), + sha256 = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e", + strip_prefix = "thiserror-1.0.37", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.37.bazel"), ) maybe( http_archive, - name = "wasmtime__thiserror_impl__1_0_31", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.31/download", + name = "wasmtime__thiserror_impl__1_0_37", + url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.37/download", type = "tar.gz", - sha256 = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a", - strip_prefix = "thiserror-impl-1.0.31", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.31.bazel"), + sha256 = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb", + strip_prefix = "thiserror-impl-1.0.37", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.37.bazel"), ) maybe( http_archive, - name = "wasmtime__unicode_ident__1_0_2", - url = "https://crates.io/api/v1/crates/unicode-ident/1.0.2/download", + name = "wasmtime__unicode_ident__1_0_5", + url = "https://crates.io/api/v1/crates/unicode-ident/1.0.5/download", type = "tar.gz", - sha256 = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7", - strip_prefix = "unicode-ident-1.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.2.bazel"), + sha256 = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3", + strip_prefix = "unicode-ident-1.0.5", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.5.bazel"), ) maybe( @@ -799,91 +745,101 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmparser__0_86_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.86.0/download", + name = "wasmtime__wasmparser__0_89_1", + url = "https://crates.io/api/v1/crates/wasmparser/0.89.1/download", + type = "tar.gz", + sha256 = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef", + strip_prefix = "wasmparser-0.89.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.89.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__wasmtime__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime/1.0.1/download", type = "tar.gz", - sha256 = "4bcbfe95447da2aa7ff171857fc8427513eb57c75a729bb190e974dc695e8f5c", - strip_prefix = "wasmparser-0.86.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.86.0.bazel"), + sha256 = "f1f511c4917c83d04da68333921107db75747c4e11a2f654a8e909cc5e0520dc", + strip_prefix = "wasmtime-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-1.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime__0_39_1", - url = "https://crates.io/api/v1/crates/wasmtime/0.39.1/download", + name = "wasmtime__wasmtime_asm_macros__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/1.0.1/download", type = "tar.gz", - sha256 = "0d10a6853d64e99fffdae80f93a45080475c9267f87743060814dc1186d74618", - strip_prefix = "wasmtime-0.39.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-0.39.1.bazel"), + sha256 = "39bf3debfe744bf19dd3732990ce6f8c0ced7439e2370ba4e1d8f5a3660a3178", + strip_prefix = "wasmtime-asm-macros-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-1.0.1.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "19b5436ac346b8e61230baeaf18e802db6f0b858", + commit = "c63087ff668fbdffe326c7b48401acbbf0e82a65", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__0_39_1", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/0.39.1/download", + name = "wasmtime__wasmtime_cranelift__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/1.0.1/download", type = "tar.gz", - sha256 = "3302b33d919e8e33f1717d592c10c3cddccb318d0e1e0bef75178f579686ba94", - strip_prefix = "wasmtime-cranelift-0.39.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-0.39.1.bazel"), + sha256 = "058217e28644b012bdcdf0e445f58d496d78c2e0b6a6dd93558e701591dad705", + strip_prefix = "wasmtime-cranelift-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-1.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__0_39_1", - url = "https://crates.io/api/v1/crates/wasmtime-environ/0.39.1/download", + name = "wasmtime__wasmtime_environ__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-environ/1.0.1/download", type = "tar.gz", - sha256 = "7c50fb925e8eaa9f8431f9b784ea89a13c703cb445ddfe51cb437596fc34e734", - strip_prefix = "wasmtime-environ-0.39.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-0.39.1.bazel"), + sha256 = "c7af06848df28b7661471d9a80d30a973e0f401f2e3ed5396ad7e225ed217047", + strip_prefix = "wasmtime-environ-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-1.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__0_39_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit/0.39.1/download", + name = "wasmtime__wasmtime_jit__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit/1.0.1/download", type = "tar.gz", - sha256 = "cad81635f33ab69aa04b386c9d954aef9f6230059f66caf67e55fb65bfd2f3e0", - strip_prefix = "wasmtime-jit-0.39.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-0.39.1.bazel"), + sha256 = "9028fb63a54185b3c192b7500ef8039c7bb8d7f62bfc9e7c258483a33a3d13bb", + strip_prefix = "wasmtime-jit-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-1.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__0_39_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/0.39.1/download", + name = "wasmtime__wasmtime_jit_debug__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/1.0.1/download", type = "tar.gz", - sha256 = "55e23273fddce8cab149a0743c46932bf4910268641397ed86b46854b089f38f", - strip_prefix = "wasmtime-jit-debug-0.39.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-0.39.1.bazel"), + sha256 = "25e82d4ef93296785de7efca92f7679dc67fe68a13b625a5ecc8d7503b377a37", + strip_prefix = "wasmtime-jit-debug-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-1.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__0_39_1", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/0.39.1/download", + name = "wasmtime__wasmtime_runtime__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/1.0.1/download", type = "tar.gz", - sha256 = "36b8aafb292502d28dc2d25f44d4a81e229bb2e0cc14ca847dde4448a1a62ae4", - strip_prefix = "wasmtime-runtime-0.39.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-0.39.1.bazel"), + sha256 = "9f0e9bea7d517d114fe66b930b2124ee086516ee93eeebfd97f75f366c5b0553", + strip_prefix = "wasmtime-runtime-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-1.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__0_39_1", - url = "https://crates.io/api/v1/crates/wasmtime-types/0.39.1/download", + name = "wasmtime__wasmtime_types__1_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-types/1.0.1/download", type = "tar.gz", - sha256 = "dd7edc34f358fc290d12e326de81884422cb94cf74cc305b27979569875332d6", - strip_prefix = "wasmtime-types-0.39.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-0.39.1.bazel"), + sha256 = "69b83e93ed41b8fdc936244cfd5e455480cf1eca1fd60c78a0040038b4ce5075", + strip_prefix = "wasmtime-types-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-1.0.1.bazel"), ) maybe( diff --git a/bazel/cargo/wasmtime/remote/BUILD.adler-1.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.adler-1.0.2.bazel deleted file mode 100644 index 602f9dd28..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.adler-1.0.2.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "0BSD OR (MIT OR Apache-2.0)" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "adler", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=adler", - "manual", - ], - version = "1.0.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel index 6b159da44..adf2a35fb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel @@ -161,7 +161,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__getrandom__0_2_7//:getrandom", + "@wasmtime__getrandom__0_2_8//:getrandom", ], "//conditions:default": [], }) + selects.with_or({ @@ -188,7 +188,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__once_cell__1_13_0//:once_cell", + "@wasmtime__once_cell__1_15_0//:once_cell", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.19.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.18.bazel rename to bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.19.bazel index 356e1c86d..c0b21a3be 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.18.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.19.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=aho_corasick", "manual", ], - version = "0.7.18", + version = "0.7.19", # buildifier: leave-alone deps = [ "@wasmtime__memchr__2_5_0//:memchr", diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.58.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.66.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.58.bazel rename to bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.66.bazel index 7e9d3543d..7efe07f38 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.58.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.66.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.58", + version = "1.0.66", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=anyhow", "manual", ], - version = "1.0.58", + version = "1.0.66", # buildifier: leave-alone deps = [ ":anyhow_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel new file mode 100644 index 000000000..5f9410f59 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel @@ -0,0 +1,64 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "arraystring" with type "bench" omitted + +# Unsupported target "extend" with type "bench" omitted + +rust_library( + name = "arrayvec", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=arrayvec", + "manual", + ], + version = "0.7.2", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "serde" with type "test" omitted + +# Unsupported target "tests" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel index 84025f552..6b1bcb3b6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel @@ -74,7 +74,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.66.bazel b/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.66.bazel deleted file mode 100644 index 711f7230c..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.backtrace-0.3.66.bazel +++ /dev/null @@ -1,111 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "backtrace_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.3.66", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__cc__1_0_73//:cc", - ], -) - -# Unsupported target "benchmarks" with type "bench" omitted - -# Unsupported target "backtrace" with type "example" omitted - -# Unsupported target "raw" with type "example" omitted - -rust_library( - name = "backtrace", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=backtrace", - "manual", - ], - version = "0.3.66", - # buildifier: leave-alone - deps = [ - ":backtrace_build_script", - "@wasmtime__addr2line__0_17_0//:addr2line", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__libc__0_2_126//:libc", - "@wasmtime__miniz_oxide__0_5_3//:miniz_oxide", - "@wasmtime__object__0_29_0//:object", - "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", - ], -) - -# Unsupported target "accuracy" with type "test" omitted - -# Unsupported target "concurrent-panics" with type "test" omitted - -# Unsupported target "long_fn_name" with type "test" omitted - -# Unsupported target "skip_inner_frames" with type "test" omitted - -# Unsupported target "smoke" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index 9c84912e1..9606f772a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -50,7 +50,7 @@ rust_library( version = "1.3.3", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_140//:serde", + "@wasmtime__serde__1_0_147//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.lazy_static-1.4.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.11.1.bazel similarity index 80% rename from bazel/cargo/wasmtime/remote/BUILD.lazy_static-1.4.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.11.1.bazel index 28cacc564..391fc5230 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.lazy_static-1.4.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.11.1.bazel @@ -31,28 +31,29 @@ licenses([ # Generated Targets +# Unsupported target "benches" with type "bench" omitted + rust_library( - name = "lazy_static", + name = "bumpalo", srcs = glob(["**/*.rs"]), crate_features = [ + "default", ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-raze", - "crate-name=lazy_static", + "crate-name=bumpalo", "manual", ], - version = "1.4.0", + version = "3.11.1", # buildifier: leave-alone deps = [ ], ) -# Unsupported target "no_std" with type "test" omitted - -# Unsupported target "test" with type "test" omitted +# Unsupported target "try_alloc" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.88.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.88.1.bazel index 2c47d6ca1..46a1949b8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.88.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.88.1.bazel similarity index 78% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.88.1.bazel index 7166edccc..b6c31f175 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.88.1.bazel @@ -58,11 +58,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.86.1", + version = "0.88.1", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_86_1//:cranelift_codegen_meta", - "@wasmtime__cranelift_isle__0_86_1//:cranelift_isle", + "@wasmtime__cranelift_codegen_meta__0_88_1//:cranelift_codegen_meta", + "@wasmtime__cranelift_isle__0_88_1//:cranelift_isle", ], ) @@ -88,17 +88,19 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", - "@wasmtime__cranelift_bforest__0_86_1//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_86_1//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__arrayvec__0_7_2//:arrayvec", + "@wasmtime__bumpalo__3_11_1//:bumpalo", + "@wasmtime__cranelift_bforest__0_88_1//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_88_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regalloc2__0_3_1//:regalloc2", - "@wasmtime__smallvec__1_9_0//:smallvec", + "@wasmtime__regalloc2__0_3_2//:regalloc2", + "@wasmtime__smallvec__1_10_0//:smallvec", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.88.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.88.1.bazel index facc249e0..841e887cc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.88.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_86_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_88_1//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.88.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.88.1.bazel index f07373936..a72812ff9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.88.1.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.88.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.88.1.bazel index 94b0c60f6..68f111f9b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.88.1.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_140//:serde", + "@wasmtime__serde__1_0_147//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.88.1.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.88.1.bazel index 9af54ee58..5a851151b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.88.1.bazel @@ -49,12 +49,12 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", "@wasmtime__log__0_4_17//:log", - "@wasmtime__smallvec__1_9_0//:smallvec", + "@wasmtime__smallvec__1_10_0//:smallvec", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.88.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.88.1.bazel index 19c0d17f3..db637a955 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.88.1.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.86.1", + version = "0.88.1", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "crate-name=cranelift-isle", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ ":cranelift_isle_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.88.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.88.1.bazel index dfad6ff09..f026dceae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.88.1.bazel @@ -51,17 +51,17 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ] + selects.with_or({ # cfg(target_arch = "s390x") ( "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.86.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.88.1.bazel similarity index 73% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.86.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.88.1.bazel index 31d86a2d4..3f377e198 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.86.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.88.1.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.86.1", + version = "0.88.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_86_1//:cranelift_frontend", - "@wasmtime__itertools__0_10_3//:itertools", + "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_88_1//:cranelift_frontend", + "@wasmtime__itertools__0_10_5//:itertools", "@wasmtime__log__0_4_17//:log", - "@wasmtime__smallvec__1_9_0//:smallvec", - "@wasmtime__wasmparser__0_86_0//:wasmparser", - "@wasmtime__wasmtime_types__0_39_1//:wasmtime_types", + "@wasmtime__smallvec__1_10_0//:smallvec", + "@wasmtime__wasmparser__0_89_1//:wasmparser", + "@wasmtime__wasmtime_types__1_0_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.either-1.7.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.either-1.8.0.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.either-1.7.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.either-1.8.0.bazel index 6a666ae8c..0103fd8cf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.either-1.7.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.either-1.8.0.bazel @@ -35,6 +35,7 @@ rust_library( name = "either", srcs = glob(["**/*.rs"]), crate_features = [ + "use_std", ], crate_root = "src/lib.rs", data = [], @@ -47,7 +48,7 @@ rust_library( "crate-name=either", "manual", ], - version = "1.7.0", + version = "1.8.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.1.bazel index 6e7c24eae..6a4139c17 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.1.bazel @@ -52,7 +52,7 @@ rust_library( "crate-name=env_logger", "manual", ], - version = "0.9.0", + version = "0.9.1", # buildifier: leave-alone deps = [ "@wasmtime__atty__0_2_14//:atty", diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel index ba4303b75..71663e42a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel @@ -55,6 +55,7 @@ rust_library( ] + selects.with_or({ # cfg(unix) ( + "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", @@ -71,9 +72,8 @@ rust_library( "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", - "@rules_rust//rust/platform:wasm32-wasi", ): [ - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel index 8acac1400..1fd6fc62a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel @@ -81,6 +81,6 @@ rust_library( # buildifier: leave-alone deps = [ ":errno_dragonfly_build_script", - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.7.bazel rename to bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel index 059b638c1..e3ee8432d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel @@ -52,7 +52,7 @@ rust_library( "crate-name=getrandom", "manual", ], - version = "0.2.7", + version = "0.2.8", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", @@ -84,7 +84,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel deleted file mode 100644 index e5de01424..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.11.2.bazel +++ /dev/null @@ -1,66 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "hashbrown", - srcs = glob(["**/*.rs"]), - crate_features = [ - "ahash", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hashbrown", - "manual", - ], - version = "0.11.2", - # buildifier: leave-alone - deps = [ - "@wasmtime__ahash__0_7_6//:ahash", - ], -) - -# Unsupported target "hasher" with type "test" omitted - -# Unsupported target "rayon" with type "test" omitted - -# Unsupported target "serde" with type "test" omitted - -# Unsupported target "set" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel index 3b0fce03b..c9ecdf51a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel @@ -39,6 +39,7 @@ rust_library( name = "hashbrown", srcs = glob(["**/*.rs"]), crate_features = [ + "ahash", "raw", ], crate_root = "src/lib.rs", @@ -55,6 +56,7 @@ rust_library( version = "0.12.3", # buildifier: leave-alone deps = [ + "@wasmtime__ahash__0_7_6//:ahash", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel index a66aeb652..ca03f81ba 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel @@ -51,6 +51,6 @@ rust_library( version = "0.1.19", # buildifier: leave-alone deps = [ - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel index 0de97917d..0b5126d41 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel @@ -92,7 +92,7 @@ rust_library( deps = [ ":indexmap_build_script", "@wasmtime__hashbrown__0_12_3//:hashbrown", - "@wasmtime__serde__1_0_140//:serde", + "@wasmtime__serde__1_0_147//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.2.bazel deleted file mode 100644 index 5f40d72df..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.2.bazel +++ /dev/null @@ -1,102 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "io_lifetimes_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.7.2", - visibility = ["//visibility:private"], - deps = [ - ], -) - -# Unsupported target "easy-conversions" with type "example" omitted - -# Unsupported target "flexible-apis" with type "example" omitted - -# Unsupported target "hello" with type "example" omitted - -# Unsupported target "owning-wrapper" with type "example" omitted - -# Unsupported target "portable-views" with type "example" omitted - -rust_library( - name = "io_lifetimes", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=io-lifetimes", - "manual", - ], - version = "0.7.2", - # buildifier: leave-alone - deps = [ - ":io_lifetimes_build_script", - ], -) - -# Unsupported target "api" with type "test" omitted - -# Unsupported target "assumptions" with type "test" omitted - -# Unsupported target "ffi" with type "test" omitted - -# Unsupported target "niche-optimizations" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.4.bazel new file mode 100644 index 000000000..caa76c4a8 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.4.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "io_lifetimes_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.4", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "io_lifetimes", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=io-lifetimes", + "manual", + ], + version = "0.7.4", + # buildifier: leave-alone + deps = [ + ":io_lifetimes_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel index 863cb6e51..3abb16e27 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel @@ -68,10 +68,10 @@ rust_library( "crate-name=itertools", "manual", ], - version = "0.10.3", + version = "0.10.5", # buildifier: leave-alone deps = [ - "@wasmtime__either__1_7_0//:either", + "@wasmtime__either__1_8_0//:either", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.126.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.137.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.libc-0.2.126.bazel rename to bazel/cargo/wasmtime/remote/BUILD.libc-0.2.137.bazel index 1702fdb42..cdddb7734 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.126.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.137.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.126", + version = "0.2.137", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=libc", "manual", ], - version = "0.2.126", + version = "0.2.137", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index a09f1a1c9..fdd688164 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -64,7 +64,7 @@ rust_library( "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:x86_64-apple-ios", ): [ - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.3.bazel deleted file mode 100644 index ba23d2620..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.miniz_oxide-0.5.3.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR (Zlib OR Apache-2.0)" -]) - -# Generated Targets - -rust_library( - name = "miniz_oxide", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=miniz_oxide", - "manual", - ], - version = "0.5.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__adler__1_0_2//:adler", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.more-asserts-0.2.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.more-asserts-0.2.2.bazel deleted file mode 100644 index 123327069..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.more-asserts-0.2.2.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # CC0-1.0 from expression "CC0-1.0" -]) - -# Generated Targets - -rust_library( - name = "more_asserts", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=more-asserts", - "manual", - ], - version = "0.2.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.28.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.28.4.bazel deleted file mode 100644 index c43b06732..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.28.4.bazel +++ /dev/null @@ -1,74 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -rust_library( - name = "object", - srcs = glob(["**/*.rs"]), - crate_features = [ - "coff", - "crc32fast", - "elf", - "hashbrown", - "indexmap", - "macho", - "pe", - "read_core", - "std", - "write", - "write_core", - "write_std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=object", - "manual", - ], - version = "0.28.4", - # buildifier: leave-alone - deps = [ - "@wasmtime__crc32fast__1_3_2//:crc32fast", - "@wasmtime__hashbrown__0_11_2//:hashbrown", - "@wasmtime__indexmap__1_9_1//:indexmap", - "@wasmtime__memchr__2_5_0//:memchr", - ], -) - -# Unsupported target "integration" with type "test" omitted - -# Unsupported target "parse_self" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel index be97d2801..fc7f0f8ea 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel @@ -35,13 +35,18 @@ rust_library( name = "object", srcs = glob(["**/*.rs"]), crate_features = [ - "archive", "coff", + "crc32fast", "elf", + "hashbrown", + "indexmap", "macho", "pe", "read_core", - "unaligned", + "std", + "write", + "write_core", + "write_std", ], crate_root = "src/lib.rs", data = [], @@ -57,6 +62,9 @@ rust_library( version = "0.29.0", # buildifier: leave-alone deps = [ + "@wasmtime__crc32fast__1_3_2//:crc32fast", + "@wasmtime__hashbrown__0_12_3//:hashbrown", + "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__memchr__2_5_0//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.13.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.15.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.once_cell-1.13.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.once_cell-1.15.0.bazel index 50c8e47be..a15c98be0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.13.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.15.0.bazel @@ -56,7 +56,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -65,7 +65,7 @@ rust_library( "crate-name=once_cell", "manual", ], - version = "1.13.0", + version = "1.15.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.9.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.paste-1.0.7.bazel rename to bazel/cargo/wasmtime/remote/BUILD.paste-1.0.9.bazel index 8bc62b829..cc57a6e84 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.9.bazel @@ -47,7 +47,7 @@ rust_proc_macro( "crate-name=paste", "manual", ], - version = "1.0.7", + version = "1.0.9", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.42.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.47.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.42.bazel rename to bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.47.bazel index df239e4a7..06a29955e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.42.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.47.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.42", + version = "1.0.47", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=proc-macro2", "manual", ], - version = "1.0.42", + version = "1.0.47", # buildifier: leave-alone deps = [ ":proc_macro2_build_script", - "@wasmtime__unicode_ident__1_0_2//:unicode_ident", + "@wasmtime__unicode_ident__1_0_5//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.20.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.psm-0.1.20.bazel rename to bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel index df571f008..71003013e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.20.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.1.20", + version = "0.1.21", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -89,7 +89,7 @@ rust_library( "crate-name=psm", "manual", ], - version = "0.1.20", + version = "0.1.21", # buildifier: leave-alone deps = [ ":psm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.21.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel rename to bazel/cargo/wasmtime/remote/BUILD.quote-1.0.21.bazel index 31bdc853a..50d302291 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.20.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.21.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.20", + version = "1.0.21", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=quote", "manual", ], - version = "1.0.20", + version = "1.0.21", # buildifier: leave-alone deps = [ ":quote_build_script", - "@wasmtime__proc_macro2__1_0_42//:proc_macro2", + "@wasmtime__proc_macro2__1_0_47//:proc_macro2", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 35812478e..69762bf1e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -60,7 +60,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__rand_chacha__0_3_1//:rand_chacha", - "@wasmtime__rand_core__0_6_3//:rand_core", + "@wasmtime__rand_core__0_6_4//:rand_core", ] + selects.with_or({ # cfg(unix) ( @@ -81,7 +81,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel index 9fdf44b28..02d8477ab 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel @@ -52,6 +52,6 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__ppv_lite86__0_2_16//:ppv_lite86", - "@wasmtime__rand_core__0_6_3//:rand_core", + "@wasmtime__rand_core__0_6_4//:rand_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel index f5886d18a..a1545219b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel @@ -50,9 +50,9 @@ rust_library( "crate-name=rand_core", "manual", ], - version = "0.6.3", + version = "0.6.4", # buildifier: leave-alone deps = [ - "@wasmtime__getrandom__0_2_7//:getrandom", + "@wasmtime__getrandom__0_2_8//:getrandom", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.2.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.2.bazel index a1fbc6f0d..54f6a85c1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.2.bazel @@ -49,12 +49,12 @@ rust_library( "crate-name=regalloc2", "manual", ], - version = "0.3.1", + version = "0.3.2", # buildifier: leave-alone deps = [ "@wasmtime__fxhash__0_2_1//:fxhash", "@wasmtime__log__0_4_17//:log", "@wasmtime__slice_group_by__0_3_0//:slice_group_by", - "@wasmtime__smallvec__1_9_0//:smallvec", + "@wasmtime__smallvec__1_10_0//:smallvec", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel index 9a9d27bb2..17ef69208 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel @@ -70,7 +70,7 @@ rust_library( version = "1.6.0", # buildifier: leave-alone deps = [ - "@wasmtime__aho_corasick__0_7_18//:aho_corasick", + "@wasmtime__aho_corasick__0_7_19//:aho_corasick", "@wasmtime__memchr__2_5_0//:memchr", "@wasmtime__regex_syntax__0_6_27//:regex_syntax", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel deleted file mode 100644 index 91805a666..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.region-2.2.0.bazel +++ /dev/null @@ -1,79 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "region", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=region", - "manual", - ], - version = "2.2.0", - # buildifier: leave-alone - deps = [ - "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__libc__0_2_126//:libc", - ] + selects.with_or({ - # cfg(any(target_os = "macos", target_os = "ios")) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:x86_64-apple-ios", - ): [ - "@wasmtime__mach__0_3_2//:mach", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.12.bazel similarity index 83% rename from bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.7.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.12.bazel index f6c825bce..58ff30dd8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.12.bazel @@ -45,10 +45,11 @@ cargo_build_script( crate_features = [ "default", "io-lifetimes", - "linux-raw-sys", + "libc", "mm", "process", "std", + "use-libc-auxv", ], crate_root = "build.rs", data = glob(["**"]), @@ -61,7 +62,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.35.7", + version = "0.35.12", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -117,16 +118,6 @@ cargo_build_script( # Unsupported target "mod" with type "bench" omitted -# Unsupported target "dup2_to_replace_stdio" with type "example" omitted - -# Unsupported target "hello" with type "example" omitted - -# Unsupported target "process" with type "example" omitted - -# Unsupported target "stdio" with type "example" omitted - -# Unsupported target "time" with type "example" omitted - rust_library( name = "rustix", srcs = glob(["**/*.rs"]), @@ -136,10 +127,11 @@ rust_library( crate_features = [ "default", "io-lifetimes", - "linux-raw-sys", + "libc", "mm", "process", "std", + "use-libc-auxv", ], crate_root = "src/lib.rs", data = [], @@ -153,12 +145,12 @@ rust_library( "crate-name=rustix", "manual", ], - version = "0.35.7", + version = "0.35.12", # buildifier: leave-alone deps = [ ":rustix_build_script", "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__io_lifetimes__0_7_2//:io_lifetimes", + "@wasmtime__io_lifetimes__0_7_4//:io_lifetimes", ] + selects.with_or({ # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( @@ -176,8 +168,12 @@ rust_library( ], "//conditions:default": [], }) + selects.with_or({ - # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) + # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) ( + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-apple-darwin", @@ -195,8 +191,8 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ + "@wasmtime__libc__0_2_137//:libc", "@wasmtime__errno__0_2_8//:errno", - "@wasmtime__libc__0_2_126//:libc", ], "//conditions:default": [], }) + selects.with_or({ @@ -210,27 +206,3 @@ rust_library( "//conditions:default": [], }), ) - -# Unsupported target "backends" with type "test" omitted - -# Unsupported target "fs" with type "test" omitted - -# Unsupported target "io" with type "test" omitted - -# Unsupported target "mm" with type "test" omitted - -# Unsupported target "net" with type "test" omitted - -# Unsupported target "param" with type "test" omitted - -# Unsupported target "path" with type "test" omitted - -# Unsupported target "process" with type "test" omitted - -# Unsupported target "rand" with type "test" omitted - -# Unsupported target "termios" with type "test" omitted - -# Unsupported target "thread" with type "test" omitted - -# Unsupported target "time" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.140.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.147.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.serde-1.0.140.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde-1.0.147.bazel index bc423b52d..b585aa6c4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.140.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.147.bazel @@ -58,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.140", + version = "1.0.147", visibility = ["//visibility:private"], deps = [ ], @@ -77,7 +77,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@wasmtime__serde_derive__1_0_140//:serde_derive", + "@wasmtime__serde_derive__1_0_147//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -87,7 +87,7 @@ rust_library( "crate-name=serde", "manual", ], - version = "1.0.140", + version = "1.0.147", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.140.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.147.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.140.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.147.bazel index 68dae3a52..07b878a1a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.140.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.147.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.140", + version = "1.0.147", visibility = ["//visibility:private"], deps = [ ], @@ -78,12 +78,12 @@ rust_proc_macro( "crate-name=serde_derive", "manual", ], - version = "1.0.140", + version = "1.0.147", # buildifier: leave-alone deps = [ ":serde_derive_build_script", - "@wasmtime__proc_macro2__1_0_42//:proc_macro2", - "@wasmtime__quote__1_0_20//:quote", - "@wasmtime__syn__1_0_98//:syn", + "@wasmtime__proc_macro2__1_0_47//:proc_macro2", + "@wasmtime__quote__1_0_21//:quote", + "@wasmtime__syn__1_0_103//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.9.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.smallvec-1.9.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel index 9600167e2..66f5032e4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.9.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel @@ -49,10 +49,12 @@ rust_library( "crate-name=smallvec", "manual", ], - version = "1.9.0", + version = "1.10.0", # buildifier: leave-alone deps = [ ], ) +# Unsupported target "debugger_visualizer" with type "test" omitted + # Unsupported target "macro" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.103.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel rename to bazel/cargo/wasmtime/remote/BUILD.syn-1.0.103.bazel index d6d65ce09..407616c21 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.98.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.103.bazel @@ -61,7 +61,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.98", + version = "1.0.103", visibility = ["//visibility:private"], deps = [ ], @@ -94,13 +94,13 @@ rust_library( "crate-name=syn", "manual", ], - version = "1.0.98", + version = "1.0.103", # buildifier: leave-alone deps = [ ":syn_build_script", - "@wasmtime__proc_macro2__1_0_42//:proc_macro2", - "@wasmtime__quote__1_0_20//:quote", - "@wasmtime__unicode_ident__1_0_2//:unicode_ident", + "@wasmtime__proc_macro2__1_0_47//:proc_macro2", + "@wasmtime__quote__1_0_21//:quote", + "@wasmtime__unicode_ident__1_0_5//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.31.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.37.bazel similarity index 70% rename from bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.31.bazel rename to bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.37.bazel index 7730827d6..df0ca0842 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.31.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.37.bazel @@ -30,6 +30,35 @@ licenses([ ]) # Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "thiserror_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.37", + visibility = ["//visibility:private"], + deps = [ + ], +) rust_library( name = "thiserror", @@ -40,7 +69,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@wasmtime__thiserror_impl__1_0_31//:thiserror_impl", + "@wasmtime__thiserror_impl__1_0_37//:thiserror_impl", ], rustc_flags = [ "--cap-lints=allow", @@ -50,9 +79,10 @@ rust_library( "crate-name=thiserror", "manual", ], - version = "1.0.31", + version = "1.0.37", # buildifier: leave-alone deps = [ + ":thiserror_build_script", ], ) @@ -60,6 +90,8 @@ rust_library( # Unsupported target "test_backtrace" with type "test" omitted +# Unsupported target "test_deprecated" with type "test" omitted + # Unsupported target "test_display" with type "test" omitted # Unsupported target "test_error" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.37.bazel similarity index 86% rename from bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel rename to bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.37.bazel index e0aa3ba97..0c6f33752 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.31.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.37.bazel @@ -47,11 +47,11 @@ rust_proc_macro( "crate-name=thiserror-impl", "manual", ], - version = "1.0.31", + version = "1.0.37", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_42//:proc_macro2", - "@wasmtime__quote__1_0_20//:quote", - "@wasmtime__syn__1_0_98//:syn", + "@wasmtime__proc_macro2__1_0_47//:proc_macro2", + "@wasmtime__quote__1_0_21//:quote", + "@wasmtime__syn__1_0_103//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.5.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.5.bazel index 1fe703741..e6676ba40 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.5.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=unicode-ident", "manual", ], - version = "1.0.2", + version = "1.0.5", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.86.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.89.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.86.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.89.1.bazel index 7f20f3239..4e5a56f14 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.86.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.89.1.bazel @@ -51,7 +51,7 @@ rust_library( "crate-name=wasmparser", "manual", ], - version = "0.86.0", + version = "0.89.1", # buildifier: leave-alone deps = [ "@wasmtime__indexmap__1_9_1//:indexmap", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.39.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-1.0.1.bazel similarity index 75% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.39.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-1.0.1.bazel index 1d41169cb..4f1ffad3c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-0.39.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-1.0.1.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.39.1", + version = "1.0.1", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -82,7 +82,7 @@ rust_library( data = [], edition = "2021", proc_macro_deps = [ - "@wasmtime__paste__1_0_7//:paste", + "@wasmtime__paste__1_0_9//:paste", ], rustc_flags = [ "--cap-lints=allow", @@ -92,29 +92,26 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "0.39.1", + version = "1.0.1", # buildifier: leave-alone deps = [ ":wasmtime_build_script", - "@wasmtime__anyhow__1_0_58//:anyhow", - "@wasmtime__backtrace__0_3_66//:backtrace", + "@wasmtime__anyhow__1_0_66//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__indexmap__1_9_1//:indexmap", - "@wasmtime__lazy_static__1_4_0//:lazy_static", - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_28_4//:object", - "@wasmtime__once_cell__1_13_0//:once_cell", - "@wasmtime__psm__0_1_20//:psm", - "@wasmtime__region__2_2_0//:region", - "@wasmtime__serde__1_0_140//:serde", + "@wasmtime__object__0_29_0//:object", + "@wasmtime__once_cell__1_15_0//:once_cell", + "@wasmtime__psm__0_1_21//:psm", + "@wasmtime__serde__1_0_147//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", - "@wasmtime__wasmparser__0_86_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__0_39_1//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit__0_39_1//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__0_39_1//:wasmtime_runtime", + "@wasmtime__wasmparser__0_89_1//:wasmparser", + "@wasmtime__wasmtime_cranelift__1_0_1//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit__1_0_1//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__1_0_1//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-1.0.1.bazel new file mode 100644 index 000000000..4bfabe328 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-1.0.1.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "wasmtime_asm_macros", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=wasmtime-asm-macros", + "manual", + ], + version = "1.0.1", + # buildifier: leave-alone + deps = [ + "@wasmtime__cfg_if__1_0_0//:cfg_if", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel index f89e48e9c..e85148123 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel @@ -50,7 +50,7 @@ rust_proc_macro( version = "0.19.0", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_42//:proc_macro2", - "@wasmtime__quote__1_0_20//:quote", + "@wasmtime__proc_macro2__1_0_47//:proc_macro2", + "@wasmtime__quote__1_0_21//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.39.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-1.0.1.bazel similarity index 64% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.39.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-1.0.1.bazel index 271a03530..c256f9b4d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-0.39.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-1.0.1.bazel @@ -47,22 +47,21 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "0.39.1", + version = "1.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_58//:anyhow", - "@wasmtime__cranelift_codegen__0_86_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_86_1//:cranelift_frontend", - "@wasmtime__cranelift_native__0_86_1//:cranelift_native", - "@wasmtime__cranelift_wasm__0_86_1//:cranelift_wasm", + "@wasmtime__anyhow__1_0_66//:anyhow", + "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_88_1//:cranelift_frontend", + "@wasmtime__cranelift_native__0_88_1//:cranelift_native", + "@wasmtime__cranelift_wasm__0_88_1//:cranelift_wasm", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__more_asserts__0_2_2//:more_asserts", - "@wasmtime__object__0_28_4//:object", + "@wasmtime__object__0_29_0//:object", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", - "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_86_0//:wasmparser", - "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", + "@wasmtime__thiserror__1_0_37//:thiserror", + "@wasmtime__wasmparser__0_89_1//:wasmparser", + "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.39.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-1.0.1.bazel similarity index 73% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.39.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-1.0.1.bazel index d419143af..e1d4a419f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-0.39.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-1.0.1.bazel @@ -31,6 +31,8 @@ licenses([ # Generated Targets +# Unsupported target "factc" with type "example" omitted + rust_library( name = "wasmtime_environ", srcs = glob(["**/*.rs"]), @@ -47,20 +49,19 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "0.39.1", + version = "1.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_58//:anyhow", - "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", + "@wasmtime__anyhow__1_0_66//:anyhow", + "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__log__0_4_17//:log", - "@wasmtime__more_asserts__0_2_2//:more_asserts", - "@wasmtime__object__0_28_4//:object", - "@wasmtime__serde__1_0_140//:serde", + "@wasmtime__object__0_29_0//:object", + "@wasmtime__serde__1_0_147//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", - "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_86_0//:wasmparser", - "@wasmtime__wasmtime_types__0_39_1//:wasmtime_types", + "@wasmtime__thiserror__1_0_37//:thiserror", + "@wasmtime__wasmparser__0_89_1//:wasmparser", + "@wasmtime__wasmtime_types__1_0_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.39.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-1.0.1.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.39.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-1.0.1.bazel index 9dc295d10..5090f08d7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-0.39.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-1.0.1.bazel @@ -49,24 +49,23 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "0.39.1", + version = "1.0.1", # buildifier: leave-alone deps = [ "@wasmtime__addr2line__0_17_0//:addr2line", - "@wasmtime__anyhow__1_0_58//:anyhow", + "@wasmtime__anyhow__1_0_66//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_28_4//:object", - "@wasmtime__region__2_2_0//:region", + "@wasmtime__object__0_29_0//:object", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", - "@wasmtime__serde__1_0_140//:serde", + "@wasmtime__serde__1_0_147//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", - "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__0_39_1//:wasmtime_runtime", + "@wasmtime__thiserror__1_0_37//:thiserror", + "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", + "@wasmtime__wasmtime_runtime__1_0_1//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "linux") ( @@ -77,7 +76,7 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__rustix__0_35_7//:rustix", + "@wasmtime__rustix__0_35_12//:rustix", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.39.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-1.0.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.39.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-1.0.1.bazel index 0a4d8d96d..083ccc090 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-0.39.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-1.0.1.bazel @@ -36,7 +36,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "gdb_jit_int", - "lazy_static", + "once_cell", ], crate_root = "src/lib.rs", data = [], @@ -49,9 +49,9 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "0.39.1", + version = "1.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__lazy_static__1_4_0//:lazy_static", + "@wasmtime__once_cell__1_15_0//:once_cell", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.39.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-1.0.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.39.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-1.0.1.bazel index 1bb5b3c7a..622c36567 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-0.39.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-1.0.1.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.39.1", + version = "1.0.1", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -111,6 +111,9 @@ rust_library( crate_root = "src/lib.rs", data = [], edition = "2021", + proc_macro_deps = [ + "@wasmtime__paste__1_0_9//:paste", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -119,23 +122,21 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "0.39.1", + version = "1.0.1", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", - "@wasmtime__anyhow__1_0_58//:anyhow", - "@wasmtime__backtrace__0_3_66//:backtrace", + "@wasmtime__anyhow__1_0_66//:anyhow", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__indexmap__1_9_1//:indexmap", - "@wasmtime__libc__0_2_126//:libc", + "@wasmtime__libc__0_2_137//:libc", "@wasmtime__log__0_4_17//:log", "@wasmtime__memoffset__0_6_5//:memoffset", - "@wasmtime__more_asserts__0_2_2//:more_asserts", "@wasmtime__rand__0_8_5//:rand", - "@wasmtime__region__2_2_0//:region", - "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmtime_environ__0_39_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__0_39_1//:wasmtime_jit_debug", + "@wasmtime__thiserror__1_0_37//:thiserror", + "@wasmtime__wasmtime_asm_macros__1_0_1//:wasmtime_asm_macros", + "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__1_0_1//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -175,7 +176,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_35_7//:rustix", + "@wasmtime__rustix__0_35_12//:rustix", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.39.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-1.0.1.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.39.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-1.0.1.bazel index 582cfbd44..126c01c6f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-0.39.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-1.0.1.bazel @@ -47,12 +47,12 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "0.39.1", + version = "1.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_86_1//:cranelift_entity", - "@wasmtime__serde__1_0_140//:serde", - "@wasmtime__thiserror__1_0_31//:thiserror", - "@wasmtime__wasmparser__0_86_0//:wasmparser", + "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", + "@wasmtime__serde__1_0_147//:serde", + "@wasmtime__thiserror__1_0_37//:thiserror", + "@wasmtime__wasmparser__0_89_1//:wasmparser", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel index e8b88f89d..51c9c7277 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel @@ -43,17 +43,14 @@ cargo_build_script( build_script_env = { }, crate_features = [ - "basetsd", "consoleapi", "errhandlingapi", "fileapi", - "memoryapi", "minwinbase", "minwindef", "ntdef", "processenv", "std", - "sysinfoapi", "winbase", "wincon", "winerror", @@ -79,17 +76,14 @@ rust_library( name = "winapi", srcs = glob(["**/*.rs"]), crate_features = [ - "basetsd", "consoleapi", "errhandlingapi", "fileapi", - "memoryapi", "minwinbase", "minwindef", "ntdef", "processenv", "std", - "sysinfoapi", "winbase", "wincon", "winerror", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel index 8ba64f652..7c6e8cb51 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel @@ -51,6 +51,7 @@ rust_library( "Win32_System_Diagnostics_Debug", "Win32_System_Kernel", "Win32_System_Memory", + "Win32_System_SystemInformation", "Win32_System_Threading", "default", ], diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index e01f9d0d4..15032f40b 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -192,9 +192,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "6ef70886da14245f575c6ff8c7c999ae22579257eba5ebf382e066598c1e381c", - strip_prefix = "wasmtime-0.39.1", - url = "https://github.com/bytecodealliance/wasmtime/archive/v0.39.1.tar.gz", + sha256 = "41e8d4916229f613e647bd20b6c1def0d04719c2bc0534bc29e3ba0cac317200", + strip_prefix = "wasmtime-1.0.1", + url = "https://github.com/bytecodealliance/wasmtime/archive/v1.0.1.tar.gz", ) maybe( From 59102f3ac3e7f0063b2c7f9d300f8b909d4ed972 Mon Sep 17 00:00:00 2001 From: River <6375745+RiverPhillips@users.noreply.github.com> Date: Thu, 27 Oct 2022 11:28:58 +0100 Subject: [PATCH 28/90] wasmtime: update to v2.0.0. (#314) Signed-off-by: river phillips --- bazel/cargo/wasmtime/BUILD.bazel | 2 +- bazel/cargo/wasmtime/Cargo.raze.lock | 166 ++++++++--- bazel/cargo/wasmtime/Cargo.toml | 6 +- bazel/cargo/wasmtime/crates.bzl | 272 +++++++++++------- ...l => BUILD.cranelift-bforest-0.89.0.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.89.0.bazel} | 16 +- ...BUILD.cranelift-codegen-meta-0.89.0.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.89.0.bazel} | 2 +- ...el => BUILD.cranelift-entity-0.89.0.bazel} | 2 +- ... => BUILD.cranelift-frontend-0.89.0.bazel} | 4 +- ...azel => BUILD.cranelift-isle-0.89.0.bazel} | 5 +- ...el => BUILD.cranelift-native-0.89.0.bazel} | 4 +- ...azel => BUILD.cranelift-wasm-0.89.0.bazel} | 12 +- .../BUILD.crossbeam-channel-0.5.6.bazel | 95 ++++++ .../remote/BUILD.crossbeam-deque-0.8.2.bazel | 69 +++++ .../remote/BUILD.crossbeam-epoch-0.9.11.bazel | 103 +++++++ .../remote/BUILD.crossbeam-utils-0.8.12.bazel | 103 +++++++ .../remote/BUILD.num_cpus-1.13.1.bazel | 83 ++++++ .../wasmtime/remote/BUILD.rayon-1.5.3.bazel | 118 ++++++++ .../remote/BUILD.rayon-core-1.9.3.bazel | 101 +++++++ ....3.2.bazel => BUILD.regalloc2-0.4.1.bazel} | 2 +- .../remote/BUILD.scopeguard-1.1.0.bazel | 56 ++++ .../remote/BUILD.smallvec-1.10.0.bazel | 1 + .../remote/BUILD.target-lexicon-0.12.4.bazel | 2 - ....1.bazel => BUILD.wasmparser-0.92.0.bazel} | 2 +- ...1.0.1.bazel => BUILD.wasmtime-2.0.0.bazel} | 14 +- ... => BUILD.wasmtime-asm-macros-2.0.0.bazel} | 2 +- ...l => BUILD.wasmtime-cranelift-2.0.0.bazel} | 16 +- ...zel => BUILD.wasmtime-environ-2.0.0.bazel} | 8 +- ...1.bazel => BUILD.wasmtime-jit-2.0.0.bazel} | 6 +- ...l => BUILD.wasmtime-jit-debug-2.0.0.bazel} | 2 +- ...zel => BUILD.wasmtime-runtime-2.0.0.bazel} | 10 +- ...bazel => BUILD.wasmtime-types-2.0.0.bazel} | 6 +- bazel/repositories.bzl | 6 +- 34 files changed, 1099 insertions(+), 205 deletions(-) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.88.1.bazel => BUILD.cranelift-bforest-0.89.0.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.88.1.bazel => BUILD.cranelift-codegen-0.89.0.bazel} (84%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.88.1.bazel => BUILD.cranelift-codegen-meta-0.89.0.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.88.1.bazel => BUILD.cranelift-codegen-shared-0.89.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.88.1.bazel => BUILD.cranelift-entity-0.89.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.88.1.bazel => BUILD.cranelift-frontend-0.89.0.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-isle-0.88.1.bazel => BUILD.cranelift-isle-0.89.0.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.88.1.bazel => BUILD.cranelift-native-0.89.0.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.88.1.bazel => BUILD.cranelift-wasm-0.89.0.bazel} (79%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.crossbeam-deque-0.8.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.crossbeam-utils-0.8.12.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.regalloc2-0.3.2.bazel => BUILD.regalloc2-0.4.1.bazel} (98%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmparser-0.89.1.bazel => BUILD.wasmparser-0.92.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-1.0.1.bazel => BUILD.wasmtime-2.0.0.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-asm-macros-1.0.1.bazel => BUILD.wasmtime-asm-macros-2.0.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-1.0.1.bazel => BUILD.wasmtime-cranelift-2.0.0.bazel} (74%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-1.0.1.bazel => BUILD.wasmtime-environ-2.0.0.bazel} (88%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-1.0.1.bazel => BUILD.wasmtime-jit-2.0.0.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-1.0.1.bazel => BUILD.wasmtime-jit-debug-2.0.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-1.0.1.bazel => BUILD.wasmtime-runtime-2.0.0.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-1.0.1.bazel => BUILD.wasmtime-types-2.0.0.bazel} (89%) diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index 2f7ca27d9..a239b0bb0 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__1_0_1//:wasmtime", + actual = "@wasmtime__wasmtime__2_0_0//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index fe3f47a0e..871dc72f5 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -108,18 +108,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44409ccf2d0f663920cab563d2b79fcd6b2e9a2bcc6e929fef76c8f82ad6c17a" +checksum = "be5e1ee4c22871d24a95196ea7047d58c1d978e46c88037d3d397b3b3e0af360" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de2018ad96eb97f621f7d6b900a0cc661aec8d02ea4a50e56ecb48e5a2fcaf" +checksum = "70f600a52d59eed56a85f33750873b3b42d61e35ca777cd792369893f9e1f9dd" dependencies = [ "arrayvec", "bumpalo", @@ -137,33 +137,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5287ce36e6c4758fbaf298bd1a8697ad97a4f2375a3d1b61142ea538db4877e5" +checksum = "e8418218d0953d73e9b96e9d9ffec56145efa4f18988251530b5872ae4410563" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2855c24219e2f08827f3f4ffb2da92e134ae8d8ecc185b11ec8f9878cf5f588e" +checksum = "f01be0cfd40aba59153236ab4b99062131b5bbe6f9f3d4bcb238bd2f96ff5262" [[package]] name = "cranelift-entity" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b65673279d75d34bf11af9660ae2dbd1c22e6d28f163f5c72f4e1dc56d56103" +checksum = "ddae4fec5d6859233ffa175b61d269443c473b3971a2c3e69008c8d3e83d5825" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed2b3d7a4751163f6c4a349205ab1b7d9c00eecf19dcea48592ef1f7688eefc" +checksum = "f2cc3deb0df97748434cf9f7e404f1f5134f6a253fc9a6bca25c5cd6804c08d3" dependencies = [ "cranelift-codegen", "log", @@ -173,15 +173,18 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be64cecea9d90105fc6a2ba2d003e98c867c1d6c4c86cc878f97ad9fb916293" +checksum = "fc3bb54287de9c36ba354eb849fefb77b5e73955058745fd08f12cfdfa181866" +dependencies = [ + "rayon", +] [[package]] name = "cranelift-native" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a03a6ac1b063e416ca4b93f6247978c991475e8271465340caa6f92f3c16a4" +checksum = "d8c2a4f2efdce1de1f94e74f12b3b4144e3bcafa6011338b87388325d72d2120" dependencies = [ "cranelift-codegen", "libc", @@ -190,9 +193,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.88.1" +version = "0.89.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c699873f7b30bc5f20dd03a796b4183e073a46616c91704792ec35e45d13f913" +checksum = "f918c37eb01f5b5ccc632e0ef3b4bf9ee03b5d4c267d3d2d3b62720a6bce0180" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -213,6 +216,49 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-channel" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" +dependencies = [ + "cfg-if", + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348" +dependencies = [ + "autocfg", + "cfg-if", + "crossbeam-utils", + "memoffset", + "scopeguard", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac" +dependencies = [ + "cfg-if", +] + [[package]] name = "either" version = "1.8.0" @@ -385,6 +431,16 @@ dependencies = [ "autocfg", ] +[[package]] +name = "num_cpus" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" +dependencies = [ + "hermit-abi", + "libc", +] + [[package]] name = "object" version = "0.29.0" @@ -472,11 +528,35 @@ dependencies = [ "getrandom", ] +[[package]] +name = "rayon" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d" +dependencies = [ + "autocfg", + "crossbeam-deque", + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f" +dependencies = [ + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-utils", + "num_cpus", +] + [[package]] name = "regalloc2" -version = "0.3.2" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779" +checksum = "69025b4a161879ba90719837c06621c3d73cffa147a000aeacf458f6a9572485" dependencies = [ "fxhash", "log", @@ -521,6 +601,12 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "scopeguard" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" + [[package]] name = "serde" version = "1.0.147" @@ -625,18 +711,18 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasmparser" -version = "0.89.1" +version = "0.92.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" +checksum = "7da34cec2a8c23db906cdf8b26e988d7a7f0d549eb5d51299129647af61a1b37" dependencies = [ "indexmap", ] [[package]] name = "wasmtime" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f511c4917c83d04da68333921107db75747c4e11a2f654a8e909cc5e0520dc" +checksum = "f5fc5bb3329415030796cfa5530b2481ccef5c4f1e5150733ba94318ab004fe1" dependencies = [ "anyhow", "bincode", @@ -660,16 +746,16 @@ dependencies = [ [[package]] name = "wasmtime-asm-macros" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39bf3debfe744bf19dd3732990ce6f8c0ced7439e2370ba4e1d8f5a3660a3178" +checksum = "db36545ff0940ad9bf4e9ab0ec2a4e1eaa5ebe2aa9227bcbc4af905375d9e482" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-c-api-bazel" -version = "1.0.1" +version = "2.0.0" dependencies = [ "anyhow", "env_logger", @@ -681,7 +767,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v1.0.1#c63087ff668fbdffe326c7b48401acbbf0e82a65" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v2.0.0#ff8c568eeed3918a5d591295e9384e2b1e462aae" dependencies = [ "proc-macro2", "quote", @@ -689,9 +775,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "058217e28644b012bdcdf0e445f58d496d78c2e0b6a6dd93558e701591dad705" +checksum = "0409e93b5eceaa4e5f498a4bce1cffc7ebe071d14582b5437c10af4aecc23f54" dependencies = [ "anyhow", "cranelift-codegen", @@ -710,9 +796,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7af06848df28b7661471d9a80d30a973e0f401f2e3ed5396ad7e225ed217047" +checksum = "55240389c604f68d2e1d2573d7d3740246ab9ea2fa4fe79e10ccd51faf9b9500" dependencies = [ "anyhow", "cranelift-entity", @@ -729,9 +815,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9028fb63a54185b3c192b7500ef8039c7bb8d7f62bfc9e7c258483a33a3d13bb" +checksum = "bc15e285b7073ee566e62ea4b6dd38b80465ade0ea8cd4cee13c7ac2e295cfca" dependencies = [ "addr2line", "anyhow", @@ -753,18 +839,18 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25e82d4ef93296785de7efca92f7679dc67fe68a13b625a5ecc8d7503b377a37" +checksum = "bee06d206bcf7a875eacd1e1e957c2a63f64a92934d2535dd8e15cde6d3a9ffe" dependencies = [ "once_cell", ] [[package]] name = "wasmtime-runtime" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f0e9bea7d517d114fe66b930b2124ee086516ee93eeebfd97f75f366c5b0553" +checksum = "9969ff36cbf57f18c2d24679db57d0857ea7cc7d839534afc26ecc8003e9914b" dependencies = [ "anyhow", "cc", @@ -786,9 +872,9 @@ dependencies = [ [[package]] name = "wasmtime-types" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69b83e93ed41b8fdc936244cfd5e455480cf1eca1fd60c78a0040038b4ce5075" +checksum = "df64c737fc9b3cdf7617bcc65e8b97cb713ceb9c9c58530b20788a8a3482b5d1" dependencies = [ "cranelift-entity", "serde", diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 9ea642465..8b5b4c47e 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "1.0.1" +version = "2.0.0" [lib] path = "fake_lib.rs" @@ -10,8 +10,8 @@ path = "fake_lib.rs" env_logger = "0.9" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "1.0.1", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v1.0.1"} +wasmtime = {version = "2.0.0", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v2.0.0"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index fc569e559..b5fc80ebd 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -159,98 +159,98 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.88.1/download", + name = "wasmtime__cranelift_bforest__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.89.0/download", type = "tar.gz", - sha256 = "44409ccf2d0f663920cab563d2b79fcd6b2e9a2bcc6e929fef76c8f82ad6c17a", - strip_prefix = "cranelift-bforest-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.88.1.bazel"), + sha256 = "be5e1ee4c22871d24a95196ea7047d58c1d978e46c88037d3d397b3b3e0af360", + strip_prefix = "cranelift-bforest-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.88.1/download", + name = "wasmtime__cranelift_codegen__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.89.0/download", type = "tar.gz", - sha256 = "98de2018ad96eb97f621f7d6b900a0cc661aec8d02ea4a50e56ecb48e5a2fcaf", - strip_prefix = "cranelift-codegen-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.88.1.bazel"), + sha256 = "70f600a52d59eed56a85f33750873b3b42d61e35ca777cd792369893f9e1f9dd", + strip_prefix = "cranelift-codegen-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.88.1/download", + name = "wasmtime__cranelift_codegen_meta__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.89.0/download", type = "tar.gz", - sha256 = "5287ce36e6c4758fbaf298bd1a8697ad97a4f2375a3d1b61142ea538db4877e5", - strip_prefix = "cranelift-codegen-meta-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.88.1.bazel"), + sha256 = "e8418218d0953d73e9b96e9d9ffec56145efa4f18988251530b5872ae4410563", + strip_prefix = "cranelift-codegen-meta-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.88.1/download", + name = "wasmtime__cranelift_codegen_shared__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.89.0/download", type = "tar.gz", - sha256 = "2855c24219e2f08827f3f4ffb2da92e134ae8d8ecc185b11ec8f9878cf5f588e", - strip_prefix = "cranelift-codegen-shared-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.88.1.bazel"), + sha256 = "f01be0cfd40aba59153236ab4b99062131b5bbe6f9f3d4bcb238bd2f96ff5262", + strip_prefix = "cranelift-codegen-shared-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.88.1/download", + name = "wasmtime__cranelift_entity__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.89.0/download", type = "tar.gz", - sha256 = "0b65673279d75d34bf11af9660ae2dbd1c22e6d28f163f5c72f4e1dc56d56103", - strip_prefix = "cranelift-entity-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.88.1.bazel"), + sha256 = "ddae4fec5d6859233ffa175b61d269443c473b3971a2c3e69008c8d3e83d5825", + strip_prefix = "cranelift-entity-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.88.1/download", + name = "wasmtime__cranelift_frontend__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.89.0/download", type = "tar.gz", - sha256 = "3ed2b3d7a4751163f6c4a349205ab1b7d9c00eecf19dcea48592ef1f7688eefc", - strip_prefix = "cranelift-frontend-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.88.1.bazel"), + sha256 = "f2cc3deb0df97748434cf9f7e404f1f5134f6a253fc9a6bca25c5cd6804c08d3", + strip_prefix = "cranelift-frontend-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_isle__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-isle/0.88.1/download", + name = "wasmtime__cranelift_isle__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-isle/0.89.0/download", type = "tar.gz", - sha256 = "3be64cecea9d90105fc6a2ba2d003e98c867c1d6c4c86cc878f97ad9fb916293", - strip_prefix = "cranelift-isle-0.88.1", + sha256 = "fc3bb54287de9c36ba354eb849fefb77b5e73955058745fd08f12cfdfa181866", + strip_prefix = "cranelift-isle-0.89.0", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", ], patch_args = [ "-p4", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.88.1.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-native/0.88.1/download", + name = "wasmtime__cranelift_native__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-native/0.89.0/download", type = "tar.gz", - sha256 = "c4a03a6ac1b063e416ca4b93f6247978c991475e8271465340caa6f92f3c16a4", - strip_prefix = "cranelift-native-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.88.1.bazel"), + sha256 = "d8c2a4f2efdce1de1f94e74f12b3b4144e3bcafa6011338b87388325d72d2120", + strip_prefix = "cranelift-native-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.89.0.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_88_1", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.88.1/download", + name = "wasmtime__cranelift_wasm__0_89_0", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.89.0/download", type = "tar.gz", - sha256 = "c699873f7b30bc5f20dd03a796b4183e073a46616c91704792ec35e45d13f913", - strip_prefix = "cranelift-wasm-0.88.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.88.1.bazel"), + sha256 = "f918c37eb01f5b5ccc632e0ef3b4bf9ee03b5d4c267d3d2d3b62720a6bce0180", + strip_prefix = "cranelift-wasm-0.89.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.89.0.bazel"), ) maybe( @@ -263,6 +263,46 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.3.2.bazel"), ) + maybe( + http_archive, + name = "wasmtime__crossbeam_channel__0_5_6", + url = "https://crates.io/api/v1/crates/crossbeam-channel/0.5.6/download", + type = "tar.gz", + sha256 = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521", + strip_prefix = "crossbeam-channel-0.5.6", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-channel-0.5.6.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__crossbeam_deque__0_8_2", + url = "https://crates.io/api/v1/crates/crossbeam-deque/0.8.2/download", + type = "tar.gz", + sha256 = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc", + strip_prefix = "crossbeam-deque-0.8.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-deque-0.8.2.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__crossbeam_epoch__0_9_11", + url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.9.11/download", + type = "tar.gz", + sha256 = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348", + strip_prefix = "crossbeam-epoch-0.9.11", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-epoch-0.9.11.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__crossbeam_utils__0_8_12", + url = "https://crates.io/api/v1/crates/crossbeam-utils/0.8.12/download", + type = "tar.gz", + sha256 = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac", + strip_prefix = "crossbeam-utils-0.8.12", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-utils-0.8.12.bazel"), + ) + maybe( http_archive, name = "wasmtime__either__1_8_0", @@ -463,6 +503,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.6.5.bazel"), ) + maybe( + http_archive, + name = "wasmtime__num_cpus__1_13_1", + url = "https://crates.io/api/v1/crates/num_cpus/1.13.1/download", + type = "tar.gz", + sha256 = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1", + strip_prefix = "num_cpus-1.13.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.num_cpus-1.13.1.bazel"), + ) + maybe( http_archive, name = "wasmtime__object__0_29_0", @@ -565,12 +615,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__regalloc2__0_3_2", - url = "https://crates.io/api/v1/crates/regalloc2/0.3.2/download", + name = "wasmtime__rayon__1_5_3", + url = "https://crates.io/api/v1/crates/rayon/1.5.3/download", + type = "tar.gz", + sha256 = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d", + strip_prefix = "rayon-1.5.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rayon-1.5.3.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__rayon_core__1_9_3", + url = "https://crates.io/api/v1/crates/rayon-core/1.9.3/download", type = "tar.gz", - sha256 = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779", - strip_prefix = "regalloc2-0.3.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.3.2.bazel"), + sha256 = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f", + strip_prefix = "rayon-core-1.9.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rayon-core-1.9.3.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__regalloc2__0_4_1", + url = "https://crates.io/api/v1/crates/regalloc2/0.4.1/download", + type = "tar.gz", + sha256 = "69025b4a161879ba90719837c06621c3d73cffa147a000aeacf458f6a9572485", + strip_prefix = "regalloc2-0.4.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.4.1.bazel"), ) maybe( @@ -613,6 +683,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.35.12.bazel"), ) + maybe( + http_archive, + name = "wasmtime__scopeguard__1_1_0", + url = "https://crates.io/api/v1/crates/scopeguard/1.1.0/download", + type = "tar.gz", + sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd", + strip_prefix = "scopeguard-1.1.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.scopeguard-1.1.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__serde__1_0_147", @@ -745,101 +825,101 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmparser__0_89_1", - url = "https://crates.io/api/v1/crates/wasmparser/0.89.1/download", + name = "wasmtime__wasmparser__0_92_0", + url = "https://crates.io/api/v1/crates/wasmparser/0.92.0/download", type = "tar.gz", - sha256 = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef", - strip_prefix = "wasmparser-0.89.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.89.1.bazel"), + sha256 = "7da34cec2a8c23db906cdf8b26e988d7a7f0d549eb5d51299129647af61a1b37", + strip_prefix = "wasmparser-0.92.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.92.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime/1.0.1/download", + name = "wasmtime__wasmtime__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime/2.0.0/download", type = "tar.gz", - sha256 = "f1f511c4917c83d04da68333921107db75747c4e11a2f654a8e909cc5e0520dc", - strip_prefix = "wasmtime-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-1.0.1.bazel"), + sha256 = "f5fc5bb3329415030796cfa5530b2481ccef5c4f1e5150733ba94318ab004fe1", + strip_prefix = "wasmtime-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-2.0.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_asm_macros__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/1.0.1/download", + name = "wasmtime__wasmtime_asm_macros__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/2.0.0/download", type = "tar.gz", - sha256 = "39bf3debfe744bf19dd3732990ce6f8c0ced7439e2370ba4e1d8f5a3660a3178", - strip_prefix = "wasmtime-asm-macros-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-1.0.1.bazel"), + sha256 = "db36545ff0940ad9bf4e9ab0ec2a4e1eaa5ebe2aa9227bcbc4af905375d9e482", + strip_prefix = "wasmtime-asm-macros-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-2.0.0.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "c63087ff668fbdffe326c7b48401acbbf0e82a65", + commit = "ff8c568eeed3918a5d591295e9384e2b1e462aae", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/1.0.1/download", + name = "wasmtime__wasmtime_cranelift__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/2.0.0/download", type = "tar.gz", - sha256 = "058217e28644b012bdcdf0e445f58d496d78c2e0b6a6dd93558e701591dad705", - strip_prefix = "wasmtime-cranelift-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-1.0.1.bazel"), + sha256 = "0409e93b5eceaa4e5f498a4bce1cffc7ebe071d14582b5437c10af4aecc23f54", + strip_prefix = "wasmtime-cranelift-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-2.0.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-environ/1.0.1/download", + name = "wasmtime__wasmtime_environ__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime-environ/2.0.0/download", type = "tar.gz", - sha256 = "c7af06848df28b7661471d9a80d30a973e0f401f2e3ed5396ad7e225ed217047", - strip_prefix = "wasmtime-environ-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-1.0.1.bazel"), + sha256 = "55240389c604f68d2e1d2573d7d3740246ab9ea2fa4fe79e10ccd51faf9b9500", + strip_prefix = "wasmtime-environ-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-2.0.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit/1.0.1/download", + name = "wasmtime__wasmtime_jit__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime-jit/2.0.0/download", type = "tar.gz", - sha256 = "9028fb63a54185b3c192b7500ef8039c7bb8d7f62bfc9e7c258483a33a3d13bb", - strip_prefix = "wasmtime-jit-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-1.0.1.bazel"), + sha256 = "bc15e285b7073ee566e62ea4b6dd38b80465ade0ea8cd4cee13c7ac2e295cfca", + strip_prefix = "wasmtime-jit-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-2.0.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/1.0.1/download", + name = "wasmtime__wasmtime_jit_debug__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/2.0.0/download", type = "tar.gz", - sha256 = "25e82d4ef93296785de7efca92f7679dc67fe68a13b625a5ecc8d7503b377a37", - strip_prefix = "wasmtime-jit-debug-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-1.0.1.bazel"), + sha256 = "bee06d206bcf7a875eacd1e1e957c2a63f64a92934d2535dd8e15cde6d3a9ffe", + strip_prefix = "wasmtime-jit-debug-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-2.0.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/1.0.1/download", + name = "wasmtime__wasmtime_runtime__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/2.0.0/download", type = "tar.gz", - sha256 = "9f0e9bea7d517d114fe66b930b2124ee086516ee93eeebfd97f75f366c5b0553", - strip_prefix = "wasmtime-runtime-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-1.0.1.bazel"), + sha256 = "9969ff36cbf57f18c2d24679db57d0857ea7cc7d839534afc26ecc8003e9914b", + strip_prefix = "wasmtime-runtime-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-2.0.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__1_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-types/1.0.1/download", + name = "wasmtime__wasmtime_types__2_0_0", + url = "https://crates.io/api/v1/crates/wasmtime-types/2.0.0/download", type = "tar.gz", - sha256 = "69b83e93ed41b8fdc936244cfd5e455480cf1eca1fd60c78a0040038b4ce5075", - strip_prefix = "wasmtime-types-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-1.0.1.bazel"), + sha256 = "df64c737fc9b3cdf7617bcc65e8b97cb713ceb9c9c58530b20788a8a3482b5d1", + strip_prefix = "wasmtime-types-2.0.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-2.0.0.bazel"), ) maybe( diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.0.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.0.bazel index 46a1949b8..f827ae914 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.0.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.0.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.0.bazel index b6c31f175..c4739164f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.0.bazel @@ -58,11 +58,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.88.1", + version = "0.89.0", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_88_1//:cranelift_codegen_meta", - "@wasmtime__cranelift_isle__0_88_1//:cranelift_isle", + "@wasmtime__cranelift_codegen_meta__0_89_0//:cranelift_codegen_meta", + "@wasmtime__cranelift_isle__0_89_0//:cranelift_isle", ], ) @@ -88,18 +88,18 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", "@wasmtime__arrayvec__0_7_2//:arrayvec", "@wasmtime__bumpalo__3_11_1//:bumpalo", - "@wasmtime__cranelift_bforest__0_88_1//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_88_1//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", + "@wasmtime__cranelift_bforest__0_89_0//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_89_0//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regalloc2__0_3_2//:regalloc2", + "@wasmtime__regalloc2__0_4_1//:regalloc2", "@wasmtime__smallvec__1_10_0//:smallvec", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.0.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.0.bazel index 841e887cc..af4062f00 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.0.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_88_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_89_0//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.0.bazel index a72812ff9..343290887 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.0.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.0.bazel index 68f111f9b..61a9850e9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.0.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ "@wasmtime__serde__1_0_147//:serde", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.0.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.0.bazel index 5a851151b..804b82d2d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.0.bazel @@ -49,10 +49,10 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_10_0//:smallvec", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.0.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.0.bazel index db637a955..81b590ec2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.0.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.88.1", + version = "0.89.0", visibility = ["//visibility:private"], deps = [ ], @@ -78,10 +78,11 @@ rust_library( "crate-name=cranelift-isle", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ ":cranelift_isle_build_script", + "@wasmtime__rayon__1_5_3//:rayon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.0.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.0.bazel index f026dceae..b45ab3da2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.0.bazel @@ -51,10 +51,10 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", ] + selects.with_or({ # cfg(target_arch = "s390x") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.88.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.0.bazel similarity index 79% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.88.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.0.bazel index 3f377e198..88f54e925 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.88.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.0.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.88.1", + version = "0.89.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_88_1//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_89_0//:cranelift_frontend", "@wasmtime__itertools__0_10_5//:itertools", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__wasmparser__0_89_1//:wasmparser", - "@wasmtime__wasmtime_types__1_0_1//:wasmtime_types", + "@wasmtime__wasmparser__0_92_0//:wasmparser", + "@wasmtime__wasmtime_types__2_0_0//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel new file mode 100644 index 000000000..acc36b2bd --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel @@ -0,0 +1,95 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "crossbeam" with type "bench" omitted + +# Unsupported target "fibonacci" with type "example" omitted + +# Unsupported target "matching" with type "example" omitted + +# Unsupported target "stopwatch" with type "example" omitted + +rust_library( + name = "crossbeam_channel", + srcs = glob(["**/*.rs"]), + crate_features = [ + "crossbeam-utils", + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=crossbeam-channel", + "manual", + ], + version = "0.5.6", + # buildifier: leave-alone + deps = [ + "@wasmtime__cfg_if__1_0_0//:cfg_if", + "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", + ], +) + +# Unsupported target "after" with type "test" omitted + +# Unsupported target "array" with type "test" omitted + +# Unsupported target "golang" with type "test" omitted + +# Unsupported target "iter" with type "test" omitted + +# Unsupported target "list" with type "test" omitted + +# Unsupported target "mpsc" with type "test" omitted + +# Unsupported target "never" with type "test" omitted + +# Unsupported target "ready" with type "test" omitted + +# Unsupported target "same_channel" with type "test" omitted + +# Unsupported target "select" with type "test" omitted + +# Unsupported target "select_macro" with type "test" omitted + +# Unsupported target "thread_locals" with type "test" omitted + +# Unsupported target "tick" with type "test" omitted + +# Unsupported target "zero" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-deque-0.8.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-deque-0.8.2.bazel new file mode 100644 index 000000000..84628cb82 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-deque-0.8.2.bazel @@ -0,0 +1,69 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "crossbeam_deque", + srcs = glob(["**/*.rs"]), + crate_features = [ + "crossbeam-epoch", + "crossbeam-utils", + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=crossbeam-deque", + "manual", + ], + version = "0.8.2", + # buildifier: leave-alone + deps = [ + "@wasmtime__cfg_if__1_0_0//:cfg_if", + "@wasmtime__crossbeam_epoch__0_9_11//:crossbeam_epoch", + "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", + ], +) + +# Unsupported target "fifo" with type "test" omitted + +# Unsupported target "injector" with type "test" omitted + +# Unsupported target "lifo" with type "test" omitted + +# Unsupported target "steal" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel new file mode 100644 index 000000000..976b8d026 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel @@ -0,0 +1,103 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "crossbeam_epoch_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "alloc", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.9.11", + visibility = ["//visibility:private"], + deps = [ + "@wasmtime__autocfg__1_1_0//:autocfg", + ], +) + +# Unsupported target "defer" with type "bench" omitted + +# Unsupported target "flush" with type "bench" omitted + +# Unsupported target "pin" with type "bench" omitted + +# Unsupported target "sanitize" with type "example" omitted + +rust_library( + name = "crossbeam_epoch", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=crossbeam-epoch", + "manual", + ], + version = "0.9.11", + # buildifier: leave-alone + deps = [ + ":crossbeam_epoch_build_script", + "@wasmtime__cfg_if__1_0_0//:cfg_if", + "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", + "@wasmtime__memoffset__0_6_5//:memoffset", + "@wasmtime__scopeguard__1_1_0//:scopeguard", + ], +) + +# Unsupported target "loom" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-utils-0.8.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-utils-0.8.12.bazel new file mode 100644 index 000000000..4a6d4c685 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-utils-0.8.12.bazel @@ -0,0 +1,103 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "crossbeam_utils_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.12", + visibility = ["//visibility:private"], + deps = [ + ], +) + +# Unsupported target "atomic_cell" with type "bench" omitted + +rust_library( + name = "crossbeam_utils", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=crossbeam-utils", + "manual", + ], + version = "0.8.12", + # buildifier: leave-alone + deps = [ + ":crossbeam_utils_build_script", + "@wasmtime__cfg_if__1_0_0//:cfg_if", + ], +) + +# Unsupported target "atomic_cell" with type "test" omitted + +# Unsupported target "cache_padded" with type "test" omitted + +# Unsupported target "parker" with type "test" omitted + +# Unsupported target "sharded_lock" with type "test" omitted + +# Unsupported target "thread" with type "test" omitted + +# Unsupported target "wait_group" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel new file mode 100644 index 000000000..8898207f5 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel @@ -0,0 +1,83 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "values" with type "example" omitted + +rust_library( + name = "num_cpus", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=num_cpus", + "manual", + ], + version = "1.13.1", + # buildifier: leave-alone + deps = [ + ] + selects.with_or({ + # cfg(not(windows)) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + "@wasmtime__libc__0_2_137//:libc", + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel new file mode 100644 index 000000000..ffc50f2e6 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel @@ -0,0 +1,118 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "rayon_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.5.3", + visibility = ["//visibility:private"], + deps = [ + "@wasmtime__autocfg__1_1_0//:autocfg", + ], +) + +# Unsupported target "cpu_monitor" with type "example" omitted + +rust_library( + name = "rayon", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=rayon", + "manual", + ], + version = "1.5.3", + # buildifier: leave-alone + deps = [ + ":rayon_build_script", + "@wasmtime__crossbeam_deque__0_8_2//:crossbeam_deque", + "@wasmtime__either__1_8_0//:either", + "@wasmtime__rayon_core__1_9_3//:rayon_core", + ], +) + +# Unsupported target "chars" with type "test" omitted + +# Unsupported target "clones" with type "test" omitted + +# Unsupported target "collect" with type "test" omitted + +# Unsupported target "cross-pool" with type "test" omitted + +# Unsupported target "debug" with type "test" omitted + +# Unsupported target "intersperse" with type "test" omitted + +# Unsupported target "issue671" with type "test" omitted + +# Unsupported target "issue671-unzip" with type "test" omitted + +# Unsupported target "iter_panic" with type "test" omitted + +# Unsupported target "named-threads" with type "test" omitted + +# Unsupported target "octillion" with type "test" omitted + +# Unsupported target "producer_split_at" with type "test" omitted + +# Unsupported target "sort-panic-safe" with type "test" omitted + +# Unsupported target "str" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel new file mode 100644 index 000000000..3ba1a872d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel @@ -0,0 +1,101 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "rayon_core_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + links = "rayon-core", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.9.3", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "rayon_core", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=rayon-core", + "manual", + ], + version = "1.9.3", + # buildifier: leave-alone + deps = [ + ":rayon_core_build_script", + "@wasmtime__crossbeam_channel__0_5_6//:crossbeam_channel", + "@wasmtime__crossbeam_deque__0_8_2//:crossbeam_deque", + "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", + "@wasmtime__num_cpus__1_13_1//:num_cpus", + ], +) + +# Unsupported target "double_init_fail" with type "test" omitted + +# Unsupported target "init_zero_threads" with type "test" omitted + +# Unsupported target "scope_join" with type "test" omitted + +# Unsupported target "scoped_threadpool" with type "test" omitted + +# Unsupported target "simple_panic" with type "test" omitted + +# Unsupported target "stack_overflow_crash" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.1.bazel index 54f6a85c1..0ecc1045d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.1.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=regalloc2", "manual", ], - version = "0.3.2", + version = "0.4.1", # buildifier: leave-alone deps = [ "@wasmtime__fxhash__0_2_1//:fxhash", diff --git a/bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel new file mode 100644 index 000000000..7b2581e74 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel @@ -0,0 +1,56 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "readme" with type "example" omitted + +rust_library( + name = "scopeguard", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=scopeguard", + "manual", + ], + version = "1.1.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel index 66f5032e4..a5ff1f07e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel @@ -37,6 +37,7 @@ rust_library( name = "smallvec", srcs = glob(["**/*.rs"]), crate_features = [ + "union", ], crate_root = "src/lib.rs", data = [], diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel index e617fce82..b8857c7fc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel @@ -43,7 +43,6 @@ cargo_build_script( build_script_env = { }, crate_features = [ - "default", ], crate_root = "build.rs", data = glob(["**"]), @@ -69,7 +68,6 @@ rust_library( name = "target_lexicon", srcs = glob(["**/*.rs"]), crate_features = [ - "default", ], crate_root = "src/lib.rs", data = [], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.89.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.89.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel index 4e5a56f14..d38aad0af 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.89.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel @@ -51,7 +51,7 @@ rust_library( "crate-name=wasmparser", "manual", ], - version = "0.89.1", + version = "0.92.0", # buildifier: leave-alone deps = [ "@wasmtime__indexmap__1_9_1//:indexmap", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.0.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.0.bazel index 4f1ffad3c..249f642a1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.0.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.1", + version = "2.0.0", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -92,7 +92,7 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ ":wasmtime_build_script", @@ -107,11 +107,11 @@ rust_library( "@wasmtime__psm__0_1_21//:psm", "@wasmtime__serde__1_0_147//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", - "@wasmtime__wasmparser__0_89_1//:wasmparser", - "@wasmtime__wasmtime_cranelift__1_0_1//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit__1_0_1//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__1_0_1//:wasmtime_runtime", + "@wasmtime__wasmparser__0_92_0//:wasmparser", + "@wasmtime__wasmtime_cranelift__2_0_0//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", + "@wasmtime__wasmtime_jit__2_0_0//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__2_0_0//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.0.bazel index 4bfabe328..3323015dd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.0.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=wasmtime-asm-macros", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.0.bazel similarity index 74% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.0.bazel index c256f9b4d..c9ac3cdc8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.0.bazel @@ -47,21 +47,21 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_66//:anyhow", - "@wasmtime__cranelift_codegen__0_88_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_88_1//:cranelift_frontend", - "@wasmtime__cranelift_native__0_88_1//:cranelift_native", - "@wasmtime__cranelift_wasm__0_88_1//:cranelift_wasm", + "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_89_0//:cranelift_frontend", + "@wasmtime__cranelift_native__0_89_0//:cranelift_native", + "@wasmtime__cranelift_wasm__0_89_0//:cranelift_wasm", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_29_0//:object", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmparser__0_89_1//:wasmparser", - "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", + "@wasmtime__wasmparser__0_92_0//:wasmparser", + "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.0.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.0.bazel index e1d4a419f..71d5f5afd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.0.bazel @@ -49,11 +49,11 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_66//:anyhow", - "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__indexmap__1_9_1//:indexmap", "@wasmtime__log__0_4_17//:log", @@ -61,7 +61,7 @@ rust_library( "@wasmtime__serde__1_0_147//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmparser__0_89_1//:wasmparser", - "@wasmtime__wasmtime_types__1_0_1//:wasmtime_types", + "@wasmtime__wasmparser__0_92_0//:wasmparser", + "@wasmtime__wasmtime_types__2_0_0//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.0.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.0.bazel index 5090f08d7..62c01e9ae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.0.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ "@wasmtime__addr2line__0_17_0//:addr2line", @@ -64,8 +64,8 @@ rust_library( "@wasmtime__serde__1_0_147//:serde", "@wasmtime__target_lexicon__0_12_4//:target_lexicon", "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__1_0_1//:wasmtime_runtime", + "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", + "@wasmtime__wasmtime_runtime__2_0_0//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "linux") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.0.bazel index 083ccc090..8e94de7da 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.0.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ "@wasmtime__once_cell__1_15_0//:once_cell", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.0.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.0.bazel index 622c36567..290a50237 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.1", + version = "2.0.0", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_73//:cc", @@ -122,7 +122,7 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", @@ -134,9 +134,9 @@ rust_library( "@wasmtime__memoffset__0_6_5//:memoffset", "@wasmtime__rand__0_8_5//:rand", "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmtime_asm_macros__1_0_1//:wasmtime_asm_macros", - "@wasmtime__wasmtime_environ__1_0_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__1_0_1//:wasmtime_jit_debug", + "@wasmtime__wasmtime_asm_macros__2_0_0//:wasmtime_asm_macros", + "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__2_0_0//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.0.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-1.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.0.bazel index 126c01c6f..862142e98 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.0.bazel @@ -47,12 +47,12 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "1.0.1", + version = "2.0.0", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_88_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", "@wasmtime__serde__1_0_147//:serde", "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmparser__0_89_1//:wasmparser", + "@wasmtime__wasmparser__0_92_0//:wasmparser", ], ) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 15032f40b..2d5bb9e1a 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -192,9 +192,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "41e8d4916229f613e647bd20b6c1def0d04719c2bc0534bc29e3ba0cac317200", - strip_prefix = "wasmtime-1.0.1", - url = "https://github.com/bytecodealliance/wasmtime/archive/v1.0.1.tar.gz", + sha256 = "5c1b721614196865a949c612851401073ef6aed9820172113c935e48ac6bcd62", + strip_prefix = "wasmtime-2.0.0", + url = "https://github.com/bytecodealliance/wasmtime/archive/v2.0.0.tar.gz", ) maybe( From d73a0246dcb8d3f68175fd83fbe636d452ab748c Mon Sep 17 00:00:00 2001 From: Yi-Ying He Date: Sat, 19 Nov 2022 05:22:55 +0800 Subject: [PATCH 29/90] wasmedge: update to v0.11.2. (#318) Signed-off-by: YiYing He --- .github/workflows/test.yml | 6 ++++++ BUILD | 13 +++++++++---- bazel/external/wasmedge.BUILD | 2 +- bazel/repositories.bzl | 6 +++--- src/wasmedge/wasmedge.cc | 4 ++-- 5 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ed6ca714..bee94b318 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -187,6 +187,12 @@ jobs: arch: x86_64 action: test flags: --config=clang + - name: 'WasmEdge on macOS/x86_64' + engine: 'wasmedge' + repo: 'com_github_wasmedge_wasmedge' + os: macos-11 + arch: x86_64 + action: test - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' diff --git a/BUILD b/BUILD index 46edf1d1c..8d7c5b915 100644 --- a/BUILD +++ b/BUILD @@ -150,10 +150,15 @@ cc_library( "PROXY_WASM_HAS_RUNTIME_WASMEDGE", "PROXY_WASM_HOST_ENGINE_WASMEDGE", ], - linkopts = [ - "-lrt", - "-ldl", - ], + linkopts = select({ + "@platforms//os:macos": [ + "-ldl", + ], + "//conditions:default": [ + "-lrt", + "-ldl", + ], + }), deps = [ ":wasm_vm_headers", "//external:wasmedge", diff --git a/bazel/external/wasmedge.BUILD b/bazel/external/wasmedge.BUILD index 9887a4280..1869bf969 100644 --- a/bazel/external/wasmedge.BUILD +++ b/bazel/external/wasmedge.BUILD @@ -20,5 +20,5 @@ cmake( }, generate_args = ["-GNinja"], lib_source = ":srcs", - out_static_libs = ["libwasmedge_c.a"], + out_static_libs = ["libwasmedge.a"], ) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 2d5bb9e1a..1299ce960 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -176,9 +176,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_wasmedge_wasmedge", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmedge.BUILD", - sha256 = "4cff44e8c805ed4364d326ff1dd40e3aeb21ba1a11388372386eea1ccc7f93dd", - strip_prefix = "WasmEdge-proxy-wasm-0.10.0", - url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.10.0.tar.gz", + sha256 = "65d95e5f83d25ab09fa9a29369f578838e8a519fb170704d0f5896187364429b", + strip_prefix = "WasmEdge-proxy-wasm-0.11.2", + url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.11.2.tar.gz", ) native.bind( diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc index 89813096f..38b8a9c9c 100644 --- a/src/wasmedge/wasmedge.cc +++ b/src/wasmedge/wasmedge.cc @@ -417,7 +417,7 @@ void WasmEdge::registerHostFunctionImpl(std::string_view module_name, auto *func_type = newWasmEdgeFuncType>(); data->vm_ = this; data->raw_func_ = reinterpret_cast(function); - data->callback_ = [](void *data, WasmEdge_MemoryInstanceContext * /*MemCxt*/, + data->callback_ = [](void *data, const WasmEdge_CallingFrameContext * /*CallFrameCxt*/, const WasmEdge_Value *Params, WasmEdge_Value * /*Returns*/) -> WasmEdge_Result { auto *func_data = reinterpret_cast(data); @@ -464,7 +464,7 @@ void WasmEdge::registerHostFunctionImpl(std::string_view module_name, auto *func_type = newWasmEdgeFuncType>(); data->vm_ = this; data->raw_func_ = reinterpret_cast(function); - data->callback_ = [](void *data, WasmEdge_MemoryInstanceContext * /*MemCxt*/, + data->callback_ = [](void *data, const WasmEdge_CallingFrameContext * /*CallFrameCxt*/, const WasmEdge_Value *Params, WasmEdge_Value *Returns) -> WasmEdge_Result { auto *func_data = reinterpret_cast(data); const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace); From 946c232195692baa543ede7049c4b3ed400a9e77 Mon Sep 17 00:00:00 2001 From: phlax Date: Mon, 21 Nov 2022 21:16:28 +0000 Subject: [PATCH 30/90] Add license headers to BUILD files. (#320) Signed-off-by: Ryan Northey --- BUILD | 14 ++++++++++++++ bazel/BUILD | 14 ++++++++++++++ bazel/external/BUILD | 13 +++++++++++++ test/BUILD | 14 ++++++++++++++ test/fuzz/BUILD | 14 ++++++++++++++ test/test_data/BUILD | 14 ++++++++++++++ 6 files changed, 83 insertions(+) diff --git a/BUILD b/BUILD index 8d7c5b915..69c9bdae5 100644 --- a/BUILD +++ b/BUILD @@ -1,3 +1,17 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_cc//cc:defs.bzl", "cc_library") load( "@proxy_wasm_cpp_host//bazel:select.bzl", diff --git a/bazel/BUILD b/bazel/BUILD index 39f25a630..4a83aa444 100644 --- a/bazel/BUILD +++ b/bazel/BUILD @@ -1,3 +1,17 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@bazel_skylib//lib:selects.bzl", "selects") package(default_visibility = ["//visibility:public"]) diff --git a/bazel/external/BUILD b/bazel/external/BUILD index e69de29bb..6d6d1266c 100644 --- a/bazel/external/BUILD +++ b/bazel/external/BUILD @@ -0,0 +1,13 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/test/BUILD b/test/BUILD index aa99c0f35..a922bbfbc 100644 --- a/test/BUILD +++ b/test/BUILD @@ -1,3 +1,17 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@proxy_wasm_cpp_host//bazel:select.bzl", "proxy_wasm_select_engine_null") load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") diff --git a/test/fuzz/BUILD b/test/fuzz/BUILD index 4c069bcf1..71b099007 100644 --- a/test/fuzz/BUILD +++ b/test/fuzz/BUILD @@ -1,3 +1,17 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test") licenses(["notice"]) # Apache 2 diff --git a/test/test_data/BUILD b/test/test_data/BUILD index 38612ca15..d730b4bfc 100644 --- a/test/test_data/BUILD +++ b/test/test_data/BUILD @@ -1,3 +1,17 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@proxy_wasm_cpp_host//bazel:wasm.bzl", "wasm_rust_binary") load("@proxy_wasm_cpp_sdk//bazel:defs.bzl", "proxy_wasm_cc_binary") From 624ef2edac2cdc086e0339f36b32ef1a2ed7e270 Mon Sep 17 00:00:00 2001 From: phlax Date: Tue, 22 Nov 2022 19:26:02 +0000 Subject: [PATCH 31/90] wasmtime: update to v2.0.2. (#319) Signed-off-by: Ryan Northey --- bazel/cargo/wasmtime/BUILD.bazel | 6 +- bazel/cargo/wasmtime/Cargo.raze.lock | 277 +++++------ bazel/cargo/wasmtime/Cargo.toml | 8 +- bazel/cargo/wasmtime/crates.bzl | 442 +++++++++--------- .../wasmtime/remote/BUILD.ahash-0.7.6.bazel | 2 +- ....cc-1.0.73.bazel => BUILD.cc-1.0.77.bazel} | 4 +- ...l => BUILD.cranelift-bforest-0.89.2.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.89.2.bazel} | 18 +- ...BUILD.cranelift-codegen-meta-0.89.2.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.89.2.bazel} | 2 +- ...el => BUILD.cranelift-entity-0.89.2.bazel} | 2 +- ... => BUILD.cranelift-frontend-0.89.2.bazel} | 6 +- ...azel => BUILD.cranelift-isle-0.89.2.bazel} | 5 +- ...el => BUILD.cranelift-native-0.89.2.bazel} | 6 +- ...azel => BUILD.cranelift-wasm-0.89.2.bazel} | 10 +- .../BUILD.crossbeam-channel-0.5.6.bazel | 95 ---- .../remote/BUILD.crossbeam-epoch-0.9.11.bazel | 103 ---- ...9.1.bazel => BUILD.env_logger-0.9.3.bazel} | 4 +- .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 2 +- .../wasmtime/remote/BUILD.gimli-0.26.2.bazel | 2 +- ...1.9.1.bazel => BUILD.indexmap-1.9.2.bazel} | 4 +- ...4.bazel => BUILD.io-lifetimes-0.7.5.bazel} | 4 +- .../remote/BUILD.num_cpus-1.13.1.bazel | 83 ---- .../wasmtime/remote/BUILD.object-0.29.0.bazel | 2 +- ...5.0.bazel => BUILD.once_cell-1.16.0.bazel} | 2 +- ...16.bazel => BUILD.ppv-lite86-0.2.17.bazel} | 2 +- .../wasmtime/remote/BUILD.psm-0.1.21.bazel | 2 +- .../remote/BUILD.rand_chacha-0.3.1.bazel | 2 +- .../wasmtime/remote/BUILD.rayon-1.5.3.bazel | 118 ----- .../remote/BUILD.rayon-core-1.9.3.bazel | 101 ---- ....4.1.bazel => BUILD.regalloc2-0.4.2.bazel} | 2 +- ...ex-1.6.0.bazel => BUILD.regex-1.7.0.bazel} | 4 +- ....bazel => BUILD.regex-syntax-0.6.28.bazel} | 2 +- ...35.12.bazel => BUILD.rustix-0.35.13.bazel} | 10 +- .../remote/BUILD.scopeguard-1.1.0.bazel | 56 --- ...azel => BUILD.target-lexicon-0.12.5.bazel} | 4 +- .../remote/BUILD.wasmparser-0.92.0.bazel | 2 +- ...2.0.0.bazel => BUILD.wasmtime-2.0.2.bazel} | 18 +- ... => BUILD.wasmtime-asm-macros-2.0.2.bazel} | 2 +- ...l => BUILD.wasmtime-cranelift-2.0.2.bazel} | 16 +- ...zel => BUILD.wasmtime-environ-2.0.2.bazel} | 10 +- ...0.bazel => BUILD.wasmtime-jit-2.0.2.bazel} | 10 +- ...l => BUILD.wasmtime-jit-debug-2.0.2.bazel} | 4 +- ...zel => BUILD.wasmtime-runtime-2.0.2.bazel} | 16 +- ...bazel => BUILD.wasmtime-types-2.0.2.bazel} | 4 +- .../remote/BUILD.windows-sys-0.36.1.bazel | 5 - ...2.bazel => BUILD.windows-sys-0.42.0.bazel} | 48 +- ...UILD.windows_aarch64_gnullvm-0.42.0.bazel} | 31 +- .../BUILD.windows_aarch64_msvc-0.42.0.bazel | 84 ++++ .../BUILD.windows_i686_gnu-0.42.0.bazel | 84 ++++ .../BUILD.windows_i686_msvc-0.42.0.bazel | 84 ++++ .../BUILD.windows_x86_64_gnu-0.42.0.bazel | 84 ++++ .../BUILD.windows_x86_64_gnullvm-0.42.0.bazel | 84 ++++ .../BUILD.windows_x86_64_msvc-0.42.0.bazel | 84 ++++ bazel/repositories.bzl | 6 +- 55 files changed, 991 insertions(+), 1085 deletions(-) rename bazel/cargo/wasmtime/remote/{BUILD.cc-1.0.73.bazel => BUILD.cc-1.0.77.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.89.0.bazel => BUILD.cranelift-bforest-0.89.2.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.89.0.bazel => BUILD.cranelift-codegen-0.89.2.bazel} (81%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.89.0.bazel => BUILD.cranelift-codegen-meta-0.89.2.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.89.0.bazel => BUILD.cranelift-codegen-shared-0.89.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.89.0.bazel => BUILD.cranelift-entity-0.89.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.89.0.bazel => BUILD.cranelift-frontend-0.89.2.bazel} (88%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-isle-0.89.0.bazel => BUILD.cranelift-isle-0.89.2.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.89.0.bazel => BUILD.cranelift-native-0.89.2.bazel} (90%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.89.0.bazel => BUILD.cranelift-wasm-0.89.2.bazel} (83%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel rename bazel/cargo/wasmtime/remote/{BUILD.env_logger-0.9.1.bazel => BUILD.env_logger-0.9.3.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.indexmap-1.9.1.bazel => BUILD.indexmap-1.9.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.io-lifetimes-0.7.4.bazel => BUILD.io-lifetimes-0.7.5.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.once_cell-1.15.0.bazel => BUILD.once_cell-1.16.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.ppv-lite86-0.2.16.bazel => BUILD.ppv-lite86-0.2.17.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.regalloc2-0.4.1.bazel => BUILD.regalloc2-0.4.2.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.regex-1.6.0.bazel => BUILD.regex-1.7.0.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.regex-syntax-0.6.27.bazel => BUILD.regex-syntax-0.6.28.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.rustix-0.35.12.bazel => BUILD.rustix-0.35.13.bazel} (93%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.target-lexicon-0.12.4.bazel => BUILD.target-lexicon-0.12.5.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-2.0.0.bazel => BUILD.wasmtime-2.0.2.bazel} (86%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-asm-macros-2.0.0.bazel => BUILD.wasmtime-asm-macros-2.0.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-2.0.0.bazel => BUILD.wasmtime-cranelift-2.0.2.bazel} (74%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-2.0.0.bazel => BUILD.wasmtime-environ-2.0.2.bazel} (84%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-2.0.0.bazel => BUILD.wasmtime-jit-2.0.2.bazel} (90%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-2.0.0.bazel => BUILD.wasmtime-jit-debug-2.0.2.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-2.0.0.bazel => BUILD.wasmtime-runtime-2.0.2.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-2.0.0.bazel => BUILD.wasmtime-types-2.0.2.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.crossbeam-deque-0.8.2.bazel => BUILD.windows-sys-0.42.0.bazel} (52%) rename bazel/cargo/wasmtime/remote/{BUILD.crossbeam-utils-0.8.12.bazel => BUILD.windows_aarch64_gnullvm-0.42.0.bazel} (67%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index a239b0bb0..b06ef02d7 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -23,7 +23,7 @@ alias( alias( name = "env_logger", - actual = "@wasmtime__env_logger__0_9_1//:env_logger", + actual = "@wasmtime__env_logger__0_9_3//:env_logger", tags = [ "cargo-raze", "manual", @@ -32,7 +32,7 @@ alias( alias( name = "once_cell", - actual = "@wasmtime__once_cell__1_15_0//:once_cell", + actual = "@wasmtime__once_cell__1_16_0//:once_cell", tags = [ "cargo-raze", "manual", @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__2_0_0//:wasmtime", + actual = "@wasmtime__wasmtime__2_0_2//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index 871dc72f5..5c21f6d55 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -87,9 +87,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "cc" -version = "1.0.73" +version = "1.0.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" +checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4" [[package]] name = "cfg-if" @@ -108,18 +108,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be5e1ee4c22871d24a95196ea7047d58c1d978e46c88037d3d397b3b3e0af360" +checksum = "593b398dd0c5b1e2e3a9c3dae8584e287894ea84e361949ad506376e99196265" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f600a52d59eed56a85f33750873b3b42d61e35ca777cd792369893f9e1f9dd" +checksum = "afc0d8faabd099ea15ab33d49d150e5572c04cfeb95d675fd41286739b754629" dependencies = [ "arrayvec", "bumpalo", @@ -137,33 +137,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8418218d0953d73e9b96e9d9ffec56145efa4f18988251530b5872ae4410563" +checksum = "1ac1669e42579476f001571d6ba4b825fac686282c97b88b18f8e34242066a81" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f01be0cfd40aba59153236ab4b99062131b5bbe6f9f3d4bcb238bd2f96ff5262" +checksum = "e2a1b1eef9640ab72c1e7b583ac678083855a509da34b4b4378bd99954127c20" [[package]] name = "cranelift-entity" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddae4fec5d6859233ffa175b61d269443c473b3971a2c3e69008c8d3e83d5825" +checksum = "eea4e17c3791fd8134640b26242a9ddbd7c67db78f0bad98cb778bf563ef81a0" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cc3deb0df97748434cf9f7e404f1f5134f6a253fc9a6bca25c5cd6804c08d3" +checksum = "fca1474b5302348799656d43a40eacd716a3b46169405a3af812832c9edf77b4" dependencies = [ "cranelift-codegen", "log", @@ -173,18 +173,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc3bb54287de9c36ba354eb849fefb77b5e73955058745fd08f12cfdfa181866" -dependencies = [ - "rayon", -] +checksum = "77aa537f020ea43483100153278e7215d41695bdcef9eea6642d122675f64249" [[package]] name = "cranelift-native" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8c2a4f2efdce1de1f94e74f12b3b4144e3bcafa6011338b87388325d72d2120" +checksum = "8bdc6b65241a95b7d8eafbf4e114c082e49b80162a2dcd9c6bcc5989c3310c9e" dependencies = [ "cranelift-codegen", "libc", @@ -193,9 +190,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.89.0" +version = "0.89.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f918c37eb01f5b5ccc632e0ef3b4bf9ee03b5d4c267d3d2d3b62720a6bce0180" +checksum = "4eb6359f606a1c80ccaa04fae9dbbb504615ec7a49b6c212b341080fff7a65dd" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -216,49 +213,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crossbeam-channel" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" -dependencies = [ - "cfg-if", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348" -dependencies = [ - "autocfg", - "cfg-if", - "crossbeam-utils", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac" -dependencies = [ - "cfg-if", -] - [[package]] name = "either" version = "1.8.0" @@ -267,9 +221,9 @@ checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "env_logger" -version = "0.9.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272" +checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" dependencies = [ "atty", "humantime", @@ -362,9 +316,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "indexmap" -version = "1.9.1" +version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" +checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", "hashbrown", @@ -373,9 +327,9 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e481ccbe3dea62107216d0d1138bb8ad8e5e5c43009a098bd1990272c497b0" +checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" [[package]] name = "itertools" @@ -431,16 +385,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "num_cpus" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" -dependencies = [ - "hermit-abi", - "libc", -] - [[package]] name = "object" version = "0.29.0" @@ -455,9 +399,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1" +checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" [[package]] name = "paste" @@ -467,9 +411,9 @@ checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1" [[package]] name = "ppv-lite86" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" @@ -528,35 +472,11 @@ dependencies = [ "getrandom", ] -[[package]] -name = "rayon" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d" -dependencies = [ - "autocfg", - "crossbeam-deque", - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - [[package]] name = "regalloc2" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69025b4a161879ba90719837c06621c3d73cffa147a000aeacf458f6a9572485" +checksum = "91b2eab54204ea0117fe9a060537e0b07a4e72f7c7d182361ecc346cab2240e5" dependencies = [ "fxhash", "log", @@ -566,9 +486,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" +checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" dependencies = [ "aho-corasick", "memchr", @@ -577,9 +497,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.27" +version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" +checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] name = "rustc-demangle" @@ -589,24 +509,18 @@ checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" [[package]] name = "rustix" -version = "0.35.12" +version = "0.35.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "985947f9b6423159c4726323f373be0a21bdb514c5af06a849cb3d2dce2d01e8" +checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" dependencies = [ "bitflags", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "windows-sys", + "windows-sys 0.42.0", ] -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - [[package]] name = "serde" version = "1.0.147" @@ -658,9 +572,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1" +checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d" [[package]] name = "termcolor" @@ -720,9 +634,9 @@ dependencies = [ [[package]] name = "wasmtime" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5fc5bb3329415030796cfa5530b2481ccef5c4f1e5150733ba94318ab004fe1" +checksum = "743d37c265fa134a76de653c7e66be22590eaccd03da13cee99f3ac7a59cb826" dependencies = [ "anyhow", "bincode", @@ -741,21 +655,21 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys", + "windows-sys 0.36.1", ] [[package]] name = "wasmtime-asm-macros" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db36545ff0940ad9bf4e9ab0ec2a4e1eaa5ebe2aa9227bcbc4af905375d9e482" +checksum = "de327cf46d5218315957138131ed904621e6f99018aa2da508c0dcf0c65f1bf2" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-c-api-bazel" -version = "2.0.0" +version = "2.0.2" dependencies = [ "anyhow", "env_logger", @@ -767,7 +681,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v2.0.0#ff8c568eeed3918a5d591295e9384e2b1e462aae" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v2.0.2#a528e0383e1177119a6c985dac1972513df11a03" dependencies = [ "proc-macro2", "quote", @@ -775,9 +689,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0409e93b5eceaa4e5f498a4bce1cffc7ebe071d14582b5437c10af4aecc23f54" +checksum = "017c3605ccce867b3ba7f71d95e5652acc22b9dc2971ad6a6f9df4a8d7af2648" dependencies = [ "anyhow", "cranelift-codegen", @@ -796,9 +710,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55240389c604f68d2e1d2573d7d3740246ab9ea2fa4fe79e10ccd51faf9b9500" +checksum = "6aec5c1f81aab9bb35997113c171b6bb9093afc90e3757c55e0c08dc9ac612e4" dependencies = [ "anyhow", "cranelift-entity", @@ -815,9 +729,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc15e285b7073ee566e62ea4b6dd38b80465ade0ea8cd4cee13c7ac2e295cfca" +checksum = "08c683893dbba3986aa71582a5332b87157fb95d34098de2e5f077c7f078726d" dependencies = [ "addr2line", "anyhow", @@ -834,23 +748,23 @@ dependencies = [ "thiserror", "wasmtime-environ", "wasmtime-runtime", - "windows-sys", + "windows-sys 0.36.1", ] [[package]] name = "wasmtime-jit-debug" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bee06d206bcf7a875eacd1e1e957c2a63f64a92934d2535dd8e15cde6d3a9ffe" +checksum = "b2f8f15a81292eec468c79a4f887a37a3d02eb0c610f34ddbec607d3e9022f18" dependencies = [ "once_cell", ] [[package]] name = "wasmtime-runtime" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9969ff36cbf57f18c2d24679db57d0857ea7cc7d839534afc26ecc8003e9914b" +checksum = "09af6238c962e8220424c815a7b1a9a6d0ba0694f0ab0ae12a6cda1923935a0d" dependencies = [ "anyhow", "cc", @@ -867,14 +781,14 @@ dependencies = [ "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys", + "windows-sys 0.36.1", ] [[package]] name = "wasmtime-types" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df64c737fc9b3cdf7617bcc65e8b97cb713ceb9c9c58530b20788a8a3482b5d1" +checksum = "5dc3dd9521815984b35d6362f79e6b9c72475027cd1c71c44eb8df8fbf33a9fb" dependencies = [ "cranelift-entity", "serde", @@ -919,39 +833,96 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", + "windows_aarch64_msvc 0.36.1", + "windows_i686_gnu 0.36.1", + "windows_i686_msvc 0.36.1", + "windows_x86_64_gnu 0.36.1", + "windows_x86_64_msvc 0.36.1", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc 0.42.0", + "windows_i686_gnu 0.42.0", + "windows_i686_msvc 0.42.0", + "windows_x86_64_gnu 0.42.0", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc 0.42.0", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" + [[package]] name = "windows_aarch64_msvc" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" + [[package]] name = "windows_i686_gnu" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +[[package]] +name = "windows_i686_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" + [[package]] name = "windows_i686_msvc" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +[[package]] +name = "windows_i686_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" + [[package]] name = "windows_x86_64_gnu" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" + [[package]] name = "windows_x86_64_msvc" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 8b5b4c47e..aeb869b3a 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2018" name = "wasmtime-c-api-bazel" -version = "2.0.0" +version = "2.0.2" [lib] path = "fake_lib.rs" @@ -10,8 +10,8 @@ path = "fake_lib.rs" env_logger = "0.9" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "2.0.0", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v2.0.0"} +wasmtime = {version = "2.0.2", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v2.0.2"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" @@ -37,5 +37,5 @@ additional_flags = [ "--cfg=feature=\\\"cc\\\"", ] buildrs_additional_deps = [ - "@wasmtime__cc__1_0_73//:cc", + "@wasmtime__cc__1_0_77//:cc", ] diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index b5fc80ebd..26949685a 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -129,12 +129,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cc__1_0_73", - url = "https://crates.io/api/v1/crates/cc/1.0.73/download", + name = "wasmtime__cc__1_0_77", + url = "https://crates.io/api/v1/crates/cc/1.0.77/download", type = "tar.gz", - sha256 = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11", - strip_prefix = "cc-1.0.73", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cc-1.0.73.bazel"), + sha256 = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4", + strip_prefix = "cc-1.0.77", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cc-1.0.77.bazel"), ) maybe( @@ -159,98 +159,98 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.89.0/download", + name = "wasmtime__cranelift_bforest__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.89.2/download", type = "tar.gz", - sha256 = "be5e1ee4c22871d24a95196ea7047d58c1d978e46c88037d3d397b3b3e0af360", - strip_prefix = "cranelift-bforest-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.89.0.bazel"), + sha256 = "593b398dd0c5b1e2e3a9c3dae8584e287894ea84e361949ad506376e99196265", + strip_prefix = "cranelift-bforest-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.89.0/download", + name = "wasmtime__cranelift_codegen__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.89.2/download", type = "tar.gz", - sha256 = "70f600a52d59eed56a85f33750873b3b42d61e35ca777cd792369893f9e1f9dd", - strip_prefix = "cranelift-codegen-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.89.0.bazel"), + sha256 = "afc0d8faabd099ea15ab33d49d150e5572c04cfeb95d675fd41286739b754629", + strip_prefix = "cranelift-codegen-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.89.0/download", + name = "wasmtime__cranelift_codegen_meta__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.89.2/download", type = "tar.gz", - sha256 = "e8418218d0953d73e9b96e9d9ffec56145efa4f18988251530b5872ae4410563", - strip_prefix = "cranelift-codegen-meta-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.89.0.bazel"), + sha256 = "1ac1669e42579476f001571d6ba4b825fac686282c97b88b18f8e34242066a81", + strip_prefix = "cranelift-codegen-meta-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.89.0/download", + name = "wasmtime__cranelift_codegen_shared__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.89.2/download", type = "tar.gz", - sha256 = "f01be0cfd40aba59153236ab4b99062131b5bbe6f9f3d4bcb238bd2f96ff5262", - strip_prefix = "cranelift-codegen-shared-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.89.0.bazel"), + sha256 = "e2a1b1eef9640ab72c1e7b583ac678083855a509da34b4b4378bd99954127c20", + strip_prefix = "cranelift-codegen-shared-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.89.0/download", + name = "wasmtime__cranelift_entity__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.89.2/download", type = "tar.gz", - sha256 = "ddae4fec5d6859233ffa175b61d269443c473b3971a2c3e69008c8d3e83d5825", - strip_prefix = "cranelift-entity-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.89.0.bazel"), + sha256 = "eea4e17c3791fd8134640b26242a9ddbd7c67db78f0bad98cb778bf563ef81a0", + strip_prefix = "cranelift-entity-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.89.0/download", + name = "wasmtime__cranelift_frontend__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.89.2/download", type = "tar.gz", - sha256 = "f2cc3deb0df97748434cf9f7e404f1f5134f6a253fc9a6bca25c5cd6804c08d3", - strip_prefix = "cranelift-frontend-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.89.0.bazel"), + sha256 = "fca1474b5302348799656d43a40eacd716a3b46169405a3af812832c9edf77b4", + strip_prefix = "cranelift-frontend-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_isle__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-isle/0.89.0/download", + name = "wasmtime__cranelift_isle__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-isle/0.89.2/download", type = "tar.gz", - sha256 = "fc3bb54287de9c36ba354eb849fefb77b5e73955058745fd08f12cfdfa181866", - strip_prefix = "cranelift-isle-0.89.0", + sha256 = "77aa537f020ea43483100153278e7215d41695bdcef9eea6642d122675f64249", + strip_prefix = "cranelift-isle-0.89.2", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", ], patch_args = [ "-p4", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.89.0.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-native/0.89.0/download", + name = "wasmtime__cranelift_native__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-native/0.89.2/download", type = "tar.gz", - sha256 = "d8c2a4f2efdce1de1f94e74f12b3b4144e3bcafa6011338b87388325d72d2120", - strip_prefix = "cranelift-native-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.89.0.bazel"), + sha256 = "8bdc6b65241a95b7d8eafbf4e114c082e49b80162a2dcd9c6bcc5989c3310c9e", + strip_prefix = "cranelift-native-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.89.2.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_89_0", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.89.0/download", + name = "wasmtime__cranelift_wasm__0_89_2", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.89.2/download", type = "tar.gz", - sha256 = "f918c37eb01f5b5ccc632e0ef3b4bf9ee03b5d4c267d3d2d3b62720a6bce0180", - strip_prefix = "cranelift-wasm-0.89.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.89.0.bazel"), + sha256 = "4eb6359f606a1c80ccaa04fae9dbbb504615ec7a49b6c212b341080fff7a65dd", + strip_prefix = "cranelift-wasm-0.89.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.89.2.bazel"), ) maybe( @@ -263,46 +263,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.3.2.bazel"), ) - maybe( - http_archive, - name = "wasmtime__crossbeam_channel__0_5_6", - url = "https://crates.io/api/v1/crates/crossbeam-channel/0.5.6/download", - type = "tar.gz", - sha256 = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521", - strip_prefix = "crossbeam-channel-0.5.6", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-channel-0.5.6.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__crossbeam_deque__0_8_2", - url = "https://crates.io/api/v1/crates/crossbeam-deque/0.8.2/download", - type = "tar.gz", - sha256 = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc", - strip_prefix = "crossbeam-deque-0.8.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-deque-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__crossbeam_epoch__0_9_11", - url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.9.11/download", - type = "tar.gz", - sha256 = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348", - strip_prefix = "crossbeam-epoch-0.9.11", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-epoch-0.9.11.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__crossbeam_utils__0_8_12", - url = "https://crates.io/api/v1/crates/crossbeam-utils/0.8.12/download", - type = "tar.gz", - sha256 = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac", - strip_prefix = "crossbeam-utils-0.8.12", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crossbeam-utils-0.8.12.bazel"), - ) - maybe( http_archive, name = "wasmtime__either__1_8_0", @@ -315,12 +275,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__env_logger__0_9_1", - url = "https://crates.io/api/v1/crates/env_logger/0.9.1/download", + name = "wasmtime__env_logger__0_9_3", + url = "https://crates.io/api/v1/crates/env_logger/0.9.3/download", type = "tar.gz", - sha256 = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272", - strip_prefix = "env_logger-0.9.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.9.1.bazel"), + sha256 = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7", + strip_prefix = "env_logger-0.9.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.9.3.bazel"), ) maybe( @@ -415,22 +375,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__indexmap__1_9_1", - url = "https://crates.io/api/v1/crates/indexmap/1.9.1/download", + name = "wasmtime__indexmap__1_9_2", + url = "https://crates.io/api/v1/crates/indexmap/1.9.2/download", type = "tar.gz", - sha256 = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e", - strip_prefix = "indexmap-1.9.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.1.bazel"), + sha256 = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399", + strip_prefix = "indexmap-1.9.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.2.bazel"), ) maybe( http_archive, - name = "wasmtime__io_lifetimes__0_7_4", - url = "https://crates.io/api/v1/crates/io-lifetimes/0.7.4/download", + name = "wasmtime__io_lifetimes__0_7_5", + url = "https://crates.io/api/v1/crates/io-lifetimes/0.7.5/download", type = "tar.gz", - sha256 = "e6e481ccbe3dea62107216d0d1138bb8ad8e5e5c43009a098bd1990272c497b0", - strip_prefix = "io-lifetimes-0.7.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-0.7.4.bazel"), + sha256 = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074", + strip_prefix = "io-lifetimes-0.7.5", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-0.7.5.bazel"), ) maybe( @@ -503,16 +463,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.6.5.bazel"), ) - maybe( - http_archive, - name = "wasmtime__num_cpus__1_13_1", - url = "https://crates.io/api/v1/crates/num_cpus/1.13.1/download", - type = "tar.gz", - sha256 = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1", - strip_prefix = "num_cpus-1.13.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.num_cpus-1.13.1.bazel"), - ) - maybe( http_archive, name = "wasmtime__object__0_29_0", @@ -525,12 +475,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__once_cell__1_15_0", - url = "https://crates.io/api/v1/crates/once_cell/1.15.0/download", + name = "wasmtime__once_cell__1_16_0", + url = "https://crates.io/api/v1/crates/once_cell/1.16.0/download", type = "tar.gz", - sha256 = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1", - strip_prefix = "once_cell-1.15.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.15.0.bazel"), + sha256 = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860", + strip_prefix = "once_cell-1.16.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.16.0.bazel"), ) maybe( @@ -545,12 +495,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__ppv_lite86__0_2_16", - url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.16/download", + name = "wasmtime__ppv_lite86__0_2_17", + url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.17/download", type = "tar.gz", - sha256 = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872", - strip_prefix = "ppv-lite86-0.2.16", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ppv-lite86-0.2.16.bazel"), + sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de", + strip_prefix = "ppv-lite86-0.2.17", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ppv-lite86-0.2.17.bazel"), ) maybe( @@ -615,52 +565,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rayon__1_5_3", - url = "https://crates.io/api/v1/crates/rayon/1.5.3/download", - type = "tar.gz", - sha256 = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d", - strip_prefix = "rayon-1.5.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rayon-1.5.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__rayon_core__1_9_3", - url = "https://crates.io/api/v1/crates/rayon-core/1.9.3/download", + name = "wasmtime__regalloc2__0_4_2", + url = "https://crates.io/api/v1/crates/regalloc2/0.4.2/download", type = "tar.gz", - sha256 = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f", - strip_prefix = "rayon-core-1.9.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rayon-core-1.9.3.bazel"), + sha256 = "91b2eab54204ea0117fe9a060537e0b07a4e72f7c7d182361ecc346cab2240e5", + strip_prefix = "regalloc2-0.4.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.4.2.bazel"), ) maybe( http_archive, - name = "wasmtime__regalloc2__0_4_1", - url = "https://crates.io/api/v1/crates/regalloc2/0.4.1/download", + name = "wasmtime__regex__1_7_0", + url = "https://crates.io/api/v1/crates/regex/1.7.0/download", type = "tar.gz", - sha256 = "69025b4a161879ba90719837c06621c3d73cffa147a000aeacf458f6a9572485", - strip_prefix = "regalloc2-0.4.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.4.1.bazel"), + sha256 = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a", + strip_prefix = "regex-1.7.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.7.0.bazel"), ) maybe( http_archive, - name = "wasmtime__regex__1_6_0", - url = "https://crates.io/api/v1/crates/regex/1.6.0/download", + name = "wasmtime__regex_syntax__0_6_28", + url = "https://crates.io/api/v1/crates/regex-syntax/0.6.28/download", type = "tar.gz", - sha256 = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b", - strip_prefix = "regex-1.6.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.6.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__regex_syntax__0_6_27", - url = "https://crates.io/api/v1/crates/regex-syntax/0.6.27/download", - type = "tar.gz", - sha256 = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244", - strip_prefix = "regex-syntax-0.6.27", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.6.27.bazel"), + sha256 = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848", + strip_prefix = "regex-syntax-0.6.28", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.6.28.bazel"), ) maybe( @@ -675,22 +605,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rustix__0_35_12", - url = "https://crates.io/api/v1/crates/rustix/0.35.12/download", - type = "tar.gz", - sha256 = "985947f9b6423159c4726323f373be0a21bdb514c5af06a849cb3d2dce2d01e8", - strip_prefix = "rustix-0.35.12", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.35.12.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__scopeguard__1_1_0", - url = "https://crates.io/api/v1/crates/scopeguard/1.1.0/download", + name = "wasmtime__rustix__0_35_13", + url = "https://crates.io/api/v1/crates/rustix/0.35.13/download", type = "tar.gz", - sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd", - strip_prefix = "scopeguard-1.1.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.scopeguard-1.1.0.bazel"), + sha256 = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9", + strip_prefix = "rustix-0.35.13", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.35.13.bazel"), ) maybe( @@ -755,12 +675,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__target_lexicon__0_12_4", - url = "https://crates.io/api/v1/crates/target-lexicon/0.12.4/download", + name = "wasmtime__target_lexicon__0_12_5", + url = "https://crates.io/api/v1/crates/target-lexicon/0.12.5/download", type = "tar.gz", - sha256 = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1", - strip_prefix = "target-lexicon-0.12.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.4.bazel"), + sha256 = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d", + strip_prefix = "target-lexicon-0.12.5", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.5.bazel"), ) maybe( @@ -835,91 +755,91 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmtime__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime/2.0.0/download", + name = "wasmtime__wasmtime__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime/2.0.2/download", type = "tar.gz", - sha256 = "f5fc5bb3329415030796cfa5530b2481ccef5c4f1e5150733ba94318ab004fe1", - strip_prefix = "wasmtime-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-2.0.0.bazel"), + sha256 = "743d37c265fa134a76de653c7e66be22590eaccd03da13cee99f3ac7a59cb826", + strip_prefix = "wasmtime-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-2.0.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_asm_macros__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/2.0.0/download", + name = "wasmtime__wasmtime_asm_macros__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/2.0.2/download", type = "tar.gz", - sha256 = "db36545ff0940ad9bf4e9ab0ec2a4e1eaa5ebe2aa9227bcbc4af905375d9e482", - strip_prefix = "wasmtime-asm-macros-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-2.0.0.bazel"), + sha256 = "de327cf46d5218315957138131ed904621e6f99018aa2da508c0dcf0c65f1bf2", + strip_prefix = "wasmtime-asm-macros-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-2.0.2.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_19_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "ff8c568eeed3918a5d591295e9384e2b1e462aae", + commit = "a528e0383e1177119a6c985dac1972513df11a03", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/2.0.0/download", + name = "wasmtime__wasmtime_cranelift__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/2.0.2/download", type = "tar.gz", - sha256 = "0409e93b5eceaa4e5f498a4bce1cffc7ebe071d14582b5437c10af4aecc23f54", - strip_prefix = "wasmtime-cranelift-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-2.0.0.bazel"), + sha256 = "017c3605ccce867b3ba7f71d95e5652acc22b9dc2971ad6a6f9df4a8d7af2648", + strip_prefix = "wasmtime-cranelift-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-2.0.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime-environ/2.0.0/download", + name = "wasmtime__wasmtime_environ__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime-environ/2.0.2/download", type = "tar.gz", - sha256 = "55240389c604f68d2e1d2573d7d3740246ab9ea2fa4fe79e10ccd51faf9b9500", - strip_prefix = "wasmtime-environ-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-2.0.0.bazel"), + sha256 = "6aec5c1f81aab9bb35997113c171b6bb9093afc90e3757c55e0c08dc9ac612e4", + strip_prefix = "wasmtime-environ-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-2.0.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime-jit/2.0.0/download", + name = "wasmtime__wasmtime_jit__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime-jit/2.0.2/download", type = "tar.gz", - sha256 = "bc15e285b7073ee566e62ea4b6dd38b80465ade0ea8cd4cee13c7ac2e295cfca", - strip_prefix = "wasmtime-jit-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-2.0.0.bazel"), + sha256 = "08c683893dbba3986aa71582a5332b87157fb95d34098de2e5f077c7f078726d", + strip_prefix = "wasmtime-jit-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-2.0.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/2.0.0/download", + name = "wasmtime__wasmtime_jit_debug__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/2.0.2/download", type = "tar.gz", - sha256 = "bee06d206bcf7a875eacd1e1e957c2a63f64a92934d2535dd8e15cde6d3a9ffe", - strip_prefix = "wasmtime-jit-debug-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-2.0.0.bazel"), + sha256 = "b2f8f15a81292eec468c79a4f887a37a3d02eb0c610f34ddbec607d3e9022f18", + strip_prefix = "wasmtime-jit-debug-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-2.0.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/2.0.0/download", + name = "wasmtime__wasmtime_runtime__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/2.0.2/download", type = "tar.gz", - sha256 = "9969ff36cbf57f18c2d24679db57d0857ea7cc7d839534afc26ecc8003e9914b", - strip_prefix = "wasmtime-runtime-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-2.0.0.bazel"), + sha256 = "09af6238c962e8220424c815a7b1a9a6d0ba0694f0ab0ae12a6cda1923935a0d", + strip_prefix = "wasmtime-runtime-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-2.0.2.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__2_0_0", - url = "https://crates.io/api/v1/crates/wasmtime-types/2.0.0/download", + name = "wasmtime__wasmtime_types__2_0_2", + url = "https://crates.io/api/v1/crates/wasmtime-types/2.0.2/download", type = "tar.gz", - sha256 = "df64c737fc9b3cdf7617bcc65e8b97cb713ceb9c9c58530b20788a8a3482b5d1", - strip_prefix = "wasmtime-types-2.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-2.0.0.bazel"), + sha256 = "5dc3dd9521815984b35d6362f79e6b9c72475027cd1c71c44eb8df8fbf33a9fb", + strip_prefix = "wasmtime-types-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-2.0.2.bazel"), ) maybe( @@ -972,6 +892,26 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.36.1.bazel"), ) + maybe( + http_archive, + name = "wasmtime__windows_sys__0_42_0", + url = "https://crates.io/api/v1/crates/windows-sys/0.42.0/download", + type = "tar.gz", + sha256 = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7", + strip_prefix = "windows-sys-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.42.0.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__windows_aarch64_gnullvm__0_42_0", + url = "https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.42.0/download", + type = "tar.gz", + sha256 = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e", + strip_prefix = "windows_aarch64_gnullvm-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.42.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__windows_aarch64_msvc__0_36_1", @@ -982,6 +922,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.36.1.bazel"), ) + maybe( + http_archive, + name = "wasmtime__windows_aarch64_msvc__0_42_0", + url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.42.0/download", + type = "tar.gz", + sha256 = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4", + strip_prefix = "windows_aarch64_msvc-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.42.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__windows_i686_gnu__0_36_1", @@ -992,6 +942,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.36.1.bazel"), ) + maybe( + http_archive, + name = "wasmtime__windows_i686_gnu__0_42_0", + url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.42.0/download", + type = "tar.gz", + sha256 = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7", + strip_prefix = "windows_i686_gnu-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.42.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__windows_i686_msvc__0_36_1", @@ -1002,6 +962,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.36.1.bazel"), ) + maybe( + http_archive, + name = "wasmtime__windows_i686_msvc__0_42_0", + url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.42.0/download", + type = "tar.gz", + sha256 = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246", + strip_prefix = "windows_i686_msvc-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.42.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__windows_x86_64_gnu__0_36_1", @@ -1012,6 +982,26 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.36.1.bazel"), ) + maybe( + http_archive, + name = "wasmtime__windows_x86_64_gnu__0_42_0", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.42.0/download", + type = "tar.gz", + sha256 = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed", + strip_prefix = "windows_x86_64_gnu-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.42.0.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__windows_x86_64_gnullvm__0_42_0", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.42.0/download", + type = "tar.gz", + sha256 = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028", + strip_prefix = "windows_x86_64_gnullvm-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.42.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__windows_x86_64_msvc__0_36_1", @@ -1021,3 +1011,13 @@ def wasmtime_fetch_remote_crates(): strip_prefix = "windows_x86_64_msvc-0.36.1", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.36.1.bazel"), ) + + maybe( + http_archive, + name = "wasmtime__windows_x86_64_msvc__0_42_0", + url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.42.0/download", + type = "tar.gz", + sha256 = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5", + strip_prefix = "windows_x86_64_msvc-0.42.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.42.0.bazel"), + ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel index adf2a35fb..85485572c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel @@ -188,7 +188,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__once_cell__1_15_0//:once_cell", + "@wasmtime__once_cell__1_16_0//:once_cell", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.73.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.77.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cc-1.0.73.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cc-1.0.77.bazel index 1fa5ec2af..374a61361 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.73.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.77.bazel @@ -49,7 +49,7 @@ rust_binary( "crate-name=gcc-shim", "manual", ], - version = "1.0.73", + version = "1.0.77", # buildifier: leave-alone deps = [ ":cc", @@ -72,7 +72,7 @@ rust_library( "crate-name=cc", "manual", ], - version = "1.0.73", + version = "1.0.77", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.2.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.2.bazel index f827ae914..8eb878a64 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.2.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", + "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.2.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.2.bazel index c4739164f..59a59bc84 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.2.bazel @@ -58,11 +58,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.89.0", + version = "0.89.2", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_89_0//:cranelift_codegen_meta", - "@wasmtime__cranelift_isle__0_89_0//:cranelift_isle", + "@wasmtime__cranelift_codegen_meta__0_89_2//:cranelift_codegen_meta", + "@wasmtime__cranelift_isle__0_89_2//:cranelift_isle", ], ) @@ -88,19 +88,19 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", "@wasmtime__arrayvec__0_7_2//:arrayvec", "@wasmtime__bumpalo__3_11_1//:bumpalo", - "@wasmtime__cranelift_bforest__0_89_0//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_89_0//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", + "@wasmtime__cranelift_bforest__0_89_2//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_89_2//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regalloc2__0_4_1//:regalloc2", + "@wasmtime__regalloc2__0_4_2//:regalloc2", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__target_lexicon__0_12_5//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.2.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.2.bazel index af4062f00..c1e60d901 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.2.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_89_0//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_89_2//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.2.bazel index 343290887..31153e86c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.2.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.2.bazel index 61a9850e9..97a5b71b6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.2.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ "@wasmtime__serde__1_0_147//:serde", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.2.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.2.bazel index 804b82d2d..dc55bd281 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.2.bazel @@ -49,12 +49,12 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__target_lexicon__0_12_5//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.2.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.2.bazel index 81b590ec2..801c29247 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.2.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.89.0", + version = "0.89.2", visibility = ["//visibility:private"], deps = [ ], @@ -78,11 +78,10 @@ rust_library( "crate-name=cranelift-isle", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ ":cranelift_isle_build_script", - "@wasmtime__rayon__1_5_3//:rayon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.2.bazel similarity index 90% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.2.bazel index b45ab3da2..a99f81745 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.2.bazel @@ -51,11 +51,11 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", - "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", + "@wasmtime__target_lexicon__0_12_5//:target_lexicon", ] + selects.with_or({ # cfg(target_arch = "s390x") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.2.bazel similarity index 83% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.2.bazel index 88f54e925..8c6580c92 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.2.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.89.0", + version = "0.89.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_89_0//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_89_2//:cranelift_frontend", "@wasmtime__itertools__0_10_5//:itertools", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_10_0//:smallvec", "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_types__2_0_0//:wasmtime_types", + "@wasmtime__wasmtime_types__2_0_2//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel deleted file mode 100644 index acc36b2bd..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-channel-0.5.6.bazel +++ /dev/null @@ -1,95 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "crossbeam" with type "bench" omitted - -# Unsupported target "fibonacci" with type "example" omitted - -# Unsupported target "matching" with type "example" omitted - -# Unsupported target "stopwatch" with type "example" omitted - -rust_library( - name = "crossbeam_channel", - srcs = glob(["**/*.rs"]), - crate_features = [ - "crossbeam-utils", - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam-channel", - "manual", - ], - version = "0.5.6", - # buildifier: leave-alone - deps = [ - "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", - ], -) - -# Unsupported target "after" with type "test" omitted - -# Unsupported target "array" with type "test" omitted - -# Unsupported target "golang" with type "test" omitted - -# Unsupported target "iter" with type "test" omitted - -# Unsupported target "list" with type "test" omitted - -# Unsupported target "mpsc" with type "test" omitted - -# Unsupported target "never" with type "test" omitted - -# Unsupported target "ready" with type "test" omitted - -# Unsupported target "same_channel" with type "test" omitted - -# Unsupported target "select" with type "test" omitted - -# Unsupported target "select_macro" with type "test" omitted - -# Unsupported target "thread_locals" with type "test" omitted - -# Unsupported target "tick" with type "test" omitted - -# Unsupported target "zero" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel deleted file mode 100644 index 976b8d026..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-epoch-0.9.11.bazel +++ /dev/null @@ -1,103 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "crossbeam_epoch_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "alloc", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.9.11", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__autocfg__1_1_0//:autocfg", - ], -) - -# Unsupported target "defer" with type "bench" omitted - -# Unsupported target "flush" with type "bench" omitted - -# Unsupported target "pin" with type "bench" omitted - -# Unsupported target "sanitize" with type "example" omitted - -rust_library( - name = "crossbeam_epoch", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crossbeam-epoch", - "manual", - ], - version = "0.9.11", - # buildifier: leave-alone - deps = [ - ":crossbeam_epoch_build_script", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", - "@wasmtime__memoffset__0_6_5//:memoffset", - "@wasmtime__scopeguard__1_1_0//:scopeguard", - ], -) - -# Unsupported target "loom" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel index 6a4139c17..1415ec0c0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel @@ -52,13 +52,13 @@ rust_library( "crate-name=env_logger", "manual", ], - version = "0.9.1", + version = "0.9.3", # buildifier: leave-alone deps = [ "@wasmtime__atty__0_2_14//:atty", "@wasmtime__humantime__2_1_0//:humantime", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regex__1_6_0//:regex", + "@wasmtime__regex__1_7_0//:regex", "@wasmtime__termcolor__1_1_3//:termcolor", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel index 1fd6fc62a..8bd9bcb2c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel @@ -57,7 +57,7 @@ cargo_build_script( version = "0.1.2", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_73//:cc", + "@wasmtime__cc__1_0_77//:cc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel index ec6cb4852..31b8cc147 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel @@ -68,7 +68,7 @@ rust_library( # buildifier: leave-alone deps = [ "@wasmtime__fallible_iterator__0_2_0//:fallible_iterator", - "@wasmtime__indexmap__1_9_1//:indexmap", + "@wasmtime__indexmap__1_9_2//:indexmap", "@wasmtime__stable_deref_trait__1_2_0//:stable_deref_trait", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel index 0b5126d41..c0c78e0b0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.9.1", + version = "1.9.2", visibility = ["//visibility:private"], deps = [ "@wasmtime__autocfg__1_1_0//:autocfg", @@ -87,7 +87,7 @@ rust_library( "crate-name=indexmap", "manual", ], - version = "1.9.1", + version = "1.9.2", # buildifier: leave-alone deps = [ ":indexmap_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.5.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.5.bazel index caa76c4a8..0a4b35562 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.5.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.7.4", + version = "0.7.5", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=io-lifetimes", "manual", ], - version = "0.7.4", + version = "0.7.5", # buildifier: leave-alone deps = [ ":io_lifetimes_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel deleted file mode 100644 index 8898207f5..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.num_cpus-1.13.1.bazel +++ /dev/null @@ -1,83 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "values" with type "example" omitted - -rust_library( - name = "num_cpus", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=num_cpus", - "manual", - ], - version = "1.13.1", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(not(windows)) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__libc__0_2_137//:libc", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel index fc7f0f8ea..6dd14d8f5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel @@ -64,7 +64,7 @@ rust_library( deps = [ "@wasmtime__crc32fast__1_3_2//:crc32fast", "@wasmtime__hashbrown__0_12_3//:hashbrown", - "@wasmtime__indexmap__1_9_1//:indexmap", + "@wasmtime__indexmap__1_9_2//:indexmap", "@wasmtime__memchr__2_5_0//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.15.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.16.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.once_cell-1.15.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.once_cell-1.16.0.bazel index a15c98be0..b8221ad2d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.15.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.16.0.bazel @@ -65,7 +65,7 @@ rust_library( "crate-name=once_cell", "manual", ], - version = "1.15.0", + version = "1.16.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.16.bazel b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.16.bazel rename to bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel index 1f3e2d8de..458b2d0bb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.16.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=ppv-lite86", "manual", ], - version = "0.2.16", + version = "0.2.17", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel index 71003013e..5c35a2fae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -57,7 +57,7 @@ cargo_build_script( version = "0.1.21", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_73//:cc", + "@wasmtime__cc__1_0_77//:cc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel index 02d8477ab..c6b497c31 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel @@ -51,7 +51,7 @@ rust_library( version = "0.3.1", # buildifier: leave-alone deps = [ - "@wasmtime__ppv_lite86__0_2_16//:ppv_lite86", + "@wasmtime__ppv_lite86__0_2_17//:ppv_lite86", "@wasmtime__rand_core__0_6_4//:rand_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel deleted file mode 100644 index ffc50f2e6..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.rayon-1.5.3.bazel +++ /dev/null @@ -1,118 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "rayon_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.5.3", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__autocfg__1_1_0//:autocfg", - ], -) - -# Unsupported target "cpu_monitor" with type "example" omitted - -rust_library( - name = "rayon", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rayon", - "manual", - ], - version = "1.5.3", - # buildifier: leave-alone - deps = [ - ":rayon_build_script", - "@wasmtime__crossbeam_deque__0_8_2//:crossbeam_deque", - "@wasmtime__either__1_8_0//:either", - "@wasmtime__rayon_core__1_9_3//:rayon_core", - ], -) - -# Unsupported target "chars" with type "test" omitted - -# Unsupported target "clones" with type "test" omitted - -# Unsupported target "collect" with type "test" omitted - -# Unsupported target "cross-pool" with type "test" omitted - -# Unsupported target "debug" with type "test" omitted - -# Unsupported target "intersperse" with type "test" omitted - -# Unsupported target "issue671" with type "test" omitted - -# Unsupported target "issue671-unzip" with type "test" omitted - -# Unsupported target "iter_panic" with type "test" omitted - -# Unsupported target "named-threads" with type "test" omitted - -# Unsupported target "octillion" with type "test" omitted - -# Unsupported target "producer_split_at" with type "test" omitted - -# Unsupported target "sort-panic-safe" with type "test" omitted - -# Unsupported target "str" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel deleted file mode 100644 index 3ba1a872d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.rayon-core-1.9.3.bazel +++ /dev/null @@ -1,101 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "rayon_core_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - links = "rayon-core", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.9.3", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "rayon_core", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rayon-core", - "manual", - ], - version = "1.9.3", - # buildifier: leave-alone - deps = [ - ":rayon_core_build_script", - "@wasmtime__crossbeam_channel__0_5_6//:crossbeam_channel", - "@wasmtime__crossbeam_deque__0_8_2//:crossbeam_deque", - "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", - "@wasmtime__num_cpus__1_13_1//:num_cpus", - ], -) - -# Unsupported target "double_init_fail" with type "test" omitted - -# Unsupported target "init_zero_threads" with type "test" omitted - -# Unsupported target "scope_join" with type "test" omitted - -# Unsupported target "scoped_threadpool" with type "test" omitted - -# Unsupported target "simple_panic" with type "test" omitted - -# Unsupported target "stack_overflow_crash" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.2.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.2.bazel index 0ecc1045d..47b521a36 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.2.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=regalloc2", "manual", ], - version = "0.4.1", + version = "0.4.2", # buildifier: leave-alone deps = [ "@wasmtime__fxhash__0_2_1//:fxhash", diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.0.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regex-1.7.0.bazel index 17ef69208..f743948f4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.0.bazel @@ -67,12 +67,12 @@ rust_library( "crate-name=regex", "manual", ], - version = "1.6.0", + version = "1.7.0", # buildifier: leave-alone deps = [ "@wasmtime__aho_corasick__0_7_19//:aho_corasick", "@wasmtime__memchr__2_5_0//:memchr", - "@wasmtime__regex_syntax__0_6_27//:regex_syntax", + "@wasmtime__regex_syntax__0_6_28//:regex_syntax", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.27.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.28.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.27.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.28.bazel index b885fca3f..aab040ca3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.27.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.28.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=regex-syntax", "manual", ], - version = "0.6.27", + version = "0.6.28", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.13.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.12.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.13.bazel index 58ff30dd8..9a64be998 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.12.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.13.bazel @@ -62,10 +62,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.35.12", + version = "0.35.13", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_73//:cc", + "@wasmtime__cc__1_0_77//:cc", ] + selects.with_or({ # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( @@ -145,12 +145,12 @@ rust_library( "crate-name=rustix", "manual", ], - version = "0.35.12", + version = "0.35.13", # buildifier: leave-alone deps = [ ":rustix_build_script", "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__io_lifetimes__0_7_4//:io_lifetimes", + "@wasmtime__io_lifetimes__0_7_5//:io_lifetimes", ] + selects.with_or({ # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( @@ -168,7 +168,7 @@ rust_library( ], "//conditions:default": [], }) + selects.with_or({ - # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) ( "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", diff --git a/bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel deleted file mode 100644 index 7b2581e74..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.scopeguard-1.1.0.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "readme" with type "example" omitted - -rust_library( - name = "scopeguard", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=scopeguard", - "manual", - ], - version = "1.1.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.5.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.5.bazel index b8857c7fc..f5a26dcaf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.5.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.12.4", + version = "0.12.5", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=target-lexicon", "manual", ], - version = "0.12.4", + version = "0.12.5", # buildifier: leave-alone deps = [ ":target_lexicon_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel index d38aad0af..9d9933003 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel @@ -54,6 +54,6 @@ rust_library( version = "0.92.0", # buildifier: leave-alone deps = [ - "@wasmtime__indexmap__1_9_1//:indexmap", + "@wasmtime__indexmap__1_9_2//:indexmap", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.2.bazel similarity index 86% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.2.bazel index 249f642a1..831fd7cde 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.2.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "2.0.0", + version = "2.0.2", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -92,26 +92,26 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ ":wasmtime_build_script", "@wasmtime__anyhow__1_0_66//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_9_1//:indexmap", + "@wasmtime__indexmap__1_9_2//:indexmap", "@wasmtime__libc__0_2_137//:libc", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_29_0//:object", - "@wasmtime__once_cell__1_15_0//:once_cell", + "@wasmtime__once_cell__1_16_0//:once_cell", "@wasmtime__psm__0_1_21//:psm", "@wasmtime__serde__1_0_147//:serde", - "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__target_lexicon__0_12_5//:target_lexicon", "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__2_0_0//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", - "@wasmtime__wasmtime_jit__2_0_0//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__2_0_0//:wasmtime_runtime", + "@wasmtime__wasmtime_cranelift__2_0_2//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", + "@wasmtime__wasmtime_jit__2_0_2//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__2_0_2//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.2.bazel index 3323015dd..89826c0d8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.2.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=wasmtime-asm-macros", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.2.bazel similarity index 74% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.2.bazel index c9ac3cdc8..522679c5f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.2.bazel @@ -47,21 +47,21 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_66//:anyhow", - "@wasmtime__cranelift_codegen__0_89_0//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_89_0//:cranelift_frontend", - "@wasmtime__cranelift_native__0_89_0//:cranelift_native", - "@wasmtime__cranelift_wasm__0_89_0//:cranelift_wasm", + "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_89_2//:cranelift_frontend", + "@wasmtime__cranelift_native__0_89_2//:cranelift_native", + "@wasmtime__cranelift_wasm__0_89_2//:cranelift_wasm", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_29_0//:object", - "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__target_lexicon__0_12_5//:target_lexicon", "@wasmtime__thiserror__1_0_37//:thiserror", "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", + "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.2.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.2.bazel index 71d5f5afd..2e15cd6d7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.2.bazel @@ -49,19 +49,19 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ "@wasmtime__anyhow__1_0_66//:anyhow", - "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", + "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", - "@wasmtime__indexmap__1_9_1//:indexmap", + "@wasmtime__indexmap__1_9_2//:indexmap", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_29_0//:object", "@wasmtime__serde__1_0_147//:serde", - "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__target_lexicon__0_12_5//:target_lexicon", "@wasmtime__thiserror__1_0_37//:thiserror", "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_types__2_0_0//:wasmtime_types", + "@wasmtime__wasmtime_types__2_0_2//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.2.bazel similarity index 90% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.2.bazel index 62c01e9ae..907710d4d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.2.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ "@wasmtime__addr2line__0_17_0//:addr2line", @@ -62,10 +62,10 @@ rust_library( "@wasmtime__object__0_29_0//:object", "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", "@wasmtime__serde__1_0_147//:serde", - "@wasmtime__target_lexicon__0_12_4//:target_lexicon", + "@wasmtime__target_lexicon__0_12_5//:target_lexicon", "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__2_0_0//:wasmtime_runtime", + "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", + "@wasmtime__wasmtime_runtime__2_0_2//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "linux") ( @@ -76,7 +76,7 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__rustix__0_35_12//:rustix", + "@wasmtime__rustix__0_35_13//:rustix", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.2.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.2.bazel index 8e94de7da..6d367703c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.2.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ - "@wasmtime__once_cell__1_15_0//:once_cell", + "@wasmtime__once_cell__1_16_0//:once_cell", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.2.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.2.bazel index 290a50237..1d53ffeab 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.2.bazel @@ -54,10 +54,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "2.0.0", + version = "2.0.2", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_73//:cc", + "@wasmtime__cc__1_0_77//:cc", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -122,21 +122,21 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", "@wasmtime__anyhow__1_0_66//:anyhow", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_9_1//:indexmap", + "@wasmtime__indexmap__1_9_2//:indexmap", "@wasmtime__libc__0_2_137//:libc", "@wasmtime__log__0_4_17//:log", "@wasmtime__memoffset__0_6_5//:memoffset", "@wasmtime__rand__0_8_5//:rand", "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmtime_asm_macros__2_0_0//:wasmtime_asm_macros", - "@wasmtime__wasmtime_environ__2_0_0//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__2_0_0//:wasmtime_jit_debug", + "@wasmtime__wasmtime_asm_macros__2_0_2//:wasmtime_asm_macros", + "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__2_0_2//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -176,7 +176,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_35_12//:rustix", + "@wasmtime__rustix__0_35_13//:rustix", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.2.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.2.bazel index 862142e98..0d77211de 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.2.bazel @@ -47,10 +47,10 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "2.0.0", + version = "2.0.2", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_89_0//:cranelift_entity", + "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", "@wasmtime__serde__1_0_147//:serde", "@wasmtime__thiserror__1_0_37//:thiserror", "@wasmtime__wasmparser__0_92_0//:wasmparser", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel index 7c6e8cb51..51d8c8955 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel @@ -39,10 +39,6 @@ rust_library( crate_features = [ "Win32", "Win32_Foundation", - "Win32_NetworkManagement", - "Win32_NetworkManagement_IpHelper", - "Win32_Networking", - "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", @@ -52,7 +48,6 @@ rust_library( "Win32_System_Kernel", "Win32_System_Memory", "Win32_System_SystemInformation", - "Win32_System_Threading", "default", ], crate_root = "src/lib.rs", diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-deque-0.8.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel similarity index 52% rename from bazel/cargo/wasmtime/remote/BUILD.crossbeam-deque-0.8.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel index 84628cb82..b710204bc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-deque-0.8.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel @@ -32,13 +32,20 @@ licenses([ # Generated Targets rust_library( - name = "crossbeam_deque", + name = "windows_sys", srcs = glob(["**/*.rs"]), + aliases = { + }, crate_features = [ - "crossbeam-epoch", - "crossbeam-utils", + "Win32", + "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_System", + "Win32_System_Threading", "default", - "std", ], crate_root = "src/lib.rs", data = [], @@ -48,22 +55,27 @@ rust_library( ], tags = [ "cargo-raze", - "crate-name=crossbeam-deque", + "crate-name=windows-sys", "manual", ], - version = "0.8.2", + version = "0.42.0", # buildifier: leave-alone deps = [ - "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__crossbeam_epoch__0_9_11//:crossbeam_epoch", - "@wasmtime__crossbeam_utils__0_8_12//:crossbeam_utils", - ], + ] + selects.with_or({ + # i686-pc-windows-msvc + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + ): [ + "@wasmtime__windows_i686_msvc__0_42_0//:windows_i686_msvc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # x86_64-pc-windows-msvc + ( + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@wasmtime__windows_x86_64_msvc__0_42_0//:windows_x86_64_msvc", + ], + "//conditions:default": [], + }), ) - -# Unsupported target "fifo" with type "test" omitted - -# Unsupported target "injector" with type "test" omitted - -# Unsupported target "lifo" with type "test" omitted - -# Unsupported target "steal" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-utils-0.8.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.0.bazel similarity index 67% rename from bazel/cargo/wasmtime/remote/BUILD.crossbeam-utils-0.8.12.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.0.bazel index 4a6d4c685..c40f240db 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.crossbeam-utils-0.8.12.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.0.bazel @@ -38,13 +38,11 @@ load( ) cargo_build_script( - name = "crossbeam_utils_build_script", + name = "windows_aarch64_gnullvm_build_script", srcs = glob(["**/*.rs"]), build_script_env = { }, crate_features = [ - "default", - "std", ], crate_root = "build.rs", data = glob(["**"]), @@ -56,20 +54,16 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.8.12", + version = "0.42.0", visibility = ["//visibility:private"], deps = [ ], ) -# Unsupported target "atomic_cell" with type "bench" omitted - rust_library( - name = "crossbeam_utils", + name = "windows_aarch64_gnullvm", srcs = glob(["**/*.rs"]), crate_features = [ - "default", - "std", ], crate_root = "src/lib.rs", data = [], @@ -79,25 +73,12 @@ rust_library( ], tags = [ "cargo-raze", - "crate-name=crossbeam-utils", + "crate-name=windows_aarch64_gnullvm", "manual", ], - version = "0.8.12", + version = "0.42.0", # buildifier: leave-alone deps = [ - ":crossbeam_utils_build_script", - "@wasmtime__cfg_if__1_0_0//:cfg_if", + ":windows_aarch64_gnullvm_build_script", ], ) - -# Unsupported target "atomic_cell" with type "test" omitted - -# Unsupported target "cache_padded" with type "test" omitted - -# Unsupported target "parker" with type "test" omitted - -# Unsupported target "sharded_lock" with type "test" omitted - -# Unsupported target "thread" with type "test" omitted - -# Unsupported target "wait_group" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.0.bazel new file mode 100644 index 000000000..152cd1af0 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.0.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_aarch64_msvc_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.42.0", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_aarch64_msvc", + "manual", + ], + version = "0.42.0", + # buildifier: leave-alone + deps = [ + ":windows_aarch64_msvc_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel new file mode 100644 index 000000000..e28b9cca0 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_i686_gnu_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.42.0", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_i686_gnu", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_i686_gnu", + "manual", + ], + version = "0.42.0", + # buildifier: leave-alone + deps = [ + ":windows_i686_gnu_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel new file mode 100644 index 000000000..2cccbfaa9 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_i686_msvc_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.42.0", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_i686_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_i686_msvc", + "manual", + ], + version = "0.42.0", + # buildifier: leave-alone + deps = [ + ":windows_i686_msvc_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel new file mode 100644 index 000000000..2a2c399e9 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_x86_64_gnu_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.42.0", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_x86_64_gnu", + "manual", + ], + version = "0.42.0", + # buildifier: leave-alone + deps = [ + ":windows_x86_64_gnu_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.0.bazel new file mode 100644 index 000000000..c9d2e2d16 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.0.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_x86_64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.42.0", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_x86_64_gnullvm", + "manual", + ], + version = "0.42.0", + # buildifier: leave-alone + deps = [ + ":windows_x86_64_gnullvm_build_script", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel new file mode 100644 index 000000000..581086428 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "windows_x86_64_msvc_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.42.0", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows_x86_64_msvc", + "manual", + ], + version = "0.42.0", + # buildifier: leave-alone + deps = [ + ":windows_x86_64_msvc_build_script", + ], +) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 1299ce960..dbf5a0cdd 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -192,9 +192,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "5c1b721614196865a949c612851401073ef6aed9820172113c935e48ac6bcd62", - strip_prefix = "wasmtime-2.0.0", - url = "https://github.com/bytecodealliance/wasmtime/archive/v2.0.0.tar.gz", + sha256 = "f850c7d2480e71b587a7102d8814e127dc9bf8370ffa0e382fe86ec80d629190", + strip_prefix = "wasmtime-2.0.2", + url = "https://github.com/bytecodealliance/wasmtime/archive/v2.0.2.tar.gz", ) maybe( From 72ce32f7b11f9190edf874028255e1309e41690f Mon Sep 17 00:00:00 2001 From: "liang.he" Date: Fri, 16 Dec 2022 10:05:25 +0800 Subject: [PATCH 32/90] WAMR: adds support for `clone`. (#317) Signed-off-by: liang.he@intel.com --- bazel/external/wamr.BUILD | 12 +++++++----- bazel/repositories.bzl | 8 ++++---- src/wamr/types.h | 1 + src/wamr/wamr.cc | 37 +++++++++++++++++++++++++++++++++++-- test/wasm_vm_test.cc | 4 ++-- 5 files changed, 49 insertions(+), 13 deletions(-) diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index f25b9f074..9e7445ffc 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -12,15 +12,17 @@ filegroup( cmake( name = "wamr_lib", cache_entries = { - "WAMR_BUILD_INTERP": "1", + "WAMR_BUILD_AOT": "0", "WAMR_BUILD_FAST_INTERP": "1", + "WAMR_BUILD_INTERP": "1", "WAMR_BUILD_JIT": "0", - "WAMR_BUILD_LAZY_JIT": "0", - "WAMR_BUILD_AOT": "0", - "WAMR_BUILD_SIMD": "0", - "WAMR_BUILD_MULTI_MODULE": "1", "WAMR_BUILD_LIBC_WASI": "0", + "WAMR_BUILD_MULTI_MODULE": "0", + "WAMR_BUILD_SIMD": "0", "WAMR_BUILD_TAIL_CALL": "1", + "WAMR_BUILD_WASM_CACHE": "0", + "WAMR_DISABLE_HW_BOUND_CHECK": "0", + "WAMR_DISABLE_STACK_HW_BOUND_CHECK": "1", }, generate_args = ["-GNinja"], lib_source = ":srcs", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index dbf5a0cdd..48b3c75ca 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -159,10 +159,10 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasm_micro_runtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr.BUILD", - # WAMR-05-18-2022 - sha256 = "350736fffdc49533f5f372221d01e3b570ecd7b85f4429b22f5d89594eb99d9c", - strip_prefix = "wasm-micro-runtime-d7a2888b18c478d87ce8094e1419b4e061db289f", - url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/d7a2888b18c478d87ce8094e1419b4e061db289f.tar.gz", + # WAMR-2022-12-07 + sha256 = "6a5263ad022176257a93b39b02f95f615c0c590da1798c86c935f501a51c30c4", + strip_prefix = "wasm-micro-runtime-c3d66f916ef8093e5c8cacf3329ed968f807cf58", + url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/c3d66f916ef8093e5c8cacf3329ed968f807cf58.tar.gz", ) native.bind( diff --git a/src/wamr/types.h b/src/wamr/types.h index f6e516881..7252c5c3d 100644 --- a/src/wamr/types.h +++ b/src/wamr/types.h @@ -21,6 +21,7 @@ using WasmEnginePtr = common::CSmartPtr; using WasmFuncPtr = common::CSmartPtr; using WasmStorePtr = common::CSmartPtr; using WasmModulePtr = common::CSmartPtr; +using WasmSharedModulePtr = common::CSmartPtr; using WasmMemoryPtr = common::CSmartPtr; using WasmTablePtr = common::CSmartPtr; using WasmInstancePtr = common::CSmartPtr; diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index 2ca6863be..577b6784f 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -58,8 +58,8 @@ class Wamr : public WasmVm { std::string_view getEngineName() override { return "wamr"; } std::string_view getPrecompiledSectionName() override { return ""; } - Cloneable cloneable() override { return Cloneable::NotCloneable; } - std::unique_ptr clone() override { return nullptr; } + Cloneable cloneable() override { return Cloneable::CompiledBytecode; } + std::unique_ptr clone() override; bool load(std::string_view bytecode, std::string_view precompiled, const std::unordered_map &function_names) override; @@ -108,6 +108,7 @@ class Wamr : public WasmVm { WasmStorePtr store_; WasmModulePtr module_; + WasmSharedModulePtr shared_module_; WasmInstancePtr instance_; WasmMemoryPtr memory_; @@ -132,9 +133,41 @@ bool Wamr::load(std::string_view bytecode, std::string_view /*precompiled*/, return false; } + shared_module_ = wasm_module_share(module_.get()); + if (shared_module_ == nullptr) { + return false; + } + return true; } +std::unique_ptr Wamr::clone() { + assert(module_ != nullptr); + + auto vm = std::make_unique(); + if (vm == nullptr) { + return nullptr; + } + + vm->store_ = wasm_store_new(engine()); + if (vm->store_ == nullptr) { + return nullptr; + } + + vm->module_ = wasm_module_obtain(vm->store_.get(), shared_module_.get()); + if (vm->module_ == nullptr) { + return nullptr; + } + + auto *integration_clone = integration()->clone(); + if (integration_clone == nullptr) { + return nullptr; + } + vm->integration().reset(integration_clone); + + return vm; +} + static bool equalValTypes(const wasm_valtype_vec_t *left, const wasm_valtype_vec_t *right) { if (left->size != right->size) { return false; diff --git a/test/wasm_vm_test.cc b/test/wasm_vm_test.cc index a9caac935..6b4ece60f 100644 --- a/test/wasm_vm_test.cc +++ b/test/wasm_vm_test.cc @@ -31,9 +31,9 @@ INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines() }); TEST_P(TestVm, Basic) { - if (engine_ == "wamr" || engine_ == "wasmedge") { + if (engine_ == "wasmedge") { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::NotCloneable); - } else if (engine_ == "wasmtime" || engine_ == "v8") { + } else if (engine_ == "wasmtime" || engine_ == "v8" || engine_ == "wamr") { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::CompiledBytecode); } else if (engine_ == "wavm") { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::InstantiatedModule); From 0f5a0e798bcfbd3bf1e6b54359d7a004b009c584 Mon Sep 17 00:00:00 2001 From: "liang.he" Date: Wed, 25 Jan 2023 15:33:30 +0800 Subject: [PATCH 33/90] wamr: add LLVM-based JIT in addition to interpreter. (#325) Use `wamr-interp` to represent WAMR Interpreter, and `wamr-jit` to represent WAMR JIT. Signed-off-by: liang.he@intel.com --- .bazelrc | 1 + .github/workflows/format.yml | 2 +- .github/workflows/test.yml | 24 +++++- bazel/BUILD | 9 ++- bazel/external/wamr.BUILD | 46 +++++++---- bazel/external/wamr_llvm.BUILD | 136 +++++++++++++++++++++++++++++++++ bazel/repositories.bzl | 17 ++++- bazel/select.bzl | 3 +- 8 files changed, 212 insertions(+), 26 deletions(-) create mode 100644 bazel/external/wamr_llvm.BUILD diff --git a/.bazelrc b/.bazelrc index a8212233d..86e814d38 100644 --- a/.bazelrc +++ b/.bazelrc @@ -53,6 +53,7 @@ build:clang-tsan --copt -fsanitize=thread build:clang-tsan --linkopt -fsanitize=thread # Use Clang-Tidy tool. +build:clang-tidy --config=clang build:clang-tidy --aspects @bazel_clang_tidy//clang_tidy:clang_tidy.bzl%clang_tidy_aspect build:clang-tidy --@bazel_clang_tidy//:clang_tidy_config=@proxy_wasm_cpp_host//:clang_tidy_config build:clang-tidy --output_groups=report diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 1f0f44628..1065c0519 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -122,7 +122,7 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies (Linux) - run: sudo apt update -y && sudo apt install -y clang-tidy-12 + run: sudo apt update -y && sudo apt install -y clang-tidy-12 lld-12 && sudo ln -sf /usr/bin/lld-12 /usr/bin/lld - name: Bazel cache uses: PiotrSikora/cache@v2.1.7-with-skip-cache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bee94b318..eba4f62ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -167,19 +167,35 @@ jobs: arch: x86_64 action: test cache: true - - name: 'WAMR on Linux/x86_64' - engine: 'wamr' + - name: 'WAMR interp on Linux/x86_64' + engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' os: ubuntu-20.04 arch: x86_64 action: test flags: --config=clang - - name: 'WAMR on macOS/x86_64' - engine: 'wamr' + - name: 'WAMR interp on macOS/x86_64' + engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' os: macos-11 arch: x86_64 action: test + - name: 'WAMR jit on Linux/x86_64' + engine: 'wamr-jit' + repo: 'com_github_bytecodealliance_wasm_micro_runtime' + os: ubuntu-20.04 + arch: x86_64 + action: test + flags: --config=clang + deps: lld-12 + cache: true + - name: 'WAMR jit on macOS/x86_64' + engine: 'wamr-jit' + repo: 'com_github_bytecodealliance_wasm_micro_runtime' + os: macos-11 + arch: x86_64 + action: test + cache: true - name: 'WasmEdge on Linux/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' diff --git a/bazel/BUILD b/bazel/BUILD index 4a83aa444..650fa29d8 100644 --- a/bazel/BUILD +++ b/bazel/BUILD @@ -27,8 +27,13 @@ config_setting( ) config_setting( - name = "engine_wamr", - values = {"define": "engine=wamr"}, + name = "engine_wamr_interp", + values = {"define": "engine=wamr-interp"}, +) + +config_setting( + name = "engine_wamr_jit", + values = {"define": "engine=wamr-jit"}, ) config_setting( diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index 9e7445ffc..9ef6850e9 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -11,20 +11,38 @@ filegroup( cmake( name = "wamr_lib", - cache_entries = { - "WAMR_BUILD_AOT": "0", - "WAMR_BUILD_FAST_INTERP": "1", - "WAMR_BUILD_INTERP": "1", - "WAMR_BUILD_JIT": "0", - "WAMR_BUILD_LIBC_WASI": "0", - "WAMR_BUILD_MULTI_MODULE": "0", - "WAMR_BUILD_SIMD": "0", - "WAMR_BUILD_TAIL_CALL": "1", - "WAMR_BUILD_WASM_CACHE": "0", - "WAMR_DISABLE_HW_BOUND_CHECK": "0", - "WAMR_DISABLE_STACK_HW_BOUND_CHECK": "1", - }, - generate_args = ["-GNinja"], + generate_args = [ + "-DWAMR_BUILD_LIBC_WASI=0", + "-DWAMR_BUILD_MULTI_MODULE=0", + "-DWAMR_BUILD_TAIL_CALL=1", + "-DWAMR_DISABLE_HW_BOUND_CHECK=0", + "-DWAMR_DISABLE_STACK_HW_BOUND_CHECK=1", + "-GNinja", + ] + select({ + "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": [ + "-DLLVM_DIR=$EXT_BUILD_DEPS/copy_llvm_13_0_1/llvm/lib/cmake/llvm", + "-DWAMR_BUILD_AOT=1", + "-DWAMR_BUILD_FAST_INTERP=0", + "-DWAMR_BUILD_INTERP=0", + "-DWAMR_BUILD_JIT=1", + "-DWAMR_BUILD_SIMD=1", + ], + "//conditions:default": [ + "-DWAMR_BUILD_AOT=0", + "-DWAMR_BUILD_FAST_INTERP=1", + "-DWAMR_BUILD_INTERP=1", + "-DWAMR_BUILD_JIT=0", + "-DWAMR_BUILD_SIMD=0", + ], + }), lib_source = ":srcs", + linkopts = select({ + "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["-ldl"], + "//conditions:default": [], + }), out_static_libs = ["libvmlib.a"], + deps = select({ + "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["@llvm-13_0_1//:llvm_13_0_1_lib"], + "//conditions:default": [], + }), ) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD new file mode 100644 index 000000000..0efdbc9b6 --- /dev/null +++ b/bazel/external/wamr_llvm.BUILD @@ -0,0 +1,136 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +licenses(["notice"]) # Apache 2 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "llvm_13_0_1_lib", + cache_entries = { + # Disable both: BUILD and INCLUDE, since some of the INCLUDE + # targets build code instead of only generating build files. + "LLVM_BUILD_BENCHMARKS": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_BUILD_DOCS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_BUILD_EXAMPLES": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_BUILD_RUNTIME": "off", + "LLVM_BUILD_RUNTIMES": "off", + "LLVM_INCLUDE_RUNTIMES": "off", + "LLVM_BUILD_TESTS": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_BUILD_TOOLS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_ENABLE_IDE": "off", + "LLVM_ENABLE_LIBEDIT": "off", + "LLVM_ENABLE_LIBXML2": "off", + "LLVM_ENABLE_TERMINFO": "off", + "LLVM_ENABLE_ZLIB": "off", + "LLVM_TARGETS_TO_BUILD": "X86", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + }, + # `lld` doesn't work on MacOS + generate_args = select({ + "@platforms//os:linux": [ + "-GNinja", + "-DLLVM_USE_LINKER=lld", + ], + "//conditions:default": [ + "-GNinja", + ], + }), + lib_source = ":srcs", + out_data_dirs = [ + "bin", + "include", + "lib", + "libexec", + "share", + ], + out_static_libs = [ + # How to get the library list: + # build LLVM with "-DLLVM_INCLUDE_TOOLS=ON" + # cd bin and run "./llvm-config --libnames" + "libLLVMWindowsManifest.a", + "libLLVMXRay.a", + "libLLVMLibDriver.a", + "libLLVMDlltoolDriver.a", + "libLLVMCoverage.a", + "libLLVMLineEditor.a", + "libLLVMX86Disassembler.a", + "libLLVMX86AsmParser.a", + "libLLVMX86CodeGen.a", + "libLLVMX86Desc.a", + "libLLVMX86Info.a", + "libLLVMOrcJIT.a", + "libLLVMMCJIT.a", + "libLLVMJITLink.a", + "libLLVMInterpreter.a", + "libLLVMExecutionEngine.a", + "libLLVMRuntimeDyld.a", + "libLLVMOrcTargetProcess.a", + "libLLVMOrcShared.a", + "libLLVMDWP.a", + "libLLVMSymbolize.a", + "libLLVMDebugInfoPDB.a", + "libLLVMDebugInfoGSYM.a", + "libLLVMOption.a", + "libLLVMObjectYAML.a", + "libLLVMMCA.a", + "libLLVMMCDisassembler.a", + "libLLVMLTO.a", + "libLLVMPasses.a", + "libLLVMCFGuard.a", + "libLLVMCoroutines.a", + "libLLVMObjCARCOpts.a", + "libLLVMipo.a", + "libLLVMVectorize.a", + "libLLVMLinker.a", + "libLLVMInstrumentation.a", + "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOpenACC.a", + "libLLVMExtensions.a", + "libLLVMDWARFLinker.a", + "libLLVMGlobalISel.a", + "libLLVMMIRParser.a", + "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", + "libLLVMDebugInfoDWARF.a", + "libLLVMSelectionDAG.a", + "libLLVMCodeGen.a", + "libLLVMIRReader.a", + "libLLVMAsmParser.a", + "libLLVMInterfaceStub.a", + "libLLVMFileCheck.a", + "libLLVMFuzzMutate.a", + "libLLVMTarget.a", + "libLLVMScalarOpts.a", + "libLLVMInstCombine.a", + "libLLVMAggressiveInstCombine.a", + "libLLVMTransformUtils.a", + "libLLVMBitWriter.a", + "libLLVMAnalysis.a", + "libLLVMProfileData.a", + "libLLVMObject.a", + "libLLVMTextAPI.a", + "libLLVMMCParser.a", + "libLLVMMC.a", + "libLLVMDebugInfoCodeView.a", + "libLLVMBitReader.a", + "libLLVMCore.a", + "libLLVMRemarks.a", + "libLLVMBitstreamReader.a", + "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMSupport.a", + "libLLVMDemangle.a", + ], +) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 48b3c75ca..b56aa4c1b 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -159,10 +159,10 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasm_micro_runtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr.BUILD", - # WAMR-2022-12-07 - sha256 = "6a5263ad022176257a93b39b02f95f615c0c590da1798c86c935f501a51c30c4", - strip_prefix = "wasm-micro-runtime-c3d66f916ef8093e5c8cacf3329ed968f807cf58", - url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/c3d66f916ef8093e5c8cacf3329ed968f807cf58.tar.gz", + # WAMR-2022-12-16 + sha256 = "976b928f420040a77e793051e4d742208adf157370b9ad0f5535e126adb31eb0", + strip_prefix = "wasm-micro-runtime-WAMR-1.1.2", + url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/WAMR-1.1.2.tar.gz", ) native.bind( @@ -170,6 +170,15 @@ def proxy_wasm_cpp_host_repositories(): actual = "@com_github_bytecodealliance_wasm_micro_runtime//:wamr_lib", ) + maybe( + http_archive, + name = "llvm-13_0_1", + build_file = "@proxy_wasm_cpp_host//bazel/external:wamr_llvm.BUILD", + sha256 = "ec6b80d82c384acad2dc192903a6cf2cdbaffb889b84bfb98da9d71e630fc834", + strip_prefix = "llvm-13.0.1.src", + url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/llvm-13.0.1.src.tar.xz", + ) + # WasmEdge with dependencies. maybe( diff --git a/bazel/select.bzl b/bazel/select.bzl index d79862ace..747aef33c 100644 --- a/bazel/select.bzl +++ b/bazel/select.bzl @@ -28,7 +28,8 @@ def proxy_wasm_select_engine_v8(xs): def proxy_wasm_select_engine_wamr(xs): return select({ - "@proxy_wasm_cpp_host//bazel:engine_wamr": xs, + "@proxy_wasm_cpp_host//bazel:engine_wamr_interp": xs, + "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": xs, "@proxy_wasm_cpp_host//bazel:multiengine": xs, "//conditions:default": [], }) From 609960ce1921ebeba0d4339ba5f236516931f2fd Mon Sep 17 00:00:00 2001 From: Konstantin Maksimov <18444445+knm3000@users.noreply.github.com> Date: Tue, 7 Feb 2023 00:27:29 +0100 Subject: [PATCH 34/90] rustc_flags linker flag no longer needed for s390x (#329) Signed-off-by: Konstantin Maksimov --- bazel/wasm.bzl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bazel/wasm.bzl b/bazel/wasm.bzl index 58cd84e3b..9b3a5f734 100644 --- a/bazel/wasm.bzl +++ b/bazel/wasm.bzl @@ -77,7 +77,7 @@ wasi_rust_binary_rule = rule( attrs = _wasm_attrs(wasi_rust_transition), ) -def wasm_rust_binary(name, tags = [], wasi = False, signing_key = [], rustc_flags = [], **kwargs): +def wasm_rust_binary(name, tags = [], wasi = False, signing_key = [], **kwargs): wasm_name = "_wasm_" + name.replace(".", "_") kwargs.setdefault("visibility", ["//visibility:public"]) @@ -87,11 +87,6 @@ def wasm_rust_binary(name, tags = [], wasi = False, signing_key = [], rustc_flag crate_type = "cdylib", out_binary = True, tags = ["manual"], - # Rust doesn't distribute rust-lld for Linux/s390x. - rustc_flags = rustc_flags + select({ - "//bazel:linux_s390x": ["-C", "linker=/usr/bin/lld"], - "//conditions:default": [], - }), **kwargs ) From f844e6770014db5eb4abfc20dd453248c71520d5 Mon Sep 17 00:00:00 2001 From: "liang.he" Date: Thu, 16 Mar 2023 15:44:16 +0800 Subject: [PATCH 35/90] wamr: avoids redundant .wasm binary content copying. (#332) Signed-off-by: liang.he@intel.com --- src/wamr/wamr.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index 577b6784f..e894df8f6 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -125,10 +125,12 @@ bool Wamr::load(std::string_view bytecode, std::string_view /*precompiled*/, return false; } - WasmByteVec vec; - wasm_byte_vec_new(vec.get(), bytecode.size(), bytecode.data()); - - module_ = wasm_module_new(store_.get(), vec.get()); + wasm_byte_vec_t binary = {.size = bytecode.size(), + .data = (char *)bytecode.data(), + .num_elems = bytecode.size(), + .size_of_elem = sizeof(byte_t), + .lock = nullptr}; + module_ = wasm_module_new(store_.get(), &binary); if (module_ == nullptr) { return false; } @@ -344,11 +346,10 @@ bool Wamr::link(std::string_view /*debug_name*/) { wasm_instance_exports(instance_.get(), exports.get()); for (size_t i = 0; i < export_types.get()->size; i++) { - const wasm_externtype_t *exp_extern_type = wasm_exporttype_type(export_types.get()->data[i]); wasm_extern_t *actual_extern = exports.get()->data[i]; wasm_externkind_t kind = wasm_extern_kind(actual_extern); - assert(kind == wasm_externtype_kind(exp_extern_type)); + assert(kind == wasm_externtype_kind(wasm_exporttype_type(export_types.get()->data[i]))); switch (kind) { case WASM_EXTERN_FUNC: { WasmFuncPtr func = wasm_func_copy(wasm_extern_as_func(actual_extern)); From cc3864b4efafe4d984a7baf64c0ac5848b50ed02 Mon Sep 17 00:00:00 2001 From: River <6375745+RiverPhillips@users.noreply.github.com> Date: Mon, 20 Mar 2023 05:32:38 +0000 Subject: [PATCH 36/90] Update rules_rust to v0.19.0 (with Rust v1.68.0). (#334) Signed-off-by: River phillips --- bazel/dependencies.bzl | 4 ++-- bazel/repositories.bzl | 6 +++--- test/runtime_test.cc | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index b6a4cb576..49db6d7ba 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -39,7 +39,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.62.1", + version = "1.68.0", ) rust_repository_set( name = "rust_linux_s390x", @@ -48,7 +48,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.62.1", + version = "1.68.0", ) zig_register_toolchains( diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index b56aa4c1b..faed87ae0 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -74,10 +74,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_rust", - sha256 = "f3d443e9ad1eca99fbcade1c649adbd8200753cf22e47846b3105a43a550273b", - strip_prefix = "rules_rust-0.8.1", + sha256 = "c8a84a01bff4be4c7a8beefbc12e713ff296fed2110c30572a44205856594cfc", + strip_prefix = "rules_rust-0.19.0", # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/archive/0.8.1.tar.gz", + url = "https://github.com/bazelbuild/rules_rust/archive/0.19.0.tar.gz", patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], patch_args = ["-p1"], ) diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 20f723f5f..876908515 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -142,7 +142,7 @@ TEST_P(TestVm, WasmMemoryLimit) { // Backtrace if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); - EXPECT_TRUE(host->isErrorLogged(" - rust_oom")); + EXPECT_TRUE(host->isErrorLogged("rust_oom")); EXPECT_TRUE(host->isErrorLogged(" - alloc::alloc::handle_alloc_error")); } } From 8aa8053609d893e25287551295bd9cd7dd4c3dcc Mon Sep 17 00:00:00 2001 From: River <6375745+RiverPhillips@users.noreply.github.com> Date: Mon, 20 Mar 2023 16:24:12 +0000 Subject: [PATCH 37/90] wasmtime: update to v6.0.1. (#333) Signed-off-by: River phillips --- bazel/cargo/wasmtime/BUILD.bazel | 8 +- bazel/cargo/wasmtime/Cargo.raze.lock | 379 ++++++---- bazel/cargo/wasmtime/Cargo.toml | 6 +- bazel/cargo/wasmtime/crates.bzl | 656 ++++++++++-------- .../wasmtime/remote/BUILD.ahash-0.7.6.bazel | 2 +- ....bazel => BUILD.aho-corasick-0.7.20.bazel} | 2 +- ...1.0.66.bazel => BUILD.anyhow-1.0.70.bazel} | 4 +- .../wasmtime/remote/BUILD.atty-0.2.14.bazel | 2 +- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 2 +- ....11.1.bazel => BUILD.bumpalo-3.12.0.bazel} | 2 +- ....cc-1.0.77.bazel => BUILD.cc-1.0.79.bazel} | 4 +- ...l => BUILD.cranelift-bforest-0.93.1.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.93.1.bazel} | 23 +- ...BUILD.cranelift-codegen-meta-0.93.1.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.93.1.bazel} | 2 +- ...el => BUILD.cranelift-entity-0.93.1.bazel} | 4 +- ... => BUILD.cranelift-frontend-0.93.1.bazel} | 6 +- ...azel => BUILD.cranelift-isle-0.93.1.bazel} | 4 +- ...el => BUILD.cranelift-native-0.93.1.bazel} | 10 +- ...azel => BUILD.cranelift-wasm-0.93.1.bazel} | 12 +- ...r-1.8.0.bazel => BUILD.either-1.8.1.bazel} | 2 +- .../remote/BUILD.env_logger-0.9.3.bazel | 4 +- .../wasmtime/remote/BUILD.errno-0.2.8.bazel | 3 +- .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 4 +- .../remote/BUILD.form_urlencoded-1.1.0.bazel | 55 ++ .../remote/BUILD.getrandom-0.2.8.bazel | 2 +- .../remote/BUILD.hashbrown-0.12.3.bazel | 2 + .../remote/BUILD.hermit-abi-0.1.19.bazel | 2 +- .../remote/BUILD.hermit-abi-0.3.1.bazel | 55 ++ ...ste-1.0.9.bazel => BUILD.idna-0.3.0.bazel} | 22 +- .../remote/BUILD.indexmap-1.9.2.bazel | 2 +- .../remote/BUILD.io-lifetimes-0.7.5.bazel | 84 --- .../remote/BUILD.io-lifetimes-1.0.8.bazel | 161 +++++ .../remote/BUILD.itertools-0.10.5.bazel | 2 +- ...0.2.137.bazel => BUILD.libc-0.2.140.bazel} | 4 +- ....bazel => BUILD.linux-raw-sys-0.1.4.bazel} | 2 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 2 +- .../wasmtime/remote/BUILD.memfd-0.6.2.bazel | 61 ++ ...6.0.bazel => BUILD.once_cell-1.17.1.bazel} | 2 +- ...-0.36.1.bazel => BUILD.paste-1.0.12.bazel} | 24 +- .../remote/BUILD.percent-encoding-2.2.0.bazel | 56 ++ ...7.bazel => BUILD.proc-macro2-1.0.52.bazel} | 8 +- .../wasmtime/remote/BUILD.psm-0.1.21.bazel | 2 +- ...-1.0.21.bazel => BUILD.quote-1.0.26.bazel} | 6 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 3 +- ....4.2.bazel => BUILD.regalloc2-0.5.1.bazel} | 2 +- ...ex-1.7.0.bazel => BUILD.regex-1.7.1.bazel} | 4 +- ...35.13.bazel => BUILD.rustix-0.36.10.bazel} | 46 +- ....0.147.bazel => BUILD.serde-1.0.157.bazel} | 6 +- ...bazel => BUILD.serde_derive-1.0.157.bazel} | 10 +- ...yn-1.0.103.bazel => BUILD.syn-2.0.2.bazel} | 47 +- ...azel => BUILD.target-lexicon-0.12.6.bazel} | 6 +- ....1.3.bazel => BUILD.termcolor-1.2.0.bazel} | 2 +- ....37.bazel => BUILD.thiserror-1.0.40.bazel} | 6 +- ...azel => BUILD.thiserror-impl-1.0.40.bazel} | 8 +- .../wasmtime/remote/BUILD.tinyvec-1.6.0.bazel | 66 ++ .../remote/BUILD.tinyvec_macros-0.1.1.bazel | 54 ++ .../remote/BUILD.unicode-bidi-0.3.12.bazel | 59 ++ ....bazel => BUILD.unicode-ident-1.0.8.bazel} | 2 +- .../BUILD.unicode-normalization-0.1.22.bazel | 59 ++ .../wasmtime/remote/BUILD.url-2.3.1.bazel | 66 ++ ...0.bazel => BUILD.wasmparser-0.100.0.bazel} | 3 +- ...2.0.2.bazel => BUILD.wasmtime-6.0.1.bazel} | 30 +- ... => BUILD.wasmtime-asm-macros-6.0.1.bazel} | 2 +- ...> BUILD.wasmtime-c-api-macros-0.0.0.bazel} | 6 +- ...l => BUILD.wasmtime-cranelift-6.0.1.bazel} | 22 +- ...zel => BUILD.wasmtime-environ-6.0.1.bazel} | 16 +- .../remote/BUILD.wasmtime-jit-6.0.1.bazel | 79 +++ ...l => BUILD.wasmtime-jit-debug-6.0.1.bazel} | 4 +- ...wasmtime-jit-icache-coherence-6.0.1.bazel} | 33 +- ...zel => BUILD.wasmtime-runtime-6.0.1.bazel} | 26 +- ...bazel => BUILD.wasmtime-types-6.0.1.bazel} | 10 +- .../remote/BUILD.windows-sys-0.42.0.bazel | 16 +- .../remote/BUILD.windows-sys-0.45.0.bazel | 96 +++ ...zel => BUILD.windows-targets-0.42.2.bazel} | 22 +- ...UILD.windows_aarch64_gnullvm-0.42.2.bazel} | 4 +- ...> BUILD.windows_aarch64_msvc-0.42.2.bazel} | 4 +- .../BUILD.windows_i686_gnu-0.42.0.bazel | 84 --- ...el => BUILD.windows_i686_gnu-0.42.2.bazel} | 4 +- .../BUILD.windows_i686_msvc-0.42.0.bazel | 84 --- ...l => BUILD.windows_i686_msvc-0.42.2.bazel} | 4 +- .../BUILD.windows_x86_64_gnu-0.42.0.bazel | 84 --- ... => BUILD.windows_x86_64_gnu-0.42.2.bazel} | 4 +- ...BUILD.windows_x86_64_gnullvm-0.42.2.bazel} | 4 +- .../BUILD.windows_x86_64_msvc-0.42.0.bazel | 84 --- ...=> BUILD.windows_x86_64_msvc-0.42.2.bazel} | 4 +- bazel/repositories.bzl | 6 +- 87 files changed, 1735 insertions(+), 1149 deletions(-) rename bazel/cargo/wasmtime/remote/{BUILD.aho-corasick-0.7.19.bazel => BUILD.aho-corasick-0.7.20.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.anyhow-1.0.66.bazel => BUILD.anyhow-1.0.70.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.bumpalo-3.11.1.bazel => BUILD.bumpalo-3.12.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.cc-1.0.77.bazel => BUILD.cc-1.0.79.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.89.2.bazel => BUILD.cranelift-bforest-0.93.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.89.2.bazel => BUILD.cranelift-codegen-0.93.1.bazel} (77%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.89.2.bazel => BUILD.cranelift-codegen-meta-0.93.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.89.2.bazel => BUILD.cranelift-codegen-shared-0.93.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.89.2.bazel => BUILD.cranelift-entity-0.93.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.89.2.bazel => BUILD.cranelift-frontend-0.93.1.bazel} (88%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-isle-0.89.2.bazel => BUILD.cranelift-isle-0.93.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.89.2.bazel => BUILD.cranelift-native-0.93.1.bazel} (82%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.89.2.bazel => BUILD.cranelift-wasm-0.93.1.bazel} (79%) rename bazel/cargo/wasmtime/remote/{BUILD.either-1.8.0.bazel => BUILD.either-1.8.1.bazel} (97%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.paste-1.0.9.bazel => BUILD.idna-0.3.0.bazel} (71%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.8.bazel rename bazel/cargo/wasmtime/remote/{BUILD.libc-0.2.137.bazel => BUILD.libc-0.2.140.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.linux-raw-sys-0.0.46.bazel => BUILD.linux-raw-sys-0.1.4.bazel} (97%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.2.bazel rename bazel/cargo/wasmtime/remote/{BUILD.once_cell-1.16.0.bazel => BUILD.once_cell-1.17.1.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_aarch64_msvc-0.36.1.bazel => BUILD.paste-1.0.12.bazel} (76%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.proc-macro2-1.0.47.bazel => BUILD.proc-macro2-1.0.52.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.quote-1.0.21.bazel => BUILD.quote-1.0.26.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.regalloc2-0.4.2.bazel => BUILD.regalloc2-0.5.1.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.regex-1.7.0.bazel => BUILD.regex-1.7.1.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.rustix-0.35.13.bazel => BUILD.rustix-0.36.10.bazel} (80%) rename bazel/cargo/wasmtime/remote/{BUILD.serde-1.0.147.bazel => BUILD.serde-1.0.157.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.serde_derive-1.0.147.bazel => BUILD.serde_derive-1.0.157.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.syn-1.0.103.bazel => BUILD.syn-2.0.2.bazel} (75%) rename bazel/cargo/wasmtime/remote/{BUILD.target-lexicon-0.12.5.bazel => BUILD.target-lexicon-0.12.6.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.termcolor-1.1.3.bazel => BUILD.termcolor-1.2.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.thiserror-1.0.37.bazel => BUILD.thiserror-1.0.40.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.thiserror-impl-1.0.37.bazel => BUILD.thiserror-impl-1.0.40.bazel} (86%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.12.bazel rename bazel/cargo/wasmtime/remote/{BUILD.unicode-ident-1.0.5.bazel => BUILD.unicode-ident-1.0.8.bazel} (98%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmparser-0.92.0.bazel => BUILD.wasmparser-0.100.0.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-2.0.2.bazel => BUILD.wasmtime-6.0.1.bazel} (76%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-asm-macros-2.0.2.bazel => BUILD.wasmtime-asm-macros-6.0.1.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-c-api-macros-0.19.0.bazel => BUILD.wasmtime-c-api-macros-0.0.0.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-2.0.2.bazel => BUILD.wasmtime-cranelift-6.0.1.bazel} (66%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-2.0.2.bazel => BUILD.wasmtime-environ-6.0.1.bazel} (76%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-6.0.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-2.0.2.bazel => BUILD.wasmtime-jit-debug-6.0.1.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-2.0.2.bazel => BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel} (66%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-2.0.2.bazel => BUILD.wasmtime-runtime-6.0.1.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-2.0.2.bazel => BUILD.wasmtime-types-6.0.1.bazel} (81%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows-sys-0.36.1.bazel => BUILD.windows-targets-0.42.2.bazel} (71%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_aarch64_gnullvm-0.42.0.bazel => BUILD.windows_aarch64_gnullvm-0.42.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_aarch64_msvc-0.42.0.bazel => BUILD.windows_aarch64_msvc-0.42.2.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows_i686_gnu-0.36.1.bazel => BUILD.windows_i686_gnu-0.42.2.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows_i686_msvc-0.36.1.bazel => BUILD.windows_i686_msvc-0.42.2.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows_x86_64_gnu-0.36.1.bazel => BUILD.windows_x86_64_gnu-0.42.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_x86_64_gnullvm-0.42.0.bazel => BUILD.windows_x86_64_gnullvm-0.42.2.bazel} (97%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows_x86_64_msvc-0.36.1.bazel => BUILD.windows_x86_64_msvc-0.42.2.bazel} (97%) diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index b06ef02d7..f09d38542 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -14,7 +14,7 @@ licenses([ # Aliased targets alias( name = "anyhow", - actual = "@wasmtime__anyhow__1_0_66//:anyhow", + actual = "@wasmtime__anyhow__1_0_70//:anyhow", tags = [ "cargo-raze", "manual", @@ -32,7 +32,7 @@ alias( alias( name = "once_cell", - actual = "@wasmtime__once_cell__1_16_0//:once_cell", + actual = "@wasmtime__once_cell__1_17_1//:once_cell", tags = [ "cargo-raze", "manual", @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__2_0_2//:wasmtime", + actual = "@wasmtime__wasmtime__6_0_1//:wasmtime", tags = [ "cargo-raze", "manual", @@ -50,7 +50,7 @@ alias( alias( name = "wasmtime_c_api_macros", - actual = "@wasmtime__wasmtime_c_api_macros__0_19_0//:wasmtime_c_api_macros", + actual = "@wasmtime__wasmtime_c_api_macros__0_0_0//:wasmtime_c_api_macros", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index 5c21f6d55..14c6bbdf2 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -22,18 +22,18 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.19" +version = "0.7.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e" +checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" dependencies = [ "memchr", ] [[package]] name = "anyhow" -version = "1.0.66" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" +checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" [[package]] name = "arrayvec" @@ -47,7 +47,7 @@ version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ - "hermit-abi", + "hermit-abi 0.1.19", "libc", "winapi", ] @@ -75,9 +75,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bumpalo" -version = "3.11.1" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" +checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" [[package]] name = "byteorder" @@ -87,9 +87,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "cc" -version = "1.0.77" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4" +checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" [[package]] name = "cfg-if" @@ -108,18 +108,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "593b398dd0c5b1e2e3a9c3dae8584e287894ea84e361949ad506376e99196265" +checksum = "a7379abaacee0f14abf3204a7606118f0465785252169d186337bcb75030815a" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afc0d8faabd099ea15ab33d49d150e5572c04cfeb95d675fd41286739b754629" +checksum = "9489fa336927df749631f1008007ced2871068544f40a202ce6d93fbf2366a7b" dependencies = [ "arrayvec", "bumpalo", @@ -129,6 +129,7 @@ dependencies = [ "cranelift-entity", "cranelift-isle", "gimli", + "hashbrown", "log", "regalloc2", "smallvec", @@ -137,33 +138,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ac1669e42579476f001571d6ba4b825fac686282c97b88b18f8e34242066a81" +checksum = "05bbb67da91ec721ed57cef2f7c5ef7728e1cd9bde9ffd3ef8601022e73e3239" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2a1b1eef9640ab72c1e7b583ac678083855a509da34b4b4378bd99954127c20" +checksum = "418ecb2f36032f6665dc1a5e2060a143dbab41d83b784882e97710e890a7a16d" [[package]] name = "cranelift-entity" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eea4e17c3791fd8134640b26242a9ddbd7c67db78f0bad98cb778bf563ef81a0" +checksum = "7cf583f7b093f291005f9fb1323e2c37f6ee4c7909e39ce016b2e8360d461705" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca1474b5302348799656d43a40eacd716a3b46169405a3af812832c9edf77b4" +checksum = "0b66bf9e916f57fbbd0f7703ec6286f4624866bf45000111627c70d272c8dda1" dependencies = [ "cranelift-codegen", "log", @@ -173,15 +174,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77aa537f020ea43483100153278e7215d41695bdcef9eea6642d122675f64249" +checksum = "649782a39ce99798dd6b4029e2bb318a2fbeaade1b4fa25330763c10c65bc358" [[package]] name = "cranelift-native" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bdc6b65241a95b7d8eafbf4e114c082e49b80162a2dcd9c6bcc5989c3310c9e" +checksum = "937e021e089c51f9749d09e7ad1c4f255c2f8686cb8c3df63a34b3ec9921bc41" dependencies = [ "cranelift-codegen", "libc", @@ -190,9 +191,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.89.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb6359f606a1c80ccaa04fae9dbbb504615ec7a49b6c212b341080fff7a65dd" +checksum = "d850cf6775477747c9dfda9ae23355dd70512ffebc70cf82b85a5b111ae668b5" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -215,9 +216,9 @@ dependencies = [ [[package]] name = "either" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" +checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "env_logger" @@ -259,6 +260,15 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "form_urlencoded" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" +dependencies = [ + "percent-encoding", +] + [[package]] name = "fxhash" version = "0.2.1" @@ -308,12 +318,28 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" + [[package]] name = "humantime" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +[[package]] +name = "idna" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + [[package]] name = "indexmap" version = "1.9.2" @@ -327,9 +353,14 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "0.7.5" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" +checksum = "0dd6da19f25979c7270e70fa95ab371ec3b701cd0eefc47667a09785b3c59155" +dependencies = [ + "hermit-abi 0.3.1", + "libc", + "windows-sys 0.45.0", +] [[package]] name = "itertools" @@ -342,15 +373,15 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.137" +version = "0.2.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" +checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" [[package]] name = "linux-raw-sys" -version = "0.0.46" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "log" @@ -376,6 +407,15 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +[[package]] +name = "memfd" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb" +dependencies = [ + "rustix", +] + [[package]] name = "memoffset" version = "0.6.5" @@ -399,15 +439,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.16.0" +version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" +checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" [[package]] name = "paste" -version = "1.0.9" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1" +checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" + +[[package]] +name = "percent-encoding" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "ppv-lite86" @@ -417,9 +463,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" -version = "1.0.47" +version = "1.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" +checksum = "1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224" dependencies = [ "unicode-ident", ] @@ -435,9 +481,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.21" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" dependencies = [ "proc-macro2", ] @@ -474,9 +520,9 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.4.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91b2eab54204ea0117fe9a060537e0b07a4e72f7c7d182361ecc346cab2240e5" +checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" dependencies = [ "fxhash", "log", @@ -486,9 +532,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" +checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" dependencies = [ "aho-corasick", "memchr", @@ -509,32 +555,32 @@ checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" [[package]] name = "rustix" -version = "0.35.13" +version = "0.36.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" +checksum = "2fe885c3a125aa45213b68cc1472a49880cb5923dc23f522ad2791b882228778" dependencies = [ "bitflags", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "serde" -version = "1.0.147" +version = "1.0.157" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965" +checksum = "707de5fcf5df2b5788fca98dd7eab490bc2fd9b7ef1404defc462833b83f25ca" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.147" +version = "1.0.157" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852" +checksum = "78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5" dependencies = [ "proc-macro2", "quote", @@ -561,9 +607,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "1.0.103" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" +checksum = "59d3276aee1fa0c33612917969b5172b5be2db051232a6e4826f1a1a9191b045" dependencies = [ "proc-macro2", "quote", @@ -572,44 +618,85 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.5" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d" +checksum = "8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5" [[package]] name = "termcolor" -version = "1.1.3" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" +checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ "winapi-util", ] [[package]] name = "thiserror" -version = "1.0.37" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" +checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.37" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" +checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", "syn", ] +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "unicode-bidi" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d502c968c6a838ead8e69b2ee18ec708802f99db92a0d156705ec9ef801993b" + [[package]] name = "unicode-ident" -version = "1.0.5" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" + +[[package]] +name = "unicode-normalization" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "url" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" +checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] [[package]] name = "version_check" @@ -625,18 +712,19 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasmparser" -version = "0.92.0" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da34cec2a8c23db906cdf8b26e988d7a7f0d549eb5d51299129647af61a1b37" +checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" dependencies = [ "indexmap", + "url", ] [[package]] name = "wasmtime" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "743d37c265fa134a76de653c7e66be22590eaccd03da13cee99f3ac7a59cb826" +checksum = "f6e89f9819523447330ffd70367ef4a18d8c832e24e8150fe054d1d912841632" dependencies = [ "anyhow", "bincode", @@ -655,14 +743,14 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-asm-macros" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de327cf46d5218315957138131ed904621e6f99018aa2da508c0dcf0c65f1bf2" +checksum = "9bd3a5e46c198032da934469f3a6e48649d1f9142438e4fd4617b68a35644b8a" dependencies = [ "cfg-if", ] @@ -680,8 +768,8 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" -version = "0.19.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v2.0.2#a528e0383e1177119a6c985dac1972513df11a03" +version = "0.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v6.0.1#b6bc33da2bcb466d377fb02f5aa764a667d08e0a" dependencies = [ "proc-macro2", "quote", @@ -689,9 +777,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "017c3605ccce867b3ba7f71d95e5652acc22b9dc2971ad6a6f9df4a8d7af2648" +checksum = "59b2c92a08c0db6efffd88fdc97d7aa9c7c63b03edb0971dbca745469f820e8c" dependencies = [ "anyhow", "cranelift-codegen", @@ -710,9 +798,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aec5c1f81aab9bb35997113c171b6bb9093afc90e3757c55e0c08dc9ac612e4" +checksum = "9a6db9fc52985ba06ca601f2ff0ff1f526c5d724c7ac267b47326304b0c97883" dependencies = [ "anyhow", "cranelift-entity", @@ -729,9 +817,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08c683893dbba3986aa71582a5332b87157fb95d34098de2e5f077c7f078726d" +checksum = "b77e3a52cd84d0f7f18554afa8060cfe564ccac61e3b0802d3fd4084772fa5f6" dependencies = [ "addr2line", "anyhow", @@ -742,29 +830,39 @@ dependencies = [ "log", "object", "rustc-demangle", - "rustix", "serde", "target-lexicon", - "thiserror", "wasmtime-environ", + "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-jit-debug" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2f8f15a81292eec468c79a4f887a37a3d02eb0c610f34ddbec607d3e9022f18" +checksum = "d0245e8a9347017c7185a72e215218a802ff561545c242953c11ba00fccc930f" dependencies = [ "once_cell", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67d412e9340ab1c83867051d8d1d7c90aa8c9afc91da086088068e2734e25064" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.42.0", +] + [[package]] name = "wasmtime-runtime" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09af6238c962e8220424c815a7b1a9a6d0ba0694f0ab0ae12a6cda1923935a0d" +checksum = "d594e791b5fdd4dbaf8cf7ae62f2e4ff85018ce90f483ca6f42947688e48827d" dependencies = [ "anyhow", "cc", @@ -773,22 +871,22 @@ dependencies = [ "libc", "log", "mach", + "memfd", "memoffset", "paste", "rand", "rustix", - "thiserror", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-types" -version = "2.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dc3dd9521815984b35d6362f79e6b9c72475027cd1c71c44eb8df8fbf33a9fb" +checksum = "a6688d6f96d4dbc1f89fab626c56c1778936d122b5f4ae7a57c2eb42b8d982e2" dependencies = [ "cranelift-entity", "serde", @@ -827,19 +925,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", -] - [[package]] name = "windows-sys" version = "0.42.0" @@ -847,82 +932,76 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" dependencies = [ "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.42.0", - "windows_i686_gnu 0.42.0", - "windows_i686_msvc 0.42.0", - "windows_x86_64_gnu 0.42.0", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.42.0", + "windows_x86_64_msvc", ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.0" +name = "windows-sys" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets", +] [[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" +name = "windows-targets" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] [[package]] -name = "windows_aarch64_msvc" -version = "0.42.0" +name = "windows_aarch64_gnullvm" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] -name = "windows_i686_gnu" -version = "0.36.1" +name = "windows_aarch64_msvc" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_i686_gnu" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_msvc" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_x86_64_gnu" -version = "0.42.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnullvm" -version = "0.42.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index aeb869b3a..f4199812e 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -10,8 +10,8 @@ path = "fake_lib.rs" env_logger = "0.9" anyhow = "1.0" once_cell = "1.3" -wasmtime = {version = "2.0.2", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v2.0.2"} +wasmtime = {version = "6.0.1", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v6.0.1"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" @@ -37,5 +37,5 @@ additional_flags = [ "--cfg=feature=\\\"cc\\\"", ] buildrs_additional_deps = [ - "@wasmtime__cc__1_0_77//:cc", + "@wasmtime__cc__1_0_79//:cc", ] diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index 26949685a..1a65f92eb 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -33,22 +33,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__aho_corasick__0_7_19", - url = "https://crates.io/api/v1/crates/aho-corasick/0.7.19/download", + name = "wasmtime__aho_corasick__0_7_20", + url = "https://crates.io/api/v1/crates/aho-corasick/0.7.20/download", type = "tar.gz", - sha256 = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e", - strip_prefix = "aho-corasick-0.7.19", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-0.7.19.bazel"), + sha256 = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac", + strip_prefix = "aho-corasick-0.7.20", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-0.7.20.bazel"), ) maybe( http_archive, - name = "wasmtime__anyhow__1_0_66", - url = "https://crates.io/api/v1/crates/anyhow/1.0.66/download", + name = "wasmtime__anyhow__1_0_70", + url = "https://crates.io/api/v1/crates/anyhow/1.0.70/download", type = "tar.gz", - sha256 = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6", - strip_prefix = "anyhow-1.0.66", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.66.bazel"), + sha256 = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4", + strip_prefix = "anyhow-1.0.70", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.70.bazel"), ) maybe( @@ -103,18 +103,18 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__bumpalo__3_11_1", - url = "https://crates.io/api/v1/crates/bumpalo/3.11.1/download", + name = "wasmtime__bumpalo__3_12_0", + url = "https://crates.io/api/v1/crates/bumpalo/3.12.0/download", type = "tar.gz", - sha256 = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba", - strip_prefix = "bumpalo-3.11.1", + sha256 = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535", + strip_prefix = "bumpalo-3.12.0", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:bumpalo.patch", ], patch_args = [ "-p1", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.11.1.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.12.0.bazel"), ) maybe( @@ -129,12 +129,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cc__1_0_77", - url = "https://crates.io/api/v1/crates/cc/1.0.77/download", + name = "wasmtime__cc__1_0_79", + url = "https://crates.io/api/v1/crates/cc/1.0.79/download", type = "tar.gz", - sha256 = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4", - strip_prefix = "cc-1.0.77", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cc-1.0.77.bazel"), + sha256 = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f", + strip_prefix = "cc-1.0.79", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cc-1.0.79.bazel"), ) maybe( @@ -159,98 +159,98 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.89.2/download", + name = "wasmtime__cranelift_bforest__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.93.1/download", type = "tar.gz", - sha256 = "593b398dd0c5b1e2e3a9c3dae8584e287894ea84e361949ad506376e99196265", - strip_prefix = "cranelift-bforest-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.89.2.bazel"), + sha256 = "a7379abaacee0f14abf3204a7606118f0465785252169d186337bcb75030815a", + strip_prefix = "cranelift-bforest-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.89.2/download", + name = "wasmtime__cranelift_codegen__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.93.1/download", type = "tar.gz", - sha256 = "afc0d8faabd099ea15ab33d49d150e5572c04cfeb95d675fd41286739b754629", - strip_prefix = "cranelift-codegen-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.89.2.bazel"), + sha256 = "9489fa336927df749631f1008007ced2871068544f40a202ce6d93fbf2366a7b", + strip_prefix = "cranelift-codegen-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.89.2/download", + name = "wasmtime__cranelift_codegen_meta__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.93.1/download", type = "tar.gz", - sha256 = "1ac1669e42579476f001571d6ba4b825fac686282c97b88b18f8e34242066a81", - strip_prefix = "cranelift-codegen-meta-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.89.2.bazel"), + sha256 = "05bbb67da91ec721ed57cef2f7c5ef7728e1cd9bde9ffd3ef8601022e73e3239", + strip_prefix = "cranelift-codegen-meta-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.89.2/download", + name = "wasmtime__cranelift_codegen_shared__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.93.1/download", type = "tar.gz", - sha256 = "e2a1b1eef9640ab72c1e7b583ac678083855a509da34b4b4378bd99954127c20", - strip_prefix = "cranelift-codegen-shared-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.89.2.bazel"), + sha256 = "418ecb2f36032f6665dc1a5e2060a143dbab41d83b784882e97710e890a7a16d", + strip_prefix = "cranelift-codegen-shared-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.89.2/download", + name = "wasmtime__cranelift_entity__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.93.1/download", type = "tar.gz", - sha256 = "eea4e17c3791fd8134640b26242a9ddbd7c67db78f0bad98cb778bf563ef81a0", - strip_prefix = "cranelift-entity-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.89.2.bazel"), + sha256 = "7cf583f7b093f291005f9fb1323e2c37f6ee4c7909e39ce016b2e8360d461705", + strip_prefix = "cranelift-entity-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.89.2/download", + name = "wasmtime__cranelift_frontend__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.93.1/download", type = "tar.gz", - sha256 = "fca1474b5302348799656d43a40eacd716a3b46169405a3af812832c9edf77b4", - strip_prefix = "cranelift-frontend-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.89.2.bazel"), + sha256 = "0b66bf9e916f57fbbd0f7703ec6286f4624866bf45000111627c70d272c8dda1", + strip_prefix = "cranelift-frontend-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_isle__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-isle/0.89.2/download", + name = "wasmtime__cranelift_isle__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-isle/0.93.1/download", type = "tar.gz", - sha256 = "77aa537f020ea43483100153278e7215d41695bdcef9eea6642d122675f64249", - strip_prefix = "cranelift-isle-0.89.2", + sha256 = "649782a39ce99798dd6b4029e2bb318a2fbeaade1b4fa25330763c10c65bc358", + strip_prefix = "cranelift-isle-0.93.1", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", ], patch_args = [ "-p4", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.89.2.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-native/0.89.2/download", + name = "wasmtime__cranelift_native__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-native/0.93.1/download", type = "tar.gz", - sha256 = "8bdc6b65241a95b7d8eafbf4e114c082e49b80162a2dcd9c6bcc5989c3310c9e", - strip_prefix = "cranelift-native-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.89.2.bazel"), + sha256 = "937e021e089c51f9749d09e7ad1c4f255c2f8686cb8c3df63a34b3ec9921bc41", + strip_prefix = "cranelift-native-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.93.1.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_89_2", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.89.2/download", + name = "wasmtime__cranelift_wasm__0_93_1", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.93.1/download", type = "tar.gz", - sha256 = "4eb6359f606a1c80ccaa04fae9dbbb504615ec7a49b6c212b341080fff7a65dd", - strip_prefix = "cranelift-wasm-0.89.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.89.2.bazel"), + sha256 = "d850cf6775477747c9dfda9ae23355dd70512ffebc70cf82b85a5b111ae668b5", + strip_prefix = "cranelift-wasm-0.93.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.93.1.bazel"), ) maybe( @@ -265,12 +265,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__either__1_8_0", - url = "https://crates.io/api/v1/crates/either/1.8.0/download", + name = "wasmtime__either__1_8_1", + url = "https://crates.io/api/v1/crates/either/1.8.1/download", type = "tar.gz", - sha256 = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797", - strip_prefix = "either-1.8.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.either-1.8.0.bazel"), + sha256 = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91", + strip_prefix = "either-1.8.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.either-1.8.1.bazel"), ) maybe( @@ -313,6 +313,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.fallible-iterator-0.2.0.bazel"), ) + maybe( + http_archive, + name = "wasmtime__form_urlencoded__1_1_0", + url = "https://crates.io/api/v1/crates/form_urlencoded/1.1.0/download", + type = "tar.gz", + sha256 = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8", + strip_prefix = "form_urlencoded-1.1.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.form_urlencoded-1.1.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__fxhash__0_2_1", @@ -363,6 +373,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hermit-abi-0.1.19.bazel"), ) + maybe( + http_archive, + name = "wasmtime__hermit_abi__0_3_1", + url = "https://crates.io/api/v1/crates/hermit-abi/0.3.1/download", + type = "tar.gz", + sha256 = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286", + strip_prefix = "hermit-abi-0.3.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hermit-abi-0.3.1.bazel"), + ) + maybe( http_archive, name = "wasmtime__humantime__2_1_0", @@ -373,6 +393,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.humantime-2.1.0.bazel"), ) + maybe( + http_archive, + name = "wasmtime__idna__0_3_0", + url = "https://crates.io/api/v1/crates/idna/0.3.0/download", + type = "tar.gz", + sha256 = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6", + strip_prefix = "idna-0.3.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.idna-0.3.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__indexmap__1_9_2", @@ -385,12 +415,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__io_lifetimes__0_7_5", - url = "https://crates.io/api/v1/crates/io-lifetimes/0.7.5/download", + name = "wasmtime__io_lifetimes__1_0_8", + url = "https://crates.io/api/v1/crates/io-lifetimes/1.0.8/download", type = "tar.gz", - sha256 = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074", - strip_prefix = "io-lifetimes-0.7.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-0.7.5.bazel"), + sha256 = "0dd6da19f25979c7270e70fa95ab371ec3b701cd0eefc47667a09785b3c59155", + strip_prefix = "io-lifetimes-1.0.8", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-1.0.8.bazel"), ) maybe( @@ -405,22 +435,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__libc__0_2_137", - url = "https://crates.io/api/v1/crates/libc/0.2.137/download", + name = "wasmtime__libc__0_2_140", + url = "https://crates.io/api/v1/crates/libc/0.2.140/download", type = "tar.gz", - sha256 = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89", - strip_prefix = "libc-0.2.137", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.137.bazel"), + sha256 = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c", + strip_prefix = "libc-0.2.140", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.140.bazel"), ) maybe( http_archive, - name = "wasmtime__linux_raw_sys__0_0_46", - url = "https://crates.io/api/v1/crates/linux-raw-sys/0.0.46/download", + name = "wasmtime__linux_raw_sys__0_1_4", + url = "https://crates.io/api/v1/crates/linux-raw-sys/0.1.4/download", type = "tar.gz", - sha256 = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d", - strip_prefix = "linux-raw-sys-0.0.46", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.0.46.bazel"), + sha256 = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4", + strip_prefix = "linux-raw-sys-0.1.4", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.1.4.bazel"), ) maybe( @@ -453,6 +483,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memchr-2.5.0.bazel"), ) + maybe( + http_archive, + name = "wasmtime__memfd__0_6_2", + url = "https://crates.io/api/v1/crates/memfd/0.6.2/download", + type = "tar.gz", + sha256 = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb", + strip_prefix = "memfd-0.6.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memfd-0.6.2.bazel"), + ) + maybe( http_archive, name = "wasmtime__memoffset__0_6_5", @@ -475,22 +515,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__once_cell__1_16_0", - url = "https://crates.io/api/v1/crates/once_cell/1.16.0/download", + name = "wasmtime__once_cell__1_17_1", + url = "https://crates.io/api/v1/crates/once_cell/1.17.1/download", + type = "tar.gz", + sha256 = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3", + strip_prefix = "once_cell-1.17.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.17.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__paste__1_0_12", + url = "https://crates.io/api/v1/crates/paste/1.0.12/download", type = "tar.gz", - sha256 = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860", - strip_prefix = "once_cell-1.16.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.16.0.bazel"), + sha256 = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79", + strip_prefix = "paste-1.0.12", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.12.bazel"), ) maybe( http_archive, - name = "wasmtime__paste__1_0_9", - url = "https://crates.io/api/v1/crates/paste/1.0.9/download", + name = "wasmtime__percent_encoding__2_2_0", + url = "https://crates.io/api/v1/crates/percent-encoding/2.2.0/download", type = "tar.gz", - sha256 = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1", - strip_prefix = "paste-1.0.9", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.9.bazel"), + sha256 = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e", + strip_prefix = "percent-encoding-2.2.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.percent-encoding-2.2.0.bazel"), ) maybe( @@ -505,12 +555,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__proc_macro2__1_0_47", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.47/download", + name = "wasmtime__proc_macro2__1_0_52", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.52/download", type = "tar.gz", - sha256 = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725", - strip_prefix = "proc-macro2-1.0.47", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.47.bazel"), + sha256 = "1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224", + strip_prefix = "proc-macro2-1.0.52", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.52.bazel"), ) maybe( @@ -525,12 +575,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__quote__1_0_21", - url = "https://crates.io/api/v1/crates/quote/1.0.21/download", + name = "wasmtime__quote__1_0_26", + url = "https://crates.io/api/v1/crates/quote/1.0.26/download", type = "tar.gz", - sha256 = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179", - strip_prefix = "quote-1.0.21", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.21.bazel"), + sha256 = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc", + strip_prefix = "quote-1.0.26", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.26.bazel"), ) maybe( @@ -565,22 +615,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__regalloc2__0_4_2", - url = "https://crates.io/api/v1/crates/regalloc2/0.4.2/download", + name = "wasmtime__regalloc2__0_5_1", + url = "https://crates.io/api/v1/crates/regalloc2/0.5.1/download", type = "tar.gz", - sha256 = "91b2eab54204ea0117fe9a060537e0b07a4e72f7c7d182361ecc346cab2240e5", - strip_prefix = "regalloc2-0.4.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.4.2.bazel"), + sha256 = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c", + strip_prefix = "regalloc2-0.5.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.5.1.bazel"), ) maybe( http_archive, - name = "wasmtime__regex__1_7_0", - url = "https://crates.io/api/v1/crates/regex/1.7.0/download", + name = "wasmtime__regex__1_7_1", + url = "https://crates.io/api/v1/crates/regex/1.7.1/download", type = "tar.gz", - sha256 = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a", - strip_prefix = "regex-1.7.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.7.0.bazel"), + sha256 = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733", + strip_prefix = "regex-1.7.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.7.1.bazel"), ) maybe( @@ -605,32 +655,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__rustix__0_35_13", - url = "https://crates.io/api/v1/crates/rustix/0.35.13/download", + name = "wasmtime__rustix__0_36_10", + url = "https://crates.io/api/v1/crates/rustix/0.36.10/download", type = "tar.gz", - sha256 = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9", - strip_prefix = "rustix-0.35.13", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.35.13.bazel"), + sha256 = "2fe885c3a125aa45213b68cc1472a49880cb5923dc23f522ad2791b882228778", + strip_prefix = "rustix-0.36.10", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.36.10.bazel"), ) maybe( http_archive, - name = "wasmtime__serde__1_0_147", - url = "https://crates.io/api/v1/crates/serde/1.0.147/download", + name = "wasmtime__serde__1_0_157", + url = "https://crates.io/api/v1/crates/serde/1.0.157/download", type = "tar.gz", - sha256 = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965", - strip_prefix = "serde-1.0.147", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.147.bazel"), + sha256 = "707de5fcf5df2b5788fca98dd7eab490bc2fd9b7ef1404defc462833b83f25ca", + strip_prefix = "serde-1.0.157", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.157.bazel"), ) maybe( http_archive, - name = "wasmtime__serde_derive__1_0_147", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.147/download", + name = "wasmtime__serde_derive__1_0_157", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.157/download", type = "tar.gz", - sha256 = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852", - strip_prefix = "serde_derive-1.0.147", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.147.bazel"), + sha256 = "78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5", + strip_prefix = "serde_derive-1.0.157", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.157.bazel"), ) maybe( @@ -665,62 +715,112 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__syn__1_0_103", - url = "https://crates.io/api/v1/crates/syn/1.0.103/download", + name = "wasmtime__syn__2_0_2", + url = "https://crates.io/api/v1/crates/syn/2.0.2/download", type = "tar.gz", - sha256 = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d", - strip_prefix = "syn-1.0.103", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-1.0.103.bazel"), + sha256 = "59d3276aee1fa0c33612917969b5172b5be2db051232a6e4826f1a1a9191b045", + strip_prefix = "syn-2.0.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-2.0.2.bazel"), ) maybe( http_archive, - name = "wasmtime__target_lexicon__0_12_5", - url = "https://crates.io/api/v1/crates/target-lexicon/0.12.5/download", + name = "wasmtime__target_lexicon__0_12_6", + url = "https://crates.io/api/v1/crates/target-lexicon/0.12.6/download", type = "tar.gz", - sha256 = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d", - strip_prefix = "target-lexicon-0.12.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.5.bazel"), + sha256 = "8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5", + strip_prefix = "target-lexicon-0.12.6", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.6.bazel"), ) maybe( http_archive, - name = "wasmtime__termcolor__1_1_3", - url = "https://crates.io/api/v1/crates/termcolor/1.1.3/download", + name = "wasmtime__termcolor__1_2_0", + url = "https://crates.io/api/v1/crates/termcolor/1.2.0/download", type = "tar.gz", - sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755", - strip_prefix = "termcolor-1.1.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.termcolor-1.1.3.bazel"), + sha256 = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6", + strip_prefix = "termcolor-1.2.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.termcolor-1.2.0.bazel"), ) maybe( http_archive, - name = "wasmtime__thiserror__1_0_37", - url = "https://crates.io/api/v1/crates/thiserror/1.0.37/download", + name = "wasmtime__thiserror__1_0_40", + url = "https://crates.io/api/v1/crates/thiserror/1.0.40/download", type = "tar.gz", - sha256 = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e", - strip_prefix = "thiserror-1.0.37", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.37.bazel"), + sha256 = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac", + strip_prefix = "thiserror-1.0.40", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.40.bazel"), ) maybe( http_archive, - name = "wasmtime__thiserror_impl__1_0_37", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.37/download", + name = "wasmtime__thiserror_impl__1_0_40", + url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.40/download", type = "tar.gz", - sha256 = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb", - strip_prefix = "thiserror-impl-1.0.37", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.37.bazel"), + sha256 = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f", + strip_prefix = "thiserror-impl-1.0.40", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.40.bazel"), ) maybe( http_archive, - name = "wasmtime__unicode_ident__1_0_5", - url = "https://crates.io/api/v1/crates/unicode-ident/1.0.5/download", + name = "wasmtime__tinyvec__1_6_0", + url = "https://crates.io/api/v1/crates/tinyvec/1.6.0/download", type = "tar.gz", - sha256 = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3", - strip_prefix = "unicode-ident-1.0.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.5.bazel"), + sha256 = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50", + strip_prefix = "tinyvec-1.6.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.tinyvec-1.6.0.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__tinyvec_macros__0_1_1", + url = "https://crates.io/api/v1/crates/tinyvec_macros/0.1.1/download", + type = "tar.gz", + sha256 = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20", + strip_prefix = "tinyvec_macros-0.1.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.tinyvec_macros-0.1.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__unicode_bidi__0_3_12", + url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.12/download", + type = "tar.gz", + sha256 = "7d502c968c6a838ead8e69b2ee18ec708802f99db92a0d156705ec9ef801993b", + strip_prefix = "unicode-bidi-0.3.12", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-bidi-0.3.12.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__unicode_ident__1_0_8", + url = "https://crates.io/api/v1/crates/unicode-ident/1.0.8/download", + type = "tar.gz", + sha256 = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4", + strip_prefix = "unicode-ident-1.0.8", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.8.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__unicode_normalization__0_1_22", + url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.22/download", + type = "tar.gz", + sha256 = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921", + strip_prefix = "unicode-normalization-0.1.22", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-normalization-0.1.22.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__url__2_3_1", + url = "https://crates.io/api/v1/crates/url/2.3.1/download", + type = "tar.gz", + sha256 = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643", + strip_prefix = "url-2.3.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.url-2.3.1.bazel"), ) maybe( @@ -745,101 +845,111 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmparser__0_92_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.92.0/download", + name = "wasmtime__wasmparser__0_100_0", + url = "https://crates.io/api/v1/crates/wasmparser/0.100.0/download", type = "tar.gz", - sha256 = "7da34cec2a8c23db906cdf8b26e988d7a7f0d549eb5d51299129647af61a1b37", - strip_prefix = "wasmparser-0.92.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.92.0.bazel"), + sha256 = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4", + strip_prefix = "wasmparser-0.100.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.100.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime/2.0.2/download", + name = "wasmtime__wasmtime__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime/6.0.1/download", type = "tar.gz", - sha256 = "743d37c265fa134a76de653c7e66be22590eaccd03da13cee99f3ac7a59cb826", - strip_prefix = "wasmtime-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-2.0.2.bazel"), + sha256 = "f6e89f9819523447330ffd70367ef4a18d8c832e24e8150fe054d1d912841632", + strip_prefix = "wasmtime-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-6.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_asm_macros__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/2.0.2/download", + name = "wasmtime__wasmtime_asm_macros__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/6.0.1/download", type = "tar.gz", - sha256 = "de327cf46d5218315957138131ed904621e6f99018aa2da508c0dcf0c65f1bf2", - strip_prefix = "wasmtime-asm-macros-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-2.0.2.bazel"), + sha256 = "9bd3a5e46c198032da934469f3a6e48649d1f9142438e4fd4617b68a35644b8a", + strip_prefix = "wasmtime-asm-macros-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-6.0.1.bazel"), ) maybe( new_git_repository, - name = "wasmtime__wasmtime_c_api_macros__0_19_0", + name = "wasmtime__wasmtime_c_api_macros__0_0_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "a528e0383e1177119a6c985dac1972513df11a03", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.19.0.bazel"), + commit = "b6bc33da2bcb466d377fb02f5aa764a667d08e0a", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.0.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/2.0.2/download", + name = "wasmtime__wasmtime_cranelift__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/6.0.1/download", type = "tar.gz", - sha256 = "017c3605ccce867b3ba7f71d95e5652acc22b9dc2971ad6a6f9df4a8d7af2648", - strip_prefix = "wasmtime-cranelift-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-2.0.2.bazel"), + sha256 = "59b2c92a08c0db6efffd88fdc97d7aa9c7c63b03edb0971dbca745469f820e8c", + strip_prefix = "wasmtime-cranelift-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-6.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime-environ/2.0.2/download", + name = "wasmtime__wasmtime_environ__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-environ/6.0.1/download", type = "tar.gz", - sha256 = "6aec5c1f81aab9bb35997113c171b6bb9093afc90e3757c55e0c08dc9ac612e4", - strip_prefix = "wasmtime-environ-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-2.0.2.bazel"), + sha256 = "9a6db9fc52985ba06ca601f2ff0ff1f526c5d724c7ac267b47326304b0c97883", + strip_prefix = "wasmtime-environ-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-6.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime-jit/2.0.2/download", + name = "wasmtime__wasmtime_jit__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit/6.0.1/download", type = "tar.gz", - sha256 = "08c683893dbba3986aa71582a5332b87157fb95d34098de2e5f077c7f078726d", - strip_prefix = "wasmtime-jit-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-2.0.2.bazel"), + sha256 = "b77e3a52cd84d0f7f18554afa8060cfe564ccac61e3b0802d3fd4084772fa5f6", + strip_prefix = "wasmtime-jit-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-6.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/2.0.2/download", + name = "wasmtime__wasmtime_jit_debug__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/6.0.1/download", type = "tar.gz", - sha256 = "b2f8f15a81292eec468c79a4f887a37a3d02eb0c610f34ddbec607d3e9022f18", - strip_prefix = "wasmtime-jit-debug-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-2.0.2.bazel"), + sha256 = "d0245e8a9347017c7185a72e215218a802ff561545c242953c11ba00fccc930f", + strip_prefix = "wasmtime-jit-debug-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-6.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/2.0.2/download", + name = "wasmtime__wasmtime_jit_icache_coherence__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-jit-icache-coherence/6.0.1/download", type = "tar.gz", - sha256 = "09af6238c962e8220424c815a7b1a9a6d0ba0694f0ab0ae12a6cda1923935a0d", - strip_prefix = "wasmtime-runtime-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-2.0.2.bazel"), + sha256 = "67d412e9340ab1c83867051d8d1d7c90aa8c9afc91da086088068e2734e25064", + strip_prefix = "wasmtime-jit-icache-coherence-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__2_0_2", - url = "https://crates.io/api/v1/crates/wasmtime-types/2.0.2/download", + name = "wasmtime__wasmtime_runtime__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/6.0.1/download", type = "tar.gz", - sha256 = "5dc3dd9521815984b35d6362f79e6b9c72475027cd1c71c44eb8df8fbf33a9fb", - strip_prefix = "wasmtime-types-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-2.0.2.bazel"), + sha256 = "d594e791b5fdd4dbaf8cf7ae62f2e4ff85018ce90f483ca6f42947688e48827d", + strip_prefix = "wasmtime-runtime-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-6.0.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__wasmtime_types__6_0_1", + url = "https://crates.io/api/v1/crates/wasmtime-types/6.0.1/download", + type = "tar.gz", + sha256 = "a6688d6f96d4dbc1f89fab626c56c1778936d122b5f4ae7a57c2eb42b8d982e2", + strip_prefix = "wasmtime-types-6.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-6.0.1.bazel"), ) maybe( @@ -882,16 +992,6 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), ) - maybe( - http_archive, - name = "wasmtime__windows_sys__0_36_1", - url = "https://crates.io/api/v1/crates/windows-sys/0.36.1/download", - type = "tar.gz", - sha256 = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2", - strip_prefix = "windows-sys-0.36.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.36.1.bazel"), - ) - maybe( http_archive, name = "wasmtime__windows_sys__0_42_0", @@ -904,120 +1004,90 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__windows_aarch64_gnullvm__0_42_0", - url = "https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.42.0/download", - type = "tar.gz", - sha256 = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e", - strip_prefix = "windows_aarch64_gnullvm-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.42.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_aarch64_msvc__0_36_1", - url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.36.1/download", - type = "tar.gz", - sha256 = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47", - strip_prefix = "windows_aarch64_msvc-0.36.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.36.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_aarch64_msvc__0_42_0", - url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.42.0/download", - type = "tar.gz", - sha256 = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4", - strip_prefix = "windows_aarch64_msvc-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.42.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_i686_gnu__0_36_1", - url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.36.1/download", + name = "wasmtime__windows_sys__0_45_0", + url = "https://crates.io/api/v1/crates/windows-sys/0.45.0/download", type = "tar.gz", - sha256 = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6", - strip_prefix = "windows_i686_gnu-0.36.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.36.1.bazel"), + sha256 = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0", + strip_prefix = "windows-sys-0.45.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.45.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_i686_gnu__0_42_0", - url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.42.0/download", + name = "wasmtime__windows_targets__0_42_2", + url = "https://crates.io/api/v1/crates/windows-targets/0.42.2/download", type = "tar.gz", - sha256 = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7", - strip_prefix = "windows_i686_gnu-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.42.0.bazel"), + sha256 = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071", + strip_prefix = "windows-targets-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.42.2.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_i686_msvc__0_36_1", - url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.36.1/download", + name = "wasmtime__windows_aarch64_gnullvm__0_42_2", + url = "https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.42.2/download", type = "tar.gz", - sha256 = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024", - strip_prefix = "windows_i686_msvc-0.36.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.36.1.bazel"), + sha256 = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8", + strip_prefix = "windows_aarch64_gnullvm-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.42.2.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_i686_msvc__0_42_0", - url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.42.0/download", + name = "wasmtime__windows_aarch64_msvc__0_42_2", + url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.42.2/download", type = "tar.gz", - sha256 = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246", - strip_prefix = "windows_i686_msvc-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.42.0.bazel"), + sha256 = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43", + strip_prefix = "windows_aarch64_msvc-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.42.2.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_gnu__0_36_1", - url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.36.1/download", + name = "wasmtime__windows_i686_gnu__0_42_2", + url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.42.2/download", type = "tar.gz", - sha256 = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1", - strip_prefix = "windows_x86_64_gnu-0.36.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.36.1.bazel"), + sha256 = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f", + strip_prefix = "windows_i686_gnu-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.42.2.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_gnu__0_42_0", - url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.42.0/download", + name = "wasmtime__windows_i686_msvc__0_42_2", + url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.42.2/download", type = "tar.gz", - sha256 = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed", - strip_prefix = "windows_x86_64_gnu-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.42.0.bazel"), + sha256 = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060", + strip_prefix = "windows_i686_msvc-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.42.2.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_gnullvm__0_42_0", - url = "https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.42.0/download", + name = "wasmtime__windows_x86_64_gnu__0_42_2", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.42.2/download", type = "tar.gz", - sha256 = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028", - strip_prefix = "windows_x86_64_gnullvm-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.42.0.bazel"), + sha256 = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36", + strip_prefix = "windows_x86_64_gnu-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.42.2.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_msvc__0_36_1", - url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.36.1/download", + name = "wasmtime__windows_x86_64_gnullvm__0_42_2", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.42.2/download", type = "tar.gz", - sha256 = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680", - strip_prefix = "windows_x86_64_msvc-0.36.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.36.1.bazel"), + sha256 = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3", + strip_prefix = "windows_x86_64_gnullvm-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.42.2.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_msvc__0_42_0", - url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.42.0/download", + name = "wasmtime__windows_x86_64_msvc__0_42_2", + url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.42.2/download", type = "tar.gz", - sha256 = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5", - strip_prefix = "windows_x86_64_msvc-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.42.0.bazel"), + sha256 = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0", + strip_prefix = "windows_x86_64_msvc-0.42.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.42.2.bazel"), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel index 85485572c..b379a904b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel @@ -188,7 +188,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__once_cell__1_16_0//:once_cell", + "@wasmtime__once_cell__1_17_1//:once_cell", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.20.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.19.bazel rename to bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.20.bazel index c0b21a3be..ff04b2e8d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.20.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=aho_corasick", "manual", ], - version = "0.7.19", + version = "0.7.20", # buildifier: leave-alone deps = [ "@wasmtime__memchr__2_5_0//:memchr", diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.66.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.70.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.66.bazel rename to bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.70.bazel index 7efe07f38..40857df25 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.66.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.70.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.66", + version = "1.0.70", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=anyhow", "manual", ], - version = "1.0.66", + version = "1.0.70", # buildifier: leave-alone deps = [ ":anyhow_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel index 6b1bcb3b6..4328e3654 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel @@ -74,7 +74,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index 9606f772a..dd1fe52c6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -50,7 +50,7 @@ rust_library( version = "1.3.3", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_147//:serde", + "@wasmtime__serde__1_0_157//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.11.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.12.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.11.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.12.0.bazel index 391fc5230..b9c5b13c1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.11.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.12.0.bazel @@ -50,7 +50,7 @@ rust_library( "crate-name=bumpalo", "manual", ], - version = "3.11.1", + version = "3.12.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.77.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.79.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cc-1.0.77.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cc-1.0.79.bazel index 374a61361..e20c01b8e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.77.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.79.bazel @@ -49,7 +49,7 @@ rust_binary( "crate-name=gcc-shim", "manual", ], - version = "1.0.77", + version = "1.0.79", # buildifier: leave-alone deps = [ ":cc", @@ -72,7 +72,7 @@ rust_library( "crate-name=cc", "manual", ], - version = "1.0.77", + version = "1.0.79", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.93.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.93.1.bazel index 8eb878a64..4add29b59 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.93.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", + "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.93.1.bazel similarity index 77% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.93.1.bazel index 59a59bc84..2dabba129 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.93.1.bazel @@ -46,6 +46,7 @@ cargo_build_script( "default", "gimli", "std", + "trace-log", "unwind", ], crate_root = "build.rs", @@ -58,11 +59,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.89.2", + version = "0.93.1", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_89_2//:cranelift_codegen_meta", - "@wasmtime__cranelift_isle__0_89_2//:cranelift_isle", + "@wasmtime__cranelift_codegen_meta__0_93_1//:cranelift_codegen_meta", + "@wasmtime__cranelift_isle__0_93_1//:cranelift_isle", ], ) @@ -75,6 +76,7 @@ rust_library( "default", "gimli", "std", + "trace-log", "unwind", ], crate_root = "src/lib.rs", @@ -88,19 +90,20 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", "@wasmtime__arrayvec__0_7_2//:arrayvec", - "@wasmtime__bumpalo__3_11_1//:bumpalo", - "@wasmtime__cranelift_bforest__0_89_2//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_89_2//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", + "@wasmtime__bumpalo__3_12_0//:bumpalo", + "@wasmtime__cranelift_bforest__0_93_1//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_93_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", + "@wasmtime__hashbrown__0_12_3//:hashbrown", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regalloc2__0_4_2//:regalloc2", + "@wasmtime__regalloc2__0_5_1//:regalloc2", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_5//:target_lexicon", + "@wasmtime__target_lexicon__0_12_6//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.93.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.93.1.bazel index c1e60d901..3ff1556f6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.93.1.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_89_2//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_93_1//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.93.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.93.1.bazel index 31153e86c..eab3b03cb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.93.1.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.93.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.93.1.bazel index 97a5b71b6..fb5ef6fe1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.93.1.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_147//:serde", + "@wasmtime__serde__1_0_157//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.93.1.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.93.1.bazel index dc55bd281..88d24eba2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.93.1.bazel @@ -49,12 +49,12 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", + "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_5//:target_lexicon", + "@wasmtime__target_lexicon__0_12_6//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.93.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.93.1.bazel index 801c29247..d81b52602 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.93.1.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.89.2", + version = "0.93.1", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "crate-name=cranelift-isle", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ ":cranelift_isle_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.93.1.bazel similarity index 82% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.93.1.bazel index a99f81745..b34a8ce62 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.93.1.bazel @@ -51,17 +51,17 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", - "@wasmtime__target_lexicon__0_12_5//:target_lexicon", + "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", + "@wasmtime__target_lexicon__0_12_6//:target_lexicon", ] + selects.with_or({ - # cfg(target_arch = "s390x") + # cfg(any(target_arch = "s390x", target_arch = "riscv64")) ( "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.93.1.bazel similarity index 79% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.93.1.bazel index 8c6580c92..cfed43381 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.89.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.93.1.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.89.2", + version = "0.93.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_89_2//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_93_1//:cranelift_frontend", "@wasmtime__itertools__0_10_5//:itertools", "@wasmtime__log__0_4_17//:log", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_types__2_0_2//:wasmtime_types", + "@wasmtime__wasmparser__0_100_0//:wasmparser", + "@wasmtime__wasmtime_types__6_0_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.either-1.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.either-1.8.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.either-1.8.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.either-1.8.1.bazel index 0103fd8cf..361164111 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.either-1.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.either-1.8.1.bazel @@ -48,7 +48,7 @@ rust_library( "crate-name=either", "manual", ], - version = "1.8.0", + version = "1.8.1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel index 1415ec0c0..215e96b3f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel @@ -58,8 +58,8 @@ rust_library( "@wasmtime__atty__0_2_14//:atty", "@wasmtime__humantime__2_1_0//:humantime", "@wasmtime__log__0_4_17//:log", - "@wasmtime__regex__1_7_0//:regex", - "@wasmtime__termcolor__1_1_3//:termcolor", + "@wasmtime__regex__1_7_1//:regex", + "@wasmtime__termcolor__1_2_0//:termcolor", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel index 71663e42a..59e11e6bc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel @@ -53,7 +53,6 @@ rust_library( # buildifier: leave-alone deps = [ ] + selects.with_or({ - # cfg(unix) ( "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:i686-apple-darwin", @@ -73,7 +72,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel index 8bd9bcb2c..c478a7433 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel @@ -57,7 +57,7 @@ cargo_build_script( version = "0.1.2", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_77//:cc", + "@wasmtime__cc__1_0_79//:cc", ], ) @@ -81,6 +81,6 @@ rust_library( # buildifier: leave-alone deps = [ ":errno_dragonfly_build_script", - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel new file mode 100644 index 000000000..90133f21f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "form_urlencoded", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=form_urlencoded", + "manual", + ], + version = "1.1.0", + # buildifier: leave-alone + deps = [ + "@wasmtime__percent_encoding__2_2_0//:percent_encoding", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel index e3ee8432d..db7fdded6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel @@ -84,7 +84,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel index c9ecdf51a..39778cd98 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel @@ -40,6 +40,8 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "ahash", + "default", + "inline-more", "raw", ], crate_root = "src/lib.rs", diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel index ca03f81ba..fb457e180 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel @@ -51,6 +51,6 @@ rust_library( version = "0.1.19", # buildifier: leave-alone deps = [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel new file mode 100644 index 000000000..1e326eb98 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "hermit_abi", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=hermit-abi", + "manual", + ], + version = "0.3.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel similarity index 71% rename from bazel/cargo/wasmtime/remote/BUILD.paste-1.0.9.bazel rename to bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel index cc57a6e84..e090f874d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel @@ -31,8 +31,10 @@ licenses([ # Generated Targets -rust_proc_macro( - name = "paste", +# Unsupported target "all" with type "bench" omitted + +rust_library( + name = "idna", srcs = glob(["**/*.rs"]), crate_features = [ ], @@ -44,21 +46,17 @@ rust_proc_macro( ], tags = [ "cargo-raze", - "crate-name=paste", + "crate-name=idna", "manual", ], - version = "1.0.9", + version = "0.3.0", # buildifier: leave-alone deps = [ + "@wasmtime__unicode_bidi__0_3_12//:unicode_bidi", + "@wasmtime__unicode_normalization__0_1_22//:unicode_normalization", ], ) -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_attr" with type "test" omitted - -# Unsupported target "test_doc" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted +# Unsupported target "tests" with type "test" omitted -# Unsupported target "test_item" with type "test" omitted +# Unsupported target "unit" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel index c0c78e0b0..debb87520 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel @@ -92,7 +92,7 @@ rust_library( deps = [ ":indexmap_build_script", "@wasmtime__hashbrown__0_12_3//:hashbrown", - "@wasmtime__serde__1_0_147//:serde", + "@wasmtime__serde__1_0_157//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.5.bazel deleted file mode 100644 index 0a4b35562..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-0.7.5.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "io_lifetimes_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.7.5", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "io_lifetimes", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=io-lifetimes", - "manual", - ], - version = "0.7.5", - # buildifier: leave-alone - deps = [ - ":io_lifetimes_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.8.bazel new file mode 100644 index 000000000..730a93a57 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.8.bazel @@ -0,0 +1,161 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "io_lifetimes_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "close", + "hermit-abi", + "libc", + "windows-sys", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.8", + visibility = ["//visibility:private"], + deps = [ + ] + selects.with_or({ + # cfg(not(windows)) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@wasmtime__windows_sys__0_45_0//:windows_sys", + ], + "//conditions:default": [], + }), +) + +rust_library( + name = "io_lifetimes", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "close", + "hermit-abi", + "libc", + "windows-sys", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=io-lifetimes", + "manual", + ], + version = "1.0.8", + # buildifier: leave-alone + deps = [ + ":io_lifetimes_build_script", + ] + selects.with_or({ + # cfg(not(windows)) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + "@wasmtime__libc__0_2_140//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@wasmtime__windows_sys__0_45_0//:windows_sys", + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel index 3abb16e27..0c67dab7a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel @@ -71,7 +71,7 @@ rust_library( version = "0.10.5", # buildifier: leave-alone deps = [ - "@wasmtime__either__1_8_0//:either", + "@wasmtime__either__1_8_1//:either", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.137.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.140.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.libc-0.2.137.bazel rename to bazel/cargo/wasmtime/remote/BUILD.libc-0.2.140.bazel index cdddb7734..99968d55e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.137.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.140.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.137", + version = "0.2.140", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=libc", "manual", ], - version = "0.2.137", + version = "0.2.140", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.46.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.1.4.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.46.bazel rename to bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.1.4.bazel index a3a724ab6..bc2f28994 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.0.46.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.1.4.bazel @@ -51,7 +51,7 @@ rust_library( "crate-name=linux-raw-sys", "manual", ], - version = "0.0.46", + version = "0.1.4", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index fdd688164..9a3abd783 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -64,7 +64,7 @@ rust_library( "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:x86_64-apple-ios", ): [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.2.bazel new file mode 100644 index 000000000..b01f05c3a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.2.bazel @@ -0,0 +1,61 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "sized" with type "example" omitted + +rust_library( + name = "memfd", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=memfd", + "manual", + ], + version = "0.6.2", + # buildifier: leave-alone + deps = [ + "@wasmtime__rustix__0_36_10//:rustix", + ], +) + +# Unsupported target "memfd" with type "test" omitted + +# Unsupported target "sealing" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.16.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.once_cell-1.16.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.1.bazel index b8221ad2d..d1c56af71 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.16.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.1.bazel @@ -65,7 +65,7 @@ rust_library( "crate-name=once_cell", "manual", ], - version = "1.16.0", + version = "1.17.1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.12.bazel similarity index 76% rename from bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.paste-1.0.12.bazel index bdbed759a..d8ed0c975 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.12.bazel @@ -38,7 +38,7 @@ load( ) cargo_build_script( - name = "windows_aarch64_msvc_build_script", + name = "paste_build_script", srcs = glob(["**/*.rs"]), build_script_env = { }, @@ -54,14 +54,14 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.1", + version = "1.0.12", visibility = ["//visibility:private"], deps = [ ], ) -rust_library( - name = "windows_aarch64_msvc", +rust_proc_macro( + name = "paste", srcs = glob(["**/*.rs"]), crate_features = [ ], @@ -73,12 +73,22 @@ rust_library( ], tags = [ "cargo-raze", - "crate-name=windows_aarch64_msvc", + "crate-name=paste", "manual", ], - version = "0.36.1", + version = "1.0.12", # buildifier: leave-alone deps = [ - ":windows_aarch64_msvc_build_script", + ":paste_build_script", ], ) + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "test_attr" with type "test" omitted + +# Unsupported target "test_doc" with type "test" omitted + +# Unsupported target "test_expr" with type "test" omitted + +# Unsupported target "test_item" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel new file mode 100644 index 000000000..95a56e1b0 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel @@ -0,0 +1,56 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "percent_encoding", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "default", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=percent-encoding", + "manual", + ], + version = "2.2.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.47.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.52.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.47.bazel rename to bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.52.bazel index 06a29955e..f4073eac9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.47.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.52.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.47", + version = "1.0.52", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=proc-macro2", "manual", ], - version = "1.0.47", + version = "1.0.52", # buildifier: leave-alone deps = [ ":proc_macro2_build_script", - "@wasmtime__unicode_ident__1_0_5//:unicode_ident", + "@wasmtime__unicode_ident__1_0_8//:unicode_ident", ], ) @@ -97,3 +97,5 @@ rust_library( # Unsupported target "test" with type "test" omitted # Unsupported target "test_fmt" with type "test" omitted + +# Unsupported target "test_size" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel index 5c35a2fae..bd4d7d358 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -57,7 +57,7 @@ cargo_build_script( version = "0.1.21", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_77//:cc", + "@wasmtime__cc__1_0_79//:cc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.26.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.quote-1.0.21.bazel rename to bazel/cargo/wasmtime/remote/BUILD.quote-1.0.26.bazel index 50d302291..c5e62bf4a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.26.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.21", + version = "1.0.26", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=quote", "manual", ], - version = "1.0.21", + version = "1.0.26", # buildifier: leave-alone deps = [ ":quote_build_script", - "@wasmtime__proc_macro2__1_0_47//:proc_macro2", + "@wasmtime__proc_macro2__1_0_52//:proc_macro2", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 69762bf1e..73e341553 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -42,6 +42,7 @@ rust_library( "getrandom", "libc", "rand_chacha", + "small_rng", "std", "std_rng", ], @@ -81,7 +82,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.5.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.5.1.bazel index 47b521a36..fd1efce15 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.4.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.5.1.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=regalloc2", "manual", ], - version = "0.4.2", + version = "0.5.1", # buildifier: leave-alone deps = [ "@wasmtime__fxhash__0_2_1//:fxhash", diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.1.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.regex-1.7.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regex-1.7.1.bazel index f743948f4..0b55e3434 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.1.bazel @@ -67,10 +67,10 @@ rust_library( "crate-name=regex", "manual", ], - version = "1.7.0", + version = "1.7.1", # buildifier: leave-alone deps = [ - "@wasmtime__aho_corasick__0_7_19//:aho_corasick", + "@wasmtime__aho_corasick__0_7_20//:aho_corasick", "@wasmtime__memchr__2_5_0//:memchr", "@wasmtime__regex_syntax__0_6_28//:regex_syntax", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.13.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.36.10.bazel similarity index 80% rename from bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.13.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustix-0.36.10.bazel index 9a64be998..9c0fededf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.35.13.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.36.10.bazel @@ -44,10 +44,10 @@ cargo_build_script( }, crate_features = [ "default", + "fs", "io-lifetimes", "libc", "mm", - "process", "std", "use-libc-auxv", ], @@ -62,10 +62,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.35.13", + version = "0.36.10", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_77//:cc", + "@wasmtime__cc__1_0_79//:cc", ] + selects.with_or({ # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( @@ -79,7 +79,7 @@ cargo_build_script( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", ): [ - "@wasmtime__linux_raw_sys__0_0_46//:linux_raw_sys", + "@wasmtime__linux_raw_sys__0_1_4//:linux_raw_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -110,7 +110,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_36_1//:windows_sys", + "@wasmtime__windows_sys__0_45_0//:windows_sys", ], "//conditions:default": [], }), @@ -126,10 +126,10 @@ rust_library( }, crate_features = [ "default", + "fs", "io-lifetimes", "libc", "mm", - "process", "std", "use-libc-auxv", ], @@ -145,12 +145,12 @@ rust_library( "crate-name=rustix", "manual", ], - version = "0.35.13", + version = "0.36.10", # buildifier: leave-alone deps = [ ":rustix_build_script", "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__io_lifetimes__0_7_5//:io_lifetimes", + "@wasmtime__io_lifetimes__1_0_8//:io_lifetimes", ] + selects.with_or({ # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( @@ -164,11 +164,11 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", ): [ - "@wasmtime__linux_raw_sys__0_0_46//:linux_raw_sys", + "@wasmtime__linux_raw_sys__0_1_4//:linux_raw_sys", ], "//conditions:default": [], }) + selects.with_or({ - # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) + # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) ( "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", @@ -191,7 +191,29 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ "@wasmtime__errno__0_2_8//:errno", ], "//conditions:default": [], @@ -201,7 +223,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_36_1//:windows_sys", + "@wasmtime__windows_sys__0_45_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.147.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.157.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.serde-1.0.147.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde-1.0.157.bazel index b585aa6c4..622ff00ae 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.147.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.157.bazel @@ -58,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.147", + version = "1.0.157", visibility = ["//visibility:private"], deps = [ ], @@ -77,7 +77,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@wasmtime__serde_derive__1_0_147//:serde_derive", + "@wasmtime__serde_derive__1_0_157//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -87,7 +87,7 @@ rust_library( "crate-name=serde", "manual", ], - version = "1.0.147", + version = "1.0.157", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.147.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.157.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.147.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.157.bazel index 07b878a1a..1a3d98271 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.147.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.157.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.147", + version = "1.0.157", visibility = ["//visibility:private"], deps = [ ], @@ -78,12 +78,12 @@ rust_proc_macro( "crate-name=serde_derive", "manual", ], - version = "1.0.147", + version = "1.0.157", # buildifier: leave-alone deps = [ ":serde_derive_build_script", - "@wasmtime__proc_macro2__1_0_47//:proc_macro2", - "@wasmtime__quote__1_0_21//:quote", - "@wasmtime__syn__1_0_103//:syn", + "@wasmtime__proc_macro2__1_0_52//:proc_macro2", + "@wasmtime__quote__1_0_26//:quote", + "@wasmtime__syn__2_0_2//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.103.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.2.bazel similarity index 75% rename from bazel/cargo/wasmtime/remote/BUILD.syn-1.0.103.bazel rename to bazel/cargo/wasmtime/remote/BUILD.syn-2.0.2.bazel index 407616c21..1f51d9b70 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-1.0.103.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.2.bazel @@ -30,42 +30,6 @@ licenses([ ]) # Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "syn_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "clone-impls", - "default", - "derive", - "parsing", - "printing", - "proc-macro", - "quote", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.103", - visibility = ["//visibility:private"], - deps = [ - ], -) # Unsupported target "file" with type "bench" omitted @@ -85,7 +49,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -94,13 +58,12 @@ rust_library( "crate-name=syn", "manual", ], - version = "1.0.103", + version = "2.0.2", # buildifier: leave-alone deps = [ - ":syn_build_script", - "@wasmtime__proc_macro2__1_0_47//:proc_macro2", - "@wasmtime__quote__1_0_21//:quote", - "@wasmtime__unicode_ident__1_0_5//:unicode_ident", + "@wasmtime__proc_macro2__1_0_52//:proc_macro2", + "@wasmtime__quote__1_0_26//:quote", + "@wasmtime__unicode_ident__1_0_8//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.6.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.6.bazel index f5a26dcaf..b3441d7df 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.6.bazel @@ -43,6 +43,7 @@ cargo_build_script( build_script_env = { }, crate_features = [ + "std", ], crate_root = "build.rs", data = glob(["**"]), @@ -54,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.12.5", + version = "0.12.6", visibility = ["//visibility:private"], deps = [ ], @@ -68,6 +69,7 @@ rust_library( name = "target_lexicon", srcs = glob(["**/*.rs"]), crate_features = [ + "std", ], crate_root = "src/lib.rs", data = [], @@ -80,7 +82,7 @@ rust_library( "crate-name=target-lexicon", "manual", ], - version = "0.12.5", + version = "0.12.6", # buildifier: leave-alone deps = [ ":target_lexicon_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.1.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.2.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.termcolor-1.1.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.termcolor-1.2.0.bazel index 2e9f4307a..325896227 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.1.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.2.0.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=termcolor", "manual", ], - version = "1.1.3", + version = "1.2.0", # buildifier: leave-alone deps = [ ] + selects.with_or({ diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.37.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.40.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.37.bazel rename to bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.40.bazel index df0ca0842..47e53f008 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.37.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.40.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.37", + version = "1.0.40", visibility = ["//visibility:private"], deps = [ ], @@ -69,7 +69,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@wasmtime__thiserror_impl__1_0_37//:thiserror_impl", + "@wasmtime__thiserror_impl__1_0_40//:thiserror_impl", ], rustc_flags = [ "--cap-lints=allow", @@ -79,7 +79,7 @@ rust_library( "crate-name=thiserror", "manual", ], - version = "1.0.37", + version = "1.0.40", # buildifier: leave-alone deps = [ ":thiserror_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.37.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel similarity index 86% rename from bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.37.bazel rename to bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel index 0c6f33752..c97322f9c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.37.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel @@ -47,11 +47,11 @@ rust_proc_macro( "crate-name=thiserror-impl", "manual", ], - version = "1.0.37", + version = "1.0.40", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_47//:proc_macro2", - "@wasmtime__quote__1_0_21//:quote", - "@wasmtime__syn__1_0_103//:syn", + "@wasmtime__proc_macro2__1_0_52//:proc_macro2", + "@wasmtime__quote__1_0_26//:quote", + "@wasmtime__syn__2_0_2//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel new file mode 100644 index 000000000..0fe1e0a1b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel @@ -0,0 +1,66 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Zlib from expression "Zlib OR (Apache-2.0 OR MIT)" +]) + +# Generated Targets + +# Unsupported target "macros" with type "bench" omitted + +# Unsupported target "smallvec" with type "bench" omitted + +rust_library( + name = "tinyvec", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "default", + "tinyvec_macros", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=tinyvec", + "manual", + ], + version = "1.6.0", + # buildifier: leave-alone + deps = [ + "@wasmtime__tinyvec_macros__0_1_1//:tinyvec_macros", + ], +) + +# Unsupported target "arrayvec" with type "test" omitted + +# Unsupported target "tinyvec" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel new file mode 100644 index 000000000..c0d7a9263 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel @@ -0,0 +1,54 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR (Apache-2.0 OR Zlib)" +]) + +# Generated Targets + +rust_library( + name = "tinyvec_macros", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=tinyvec_macros", + "manual", + ], + version = "0.1.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.12.bazel new file mode 100644 index 000000000..2fedefab0 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.12.bazel @@ -0,0 +1,59 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "unicode_bidi", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "hardcoded-data", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=unicode_bidi", + "manual", + ], + version = "0.3.12", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "conformance_tests" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.8.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.8.bazel index e6676ba40..c8da47e31 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.8.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=unicode-ident", "manual", ], - version = "1.0.5", + version = "1.0.8", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel new file mode 100644 index 000000000..cb865589a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel @@ -0,0 +1,59 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "bench" with type "bench" omitted + +rust_library( + name = "unicode_normalization", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=unicode-normalization", + "manual", + ], + version = "0.1.22", + # buildifier: leave-alone + deps = [ + "@wasmtime__tinyvec__1_6_0//:tinyvec", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel new file mode 100644 index 000000000..d722ef883 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel @@ -0,0 +1,66 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "parse_url" with type "bench" omitted + +rust_library( + name = "url", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=url", + "manual", + ], + version = "2.3.1", + # buildifier: leave-alone + deps = [ + "@wasmtime__form_urlencoded__1_1_0//:form_urlencoded", + "@wasmtime__idna__0_3_0//:idna", + "@wasmtime__percent_encoding__2_2_0//:percent_encoding", + ], +) + +# Unsupported target "data" with type "test" omitted + +# Unsupported target "debugger_visualizer" with type "test" omitted + +# Unsupported target "unit" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.100.0.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.100.0.bazel index 9d9933003..3e38b00ff 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.92.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.100.0.bazel @@ -51,9 +51,10 @@ rust_library( "crate-name=wasmparser", "manual", ], - version = "0.92.0", + version = "0.100.0", # buildifier: leave-alone deps = [ "@wasmtime__indexmap__1_9_2//:indexmap", + "@wasmtime__url__2_3_1//:url", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-6.0.1.bazel similarity index 76% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-6.0.1.bazel index 831fd7cde..967d14997 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-6.0.1.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "2.0.2", + version = "6.0.1", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -64,7 +64,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_36_1//:windows_sys", + "@wasmtime__windows_sys__0_42_0//:windows_sys", ], "//conditions:default": [], }), @@ -82,7 +82,7 @@ rust_library( data = [], edition = "2021", proc_macro_deps = [ - "@wasmtime__paste__1_0_9//:paste", + "@wasmtime__paste__1_0_12//:paste", ], rustc_flags = [ "--cap-lints=allow", @@ -92,33 +92,33 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ ":wasmtime_build_script", - "@wasmtime__anyhow__1_0_66//:anyhow", + "@wasmtime__anyhow__1_0_70//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__indexmap__1_9_2//:indexmap", - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_29_0//:object", - "@wasmtime__once_cell__1_16_0//:once_cell", + "@wasmtime__once_cell__1_17_1//:once_cell", "@wasmtime__psm__0_1_21//:psm", - "@wasmtime__serde__1_0_147//:serde", - "@wasmtime__target_lexicon__0_12_5//:target_lexicon", - "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__2_0_2//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", - "@wasmtime__wasmtime_jit__2_0_2//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__2_0_2//:wasmtime_runtime", + "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__wasmparser__0_100_0//:wasmparser", + "@wasmtime__wasmtime_cranelift__6_0_1//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit__6_0_1//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__6_0_1//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_36_1//:windows_sys", + "@wasmtime__windows_sys__0_42_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-6.0.1.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-6.0.1.bazel index 89826c0d8..089e9fb50 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-6.0.1.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=wasmtime-asm-macros", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel index e85148123..dd3a77432 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel @@ -47,10 +47,10 @@ rust_proc_macro( "crate-name=wasmtime-c-api-macros", "manual", ], - version = "0.19.0", + version = "0.0.0", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_47//:proc_macro2", - "@wasmtime__quote__1_0_21//:quote", + "@wasmtime__proc_macro2__1_0_52//:proc_macro2", + "@wasmtime__quote__1_0_26//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-6.0.1.bazel similarity index 66% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-6.0.1.bazel index 522679c5f..f2760f00a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-6.0.1.bazel @@ -47,21 +47,21 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_66//:anyhow", - "@wasmtime__cranelift_codegen__0_89_2//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_89_2//:cranelift_frontend", - "@wasmtime__cranelift_native__0_89_2//:cranelift_native", - "@wasmtime__cranelift_wasm__0_89_2//:cranelift_wasm", + "@wasmtime__anyhow__1_0_70//:anyhow", + "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_93_1//:cranelift_frontend", + "@wasmtime__cranelift_native__0_93_1//:cranelift_native", + "@wasmtime__cranelift_wasm__0_93_1//:cranelift_wasm", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_29_0//:object", - "@wasmtime__target_lexicon__0_12_5//:target_lexicon", - "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", + "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__thiserror__1_0_40//:thiserror", + "@wasmtime__wasmparser__0_100_0//:wasmparser", + "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-6.0.1.bazel similarity index 76% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-6.0.1.bazel index 2e15cd6d7..cf4ab44de 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-6.0.1.bazel @@ -49,19 +49,19 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_66//:anyhow", - "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", + "@wasmtime__anyhow__1_0_70//:anyhow", + "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", "@wasmtime__gimli__0_26_2//:gimli", "@wasmtime__indexmap__1_9_2//:indexmap", "@wasmtime__log__0_4_17//:log", "@wasmtime__object__0_29_0//:object", - "@wasmtime__serde__1_0_147//:serde", - "@wasmtime__target_lexicon__0_12_5//:target_lexicon", - "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmparser__0_92_0//:wasmparser", - "@wasmtime__wasmtime_types__2_0_2//:wasmtime_types", + "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__thiserror__1_0_40//:thiserror", + "@wasmtime__wasmparser__0_100_0//:wasmparser", + "@wasmtime__wasmtime_types__6_0_1//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-6.0.1.bazel new file mode 100644 index 000000000..51468d281 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-6.0.1.bazel @@ -0,0 +1,79 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "wasmtime_jit", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=wasmtime-jit", + "manual", + ], + version = "6.0.1", + # buildifier: leave-alone + deps = [ + "@wasmtime__addr2line__0_17_0//:addr2line", + "@wasmtime__anyhow__1_0_70//:anyhow", + "@wasmtime__bincode__1_3_3//:bincode", + "@wasmtime__cfg_if__1_0_0//:cfg_if", + "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", + "@wasmtime__gimli__0_26_2//:gimli", + "@wasmtime__log__0_4_17//:log", + "@wasmtime__object__0_29_0//:object", + "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", + "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit_icache_coherence__6_0_1//:wasmtime_jit_icache_coherence", + "@wasmtime__wasmtime_runtime__6_0_1//:wasmtime_runtime", + ] + selects.with_or({ + # cfg(target_os = "windows") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@wasmtime__windows_sys__0_42_0//:windows_sys", + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-6.0.1.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-6.0.1.bazel index 6d367703c..152481ac3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-6.0.1.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__once_cell__1_16_0//:once_cell", + "@wasmtime__once_cell__1_17_1//:once_cell", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel similarity index 66% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel index 907710d4d..e54901d2e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel @@ -32,7 +32,7 @@ licenses([ # Generated Targets rust_library( - name = "wasmtime_jit", + name = "wasmtime_jit_icache_coherence", srcs = glob(["**/*.rs"]), aliases = { }, @@ -46,37 +46,32 @@ rust_library( ], tags = [ "cargo-raze", - "crate-name=wasmtime-jit", + "crate-name=wasmtime-jit-icache-coherence", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__addr2line__0_17_0//:addr2line", - "@wasmtime__anyhow__1_0_66//:anyhow", - "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", - "@wasmtime__gimli__0_26_2//:gimli", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_29_0//:object", - "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", - "@wasmtime__serde__1_0_147//:serde", - "@wasmtime__target_lexicon__0_12_5//:target_lexicon", - "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", - "@wasmtime__wasmtime_runtime__2_0_2//:wasmtime_runtime", ] + selects.with_or({ - # cfg(target_os = "linux") + # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) ( + "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_35_13//:rustix", + "@wasmtime__libc__0_2_140//:libc", ], "//conditions:default": [], }) + selects.with_or({ @@ -85,7 +80,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_36_1//:windows_sys", + "@wasmtime__windows_sys__0_42_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-6.0.1.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-6.0.1.bazel index 1d53ffeab..0980b7f62 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-6.0.1.bazel @@ -54,10 +54,10 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "2.0.2", + version = "6.0.1", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_77//:cc", + "@wasmtime__cc__1_0_79//:cc", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -73,7 +73,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_36_1//:windows_sys", + "@wasmtime__windows_sys__0_42_0//:windows_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -112,7 +112,7 @@ rust_library( data = [], edition = "2021", proc_macro_deps = [ - "@wasmtime__paste__1_0_9//:paste", + "@wasmtime__paste__1_0_12//:paste", ], rustc_flags = [ "--cap-lints=allow", @@ -122,21 +122,21 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", - "@wasmtime__anyhow__1_0_66//:anyhow", + "@wasmtime__anyhow__1_0_70//:anyhow", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__indexmap__1_9_2//:indexmap", - "@wasmtime__libc__0_2_137//:libc", + "@wasmtime__libc__0_2_140//:libc", "@wasmtime__log__0_4_17//:log", + "@wasmtime__memfd__0_6_2//:memfd", "@wasmtime__memoffset__0_6_5//:memoffset", "@wasmtime__rand__0_8_5//:rand", - "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmtime_asm_macros__2_0_2//:wasmtime_asm_macros", - "@wasmtime__wasmtime_environ__2_0_2//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__2_0_2//:wasmtime_jit_debug", + "@wasmtime__wasmtime_asm_macros__6_0_1//:wasmtime_asm_macros", + "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__6_0_1//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -153,7 +153,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_36_1//:windows_sys", + "@wasmtime__windows_sys__0_42_0//:windows_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -176,7 +176,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_35_13//:rustix", + "@wasmtime__rustix__0_36_10//:rustix", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-6.0.1.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-6.0.1.bazel index 0d77211de..c1157ae3f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-6.0.1.bazel @@ -47,12 +47,12 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "2.0.2", + version = "6.0.1", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_89_2//:cranelift_entity", - "@wasmtime__serde__1_0_147//:serde", - "@wasmtime__thiserror__1_0_37//:thiserror", - "@wasmtime__wasmparser__0_92_0//:wasmparser", + "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", + "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__thiserror__1_0_40//:thiserror", + "@wasmtime__wasmparser__0_100_0//:wasmparser", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel index b710204bc..668f95552 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel @@ -39,11 +39,15 @@ rust_library( crate_features = [ "Win32", "Win32_Foundation", - "Win32_NetworkManagement", - "Win32_NetworkManagement_IpHelper", - "Win32_Networking", - "Win32_Networking_WinSock", + "Win32_Security", + "Win32_Storage", + "Win32_Storage_FileSystem", "Win32_System", + "Win32_System_Diagnostics", + "Win32_System_Diagnostics_Debug", + "Win32_System_Kernel", + "Win32_System_Memory", + "Win32_System_SystemInformation", "Win32_System_Threading", "default", ], @@ -66,7 +70,7 @@ rust_library( ( "@rules_rust//rust/platform:i686-pc-windows-msvc", ): [ - "@wasmtime__windows_i686_msvc__0_42_0//:windows_i686_msvc", + "@wasmtime__windows_i686_msvc__0_42_2//:windows_i686_msvc", ], "//conditions:default": [], }) + selects.with_or({ @@ -74,7 +78,7 @@ rust_library( ( "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_x86_64_msvc__0_42_0//:windows_x86_64_msvc", + "@wasmtime__windows_x86_64_msvc__0_42_2//:windows_x86_64_msvc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel new file mode 100644 index 000000000..26c3fcb0c --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel @@ -0,0 +1,96 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "windows_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_Security", + "Win32_Storage", + "Win32_Storage_FileSystem", + "Win32_System", + "Win32_System_IO", + "Win32_System_Threading", + "default", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=windows-sys", + "manual", + ], + version = "0.45.0", + # buildifier: leave-alone + deps = [ + ] + selects.with_or({ + # cfg(not(windows_raw_dylib)) + ( + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:aarch64-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@rules_rust//rust/platform:i686-linux-android", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:x86_64-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + "@wasmtime__windows_targets__0_42_2//:windows_targets", + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.42.2.bazel similarity index 71% rename from bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.42.2.bazel index 51d8c8955..3ca4c07b1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.42.2.bazel @@ -32,23 +32,11 @@ licenses([ # Generated Targets rust_library( - name = "windows_sys", + name = "windows_targets", srcs = glob(["**/*.rs"]), aliases = { }, crate_features = [ - "Win32", - "Win32_Foundation", - "Win32_Security", - "Win32_Storage", - "Win32_Storage_FileSystem", - "Win32_System", - "Win32_System_Diagnostics", - "Win32_System_Diagnostics_Debug", - "Win32_System_Kernel", - "Win32_System_Memory", - "Win32_System_SystemInformation", - "default", ], crate_root = "src/lib.rs", data = [], @@ -58,10 +46,10 @@ rust_library( ], tags = [ "cargo-raze", - "crate-name=windows-sys", + "crate-name=windows-targets", "manual", ], - version = "0.36.1", + version = "0.42.2", # buildifier: leave-alone deps = [ ] + selects.with_or({ @@ -69,7 +57,7 @@ rust_library( ( "@rules_rust//rust/platform:i686-pc-windows-msvc", ): [ - "@wasmtime__windows_i686_msvc__0_36_1//:windows_i686_msvc", + "@wasmtime__windows_i686_msvc__0_42_2//:windows_i686_msvc", ], "//conditions:default": [], }) + selects.with_or({ @@ -77,7 +65,7 @@ rust_library( ( "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_x86_64_msvc__0_36_1//:windows_x86_64_msvc", + "@wasmtime__windows_x86_64_msvc__0_42_2//:windows_x86_64_msvc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.2.bazel index c40f240db..e14ccd98d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.0", + version = "0.42.2", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_aarch64_gnullvm", "manual", ], - version = "0.42.0", + version = "0.42.2", # buildifier: leave-alone deps = [ ":windows_aarch64_gnullvm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.2.bazel index 152cd1af0..0b6e1c95a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.0", + version = "0.42.2", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_aarch64_msvc", "manual", ], - version = "0.42.0", + version = "0.42.2", # buildifier: leave-alone deps = [ ":windows_aarch64_msvc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel deleted file mode 100644 index e28b9cca0..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_i686_gnu_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.42.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_i686_gnu", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_i686_gnu", - "manual", - ], - version = "0.42.0", - # buildifier: leave-alone - deps = [ - ":windows_i686_gnu_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.36.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.2.bazel index a20218dc6..85ba0eb67 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.1", + version = "0.42.2", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_i686_gnu", "manual", ], - version = "0.36.1", + version = "0.42.2", # buildifier: leave-alone deps = [ ":windows_i686_gnu_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel deleted file mode 100644 index 2cccbfaa9..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_i686_msvc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.42.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_i686_msvc", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_i686_msvc", - "manual", - ], - version = "0.42.0", - # buildifier: leave-alone - deps = [ - ":windows_i686_msvc_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.36.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.2.bazel index f0d7b96cb..36329428f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.1", + version = "0.42.2", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_i686_msvc", "manual", ], - version = "0.36.1", + version = "0.42.2", # buildifier: leave-alone deps = [ ":windows_i686_msvc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel deleted file mode 100644 index 2a2c399e9..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_x86_64_gnu_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.42.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_x86_64_gnu", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_x86_64_gnu", - "manual", - ], - version = "0.42.0", - # buildifier: leave-alone - deps = [ - ":windows_x86_64_gnu_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.2.bazel index 6fb1e25e2..937caf0a7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.1", + version = "0.42.2", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_x86_64_gnu", "manual", ], - version = "0.36.1", + version = "0.42.2", # buildifier: leave-alone deps = [ ":windows_x86_64_gnu_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.2.bazel index c9d2e2d16..af44a2694 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.0", + version = "0.42.2", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_x86_64_gnullvm", "manual", ], - version = "0.42.0", + version = "0.42.2", # buildifier: leave-alone deps = [ ":windows_x86_64_gnullvm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel deleted file mode 100644 index 581086428..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_x86_64_msvc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.42.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_x86_64_msvc", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_x86_64_msvc", - "manual", - ], - version = "0.42.0", - # buildifier: leave-alone - deps = [ - ":windows_x86_64_msvc_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.2.bazel index b94fe7017..c93c72615 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.36.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.2.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.1", + version = "0.42.2", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_x86_64_msvc", "manual", ], - version = "0.36.1", + version = "0.42.2", # buildifier: leave-alone deps = [ ":windows_x86_64_msvc_build_script", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index faed87ae0..3f9ea12de 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -201,9 +201,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "f850c7d2480e71b587a7102d8814e127dc9bf8370ffa0e382fe86ec80d629190", - strip_prefix = "wasmtime-2.0.2", - url = "https://github.com/bytecodealliance/wasmtime/archive/v2.0.2.tar.gz", + sha256 = "7ed6359faa385c40fc77e324301e5c70c7fdaeeca8a5ab58e25b1f75035b2cd6", + strip_prefix = "wasmtime-6.0.1", + url = "https://github.com/bytecodealliance/wasmtime/archive/v6.0.1.tar.gz", ) maybe( From 3af2c1aa9c0d6210d0cbdc07ef97727f50a5af58 Mon Sep 17 00:00:00 2001 From: "liang.he" Date: Wed, 29 Mar 2023 08:50:40 +0800 Subject: [PATCH 38/90] Update bazel-zig-cc remote url. (#335) Signed-off-by: liang.he@intel.com --- bazel/repositories.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 3f9ea12de..764e4a38b 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -42,9 +42,9 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "bazel-zig-cc", - sha256 = "ad6384b4d16ebb3e5047df6548a195e598346da84e5f320250beb9198705ac81", - strip_prefix = "bazel-zig-cc-v0.4.4", - url = "https://git.sr.ht/~motiejus/bazel-zig-cc/archive/v0.4.4.tar.gz", + sha256 = "0c29b7975c65026eefdb9226864c3eefccd4a8b5549b4b2709d1912fdc92e472", + strip_prefix = "bazel-zig-cc-0.4.4", + url = "https://github.com/uber/bazel-zig-cc/archive/refs/tags/v0.4.4.tar.gz", ) maybe( From 94497deb683e37c0fc54e252b600de1dd4d47406 Mon Sep 17 00:00:00 2001 From: "liang.he" Date: Wed, 26 Apr 2023 12:39:34 +0800 Subject: [PATCH 39/90] wamr: update to v1.2.1 (with LLVM v15.0.7). (#339) Signed-off-by: liang.he@intel.com --- bazel/external/wamr.BUILD | 4 ++-- bazel/external/wamr_llvm.BUILD | 9 +++------ bazel/repositories.bzl | 16 ++++++++-------- src/wamr/wamr.cc | 15 ++++++++++----- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index 9ef6850e9..8c2955d57 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -20,7 +20,7 @@ cmake( "-GNinja", ] + select({ "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": [ - "-DLLVM_DIR=$EXT_BUILD_DEPS/copy_llvm_13_0_1/llvm/lib/cmake/llvm", + "-DLLVM_DIR=$EXT_BUILD_DEPS/copy_llvm-15_0_7/llvm/lib/cmake/llvm", "-DWAMR_BUILD_AOT=1", "-DWAMR_BUILD_FAST_INTERP=0", "-DWAMR_BUILD_INTERP=0", @@ -42,7 +42,7 @@ cmake( }), out_static_libs = ["libvmlib.a"], deps = select({ - "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["@llvm-13_0_1//:llvm_13_0_1_lib"], + "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["@llvm-15_0_7//:llvm_wamr_lib"], "//conditions:default": [], }), ) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 0efdbc9b6..789e5a442 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -10,7 +10,7 @@ filegroup( ) cmake( - name = "llvm_13_0_1_lib", + name = "llvm_wamr_lib", cache_entries = { # Disable both: BUILD and INCLUDE, since some of the INCLUDE # targets build code instead of only generating build files. @@ -20,20 +20,16 @@ cmake( "LLVM_INCLUDE_DOCS": "off", "LLVM_BUILD_EXAMPLES": "off", "LLVM_INCLUDE_EXAMPLES": "off", - "LLVM_BUILD_RUNTIME": "off", - "LLVM_BUILD_RUNTIMES": "off", - "LLVM_INCLUDE_RUNTIMES": "off", "LLVM_BUILD_TESTS": "off", "LLVM_INCLUDE_TESTS": "off", "LLVM_BUILD_TOOLS": "off", "LLVM_INCLUDE_TOOLS": "off", - "LLVM_BUILD_UTILS": "off", - "LLVM_INCLUDE_UTILS": "off", "LLVM_ENABLE_IDE": "off", "LLVM_ENABLE_LIBEDIT": "off", "LLVM_ENABLE_LIBXML2": "off", "LLVM_ENABLE_TERMINFO": "off", "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", "LLVM_TARGETS_TO_BUILD": "X86", "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, @@ -133,4 +129,5 @@ cmake( "libLLVMSupport.a", "libLLVMDemangle.a", ], + working_directory = "llvm", ) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 764e4a38b..a49f01aad 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -159,10 +159,10 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasm_micro_runtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr.BUILD", - # WAMR-2022-12-16 - sha256 = "976b928f420040a77e793051e4d742208adf157370b9ad0f5535e126adb31eb0", - strip_prefix = "wasm-micro-runtime-WAMR-1.1.2", - url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/WAMR-1.1.2.tar.gz", + # WAMR-1.2.1 + sha256 = "7548d4bbea8dbb9b005e83bd571f93a12fb3f0b5e87a8b0130f004dd92df4b0b", + strip_prefix = "wasm-micro-runtime-WAMR-1.2.1", + url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-1.2.1.zip", ) native.bind( @@ -172,11 +172,11 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, - name = "llvm-13_0_1", + name = "llvm-15_0_7", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr_llvm.BUILD", - sha256 = "ec6b80d82c384acad2dc192903a6cf2cdbaffb889b84bfb98da9d71e630fc834", - strip_prefix = "llvm-13.0.1.src", - url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/llvm-13.0.1.src.tar.xz", + sha256 = "8b5fcb24b4128cf04df1b0b9410ce8b1a729cb3c544e6da885d234280dedeac6", + strip_prefix = "llvm-project-15.0.7.src", + url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/llvm-project-15.0.7.src.tar.xz", ) # WasmEdge with dependencies. diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index e894df8f6..ea3d140e7 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -261,9 +261,15 @@ bool Wamr::link(std::string_view /*debug_name*/) { const wasm_name_t *name_ptr = wasm_importtype_name(import_types.get()->data[i]); const wasm_externtype_t *extern_type = wasm_importtype_type(import_types.get()->data[i]); - std::string_view module_name(module_name_ptr->data, module_name_ptr->size); - std::string_view name(name_ptr->data, name_ptr->size); - assert(name_ptr->size > 0); + if (std::strlen(name_ptr->data) == 0) { + fail(FailState::UnableToInitializeCode, std::string("The name field of import_types[") + + std::to_string(i) + std::string("] is empty")); + return false; + } + + std::string_view module_name(module_name_ptr->data); + std::string_view name(name_ptr->data); + switch (wasm_externtype_kind(extern_type)) { case WASM_EXTERN_FUNC: { auto it = host_functions_.find(std::string(module_name) + "." + std::string(name)); @@ -354,8 +360,7 @@ bool Wamr::link(std::string_view /*debug_name*/) { case WASM_EXTERN_FUNC: { WasmFuncPtr func = wasm_func_copy(wasm_extern_as_func(actual_extern)); const wasm_name_t *name_ptr = wasm_exporttype_name(export_types.get()->data[i]); - module_functions_.insert_or_assign(std::string(name_ptr->data, name_ptr->size), - std::move(func)); + module_functions_.insert_or_assign(std::string(name_ptr->data), std::move(func)); } break; case WASM_EXTERN_GLOBAL: { // TODO(mathetake): add support when/if needed. From d6babe40d4fe1406eff7601a8c9987feaa22085c Mon Sep 17 00:00:00 2001 From: martijneken Date: Thu, 27 Apr 2023 12:37:54 -0400 Subject: [PATCH 40/90] Replace bazel-zig-cc with hermetic_cc_toolchain. (#345) Fixes #341. Signed-off-by: Martijn Stevenson --- bazel/repositories.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index a49f01aad..eaf3066fd 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -42,9 +42,9 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "bazel-zig-cc", - sha256 = "0c29b7975c65026eefdb9226864c3eefccd4a8b5549b4b2709d1912fdc92e472", - strip_prefix = "bazel-zig-cc-0.4.4", - url = "https://github.com/uber/bazel-zig-cc/archive/refs/tags/v0.4.4.tar.gz", + sha256 = "ff89e0220c72cdc774e451a35e5c3b9f1593d0df71341844b2108c181ac0eef9", + strip_prefix = "hermetic_cc_toolchain-0.4.4", + url = "https://github.com/uber/hermetic_cc_toolchain/archive/refs/tags/v0.4.4.tar.gz", ) maybe( From 491915a9a999a18e394af22f9103b4d40ed0d24c Mon Sep 17 00:00:00 2001 From: martijneken Date: Fri, 28 Apr 2023 15:42:08 -0400 Subject: [PATCH 41/90] v8: fix build with GCC. (#343) Fixes #340. Signed-off-by: Martijn Stevenson --- .github/workflows/test.yml | 8 ++++++++ bazel/external/v8.patch | 23 ++++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eba4f62ad..ed4a1b72d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -150,6 +150,14 @@ jobs: action: test flags: --config=clang-tsan cache: true + - name: 'V8 on Linux/x86_64 with GCC' + engine: 'v8' + repo: 'v8' + os: ubuntu-20.04 + arch: x86_64 + action: test + flags: --config=gcc + cache: true - name: 'V8 on Linux/aarch64' engine: 'v8' repo: 'v8' diff --git a/bazel/external/v8.patch b/bazel/external/v8.patch index 52af7b6ad..90b1de013 100644 --- a/bazel/external/v8.patch +++ b/bazel/external/v8.patch @@ -1,11 +1,12 @@ # 1. Disable pointer compression (limits the maximum number of WasmVMs). # 2. Don't expose Wasm C API (only Wasm C++ API). +# 3. Fix gcc build error by disabling nonnull warning. diff --git a/BUILD.bazel b/BUILD.bazel -index 5fb10d3940..a19930d36e 100644 +index 4e89f90e7e..3fcb38b3f3 100644 --- a/BUILD.bazel +++ b/BUILD.bazel -@@ -161,7 +161,7 @@ v8_int( +@@ -157,7 +157,7 @@ v8_int( # If no explicit value for v8_enable_pointer_compression, we set it to 'none'. v8_string( name = "v8_enable_pointer_compression", @@ -14,11 +15,23 @@ index 5fb10d3940..a19930d36e 100644 ) # Default setting for v8_enable_pointer_compression. +diff --git a/bazel/defs.bzl b/bazel/defs.bzl +index e957c0fad3..063627b72b 100644 +--- a/bazel/defs.bzl ++++ b/bazel/defs.bzl +@@ -131,6 +131,7 @@ def _default_args(): + "-Wno-redundant-move", + "-Wno-return-type", + "-Wno-stringop-overflow", ++ "-Wno-nonnull", + # Use GNU dialect, because GCC doesn't allow using + # ##__VA_ARGS__ when in standards-conforming mode. + "-std=gnu++17", diff --git a/src/wasm/c-api.cc b/src/wasm/c-api.cc -index ce3f569fd5..dc8a4c4f6a 100644 +index 4473e205c0..65a6ec7e1d 100644 --- a/src/wasm/c-api.cc +++ b/src/wasm/c-api.cc -@@ -2238,6 +2238,8 @@ auto Instance::exports() const -> ownvec { +@@ -2247,6 +2247,8 @@ auto Instance::exports() const -> ownvec { } // namespace wasm @@ -27,7 +40,7 @@ index ce3f569fd5..dc8a4c4f6a 100644 // BEGIN FILE wasm-c.cc extern "C" { -@@ -3257,3 +3259,5 @@ wasm_instance_t* wasm_frame_instance(const wasm_frame_t* frame) { +@@ -3274,3 +3276,5 @@ wasm_instance_t* wasm_frame_instance(const wasm_frame_t* frame) { #undef WASM_DEFINE_SHARABLE_REF } // extern "C" From 5574daf453888e50e7f5ef53e05ad425a0b7fb5c Mon Sep 17 00:00:00 2001 From: martijneken Date: Tue, 9 May 2023 10:37:13 -0400 Subject: [PATCH 42/90] Test an example stream context with a logging plugin (#348) * Allow StreamContext testing via TestContext Signed-off-by: Martijn Stevenson * Test an example Stream Context. HTTP handlers, logging only, no headers. Signed-off-by: Martijn Stevenson * Add missing license header. Signed-off-by: Martijn Stevenson * Attempt to fix clang-tidy Signed-off-by: Martijn Stevenson * Make newVm a static method for broader utility. Signed-off-by: Martijn Stevenson * Code review cleanups. Signed-off-by: Martijn Stevenson * Remove unnecessary pointer / heap allocation Signed-off-by: Martijn Stevenson --------- Signed-off-by: Martijn Stevenson --- test/BUILD | 15 ++++++++ test/logging_test.cc | 69 ++++++++++++++++++++++++++++++++++ test/test_data/BUILD | 5 +++ test/test_data/http_logging.cc | 37 ++++++++++++++++++ test/utility.h | 23 +++++++----- test/wasm_test.cc | 17 +++++---- 6 files changed, 148 insertions(+), 18 deletions(-) create mode 100644 test/logging_test.cc create mode 100644 test/test_data/http_logging.cc diff --git a/test/BUILD b/test/BUILD index a922bbfbc..61973ce17 100644 --- a/test/BUILD +++ b/test/BUILD @@ -117,6 +117,21 @@ cc_test( ], ) +cc_test( + name = "logging_test", + srcs = ["logging_test.cc"], + data = [ + "//test/test_data:http_logging.wasm", + ], + linkstatic = 1, + deps = [ + ":utility_lib", + "//:lib", + "@com_google_googletest//:gtest", + "@com_google_googletest//:gtest_main", + ], +) + cc_test( name = "security_test", srcs = ["security_test.cc"], diff --git a/test/logging_test.cc b/test/logging_test.cc new file mode 100644 index 000000000..e4cbdcdca --- /dev/null +++ b/test/logging_test.cc @@ -0,0 +1,69 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" +#include "include/proxy-wasm/wasm.h" +#include "test/utility.h" + +namespace proxy_wasm { + +INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines()), + [](const testing::TestParamInfo &info) { + return info.param; + }); + +// TestVm is parameterized for each engine and creates a VM on construction. +TEST_P(TestVm, HttpLogging) { + // Read the wasm source. + auto source = readTestWasmFile("http_logging.wasm"); + ASSERT_FALSE(source.empty()); + + // Create a WasmBase and load the plugin. + auto wasm = std::make_shared(std::move(vm_)); + ASSERT_TRUE(wasm->load(source, /*allow_precompiled=*/false)); + ASSERT_TRUE(wasm->initialize()); + + // Create a plugin. + const auto plugin = std::make_shared( + /*name=*/"test", /*root_id=*/"", /*vm_id=*/"", + /*engine=*/wasm->wasm_vm()->getEngineName(), /*plugin_config=*/"", + /*fail_open=*/false, /*key=*/""); + + // Create root context, call onStart(). + ContextBase *root_context = wasm->start(plugin); + ASSERT_TRUE(root_context != nullptr); + + // On the root context, call onConfigure(). + ASSERT_TRUE(wasm->configure(root_context, plugin)); + + // Create a stream context. + { + auto wasm_handle = std::make_shared(wasm); + auto plugin_handle = std::make_shared(wasm_handle, plugin); + auto stream_context = TestContext(wasm.get(), root_context->id(), plugin_handle); + stream_context.onCreate(); + EXPECT_TRUE(stream_context.isLogged("onCreate called")); + stream_context.onRequestHeaders(/*headers=*/0, /*end_of_stream=*/false); + EXPECT_TRUE(stream_context.isLogged("onRequestHeaders called")); + stream_context.onResponseHeaders(/*headers=*/0, /*end_of_stream=*/false); + EXPECT_TRUE(stream_context.isLogged("onResponseHeaders called")); + stream_context.onDone(); + EXPECT_TRUE(stream_context.isLogged("onDone called")); + stream_context.onDelete(); + EXPECT_TRUE(stream_context.isLogged("onDelete called")); + } + EXPECT_FALSE(wasm->isFailed()); +} + +} // namespace proxy_wasm diff --git a/test/test_data/BUILD b/test/test_data/BUILD index d730b4bfc..bd70b8eb9 100644 --- a/test/test_data/BUILD +++ b/test/test_data/BUILD @@ -84,3 +84,8 @@ proxy_wasm_cc_binary( name = "canary_check.wasm", srcs = ["canary_check.cc"], ) + +proxy_wasm_cc_binary( + name = "http_logging.wasm", + srcs = ["http_logging.cc"], +) diff --git a/test/test_data/http_logging.cc b/test/test_data/http_logging.cc new file mode 100644 index 000000000..e25b410c2 --- /dev/null +++ b/test/test_data/http_logging.cc @@ -0,0 +1,37 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "proxy_wasm_intrinsics.h" + +class LoggingContext : public Context { +public: + explicit LoggingContext(uint32_t id, RootContext *root) : Context(id, root) {} + + void onCreate() override { LOG_INFO("onCreate called"); } + void onDelete() override { LOG_INFO("onDelete called"); } + void onDone() override { LOG_INFO("onDone called"); } + + FilterHeadersStatus onRequestHeaders(uint32_t headers, bool end_of_stream) override { + LOG_INFO("onRequestHeaders called"); + return FilterHeadersStatus::Continue; + } + + FilterHeadersStatus onResponseHeaders(uint32_t headers, bool end_of_stream) override { + LOG_INFO("onResponseHeaders called"); + return FilterHeadersStatus::Continue; + } +}; + +static RegisterContextFactory register_StaticContext(CONTEXT_FACTORY(LoggingContext), + ROOT_FACTORY(RootContext)); diff --git a/test/utility.h b/test/utility.h index 06114e2c3..27b3b0493 100644 --- a/test/utility.h +++ b/test/utility.h @@ -93,6 +93,9 @@ class TestContext : public ContextBase { TestContext(WasmBase *wasm) : ContextBase(wasm) {} TestContext(WasmBase *wasm, const std::shared_ptr &plugin) : ContextBase(wasm, plugin) {} + TestContext(WasmBase *wasm, uint32_t parent_context_id, + std::shared_ptr &plugin_handle) + : ContextBase(wasm, parent_context_id, plugin_handle) {} WasmResult log(uint32_t /*log_level*/, std::string_view message) override { auto new_log = std::string(message) + "\n"; @@ -156,39 +159,39 @@ class TestVm : public testing::TestWithParam { public: TestVm() { engine_ = GetParam(); - vm_ = newVm(); + vm_ = makeVm(engine_); } - std::unique_ptr newVm() { + static std::unique_ptr makeVm(const std::string &engine) { std::unique_ptr vm; - if (engine_.empty()) { + if (engine.empty()) { ADD_FAILURE() << "engine must not be empty"; #if defined(PROXY_WASM_HOST_ENGINE_V8) - } else if (engine_ == "v8") { + } else if (engine == "v8") { vm = proxy_wasm::createV8Vm(); #endif #if defined(PROXY_WASM_HOST_ENGINE_WAVM) - } else if (engine_ == "wavm") { + } else if (engine == "wavm") { vm = proxy_wasm::createWavmVm(); #endif #if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) - } else if (engine_ == "wasmtime") { + } else if (engine == "wasmtime") { vm = proxy_wasm::createWasmtimeVm(); #endif #if defined(PROXY_WASM_HOST_ENGINE_WASMEDGE) - } else if (engine_ == "wasmedge") { + } else if (engine == "wasmedge") { vm = proxy_wasm::createWasmEdgeVm(); #endif #if defined(PROXY_WASM_HOST_ENGINE_WAMR) - } else if (engine_ == "wamr") { + } else if (engine == "wamr") { vm = proxy_wasm::createWamrVm(); #endif } else { - ADD_FAILURE() << "compiled without support for the requested \"" << engine_ << "\" engine"; + ADD_FAILURE() << "compiled without support for the requested \"" << engine << "\" engine"; } vm->integration() = std::make_unique(); return vm; - }; + } std::unique_ptr vm_; std::string engine_; diff --git a/test/wasm_test.cc b/test/wasm_test.cc index 387348e8d..ad0e16ac3 100644 --- a/test/wasm_test.cc +++ b/test/wasm_test.cc @@ -43,7 +43,7 @@ TEST_P(TestVm, GetOrCreateThreadLocalWasmFailCallbacks) { // Define callbacks. WasmHandleFactory wasm_handle_factory = [this, vm_id, vm_config](std::string_view vm_key) -> std::shared_ptr { - auto base_wasm = std::make_shared(newVm(), vm_id, vm_config, vm_key, + auto base_wasm = std::make_shared(makeVm(engine_), vm_id, vm_config, vm_key, std::unordered_map{}, AllowedCapabilitiesMap{}); return std::make_shared(base_wasm); @@ -52,8 +52,8 @@ TEST_P(TestVm, GetOrCreateThreadLocalWasmFailCallbacks) { WasmHandleCloneFactory wasm_handle_clone_factory = [this](const std::shared_ptr &base_wasm_handle) -> std::shared_ptr { - auto wasm = std::make_shared(base_wasm_handle, - [this]() -> std::unique_ptr { return newVm(); }); + auto wasm = std::make_shared( + base_wasm_handle, [this]() -> std::unique_ptr { return makeVm(engine_); }); return std::make_shared(wasm); }; @@ -133,8 +133,8 @@ TEST_P(TestVm, AlwaysApplyCanary) { WasmHandleCloneFactory wasm_handle_clone_factory_for_canary = [&canary_count, this](const std::shared_ptr &base_wasm_handle) -> std::shared_ptr { - auto wasm = std::make_shared(base_wasm_handle, - [this]() -> std::unique_ptr { return newVm(); }); + auto wasm = std::make_shared( + base_wasm_handle, [this]() -> std::unique_ptr { return makeVm(engine_); }); canary_count++; return std::make_shared(wasm); }; @@ -150,8 +150,9 @@ TEST_P(TestVm, AlwaysApplyCanary) { WasmHandleFactory wasm_handle_factory_baseline = [this, vm_ids, vm_configs](std::string_view vm_key) -> std::shared_ptr { - auto base_wasm = std::make_shared( - newVm(), std::unordered_map(), vm_ids[0], vm_configs[0], vm_key); + auto base_wasm = + std::make_shared(makeVm(engine_), std::unordered_map(), + vm_ids[0], vm_configs[0], vm_key); return std::make_shared(base_wasm); }; @@ -184,7 +185,7 @@ TEST_P(TestVm, AlwaysApplyCanary) { [this, vm_id, vm_config](std::string_view vm_key) -> std::shared_ptr { auto base_wasm = std::make_shared( - newVm(), std::unordered_map(), vm_id, vm_config, + makeVm(engine_), std::unordered_map(), vm_id, vm_config, vm_key); return std::make_shared(base_wasm); }; From e1fe5e99eedfb517bea92aee3f13f442d4bfa3b4 Mon Sep 17 00:00:00 2001 From: Kuat Date: Wed, 10 May 2023 17:35:41 -0700 Subject: [PATCH 43/90] Cache canary results. (#351) Signed-off-by: Kuat Yessenov --- include/proxy-wasm/wasm.h | 1 + src/wasm.cc | 6 ++++++ test/wasm_test.cc | 14 ++++++++++---- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/include/proxy-wasm/wasm.h b/include/proxy-wasm/wasm.h index 23ed3c1da..1a785a8f9 100644 --- a/include/proxy-wasm/wasm.h +++ b/include/proxy-wasm/wasm.h @@ -337,6 +337,7 @@ class WasmHandleBase : public std::enable_shared_from_this { protected: std::shared_ptr wasm_base_; + std::unordered_map plugin_canary_cache_; }; std::string makeVmKey(std::string_view vm_id, std::string_view configuration, diff --git a/src/wasm.cc b/src/wasm.cc index 5519b3e77..a7a22fc9c 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -472,6 +472,10 @@ bool WasmHandleBase::canary(const std::shared_ptr &plugin, if (this->wasm() == nullptr) { return false; } + auto it = plugin_canary_cache_.find(plugin->key()); + if (it != plugin_canary_cache_.end()) { + return it->second; + } auto configuration_canary_handle = clone_factory(shared_from_this()); if (!configuration_canary_handle) { this->wasm()->fail(FailState::UnableToCloneVm, "Failed to clone Base Wasm"); @@ -490,9 +494,11 @@ bool WasmHandleBase::canary(const std::shared_ptr &plugin, if (!configuration_canary_handle->wasm()->configure(root_context, plugin)) { configuration_canary_handle->wasm()->fail(FailState::ConfigureFailed, "Failed to configure base Wasm plugin"); + plugin_canary_cache_[plugin->key()] = false; return false; } configuration_canary_handle->kill(); + plugin_canary_cache_[plugin->key()] = true; return true; } diff --git a/test/wasm_test.cc b/test/wasm_test.cc index ad0e16ac3..b88732698 100644 --- a/test/wasm_test.cc +++ b/test/wasm_test.cc @@ -172,6 +172,7 @@ TEST_P(TestVm, AlwaysApplyCanary) { // For each create Wasm, canary should be done. EXPECT_EQ(canary_count, 1); + bool first = true; std::unordered_set> reference_holder; for (const auto &root_id : root_ids) { @@ -196,8 +197,15 @@ TEST_P(TestVm, AlwaysApplyCanary) { auto wasm_handle_comp = createWasm(vm_key, source, plugin_comp, wasm_handle_factory_comp, wasm_handle_clone_factory_for_canary, false); - // For each create Wasm, canary should be done. - EXPECT_EQ(canary_count, 1); + // Validate that canarying is cached for the first baseline plugin variant. + if (first) { + first = false; + EXPECT_EQ(canary_count, 0); + } else { + // For each create Wasm, canary should be done. + EXPECT_EQ(canary_count, 1); + EXPECT_TRUE(TestContext::isGlobalLogged("onConfigure: " + root_id)); + } if (plugin_config.empty()) { // canary_check.wasm should raise the error at `onConfigure` in canary when the @@ -212,8 +220,6 @@ TEST_P(TestVm, AlwaysApplyCanary) { // destroyed for each iteration. reference_holder.insert(wasm_handle_comp); - EXPECT_TRUE(TestContext::isGlobalLogged("onConfigure: " + root_id)); - // Wasm VM is unique for vm_key. if (vm_key == vm_key_baseline) { EXPECT_EQ(wasm_handle_baseline->wasm(), wasm_handle_comp->wasm()); From cbee7252cd1569cafde8f81c017e9a0e39ecb527 Mon Sep 17 00:00:00 2001 From: phlax Date: Tue, 30 May 2023 22:34:35 +0100 Subject: [PATCH 44/90] Update rules_rust to v0.22.0 (with Rust v1.69.0). (#354) Signed-off-by: Ryan Northey --- bazel/repositories.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index eaf3066fd..b96b972be 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -74,10 +74,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_rust", - sha256 = "c8a84a01bff4be4c7a8beefbc12e713ff296fed2110c30572a44205856594cfc", - strip_prefix = "rules_rust-0.19.0", + sha256 = "88a6911bf60c44710407cc718668ce79a4a339e1310b47f306aa0f1beadc6895", + strip_prefix = "rules_rust-0.22.0", # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/archive/0.19.0.tar.gz", + url = "https://github.com/bazelbuild/rules_rust/archive/0.22.0.tar.gz", patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], patch_args = ["-p1"], ) From 5d76116c449d6892b298b7ae79a84ef1cf5752bf Mon Sep 17 00:00:00 2001 From: phlax Date: Thu, 1 Jun 2023 07:59:08 +0100 Subject: [PATCH 45/90] wasmtime: update to v9.0.3. (#355) Signed-off-by: Ryan Northey --- bazel/cargo/wasmtime/BUILD.bazel | 8 +- bazel/cargo/wasmtime/Cargo.raze.lock | 428 +++++----- bazel/cargo/wasmtime/Cargo.toml | 13 +- bazel/cargo/wasmtime/crates.bzl | 752 ++++++++++-------- ...7.0.bazel => BUILD.addr2line-0.19.0.bazel} | 4 +- ...sh-0.7.6.bazel => BUILD.ahash-0.8.3.bazel} | 58 +- ...0.bazel => BUILD.aho-corasick-1.0.1.bazel} | 5 +- ...1.0.70.bazel => BUILD.anyhow-1.0.71.bazel} | 4 +- .../remote/BUILD.arbitrary-1.3.0.bazel | 62 ++ .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 2 +- .../remote/BUILD.bitflags-2.3.1.bazel | 66 ++ ....12.0.bazel => BUILD.bumpalo-3.13.0.bazel} | 2 +- ...l => BUILD.cranelift-bforest-0.96.3.bazel} | 4 +- ...l => BUILD.cranelift-codegen-0.96.3.bazel} | 28 +- ...BUILD.cranelift-codegen-meta-0.96.3.bazel} | 4 +- ...ILD.cranelift-codegen-shared-0.96.3.bazel} | 2 +- .../BUILD.cranelift-control-0.96.3.bazel | 55 ++ ...el => BUILD.cranelift-entity-0.96.3.bazel} | 4 +- ... => BUILD.cranelift-frontend-0.96.3.bazel} | 8 +- ...azel => BUILD.cranelift-isle-0.96.3.bazel} | 4 +- ...el => BUILD.cranelift-native-0.96.3.bazel} | 8 +- ...azel => BUILD.cranelift-wasm-0.96.3.bazel} | 14 +- .../wasmtime/remote/BUILD.debugid-0.8.0.bazel | 61 ++ ....3.bazel => BUILD.env_logger-0.10.0.bazel} | 30 +- ...no-0.2.8.bazel => BUILD.errno-0.3.1.bazel} | 10 +- .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 2 +- ...UILD.fxprof-processed-profile-0.6.0.bazel} | 23 +- ....2.8.bazel => BUILD.getrandom-0.2.9.bazel} | 6 +- ...-0.26.2.bazel => BUILD.gimli-0.27.2.bazel} | 4 +- .../remote/BUILD.hashbrown-0.12.3.bazel | 4 - .../remote/BUILD.hashbrown-0.13.2.bazel | 75 ++ .../wasmtime/remote/BUILD.idna-0.3.0.bazel | 2 +- ...1.9.2.bazel => BUILD.indexmap-1.9.3.bazel} | 6 +- ....bazel => BUILD.io-lifetimes-1.0.11.bazel} | 12 +- ...14.bazel => BUILD.is-terminal-0.4.7.bazel} | 18 +- ...bi-0.1.19.bazel => BUILD.itoa-1.0.6.bazel} | 12 +- ...0.2.140.bazel => BUILD.libc-0.2.144.bazel} | 4 +- ....bazel => BUILD.linux-raw-sys-0.3.8.bazel} | 2 +- ...og-0.4.17.bazel => BUILD.log-0.4.18.bazel} | 5 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 2 +- ...fd-0.6.2.bazel => BUILD.memfd-0.6.3.bazel} | 4 +- ....6.5.bazel => BUILD.memoffset-0.8.0.bazel} | 4 +- ...0.29.0.bazel => BUILD.object-0.30.3.bazel} | 6 +- ...7.1.bazel => BUILD.once_cell-1.17.2.bazel} | 3 +- ...2.bazel => BUILD.proc-macro2-1.0.59.bazel} | 6 +- ...-1.0.26.bazel => BUILD.quote-1.0.28.bazel} | 6 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 2 +- .../remote/BUILD.rand_core-0.6.4.bazel | 2 +- ....5.1.bazel => BUILD.regalloc2-0.8.1.bazel} | 10 +- ...ex-1.7.1.bazel => BUILD.regex-1.8.3.bazel} | 8 +- ...8.bazel => BUILD.regex-syntax-0.7.2.bazel} | 4 +- ...azel => BUILD.rustc-demangle-0.1.23.bazel} | 2 +- .../remote/BUILD.rustc-hash-1.1.0.bazel | 54 ++ ...36.10.bazel => BUILD.rustix-0.37.19.bazel} | 22 +- .../wasmtime/remote/BUILD.ryu-1.0.13.bazel | 72 ++ ....0.157.bazel => BUILD.serde-1.0.163.bazel} | 6 +- .../remote/BUILD.serde_derive-1.0.157.bazel | 89 --- .../remote/BUILD.serde_derive-1.0.163.bazel | 58 ++ .../remote/BUILD.serde_json-1.0.96.bazel | 105 +++ ...bazel => BUILD.slice-group-by-0.3.1.bazel} | 4 +- ...syn-2.0.2.bazel => BUILD.syn-2.0.18.bazel} | 8 +- ...azel => BUILD.target-lexicon-0.12.7.bazel} | 4 +- .../remote/BUILD.thiserror-impl-1.0.40.bazel | 6 +- ....bazel => BUILD.unicode-bidi-0.3.13.bazel} | 2 +- ....bazel => BUILD.unicode-ident-1.0.9.bazel} | 2 +- .../wasmtime/remote/BUILD.uuid-1.3.3.bazel | 72 ++ ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 2 - ...0.bazel => BUILD.wasmparser-0.103.0.bazel} | 6 +- ...6.0.1.bazel => BUILD.wasmtime-9.0.3.bazel} | 37 +- ... => BUILD.wasmtime-asm-macros-9.0.3.bazel} | 2 +- .../BUILD.wasmtime-c-api-macros-0.0.0.bazel | 4 +- ...l => BUILD.wasmtime-cranelift-9.0.3.bazel} | 28 +- ...UILD.wasmtime-cranelift-shared-9.0.3.bazel | 62 ++ ...zel => BUILD.wasmtime-environ-9.0.3.bazel} | 22 +- ...1.bazel => BUILD.wasmtime-jit-9.0.3.bazel} | 26 +- ...l => BUILD.wasmtime-jit-debug-9.0.3.bazel} | 4 +- ...wasmtime-jit-icache-coherence-9.0.3.bazel} | 6 +- ...zel => BUILD.wasmtime-runtime-9.0.3.bazel} | 28 +- ...bazel => BUILD.wasmtime-types-9.0.3.bazel} | 8 +- .../wasmtime/remote/BUILD.winapi-0.3.9.bazel | 4 - .../remote/BUILD.windows-sys-0.45.0.bazel | 96 --- ...0.bazel => BUILD.windows-sys-0.48.0.bazel} | 29 +- ...zel => BUILD.windows-targets-0.48.0.bazel} | 19 +- ...UILD.windows_aarch64_gnullvm-0.48.0.bazel} | 4 +- ...> BUILD.windows_aarch64_msvc-0.48.0.bazel} | 4 +- ...el => BUILD.windows_i686_gnu-0.48.0.bazel} | 4 +- ...l => BUILD.windows_i686_msvc-0.48.0.bazel} | 4 +- ... => BUILD.windows_x86_64_gnu-0.48.0.bazel} | 4 +- ...BUILD.windows_x86_64_gnullvm-0.48.0.bazel} | 4 +- ...=> BUILD.windows_x86_64_msvc-0.48.0.bazel} | 4 +- bazel/repositories.bzl | 6 +- 91 files changed, 1739 insertions(+), 1052 deletions(-) rename bazel/cargo/wasmtime/remote/{BUILD.addr2line-0.17.0.bazel => BUILD.addr2line-0.19.0.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.ahash-0.7.6.bazel => BUILD.ahash-0.8.3.bazel} (57%) rename bazel/cargo/wasmtime/remote/{BUILD.aho-corasick-0.7.20.bazel => BUILD.aho-corasick-1.0.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.anyhow-1.0.70.bazel => BUILD.anyhow-1.0.71.bazel} (98%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.bumpalo-3.12.0.bazel => BUILD.bumpalo-3.13.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.93.1.bazel => BUILD.cranelift-bforest-0.96.3.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.93.1.bazel => BUILD.cranelift-codegen-0.96.3.bazel} (73%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.93.1.bazel => BUILD.cranelift-codegen-meta-0.96.3.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.93.1.bazel => BUILD.cranelift-codegen-shared-0.96.3.bazel} (97%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.93.1.bazel => BUILD.cranelift-entity-0.96.3.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.93.1.bazel => BUILD.cranelift-frontend-0.96.3.bazel} (85%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-isle-0.93.1.bazel => BUILD.cranelift-isle-0.96.3.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.93.1.bazel => BUILD.cranelift-native-0.96.3.bazel} (87%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.93.1.bazel => BUILD.cranelift-wasm-0.96.3.bazel} (77%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.env_logger-0.9.3.bazel => BUILD.env_logger-0.10.0.bazel} (65%) rename bazel/cargo/wasmtime/remote/{BUILD.errno-0.2.8.bazel => BUILD.errno-0.3.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.arrayvec-0.7.2.bazel => BUILD.fxprof-processed-profile-0.6.0.bazel} (68%) rename bazel/cargo/wasmtime/remote/{BUILD.getrandom-0.2.8.bazel => BUILD.getrandom-0.2.9.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.gimli-0.26.2.bazel => BUILD.gimli-0.27.2.bazel} (95%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel rename bazel/cargo/wasmtime/remote/{BUILD.indexmap-1.9.2.bazel => BUILD.indexmap-1.9.3.bazel} (96%) rename bazel/cargo/wasmtime/remote/{BUILD.io-lifetimes-1.0.8.bazel => BUILD.io-lifetimes-1.0.11.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.atty-0.2.14.bazel => BUILD.is-terminal-0.4.7.bazel} (85%) rename bazel/cargo/wasmtime/remote/{BUILD.hermit-abi-0.1.19.bazel => BUILD.itoa-1.0.6.bazel} (84%) rename bazel/cargo/wasmtime/remote/{BUILD.libc-0.2.140.bazel => BUILD.libc-0.2.144.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.linux-raw-sys-0.1.4.bazel => BUILD.linux-raw-sys-0.3.8.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.log-0.4.17.bazel => BUILD.log-0.4.18.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.memfd-0.6.2.bazel => BUILD.memfd-0.6.3.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.memoffset-0.6.5.bazel => BUILD.memoffset-0.8.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.object-0.29.0.bazel => BUILD.object-0.30.3.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.once_cell-1.17.1.bazel => BUILD.once_cell-1.17.2.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.proc-macro2-1.0.52.bazel => BUILD.proc-macro2-1.0.59.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.quote-1.0.26.bazel => BUILD.quote-1.0.28.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.regalloc2-0.5.1.bazel => BUILD.regalloc2-0.8.1.bazel} (82%) rename bazel/cargo/wasmtime/remote/{BUILD.regex-1.7.1.bazel => BUILD.regex-1.8.3.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.regex-syntax-0.6.28.bazel => BUILD.regex-syntax-0.7.2.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.rustc-demangle-0.1.21.bazel => BUILD.rustc-demangle-0.1.23.bazel} (97%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.rustix-0.36.10.bazel => BUILD.rustix-0.37.19.bazel} (94%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel rename bazel/cargo/wasmtime/remote/{BUILD.serde-1.0.157.bazel => BUILD.serde-1.0.163.bazel} (94%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.157.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel rename bazel/cargo/wasmtime/remote/{BUILD.slice-group-by-0.3.0.bazel => BUILD.slice-group-by-0.3.1.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.syn-2.0.2.bazel => BUILD.syn-2.0.18.bazel} (94%) rename bazel/cargo/wasmtime/remote/{BUILD.target-lexicon-0.12.6.bazel => BUILD.target-lexicon-0.12.7.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.unicode-bidi-0.3.12.bazel => BUILD.unicode-bidi-0.3.13.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.unicode-ident-1.0.8.bazel => BUILD.unicode-ident-1.0.9.bazel} (98%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmparser-0.100.0.bazel => BUILD.wasmparser-0.103.0.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-6.0.1.bazel => BUILD.wasmtime-9.0.3.bazel} (70%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-asm-macros-6.0.1.bazel => BUILD.wasmtime-asm-macros-9.0.3.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-6.0.1.bazel => BUILD.wasmtime-cranelift-9.0.3.bazel} (57%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-6.0.1.bazel => BUILD.wasmtime-environ-9.0.3.bazel} (68%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-6.0.1.bazel => BUILD.wasmtime-jit-9.0.3.bazel} (69%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-6.0.1.bazel => BUILD.wasmtime-jit-debug-9.0.3.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel => BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-6.0.1.bazel => BUILD.wasmtime-runtime-9.0.3.bazel} (88%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-6.0.1.bazel => BUILD.wasmtime-types-9.0.3.bazel} (85%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows-sys-0.42.0.bazel => BUILD.windows-sys-0.48.0.bazel} (70%) rename bazel/cargo/wasmtime/remote/{BUILD.windows-targets-0.42.2.bazel => BUILD.windows-targets-0.48.0.bazel} (66%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_aarch64_gnullvm-0.42.2.bazel => BUILD.windows_aarch64_gnullvm-0.48.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_aarch64_msvc-0.42.2.bazel => BUILD.windows_aarch64_msvc-0.48.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_i686_gnu-0.42.2.bazel => BUILD.windows_i686_gnu-0.48.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_i686_msvc-0.42.2.bazel => BUILD.windows_i686_msvc-0.48.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_x86_64_gnu-0.42.2.bazel => BUILD.windows_x86_64_gnu-0.48.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_x86_64_gnullvm-0.42.2.bazel => BUILD.windows_x86_64_gnullvm-0.48.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.windows_x86_64_msvc-0.42.2.bazel => BUILD.windows_x86_64_msvc-0.48.0.bazel} (97%) diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index f09d38542..75c6a1d79 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -14,7 +14,7 @@ licenses([ # Aliased targets alias( name = "anyhow", - actual = "@wasmtime__anyhow__1_0_70//:anyhow", + actual = "@wasmtime__anyhow__1_0_71//:anyhow", tags = [ "cargo-raze", "manual", @@ -23,7 +23,7 @@ alias( alias( name = "env_logger", - actual = "@wasmtime__env_logger__0_9_3//:env_logger", + actual = "@wasmtime__env_logger__0_10_0//:env_logger", tags = [ "cargo-raze", "manual", @@ -32,7 +32,7 @@ alias( alias( name = "once_cell", - actual = "@wasmtime__once_cell__1_17_1//:once_cell", + actual = "@wasmtime__once_cell__1_17_2//:once_cell", tags = [ "cargo-raze", "manual", @@ -41,7 +41,7 @@ alias( alias( name = "wasmtime", - actual = "@wasmtime__wasmtime__6_0_1//:wasmtime", + actual = "@wasmtime__wasmtime__9_0_3//:wasmtime", tags = [ "cargo-raze", "manual", diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.raze.lock index 14c6bbdf2..6c0f7a2bd 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.raze.lock @@ -2,55 +2,44 @@ # It is not intended for manual editing. [[package]] name = "addr2line" -version = "0.17.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" dependencies = [ "gimli", ] [[package]] name = "ahash" -version = "0.7.6" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ - "getrandom", + "cfg-if", "once_cell", "version_check", ] [[package]] name = "aho-corasick" -version = "0.7.20" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" +checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" dependencies = [ "memchr", ] [[package]] name = "anyhow" -version = "1.0.70" +version = "1.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" [[package]] -name = "arrayvec" -version = "0.7.2" +name = "arbitrary" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] +checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" [[package]] name = "autocfg" @@ -73,11 +62,17 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84" + [[package]] name = "bumpalo" -version = "3.12.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byteorder" @@ -108,28 +103,28 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7379abaacee0f14abf3204a7606118f0465785252169d186337bcb75030815a" +checksum = "9c064a534a914eb6709d198525321a386dad50627aecfaf64053f369993a3e5a" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9489fa336927df749631f1008007ced2871068544f40a202ce6d93fbf2366a7b" +checksum = "619ed4d24acef0bd58b16a1be39077c0b36c65782e6c933892439af5e799110e" dependencies = [ - "arrayvec", "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", + "cranelift-control", "cranelift-entity", "cranelift-isle", "gimli", - "hashbrown", + "hashbrown 0.13.2", "log", "regalloc2", "smallvec", @@ -138,33 +133,42 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bbb67da91ec721ed57cef2f7c5ef7728e1cd9bde9ffd3ef8601022e73e3239" +checksum = "c777ce22678ae1869f990b2f31e0cd7ca109049213bfc0baf3e2205a18b21ebb" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418ecb2f36032f6665dc1a5e2060a143dbab41d83b784882e97710e890a7a16d" +checksum = "eb65884d17a1fa55990dd851c43c140afb4c06c3312cf42cfa1222c3b23f9561" + +[[package]] +name = "cranelift-control" +version = "0.96.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a0cea8abc90934d0a7ee189a29fd35fecd5c40f59ae7e6aab1805e8ab1a535e" +dependencies = [ + "arbitrary", +] [[package]] name = "cranelift-entity" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cf583f7b093f291005f9fb1323e2c37f6ee4c7909e39ce016b2e8360d461705" +checksum = "c2e50bebc05f2401a1320169314b62f91ad811ef20163cac00151d78e0684d4c" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b66bf9e916f57fbbd0f7703ec6286f4624866bf45000111627c70d272c8dda1" +checksum = "7b82ccfe704d53f669791399d417928410785132d809ec46f5e2ce069e9d17c8" dependencies = [ "cranelift-codegen", "log", @@ -174,15 +178,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "649782a39ce99798dd6b4029e2bb318a2fbeaade1b4fa25330763c10c65bc358" +checksum = "a2515d8e7836f9198b160b2c80aaa1f586d7749d57d6065af86223fb65b7e2c3" [[package]] name = "cranelift-native" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "937e021e089c51f9749d09e7ad1c4f255c2f8686cb8c3df63a34b3ec9921bc41" +checksum = "bcb47ffdcdac7e9fed6e4a618939773a4dc4a412fa7da9e701ae667431a10af3" dependencies = [ "cranelift-codegen", "libc", @@ -191,9 +195,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.93.1" +version = "0.96.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d850cf6775477747c9dfda9ae23355dd70512ffebc70cf82b85a5b111ae668b5" +checksum = "852390f92c3eaa457e42be44d174ff5abbbcd10062d5963bda8ffb2505e73a71" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -214,6 +218,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", +] + [[package]] name = "either" version = "1.8.1" @@ -222,12 +235,12 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "env_logger" -version = "0.9.3" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ - "atty", "humantime", + "is-terminal", "log", "regex", "termcolor", @@ -235,13 +248,13 @@ dependencies = [ [[package]] name = "errno" -version = "0.2.8" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" dependencies = [ "errno-dragonfly", "libc", - "winapi", + "windows-sys", ] [[package]] @@ -278,11 +291,24 @@ 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.3.1", + "debugid", + "fxhash", + "serde", + "serde_json", +] + [[package]] name = "getrandom" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" +checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" dependencies = [ "cfg-if", "libc", @@ -291,9 +317,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.26.2" +version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" dependencies = [ "fallible-iterator", "indexmap", @@ -305,17 +331,14 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash", -] [[package]] -name = "hermit-abi" -version = "0.1.19" +name = "hashbrown" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "libc", + "ahash", ] [[package]] @@ -342,24 +365,36 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.9.2" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.3", "serde", ] [[package]] name = "io-lifetimes" -version = "1.0.8" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd6da19f25979c7270e70fa95ab371ec3b701cd0eefc47667a09785b3c59155" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.1", + "hermit-abi", "libc", - "windows-sys 0.45.0", + "windows-sys", +] + +[[package]] +name = "is-terminal" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" +dependencies = [ + "hermit-abi", + "io-lifetimes", + "rustix", + "windows-sys", ] [[package]] @@ -371,26 +406,29 @@ dependencies = [ "either", ] +[[package]] +name = "itoa" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" + [[package]] name = "libc" -version = "0.2.140" +version = "0.2.144" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" +checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" [[package]] name = "linux-raw-sys" -version = "0.1.4" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "log" -version = "0.4.17" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", -] +checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de" [[package]] name = "mach" @@ -409,39 +447,39 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memfd" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb" +checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" dependencies = [ "rustix", ] [[package]] name = "memoffset" -version = "0.6.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ "autocfg", ] [[package]] name = "object" -version = "0.29.0" +version = "0.30.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" dependencies = [ "crc32fast", - "hashbrown", + "hashbrown 0.13.2", "indexmap", "memchr", ] [[package]] name = "once_cell" -version = "1.17.1" +version = "1.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" [[package]] name = "paste" @@ -463,9 +501,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" -version = "1.0.52" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224" +checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" dependencies = [ "unicode-ident", ] @@ -481,9 +519,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.26" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" dependencies = [ "proc-macro2", ] @@ -520,21 +558,22 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.5.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" +checksum = "d4a52e724646c6c0800fc456ec43b4165d2f91fba88ceaca06d9e0b400023478" dependencies = [ - "fxhash", + "hashbrown 0.13.2", "log", + "rustc-hash", "slice-group-by", "smallvec", ] [[package]] name = "regex" -version = "1.7.1" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" +checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" dependencies = [ "aho-corasick", "memchr", @@ -543,55 +582,78 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.28" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" +checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" [[package]] name = "rustc-demangle" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.36.10" +version = "0.37.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fe885c3a125aa45213b68cc1472a49880cb5923dc23f522ad2791b882228778" +checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "windows-sys 0.45.0", + "windows-sys", ] +[[package]] +name = "ryu" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" + [[package]] name = "serde" -version = "1.0.157" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707de5fcf5df2b5788fca98dd7eab490bc2fd9b7ef1404defc462833b83f25ca" +checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.157" +version = "1.0.163" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5" +checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", "syn", ] +[[package]] +name = "serde_json" +version = "1.0.96" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" +dependencies = [ + "itoa", + "ryu", + "serde", +] + [[package]] name = "slice-group-by" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" +checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "smallvec" @@ -607,9 +669,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "2.0.2" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59d3276aee1fa0c33612917969b5172b5be2db051232a6e4826f1a1a9191b045" +checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" dependencies = [ "proc-macro2", "quote", @@ -618,9 +680,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.6" +version = "0.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5" +checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" [[package]] name = "termcolor" @@ -668,15 +730,15 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "unicode-bidi" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d502c968c6a838ead8e69b2ee18ec708802f99db92a0d156705ec9ef801993b" +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" [[package]] name = "unicode-normalization" @@ -698,6 +760,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "uuid" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2" + [[package]] name = "version_check" version = "0.9.4" @@ -712,9 +780,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasmparser" -version = "0.100.0" +version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" +checksum = "2c437373cac5ea84f1113d648d51f71751ffbe3d90c00ae67618cf20d0b5ee7b" dependencies = [ "indexmap", "url", @@ -722,13 +790,15 @@ dependencies = [ [[package]] name = "wasmtime" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e89f9819523447330ffd70367ef4a18d8c832e24e8150fe054d1d912841632" +checksum = "aa0f72886c3264eb639f50188d1eb98b975564130292fea8deb4facf91ca7258" dependencies = [ "anyhow", "bincode", + "bumpalo", "cfg-if", + "fxprof-processed-profile", "indexmap", "libc", "log", @@ -737,27 +807,28 @@ dependencies = [ "paste", "psm", "serde", + "serde_json", "target-lexicon", "wasmparser", "wasmtime-cranelift", "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys 0.42.0", + "windows-sys", ] [[package]] name = "wasmtime-asm-macros" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd3a5e46c198032da934469f3a6e48649d1f9142438e4fd4617b68a35644b8a" +checksum = "a18391ed41ca957eecdbe64c51879b75419cbc52e2d8663fe82945b28b4f19da" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-c-api-bazel" -version = "2.0.2" +version = "9.0.3" dependencies = [ "anyhow", "env_logger", @@ -769,7 +840,7 @@ dependencies = [ [[package]] name = "wasmtime-c-api-macros" version = "0.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v6.0.1#b6bc33da2bcb466d377fb02f5aa764a667d08e0a" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v9.0.3#271b605e8d3d44c5d0a39bb4e65c3efb3869ff74" dependencies = [ "proc-macro2", "quote", @@ -777,12 +848,13 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b2c92a08c0db6efffd88fdc97d7aa9c7c63b03edb0971dbca745469f820e8c" +checksum = "a2495036d05eb1e79ecf22e092eeacd279dcf24b4fcab77fb4cf8ef9bd42c3ea" dependencies = [ "anyhow", "cranelift-codegen", + "cranelift-control", "cranelift-entity", "cranelift-frontend", "cranelift-native", @@ -793,14 +865,31 @@ dependencies = [ "target-lexicon", "thiserror", "wasmparser", + "wasmtime-cranelift-shared", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "9.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef677f7b0d3f3b73275675486d791f1e85e7c24afe8dd367c6b9950028906330" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-control", + "cranelift-native", + "gimli", + "object", + "target-lexicon", "wasmtime-environ", ] [[package]] name = "wasmtime-environ" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a6db9fc52985ba06ca601f2ff0ff1f526c5d724c7ac267b47326304b0c97883" +checksum = "2d03356374ffafa881c5f972529d2bb11ce48fe2736285e2b0ad72c6d554257b" dependencies = [ "anyhow", "cranelift-entity", @@ -817,9 +906,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b77e3a52cd84d0f7f18554afa8060cfe564ccac61e3b0802d3fd4084772fa5f6" +checksum = "e5374f0d2ee0069391dd9348f148802846b2b3e0af650385f9c56b3012d3c5d1" dependencies = [ "addr2line", "anyhow", @@ -835,34 +924,34 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys 0.42.0", + "windows-sys", ] [[package]] name = "wasmtime-jit-debug" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0245e8a9347017c7185a72e215218a802ff561545c242953c11ba00fccc930f" +checksum = "102653b177225bfdd2da41cc385965d4bf6bc10cf14ec7b306bc9b015fb01c22" dependencies = [ "once_cell", ] [[package]] name = "wasmtime-jit-icache-coherence" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67d412e9340ab1c83867051d8d1d7c90aa8c9afc91da086088068e2734e25064" +checksum = "374ff63b3eb41db57c56682a9ef7737d2c9efa801f5dbf9da93941c9dd436a06" dependencies = [ "cfg-if", "libc", - "windows-sys 0.42.0", + "windows-sys", ] [[package]] name = "wasmtime-runtime" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d594e791b5fdd4dbaf8cf7ae62f2e4ff85018ce90f483ca6f42947688e48827d" +checksum = "9b1b832f19099066ebd26e683121d331f12cf98f158eac0f889972854413b46f" dependencies = [ "anyhow", "cc", @@ -879,14 +968,14 @@ dependencies = [ "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys 0.42.0", + "windows-sys", ] [[package]] name = "wasmtime-types" -version = "6.0.1" +version = "9.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6688d6f96d4dbc1f89fab626c56c1778936d122b5f4ae7a57c2eb42b8d982e2" +checksum = "9c574221440e05bbb04efa09786d049401be2eb10081ecf43eb72fbd637bd12f" dependencies = [ "cranelift-entity", "serde", @@ -927,33 +1016,18 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ "windows-targets", ] [[package]] name = "windows-targets" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" dependencies = [ "windows_aarch64_gnullvm", "windows_aarch64_msvc", @@ -966,42 +1040,42 @@ dependencies = [ [[package]] name = "windows_aarch64_gnullvm" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" +checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" [[package]] name = "windows_aarch64_msvc" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" +checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" [[package]] name = "windows_i686_gnu" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" +checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" [[package]] name = "windows_i686_msvc" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" +checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" [[package]] name = "windows_x86_64_gnu" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" +checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" [[package]] name = "windows_x86_64_gnullvm" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" +checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" [[package]] name = "windows_x86_64_msvc" -version = "0.42.2" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" +checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index f4199812e..238b91609 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,17 +1,18 @@ [package] -edition = "2018" +edition = "2021" name = "wasmtime-c-api-bazel" -version = "2.0.2" +version = "9.0.3" +rust-version = "1.66.0" [lib] path = "fake_lib.rs" [dependencies] -env_logger = "0.9" +env_logger = "0.10" anyhow = "1.0" -once_cell = "1.3" -wasmtime = {version = "6.0.1", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v6.0.1"} +once_cell = "1.12" +wasmtime = {version = "9.0.3", default-features = false, features = ['cranelift']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v9.0.3"} [package.metadata.raze] rust_rules_workspace_name = "rules_rust" diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl index 1a65f92eb..1c0e575af 100644 --- a/bazel/cargo/wasmtime/crates.bzl +++ b/bazel/cargo/wasmtime/crates.bzl @@ -13,62 +13,52 @@ def wasmtime_fetch_remote_crates(): """This function defines a collection of repos and should be called in a WORKSPACE file""" maybe( http_archive, - name = "wasmtime__addr2line__0_17_0", - url = "https://crates.io/api/v1/crates/addr2line/0.17.0/download", + name = "wasmtime__addr2line__0_19_0", + url = "https://crates.io/api/v1/crates/addr2line/0.19.0/download", type = "tar.gz", - sha256 = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b", - strip_prefix = "addr2line-0.17.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.addr2line-0.17.0.bazel"), + sha256 = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97", + strip_prefix = "addr2line-0.19.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.addr2line-0.19.0.bazel"), ) maybe( http_archive, - name = "wasmtime__ahash__0_7_6", - url = "https://crates.io/api/v1/crates/ahash/0.7.6/download", + name = "wasmtime__ahash__0_8_3", + url = "https://crates.io/api/v1/crates/ahash/0.8.3/download", type = "tar.gz", - sha256 = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47", - strip_prefix = "ahash-0.7.6", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ahash-0.7.6.bazel"), + sha256 = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f", + strip_prefix = "ahash-0.8.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ahash-0.8.3.bazel"), ) maybe( http_archive, - name = "wasmtime__aho_corasick__0_7_20", - url = "https://crates.io/api/v1/crates/aho-corasick/0.7.20/download", + name = "wasmtime__aho_corasick__1_0_1", + url = "https://crates.io/api/v1/crates/aho-corasick/1.0.1/download", type = "tar.gz", - sha256 = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac", - strip_prefix = "aho-corasick-0.7.20", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-0.7.20.bazel"), + sha256 = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04", + strip_prefix = "aho-corasick-1.0.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-1.0.1.bazel"), ) maybe( http_archive, - name = "wasmtime__anyhow__1_0_70", - url = "https://crates.io/api/v1/crates/anyhow/1.0.70/download", + name = "wasmtime__anyhow__1_0_71", + url = "https://crates.io/api/v1/crates/anyhow/1.0.71/download", type = "tar.gz", - sha256 = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4", - strip_prefix = "anyhow-1.0.70", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.70.bazel"), + sha256 = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8", + strip_prefix = "anyhow-1.0.71", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.71.bazel"), ) maybe( http_archive, - name = "wasmtime__arrayvec__0_7_2", - url = "https://crates.io/api/v1/crates/arrayvec/0.7.2/download", + name = "wasmtime__arbitrary__1_3_0", + url = "https://crates.io/api/v1/crates/arbitrary/1.3.0/download", type = "tar.gz", - sha256 = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6", - strip_prefix = "arrayvec-0.7.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.arrayvec-0.7.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__atty__0_2_14", - url = "https://crates.io/api/v1/crates/atty/0.2.14/download", - type = "tar.gz", - sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", - strip_prefix = "atty-0.2.14", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.atty-0.2.14.bazel"), + sha256 = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e", + strip_prefix = "arbitrary-1.3.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.arbitrary-1.3.0.bazel"), ) maybe( @@ -103,18 +93,28 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__bumpalo__3_12_0", - url = "https://crates.io/api/v1/crates/bumpalo/3.12.0/download", + name = "wasmtime__bitflags__2_3_1", + url = "https://crates.io/api/v1/crates/bitflags/2.3.1/download", type = "tar.gz", - sha256 = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535", - strip_prefix = "bumpalo-3.12.0", + sha256 = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84", + strip_prefix = "bitflags-2.3.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bitflags-2.3.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__bumpalo__3_13_0", + url = "https://crates.io/api/v1/crates/bumpalo/3.13.0/download", + type = "tar.gz", + sha256 = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1", + strip_prefix = "bumpalo-3.13.0", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:bumpalo.patch", ], patch_args = [ "-p1", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.12.0.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.13.0.bazel"), ) maybe( @@ -159,98 +159,108 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__cranelift_bforest__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.93.1/download", + name = "wasmtime__cranelift_bforest__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-bforest/0.96.3/download", + type = "tar.gz", + sha256 = "9c064a534a914eb6709d198525321a386dad50627aecfaf64053f369993a3e5a", + strip_prefix = "cranelift-bforest-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.96.3.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__cranelift_codegen__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-codegen/0.96.3/download", type = "tar.gz", - sha256 = "a7379abaacee0f14abf3204a7606118f0465785252169d186337bcb75030815a", - strip_prefix = "cranelift-bforest-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.93.1.bazel"), + sha256 = "619ed4d24acef0bd58b16a1be39077c0b36c65782e6c933892439af5e799110e", + strip_prefix = "cranelift-codegen-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.93.1/download", + name = "wasmtime__cranelift_codegen_meta__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.96.3/download", type = "tar.gz", - sha256 = "9489fa336927df749631f1008007ced2871068544f40a202ce6d93fbf2366a7b", - strip_prefix = "cranelift-codegen-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.93.1.bazel"), + sha256 = "c777ce22678ae1869f990b2f31e0cd7ca109049213bfc0baf3e2205a18b21ebb", + strip_prefix = "cranelift-codegen-meta-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_meta__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.93.1/download", + name = "wasmtime__cranelift_codegen_shared__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.96.3/download", type = "tar.gz", - sha256 = "05bbb67da91ec721ed57cef2f7c5ef7728e1cd9bde9ffd3ef8601022e73e3239", - strip_prefix = "cranelift-codegen-meta-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.93.1.bazel"), + sha256 = "eb65884d17a1fa55990dd851c43c140afb4c06c3312cf42cfa1222c3b23f9561", + strip_prefix = "cranelift-codegen-shared-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_codegen_shared__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.93.1/download", + name = "wasmtime__cranelift_control__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-control/0.96.3/download", type = "tar.gz", - sha256 = "418ecb2f36032f6665dc1a5e2060a143dbab41d83b784882e97710e890a7a16d", - strip_prefix = "cranelift-codegen-shared-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.93.1.bazel"), + sha256 = "9a0cea8abc90934d0a7ee189a29fd35fecd5c40f59ae7e6aab1805e8ab1a535e", + strip_prefix = "cranelift-control-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-control-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_entity__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.93.1/download", + name = "wasmtime__cranelift_entity__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-entity/0.96.3/download", type = "tar.gz", - sha256 = "7cf583f7b093f291005f9fb1323e2c37f6ee4c7909e39ce016b2e8360d461705", - strip_prefix = "cranelift-entity-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.93.1.bazel"), + sha256 = "c2e50bebc05f2401a1320169314b62f91ad811ef20163cac00151d78e0684d4c", + strip_prefix = "cranelift-entity-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_frontend__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.93.1/download", + name = "wasmtime__cranelift_frontend__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-frontend/0.96.3/download", type = "tar.gz", - sha256 = "0b66bf9e916f57fbbd0f7703ec6286f4624866bf45000111627c70d272c8dda1", - strip_prefix = "cranelift-frontend-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.93.1.bazel"), + sha256 = "7b82ccfe704d53f669791399d417928410785132d809ec46f5e2ce069e9d17c8", + strip_prefix = "cranelift-frontend-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_isle__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-isle/0.93.1/download", + name = "wasmtime__cranelift_isle__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-isle/0.96.3/download", type = "tar.gz", - sha256 = "649782a39ce99798dd6b4029e2bb318a2fbeaade1b4fa25330763c10c65bc358", - strip_prefix = "cranelift-isle-0.93.1", + sha256 = "a2515d8e7836f9198b160b2c80aaa1f586d7749d57d6065af86223fb65b7e2c3", + strip_prefix = "cranelift-isle-0.96.3", patches = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", ], patch_args = [ "-p4", ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.93.1.bazel"), + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_native__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-native/0.93.1/download", + name = "wasmtime__cranelift_native__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-native/0.96.3/download", type = "tar.gz", - sha256 = "937e021e089c51f9749d09e7ad1c4f255c2f8686cb8c3df63a34b3ec9921bc41", - strip_prefix = "cranelift-native-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.93.1.bazel"), + sha256 = "bcb47ffdcdac7e9fed6e4a618939773a4dc4a412fa7da9e701ae667431a10af3", + strip_prefix = "cranelift-native-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.96.3.bazel"), ) maybe( http_archive, - name = "wasmtime__cranelift_wasm__0_93_1", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.93.1/download", + name = "wasmtime__cranelift_wasm__0_96_3", + url = "https://crates.io/api/v1/crates/cranelift-wasm/0.96.3/download", type = "tar.gz", - sha256 = "d850cf6775477747c9dfda9ae23355dd70512ffebc70cf82b85a5b111ae668b5", - strip_prefix = "cranelift-wasm-0.93.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.93.1.bazel"), + sha256 = "852390f92c3eaa457e42be44d174ff5abbbcd10062d5963bda8ffb2505e73a71", + strip_prefix = "cranelift-wasm-0.96.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.96.3.bazel"), ) maybe( @@ -263,6 +273,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.3.2.bazel"), ) + maybe( + http_archive, + name = "wasmtime__debugid__0_8_0", + url = "https://crates.io/api/v1/crates/debugid/0.8.0/download", + type = "tar.gz", + sha256 = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d", + strip_prefix = "debugid-0.8.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.debugid-0.8.0.bazel"), + ) + maybe( http_archive, name = "wasmtime__either__1_8_1", @@ -275,22 +295,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__env_logger__0_9_3", - url = "https://crates.io/api/v1/crates/env_logger/0.9.3/download", + name = "wasmtime__env_logger__0_10_0", + url = "https://crates.io/api/v1/crates/env_logger/0.10.0/download", type = "tar.gz", - sha256 = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7", - strip_prefix = "env_logger-0.9.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.9.3.bazel"), + sha256 = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0", + strip_prefix = "env_logger-0.10.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.10.0.bazel"), ) maybe( http_archive, - name = "wasmtime__errno__0_2_8", - url = "https://crates.io/api/v1/crates/errno/0.2.8/download", + name = "wasmtime__errno__0_3_1", + url = "https://crates.io/api/v1/crates/errno/0.3.1/download", type = "tar.gz", - sha256 = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1", - strip_prefix = "errno-0.2.8", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.errno-0.2.8.bazel"), + sha256 = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a", + strip_prefix = "errno-0.3.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.errno-0.3.1.bazel"), ) maybe( @@ -335,22 +355,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__getrandom__0_2_8", - url = "https://crates.io/api/v1/crates/getrandom/0.2.8/download", + name = "wasmtime__fxprof_processed_profile__0_6_0", + url = "https://crates.io/api/v1/crates/fxprof-processed-profile/0.6.0/download", + type = "tar.gz", + sha256 = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd", + strip_prefix = "fxprof-processed-profile-0.6.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.fxprof-processed-profile-0.6.0.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__getrandom__0_2_9", + url = "https://crates.io/api/v1/crates/getrandom/0.2.9/download", type = "tar.gz", - sha256 = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31", - strip_prefix = "getrandom-0.2.8", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.8.bazel"), + sha256 = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4", + strip_prefix = "getrandom-0.2.9", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.9.bazel"), ) maybe( http_archive, - name = "wasmtime__gimli__0_26_2", - url = "https://crates.io/api/v1/crates/gimli/0.26.2/download", + name = "wasmtime__gimli__0_27_2", + url = "https://crates.io/api/v1/crates/gimli/0.27.2/download", type = "tar.gz", - sha256 = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d", - strip_prefix = "gimli-0.26.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.gimli-0.26.2.bazel"), + sha256 = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4", + strip_prefix = "gimli-0.27.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.gimli-0.27.2.bazel"), ) maybe( @@ -365,12 +395,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__hermit_abi__0_1_19", - url = "https://crates.io/api/v1/crates/hermit-abi/0.1.19/download", + name = "wasmtime__hashbrown__0_13_2", + url = "https://crates.io/api/v1/crates/hashbrown/0.13.2/download", type = "tar.gz", - sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33", - strip_prefix = "hermit-abi-0.1.19", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hermit-abi-0.1.19.bazel"), + sha256 = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e", + strip_prefix = "hashbrown-0.13.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.13.2.bazel"), ) maybe( @@ -405,22 +435,32 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__indexmap__1_9_2", - url = "https://crates.io/api/v1/crates/indexmap/1.9.2/download", + name = "wasmtime__indexmap__1_9_3", + url = "https://crates.io/api/v1/crates/indexmap/1.9.3/download", type = "tar.gz", - sha256 = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399", - strip_prefix = "indexmap-1.9.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.2.bazel"), + sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99", + strip_prefix = "indexmap-1.9.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.3.bazel"), ) maybe( http_archive, - name = "wasmtime__io_lifetimes__1_0_8", - url = "https://crates.io/api/v1/crates/io-lifetimes/1.0.8/download", + name = "wasmtime__io_lifetimes__1_0_11", + url = "https://crates.io/api/v1/crates/io-lifetimes/1.0.11/download", type = "tar.gz", - sha256 = "0dd6da19f25979c7270e70fa95ab371ec3b701cd0eefc47667a09785b3c59155", - strip_prefix = "io-lifetimes-1.0.8", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-1.0.8.bazel"), + sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2", + strip_prefix = "io-lifetimes-1.0.11", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-1.0.11.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__is_terminal__0_4_7", + url = "https://crates.io/api/v1/crates/is-terminal/0.4.7/download", + type = "tar.gz", + sha256 = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f", + strip_prefix = "is-terminal-0.4.7", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.is-terminal-0.4.7.bazel"), ) maybe( @@ -435,32 +475,42 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__libc__0_2_140", - url = "https://crates.io/api/v1/crates/libc/0.2.140/download", + name = "wasmtime__itoa__1_0_6", + url = "https://crates.io/api/v1/crates/itoa/1.0.6/download", type = "tar.gz", - sha256 = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c", - strip_prefix = "libc-0.2.140", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.140.bazel"), + sha256 = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6", + strip_prefix = "itoa-1.0.6", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.itoa-1.0.6.bazel"), ) maybe( http_archive, - name = "wasmtime__linux_raw_sys__0_1_4", - url = "https://crates.io/api/v1/crates/linux-raw-sys/0.1.4/download", + name = "wasmtime__libc__0_2_144", + url = "https://crates.io/api/v1/crates/libc/0.2.144/download", type = "tar.gz", - sha256 = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4", - strip_prefix = "linux-raw-sys-0.1.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.1.4.bazel"), + sha256 = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1", + strip_prefix = "libc-0.2.144", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.144.bazel"), ) maybe( http_archive, - name = "wasmtime__log__0_4_17", - url = "https://crates.io/api/v1/crates/log/0.4.17/download", + name = "wasmtime__linux_raw_sys__0_3_8", + url = "https://crates.io/api/v1/crates/linux-raw-sys/0.3.8/download", type = "tar.gz", - sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e", - strip_prefix = "log-0.4.17", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.log-0.4.17.bazel"), + sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519", + strip_prefix = "linux-raw-sys-0.3.8", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.3.8.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__log__0_4_18", + url = "https://crates.io/api/v1/crates/log/0.4.18/download", + type = "tar.gz", + sha256 = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de", + strip_prefix = "log-0.4.18", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.log-0.4.18.bazel"), ) maybe( @@ -485,42 +535,42 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__memfd__0_6_2", - url = "https://crates.io/api/v1/crates/memfd/0.6.2/download", + name = "wasmtime__memfd__0_6_3", + url = "https://crates.io/api/v1/crates/memfd/0.6.3/download", type = "tar.gz", - sha256 = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb", - strip_prefix = "memfd-0.6.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memfd-0.6.2.bazel"), + sha256 = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e", + strip_prefix = "memfd-0.6.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memfd-0.6.3.bazel"), ) maybe( http_archive, - name = "wasmtime__memoffset__0_6_5", - url = "https://crates.io/api/v1/crates/memoffset/0.6.5/download", + name = "wasmtime__memoffset__0_8_0", + url = "https://crates.io/api/v1/crates/memoffset/0.8.0/download", type = "tar.gz", - sha256 = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce", - strip_prefix = "memoffset-0.6.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.6.5.bazel"), + sha256 = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1", + strip_prefix = "memoffset-0.8.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.8.0.bazel"), ) maybe( http_archive, - name = "wasmtime__object__0_29_0", - url = "https://crates.io/api/v1/crates/object/0.29.0/download", + name = "wasmtime__object__0_30_3", + url = "https://crates.io/api/v1/crates/object/0.30.3/download", type = "tar.gz", - sha256 = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53", - strip_prefix = "object-0.29.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.29.0.bazel"), + sha256 = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439", + strip_prefix = "object-0.30.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.30.3.bazel"), ) maybe( http_archive, - name = "wasmtime__once_cell__1_17_1", - url = "https://crates.io/api/v1/crates/once_cell/1.17.1/download", + name = "wasmtime__once_cell__1_17_2", + url = "https://crates.io/api/v1/crates/once_cell/1.17.2/download", type = "tar.gz", - sha256 = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3", - strip_prefix = "once_cell-1.17.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.17.1.bazel"), + sha256 = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b", + strip_prefix = "once_cell-1.17.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.17.2.bazel"), ) maybe( @@ -555,12 +605,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__proc_macro2__1_0_52", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.52/download", + name = "wasmtime__proc_macro2__1_0_59", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.59/download", type = "tar.gz", - sha256 = "1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224", - strip_prefix = "proc-macro2-1.0.52", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.52.bazel"), + sha256 = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b", + strip_prefix = "proc-macro2-1.0.59", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.59.bazel"), ) maybe( @@ -575,12 +625,12 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__quote__1_0_26", - url = "https://crates.io/api/v1/crates/quote/1.0.26/download", + name = "wasmtime__quote__1_0_28", + url = "https://crates.io/api/v1/crates/quote/1.0.28/download", type = "tar.gz", - sha256 = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc", - strip_prefix = "quote-1.0.26", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.26.bazel"), + sha256 = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488", + strip_prefix = "quote-1.0.28", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.28.bazel"), ) maybe( @@ -615,82 +665,112 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__regalloc2__0_5_1", - url = "https://crates.io/api/v1/crates/regalloc2/0.5.1/download", + name = "wasmtime__regalloc2__0_8_1", + url = "https://crates.io/api/v1/crates/regalloc2/0.8.1/download", + type = "tar.gz", + sha256 = "d4a52e724646c6c0800fc456ec43b4165d2f91fba88ceaca06d9e0b400023478", + strip_prefix = "regalloc2-0.8.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__regex__1_8_3", + url = "https://crates.io/api/v1/crates/regex/1.8.3/download", + type = "tar.gz", + sha256 = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390", + strip_prefix = "regex-1.8.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.8.3.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__regex_syntax__0_7_2", + url = "https://crates.io/api/v1/crates/regex-syntax/0.7.2/download", + type = "tar.gz", + sha256 = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78", + strip_prefix = "regex-syntax-0.7.2", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.7.2.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__rustc_demangle__0_1_23", + url = "https://crates.io/api/v1/crates/rustc-demangle/0.1.23/download", type = "tar.gz", - sha256 = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c", - strip_prefix = "regalloc2-0.5.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.5.1.bazel"), + sha256 = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76", + strip_prefix = "rustc-demangle-0.1.23", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustc-demangle-0.1.23.bazel"), ) maybe( http_archive, - name = "wasmtime__regex__1_7_1", - url = "https://crates.io/api/v1/crates/regex/1.7.1/download", + name = "wasmtime__rustc_hash__1_1_0", + url = "https://crates.io/api/v1/crates/rustc-hash/1.1.0/download", type = "tar.gz", - sha256 = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733", - strip_prefix = "regex-1.7.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.7.1.bazel"), + sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2", + strip_prefix = "rustc-hash-1.1.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustc-hash-1.1.0.bazel"), ) maybe( http_archive, - name = "wasmtime__regex_syntax__0_6_28", - url = "https://crates.io/api/v1/crates/regex-syntax/0.6.28/download", + name = "wasmtime__rustix__0_37_19", + url = "https://crates.io/api/v1/crates/rustix/0.37.19/download", type = "tar.gz", - sha256 = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848", - strip_prefix = "regex-syntax-0.6.28", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.6.28.bazel"), + sha256 = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d", + strip_prefix = "rustix-0.37.19", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.37.19.bazel"), ) maybe( http_archive, - name = "wasmtime__rustc_demangle__0_1_21", - url = "https://crates.io/api/v1/crates/rustc-demangle/0.1.21/download", + name = "wasmtime__ryu__1_0_13", + url = "https://crates.io/api/v1/crates/ryu/1.0.13/download", type = "tar.gz", - sha256 = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342", - strip_prefix = "rustc-demangle-0.1.21", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustc-demangle-0.1.21.bazel"), + sha256 = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041", + strip_prefix = "ryu-1.0.13", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ryu-1.0.13.bazel"), ) maybe( http_archive, - name = "wasmtime__rustix__0_36_10", - url = "https://crates.io/api/v1/crates/rustix/0.36.10/download", + name = "wasmtime__serde__1_0_163", + url = "https://crates.io/api/v1/crates/serde/1.0.163/download", type = "tar.gz", - sha256 = "2fe885c3a125aa45213b68cc1472a49880cb5923dc23f522ad2791b882228778", - strip_prefix = "rustix-0.36.10", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.36.10.bazel"), + sha256 = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2", + strip_prefix = "serde-1.0.163", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.163.bazel"), ) maybe( http_archive, - name = "wasmtime__serde__1_0_157", - url = "https://crates.io/api/v1/crates/serde/1.0.157/download", + name = "wasmtime__serde_derive__1_0_163", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.163/download", type = "tar.gz", - sha256 = "707de5fcf5df2b5788fca98dd7eab490bc2fd9b7ef1404defc462833b83f25ca", - strip_prefix = "serde-1.0.157", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.157.bazel"), + sha256 = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e", + strip_prefix = "serde_derive-1.0.163", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.163.bazel"), ) maybe( http_archive, - name = "wasmtime__serde_derive__1_0_157", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.157/download", + name = "wasmtime__serde_json__1_0_96", + url = "https://crates.io/api/v1/crates/serde_json/1.0.96/download", type = "tar.gz", - sha256 = "78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5", - strip_prefix = "serde_derive-1.0.157", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.157.bazel"), + sha256 = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1", + strip_prefix = "serde_json-1.0.96", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_json-1.0.96.bazel"), ) maybe( http_archive, - name = "wasmtime__slice_group_by__0_3_0", - url = "https://crates.io/api/v1/crates/slice-group-by/0.3.0/download", + name = "wasmtime__slice_group_by__0_3_1", + url = "https://crates.io/api/v1/crates/slice-group-by/0.3.1/download", type = "tar.gz", - sha256 = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec", - strip_prefix = "slice-group-by-0.3.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.slice-group-by-0.3.0.bazel"), + sha256 = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7", + strip_prefix = "slice-group-by-0.3.1", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.slice-group-by-0.3.1.bazel"), ) maybe( @@ -715,22 +795,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__syn__2_0_2", - url = "https://crates.io/api/v1/crates/syn/2.0.2/download", + name = "wasmtime__syn__2_0_18", + url = "https://crates.io/api/v1/crates/syn/2.0.18/download", type = "tar.gz", - sha256 = "59d3276aee1fa0c33612917969b5172b5be2db051232a6e4826f1a1a9191b045", - strip_prefix = "syn-2.0.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-2.0.2.bazel"), + sha256 = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e", + strip_prefix = "syn-2.0.18", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-2.0.18.bazel"), ) maybe( http_archive, - name = "wasmtime__target_lexicon__0_12_6", - url = "https://crates.io/api/v1/crates/target-lexicon/0.12.6/download", + name = "wasmtime__target_lexicon__0_12_7", + url = "https://crates.io/api/v1/crates/target-lexicon/0.12.7/download", type = "tar.gz", - sha256 = "8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5", - strip_prefix = "target-lexicon-0.12.6", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.6.bazel"), + sha256 = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5", + strip_prefix = "target-lexicon-0.12.7", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.7.bazel"), ) maybe( @@ -785,22 +865,22 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__unicode_bidi__0_3_12", - url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.12/download", + name = "wasmtime__unicode_bidi__0_3_13", + url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.13/download", type = "tar.gz", - sha256 = "7d502c968c6a838ead8e69b2ee18ec708802f99db92a0d156705ec9ef801993b", - strip_prefix = "unicode-bidi-0.3.12", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-bidi-0.3.12.bazel"), + sha256 = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460", + strip_prefix = "unicode-bidi-0.3.13", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-bidi-0.3.13.bazel"), ) maybe( http_archive, - name = "wasmtime__unicode_ident__1_0_8", - url = "https://crates.io/api/v1/crates/unicode-ident/1.0.8/download", + name = "wasmtime__unicode_ident__1_0_9", + url = "https://crates.io/api/v1/crates/unicode-ident/1.0.9/download", type = "tar.gz", - sha256 = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4", - strip_prefix = "unicode-ident-1.0.8", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.8.bazel"), + sha256 = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0", + strip_prefix = "unicode-ident-1.0.9", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.9.bazel"), ) maybe( @@ -823,6 +903,16 @@ def wasmtime_fetch_remote_crates(): build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.url-2.3.1.bazel"), ) + maybe( + http_archive, + name = "wasmtime__uuid__1_3_3", + url = "https://crates.io/api/v1/crates/uuid/1.3.3/download", + type = "tar.gz", + sha256 = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2", + strip_prefix = "uuid-1.3.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.uuid-1.3.3.bazel"), + ) + maybe( http_archive, name = "wasmtime__version_check__0_9_4", @@ -845,111 +935,121 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__wasmparser__0_100_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.100.0/download", + name = "wasmtime__wasmparser__0_103_0", + url = "https://crates.io/api/v1/crates/wasmparser/0.103.0/download", type = "tar.gz", - sha256 = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4", - strip_prefix = "wasmparser-0.100.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.100.0.bazel"), + sha256 = "2c437373cac5ea84f1113d648d51f71751ffbe3d90c00ae67618cf20d0b5ee7b", + strip_prefix = "wasmparser-0.103.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.103.0.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime/6.0.1/download", + name = "wasmtime__wasmtime__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime/9.0.3/download", type = "tar.gz", - sha256 = "f6e89f9819523447330ffd70367ef4a18d8c832e24e8150fe054d1d912841632", - strip_prefix = "wasmtime-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-6.0.1.bazel"), + sha256 = "aa0f72886c3264eb639f50188d1eb98b975564130292fea8deb4facf91ca7258", + strip_prefix = "wasmtime-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-9.0.3.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_asm_macros__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/6.0.1/download", + name = "wasmtime__wasmtime_asm_macros__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/9.0.3/download", type = "tar.gz", - sha256 = "9bd3a5e46c198032da934469f3a6e48649d1f9142438e4fd4617b68a35644b8a", - strip_prefix = "wasmtime-asm-macros-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-6.0.1.bazel"), + sha256 = "a18391ed41ca957eecdbe64c51879b75419cbc52e2d8663fe82945b28b4f19da", + strip_prefix = "wasmtime-asm-macros-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-9.0.3.bazel"), ) maybe( new_git_repository, name = "wasmtime__wasmtime_c_api_macros__0_0_0", remote = "https://github.com/bytecodealliance/wasmtime", - commit = "b6bc33da2bcb466d377fb02f5aa764a667d08e0a", + commit = "271b605e8d3d44c5d0a39bb4e65c3efb3869ff74", build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.0.0.bazel"), init_submodules = True, ) maybe( http_archive, - name = "wasmtime__wasmtime_cranelift__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/6.0.1/download", + name = "wasmtime__wasmtime_cranelift__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift/9.0.3/download", + type = "tar.gz", + sha256 = "a2495036d05eb1e79ecf22e092eeacd279dcf24b4fcab77fb4cf8ef9bd42c3ea", + strip_prefix = "wasmtime-cranelift-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-9.0.3.bazel"), + ) + + maybe( + http_archive, + name = "wasmtime__wasmtime_cranelift_shared__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-cranelift-shared/9.0.3/download", type = "tar.gz", - sha256 = "59b2c92a08c0db6efffd88fdc97d7aa9c7c63b03edb0971dbca745469f820e8c", - strip_prefix = "wasmtime-cranelift-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-6.0.1.bazel"), + sha256 = "ef677f7b0d3f3b73275675486d791f1e85e7c24afe8dd367c6b9950028906330", + strip_prefix = "wasmtime-cranelift-shared-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-shared-9.0.3.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_environ__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-environ/6.0.1/download", + name = "wasmtime__wasmtime_environ__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-environ/9.0.3/download", type = "tar.gz", - sha256 = "9a6db9fc52985ba06ca601f2ff0ff1f526c5d724c7ac267b47326304b0c97883", - strip_prefix = "wasmtime-environ-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-6.0.1.bazel"), + sha256 = "2d03356374ffafa881c5f972529d2bb11ce48fe2736285e2b0ad72c6d554257b", + strip_prefix = "wasmtime-environ-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-9.0.3.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit/6.0.1/download", + name = "wasmtime__wasmtime_jit__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-jit/9.0.3/download", type = "tar.gz", - sha256 = "b77e3a52cd84d0f7f18554afa8060cfe564ccac61e3b0802d3fd4084772fa5f6", - strip_prefix = "wasmtime-jit-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-6.0.1.bazel"), + sha256 = "e5374f0d2ee0069391dd9348f148802846b2b3e0af650385f9c56b3012d3c5d1", + strip_prefix = "wasmtime-jit-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-9.0.3.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_debug__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/6.0.1/download", + name = "wasmtime__wasmtime_jit_debug__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/9.0.3/download", type = "tar.gz", - sha256 = "d0245e8a9347017c7185a72e215218a802ff561545c242953c11ba00fccc930f", - strip_prefix = "wasmtime-jit-debug-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-6.0.1.bazel"), + sha256 = "102653b177225bfdd2da41cc385965d4bf6bc10cf14ec7b306bc9b015fb01c22", + strip_prefix = "wasmtime-jit-debug-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-9.0.3.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_jit_icache_coherence__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-jit-icache-coherence/6.0.1/download", + name = "wasmtime__wasmtime_jit_icache_coherence__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-jit-icache-coherence/9.0.3/download", type = "tar.gz", - sha256 = "67d412e9340ab1c83867051d8d1d7c90aa8c9afc91da086088068e2734e25064", - strip_prefix = "wasmtime-jit-icache-coherence-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel"), + sha256 = "374ff63b3eb41db57c56682a9ef7737d2c9efa801f5dbf9da93941c9dd436a06", + strip_prefix = "wasmtime-jit-icache-coherence-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_runtime__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/6.0.1/download", + name = "wasmtime__wasmtime_runtime__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-runtime/9.0.3/download", type = "tar.gz", - sha256 = "d594e791b5fdd4dbaf8cf7ae62f2e4ff85018ce90f483ca6f42947688e48827d", - strip_prefix = "wasmtime-runtime-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-6.0.1.bazel"), + sha256 = "9b1b832f19099066ebd26e683121d331f12cf98f158eac0f889972854413b46f", + strip_prefix = "wasmtime-runtime-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-9.0.3.bazel"), ) maybe( http_archive, - name = "wasmtime__wasmtime_types__6_0_1", - url = "https://crates.io/api/v1/crates/wasmtime-types/6.0.1/download", + name = "wasmtime__wasmtime_types__9_0_3", + url = "https://crates.io/api/v1/crates/wasmtime-types/9.0.3/download", type = "tar.gz", - sha256 = "a6688d6f96d4dbc1f89fab626c56c1778936d122b5f4ae7a57c2eb42b8d982e2", - strip_prefix = "wasmtime-types-6.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-6.0.1.bazel"), + sha256 = "9c574221440e05bbb04efa09786d049401be2eb10081ecf43eb72fbd637bd12f", + strip_prefix = "wasmtime-types-9.0.3", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-9.0.3.bazel"), ) maybe( @@ -994,100 +1094,90 @@ def wasmtime_fetch_remote_crates(): maybe( http_archive, - name = "wasmtime__windows_sys__0_42_0", - url = "https://crates.io/api/v1/crates/windows-sys/0.42.0/download", - type = "tar.gz", - sha256 = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7", - strip_prefix = "windows-sys-0.42.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.42.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_sys__0_45_0", - url = "https://crates.io/api/v1/crates/windows-sys/0.45.0/download", + name = "wasmtime__windows_sys__0_48_0", + url = "https://crates.io/api/v1/crates/windows-sys/0.48.0/download", type = "tar.gz", - sha256 = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0", - strip_prefix = "windows-sys-0.45.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.45.0.bazel"), + sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9", + strip_prefix = "windows-sys-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_targets__0_42_2", - url = "https://crates.io/api/v1/crates/windows-targets/0.42.2/download", + name = "wasmtime__windows_targets__0_48_0", + url = "https://crates.io/api/v1/crates/windows-targets/0.48.0/download", type = "tar.gz", - sha256 = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071", - strip_prefix = "windows-targets-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.42.2.bazel"), + sha256 = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5", + strip_prefix = "windows-targets-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_aarch64_gnullvm__0_42_2", - url = "https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.42.2/download", + name = "wasmtime__windows_aarch64_gnullvm__0_48_0", + url = "https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.48.0/download", type = "tar.gz", - sha256 = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8", - strip_prefix = "windows_aarch64_gnullvm-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.42.2.bazel"), + sha256 = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc", + strip_prefix = "windows_aarch64_gnullvm-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_aarch64_msvc__0_42_2", - url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.42.2/download", + name = "wasmtime__windows_aarch64_msvc__0_48_0", + url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.48.0/download", type = "tar.gz", - sha256 = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43", - strip_prefix = "windows_aarch64_msvc-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.42.2.bazel"), + sha256 = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3", + strip_prefix = "windows_aarch64_msvc-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_i686_gnu__0_42_2", - url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.42.2/download", + name = "wasmtime__windows_i686_gnu__0_48_0", + url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.48.0/download", type = "tar.gz", - sha256 = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f", - strip_prefix = "windows_i686_gnu-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.42.2.bazel"), + sha256 = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241", + strip_prefix = "windows_i686_gnu-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_i686_msvc__0_42_2", - url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.42.2/download", + name = "wasmtime__windows_i686_msvc__0_48_0", + url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.48.0/download", type = "tar.gz", - sha256 = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060", - strip_prefix = "windows_i686_msvc-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.42.2.bazel"), + sha256 = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00", + strip_prefix = "windows_i686_msvc-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_gnu__0_42_2", - url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.42.2/download", + name = "wasmtime__windows_x86_64_gnu__0_48_0", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.48.0/download", type = "tar.gz", - sha256 = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36", - strip_prefix = "windows_x86_64_gnu-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.42.2.bazel"), + sha256 = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1", + strip_prefix = "windows_x86_64_gnu-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_gnullvm__0_42_2", - url = "https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.42.2/download", + name = "wasmtime__windows_x86_64_gnullvm__0_48_0", + url = "https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.48.0/download", type = "tar.gz", - sha256 = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3", - strip_prefix = "windows_x86_64_gnullvm-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.42.2.bazel"), + sha256 = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953", + strip_prefix = "windows_x86_64_gnullvm-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"), ) maybe( http_archive, - name = "wasmtime__windows_x86_64_msvc__0_42_2", - url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.42.2/download", + name = "wasmtime__windows_x86_64_msvc__0_48_0", + url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.48.0/download", type = "tar.gz", - sha256 = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0", - strip_prefix = "windows_x86_64_msvc-0.42.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.42.2.bazel"), + sha256 = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a", + strip_prefix = "windows_x86_64_msvc-0.48.0", + build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.48.0.bazel"), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel index 7c243418c..73f138c50 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel @@ -49,10 +49,10 @@ rust_library( "crate-name=addr2line", "manual", ], - version = "0.17.0", + version = "0.19.0", # buildifier: leave-alone deps = [ - "@wasmtime__gimli__0_26_2//:gimli", + "@wasmtime__gimli__0_27_2//:gimli", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.3.bazel similarity index 57% rename from bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel rename to bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.3.bazel index b379a904b..7e977ad0f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.3.bazel @@ -54,36 +54,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.7.6", + version = "0.8.3", visibility = ["//visibility:private"], deps = [ "@wasmtime__version_check__0_9_4//:version_check", ] + selects.with_or({ - # cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi")) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ # cfg(not(all(target_arch = "arm", target_os = "none"))) ( "@rules_rust//rust/platform:i686-apple-darwin", @@ -134,37 +109,12 @@ rust_library( "crate-name=ahash", "manual", ], - version = "0.7.6", + version = "0.8.3", # buildifier: leave-alone deps = [ ":ahash_build_script", + "@wasmtime__cfg_if__1_0_0//:cfg_if", ] + selects.with_or({ - # cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi")) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__getrandom__0_2_8//:getrandom", - ], - "//conditions:default": [], - }) + selects.with_or({ # cfg(not(all(target_arch = "arm", target_os = "none"))) ( "@rules_rust//rust/platform:i686-apple-darwin", @@ -188,7 +138,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__once_cell__1_17_1//:once_cell", + "@wasmtime__once_cell__1_17_2//:once_cell", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.20.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.0.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.20.bazel rename to bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.0.1.bazel index ff04b2e8d..4a79e3ab4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.20.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.0.1.bazel @@ -36,11 +36,12 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "default", + "perf-literal", "std", ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -49,7 +50,7 @@ rust_library( "crate-name=aho_corasick", "manual", ], - version = "0.7.20", + version = "1.0.1", # buildifier: leave-alone deps = [ "@wasmtime__memchr__2_5_0//:memchr", diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.70.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.71.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.70.bazel rename to bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.71.bazel index 40857df25..daab391ba 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.70.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.71.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.70", + version = "1.0.71", visibility = ["//visibility:private"], deps = [ ], @@ -80,7 +80,7 @@ rust_library( "crate-name=anyhow", "manual", ], - version = "1.0.70", + version = "1.0.71", # buildifier: leave-alone deps = [ ":anyhow_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel new file mode 100644 index 000000000..11b617235 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel @@ -0,0 +1,62 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "derive_enum" with type "example" omitted + +rust_library( + name = "arbitrary", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=arbitrary", + "manual", + ], + version = "1.3.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "bound" with type "test" omitted + +# Unsupported target "derive" with type "test" omitted + +# Unsupported target "path" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index dd1fe52c6..11634c902 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -50,7 +50,7 @@ rust_library( version = "1.3.3", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__serde__1_0_163//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel new file mode 100644 index 000000000..d56fc5b69 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel @@ -0,0 +1,66 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "parse" with type "bench" omitted + +# Unsupported target "custom_bits_type" with type "example" omitted + +# Unsupported target "custom_derive" with type "example" omitted + +# Unsupported target "fmt" with type "example" omitted + +# Unsupported target "macro_free" with type "example" omitted + +# Unsupported target "serde" with type "example" omitted + +rust_library( + name = "bitflags", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=bitflags", + "manual", + ], + version = "2.3.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.12.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.13.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.12.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.13.0.bazel index b9c5b13c1..addf3ceeb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.12.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.13.0.bazel @@ -50,7 +50,7 @@ rust_library( "crate-name=bumpalo", "manual", ], - version = "3.12.0", + version = "3.13.0", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.3.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.3.bazel index 4add29b59..65c2d43b7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.3.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-bforest", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", + "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.3.bazel similarity index 73% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.3.bazel index 2dabba129..f63699ba9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.3.bazel @@ -59,11 +59,11 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.93.1", + version = "0.96.3", visibility = ["//visibility:private"], deps = [ - "@wasmtime__cranelift_codegen_meta__0_93_1//:cranelift_codegen_meta", - "@wasmtime__cranelift_isle__0_93_1//:cranelift_isle", + "@wasmtime__cranelift_codegen_meta__0_96_3//:cranelift_codegen_meta", + "@wasmtime__cranelift_isle__0_96_3//:cranelift_isle", ], ) @@ -90,20 +90,20 @@ rust_library( "crate-name=cranelift-codegen", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ ":cranelift_codegen_build_script", - "@wasmtime__arrayvec__0_7_2//:arrayvec", - "@wasmtime__bumpalo__3_12_0//:bumpalo", - "@wasmtime__cranelift_bforest__0_93_1//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_93_1//:cranelift_codegen_shared", - "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", - "@wasmtime__gimli__0_26_2//:gimli", - "@wasmtime__hashbrown__0_12_3//:hashbrown", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__regalloc2__0_5_1//:regalloc2", + "@wasmtime__bumpalo__3_13_0//:bumpalo", + "@wasmtime__cranelift_bforest__0_96_3//:cranelift_bforest", + "@wasmtime__cranelift_codegen_shared__0_96_3//:cranelift_codegen_shared", + "@wasmtime__cranelift_control__0_96_3//:cranelift_control", + "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", + "@wasmtime__gimli__0_27_2//:gimli", + "@wasmtime__hashbrown__0_13_2//:hashbrown", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__regalloc2__0_8_1//:regalloc2", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.3.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.3.bazel index 3ff1556f6..2a2d76269 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.3.bazel @@ -47,9 +47,9 @@ rust_library( "crate-name=cranelift-codegen-meta", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen_shared__0_93_1//:cranelift_codegen_shared", + "@wasmtime__cranelift_codegen_shared__0_96_3//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.3.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.3.bazel index eab3b03cb..b8e4fc347 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.3.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=cranelift-codegen-shared", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel new file mode 100644 index 000000000..0122eef74 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "cranelift_control", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=cranelift-control", + "manual", + ], + version = "0.96.3", + # buildifier: leave-alone + deps = [ + "@wasmtime__arbitrary__1_3_0//:arbitrary", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.3.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.3.bazel index fb5ef6fe1..e18207ff2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.3.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=cranelift-entity", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__serde__1_0_163//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.3.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.3.bazel index 88d24eba2..cf03acad5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.3.bazel @@ -49,12 +49,12 @@ rust_library( "crate-name=cranelift-frontend", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", - "@wasmtime__log__0_4_17//:log", + "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", + "@wasmtime__log__0_4_18//:log", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.3.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.3.bazel index d81b52602..fade87679 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.3.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.93.1", + version = "0.96.3", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "crate-name=cranelift-isle", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ ":cranelift_isle_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.3.bazel similarity index 87% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.3.bazel index b34a8ce62..d74c69aef 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.3.bazel @@ -51,17 +51,17 @@ rust_library( "crate-name=cranelift-native", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", - "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", ] + selects.with_or({ # cfg(any(target_arch = "s390x", target_arch = "riscv64")) ( "@rules_rust//rust/platform:s390x-unknown-linux-gnu", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.93.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.3.bazel similarity index 77% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.93.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.3.bazel index cfed43381..267b36992 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.93.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.3.bazel @@ -49,17 +49,17 @@ rust_library( "crate-name=cranelift-wasm", "manual", ], - version = "0.93.1", + version = "0.96.3", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_93_1//:cranelift_frontend", + "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", + "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_96_3//:cranelift_frontend", "@wasmtime__itertools__0_10_5//:itertools", - "@wasmtime__log__0_4_17//:log", + "@wasmtime__log__0_4_18//:log", "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__wasmparser__0_100_0//:wasmparser", - "@wasmtime__wasmtime_types__6_0_1//:wasmtime_types", + "@wasmtime__wasmparser__0_103_0//:wasmparser", + "@wasmtime__wasmtime_types__9_0_3//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel new file mode 100644 index 000000000..8b82dd4d8 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel @@ -0,0 +1,61 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "debugid", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=debugid", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + "@wasmtime__uuid__1_3_3//:uuid", + ], +) + +# Unsupported target "test_codeid" with type "test" omitted + +# Unsupported target "test_debugid" with type "test" omitted + +# Unsupported target "test_serde" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.0.bazel similarity index 65% rename from bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.0.bazel index 215e96b3f..4062aca95 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.9.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.0.bazel @@ -31,19 +31,35 @@ licenses([ # Generated Targets +# Unsupported target "custom_default_format" with type "example" omitted + +# Unsupported target "custom_format" with type "example" omitted + +# Unsupported target "custom_logger" with type "example" omitted + +# Unsupported target "default" with type "example" omitted + +# Unsupported target "direct_logger" with type "example" omitted + +# Unsupported target "filters_from_code" with type "example" omitted + +# Unsupported target "in_tests" with type "example" omitted + +# Unsupported target "syslog_friendly_format" with type "example" omitted + rust_library( name = "env_logger", srcs = glob(["**/*.rs"]), crate_features = [ - "atty", + "auto-color", + "color", "default", "humantime", "regex", - "termcolor", ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -52,13 +68,13 @@ rust_library( "crate-name=env_logger", "manual", ], - version = "0.9.3", + version = "0.10.0", # buildifier: leave-alone deps = [ - "@wasmtime__atty__0_2_14//:atty", "@wasmtime__humantime__2_1_0//:humantime", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__regex__1_7_1//:regex", + "@wasmtime__is_terminal__0_4_7//:is_terminal", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__regex__1_8_3//:regex", "@wasmtime__termcolor__1_2_0//:termcolor", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel rename to bazel/cargo/wasmtime/remote/BUILD.errno-0.3.1.bazel index 59e11e6bc..9ee18c7bc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.1.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -49,12 +49,12 @@ rust_library( "crate-name=errno", "manual", ], - version = "0.2.8", + version = "0.3.1", # buildifier: leave-alone deps = [ ] + selects.with_or({ + # cfg(unix) ( - "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", @@ -72,7 +72,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }) + selects.with_or({ @@ -81,7 +81,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__winapi__0_3_9//:winapi", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel index c478a7433..0dd94b45b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel @@ -81,6 +81,6 @@ rust_library( # buildifier: leave-alone deps = [ ":errno_dragonfly_build_script", - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel similarity index 68% rename from bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel index 5f9410f59..06a2b8534 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel @@ -31,34 +31,31 @@ licenses([ # Generated Targets -# Unsupported target "arraystring" with type "bench" omitted - -# Unsupported target "extend" with type "bench" omitted - rust_library( - name = "arrayvec", + name = "fxprof_processed_profile", srcs = glob(["**/*.rs"]), crate_features = [ - "default", - "std", ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-raze", - "crate-name=arrayvec", + "crate-name=fxprof-processed-profile", "manual", ], - version = "0.7.2", + version = "0.6.0", # buildifier: leave-alone deps = [ + "@wasmtime__bitflags__2_3_1//:bitflags", + "@wasmtime__debugid__0_8_0//:debugid", + "@wasmtime__fxhash__0_2_1//:fxhash", + "@wasmtime__serde__1_0_163//:serde", + "@wasmtime__serde_json__1_0_96//:serde_json", ], ) -# Unsupported target "serde" with type "test" omitted - -# Unsupported target "tests" with type "test" omitted +# Unsupported target "integration_tests" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.9.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel rename to bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.9.bazel index db7fdded6..cb3dffab4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.9.bazel @@ -31,7 +31,7 @@ licenses([ # Generated Targets -# Unsupported target "mod" with type "bench" omitted +# Unsupported target "buffer" with type "bench" omitted rust_library( name = "getrandom", @@ -52,7 +52,7 @@ rust_library( "crate-name=getrandom", "manual", ], - version = "0.2.8", + version = "0.2.9", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", @@ -84,7 +84,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.2.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.2.bazel index 31b8cc147..e6878f68d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.26.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.2.bazel @@ -64,11 +64,11 @@ rust_library( "crate-name=gimli", "manual", ], - version = "0.26.2", + version = "0.27.2", # buildifier: leave-alone deps = [ "@wasmtime__fallible_iterator__0_2_0//:fallible_iterator", - "@wasmtime__indexmap__1_9_2//:indexmap", + "@wasmtime__indexmap__1_9_3//:indexmap", "@wasmtime__stable_deref_trait__1_2_0//:stable_deref_trait", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel index 39778cd98..3b0fce03b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel @@ -39,9 +39,6 @@ rust_library( name = "hashbrown", srcs = glob(["**/*.rs"]), crate_features = [ - "ahash", - "default", - "inline-more", "raw", ], crate_root = "src/lib.rs", @@ -58,7 +55,6 @@ rust_library( version = "0.12.3", # buildifier: leave-alone deps = [ - "@wasmtime__ahash__0_7_6//:ahash", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel new file mode 100644 index 000000000..2fe74c582 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel @@ -0,0 +1,75 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "bench" with type "bench" omitted + +# Unsupported target "insert_unique_unchecked" with type "bench" omitted + +rust_library( + name = "hashbrown", + srcs = glob(["**/*.rs"]), + crate_features = [ + "ahash", + "default", + "inline-more", + "raw", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=hashbrown", + "manual", + ], + version = "0.13.2", + # buildifier: leave-alone + deps = [ + "@wasmtime__ahash__0_8_3//:ahash", + ], +) + +# Unsupported target "equivalent_trait" with type "test" omitted + +# Unsupported target "hasher" with type "test" omitted + +# Unsupported target "raw" with type "test" omitted + +# Unsupported target "rayon" with type "test" omitted + +# Unsupported target "serde" with type "test" omitted + +# Unsupported target "set" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel index e090f874d..94ae97767 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel @@ -52,7 +52,7 @@ rust_library( version = "0.3.0", # buildifier: leave-alone deps = [ - "@wasmtime__unicode_bidi__0_3_12//:unicode_bidi", + "@wasmtime__unicode_bidi__0_3_13//:unicode_bidi", "@wasmtime__unicode_normalization__0_1_22//:unicode_normalization", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel index debb87520..525133f4c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.9.2", + version = "1.9.3", visibility = ["//visibility:private"], deps = [ "@wasmtime__autocfg__1_1_0//:autocfg", @@ -87,12 +87,12 @@ rust_library( "crate-name=indexmap", "manual", ], - version = "1.9.2", + version = "1.9.3", # buildifier: leave-alone deps = [ ":indexmap_build_script", "@wasmtime__hashbrown__0_12_3//:hashbrown", - "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__serde__1_0_163//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.8.bazel rename to bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel index 730a93a57..43802d438 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel @@ -44,6 +44,7 @@ cargo_build_script( }, crate_features = [ "close", + "default", "hermit-abi", "libc", "windows-sys", @@ -58,7 +59,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.8", + version = "1.0.11", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -91,7 +92,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_45_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), @@ -104,6 +105,7 @@ rust_library( }, crate_features = [ "close", + "default", "hermit-abi", "libc", "windows-sys", @@ -119,7 +121,7 @@ rust_library( "crate-name=io-lifetimes", "manual", ], - version = "1.0.8", + version = "1.0.11", # buildifier: leave-alone deps = [ ":io_lifetimes_build_script", @@ -145,7 +147,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }) + selects.with_or({ @@ -154,7 +156,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_45_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.7.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel rename to bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.7.bazel index 4328e3654..4d2c9d0a7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.7.bazel @@ -31,10 +31,8 @@ licenses([ # Generated Targets -# Unsupported target "atty" with type "example" omitted - rust_library( - name = "atty", + name = "is_terminal", srcs = glob(["**/*.rs"]), aliases = { }, @@ -42,20 +40,21 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-raze", - "crate-name=atty", + "crate-name=is-terminal", "manual", ], - version = "0.2.14", + version = "0.4.7", # buildifier: leave-alone deps = [ + "@wasmtime__io_lifetimes__1_0_11//:io_lifetimes", ] + selects.with_or({ - # cfg(unix) + # cfg(not(any(windows, target_os = "hermit", target_os = "unknown"))) ( "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-unknown-linux-gnu", @@ -70,11 +69,12 @@ rust_library( "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__rustix__0_37_19//:rustix", ], "//conditions:default": [], }) + selects.with_or({ @@ -83,7 +83,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__winapi__0_3_9//:winapi", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.6.bazel similarity index 84% rename from bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel rename to bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.6.bazel index fb457e180..74dfc920f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.6.bazel @@ -31,11 +31,12 @@ licenses([ # Generated Targets +# Unsupported target "bench" with type "bench" omitted + rust_library( - name = "hermit_abi", + name = "itoa", srcs = glob(["**/*.rs"]), crate_features = [ - "default", ], crate_root = "src/lib.rs", data = [], @@ -45,12 +46,13 @@ rust_library( ], tags = [ "cargo-raze", - "crate-name=hermit-abi", + "crate-name=itoa", "manual", ], - version = "0.1.19", + version = "1.0.6", # buildifier: leave-alone deps = [ - "@wasmtime__libc__0_2_140//:libc", ], ) + +# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.140.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.144.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.libc-0.2.140.bazel rename to bazel/cargo/wasmtime/remote/BUILD.libc-0.2.144.bazel index 99968d55e..b4e82c6cb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.140.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.144.bazel @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.2.140", + version = "0.2.144", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=libc", "manual", ], - version = "0.2.140", + version = "0.2.144", # buildifier: leave-alone deps = [ ":libc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.1.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.1.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel index bc2f28994..27b66b6b9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.1.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel @@ -51,7 +51,7 @@ rust_library( "crate-name=linux-raw-sys", "manual", ], - version = "0.1.4", + version = "0.3.8", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.18.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.log-0.4.17.bazel rename to bazel/cargo/wasmtime/remote/BUILD.log-0.4.18.bazel index ae8c3f762..35e51e188 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.17.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.18.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.4.17", + version = "0.4.18", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,10 @@ rust_library( "crate-name=log", "manual", ], - version = "0.4.17", + version = "0.4.18", # buildifier: leave-alone deps = [ ":log_build_script", - "@wasmtime__cfg_if__1_0_0//:cfg_if", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index 9a3abd783..9c7ee4760 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -64,7 +64,7 @@ rust_library( "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:x86_64-apple-ios", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.3.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.3.bazel index b01f05c3a..c7e332e52 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.3.bazel @@ -49,10 +49,10 @@ rust_library( "crate-name=memfd", "manual", ], - version = "0.6.2", + version = "0.6.3", # buildifier: leave-alone deps = [ - "@wasmtime__rustix__0_36_10//:rustix", + "@wasmtime__rustix__0_37_19//:rustix", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.6.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.memoffset-0.6.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel index 0c4b891cc..03ea77b66 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.6.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.6.5", + version = "0.8.0", visibility = ["//visibility:private"], deps = [ "@wasmtime__autocfg__1_1_0//:autocfg", @@ -79,7 +79,7 @@ rust_library( "crate-name=memoffset", "manual", ], - version = "0.6.5", + version = "0.8.0", # buildifier: leave-alone deps = [ ":memoffset_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.3.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.object-0.30.3.bazel index 6dd14d8f5..9f5417374 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.29.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.3.bazel @@ -59,12 +59,12 @@ rust_library( "crate-name=object", "manual", ], - version = "0.29.0", + version = "0.30.3", # buildifier: leave-alone deps = [ "@wasmtime__crc32fast__1_3_2//:crc32fast", - "@wasmtime__hashbrown__0_12_3//:hashbrown", - "@wasmtime__indexmap__1_9_2//:indexmap", + "@wasmtime__hashbrown__0_13_2//:hashbrown", + "@wasmtime__indexmap__1_9_3//:indexmap", "@wasmtime__memchr__2_5_0//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.2.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.2.bazel index d1c56af71..fdce70f3d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.2.bazel @@ -53,6 +53,7 @@ rust_library( "default", "race", "std", + "unstable", ], crate_root = "src/lib.rs", data = [], @@ -65,7 +66,7 @@ rust_library( "crate-name=once_cell", "manual", ], - version = "1.17.1", + version = "1.17.2", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.52.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.59.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.52.bazel rename to bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.59.bazel index f4073eac9..4a7669582 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.52.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.59.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.52", + version = "1.0.59", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=proc-macro2", "manual", ], - version = "1.0.52", + version = "1.0.59", # buildifier: leave-alone deps = [ ":proc_macro2_build_script", - "@wasmtime__unicode_ident__1_0_8//:unicode_ident", + "@wasmtime__unicode_ident__1_0_9//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.26.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.28.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.quote-1.0.26.bazel rename to bazel/cargo/wasmtime/remote/BUILD.quote-1.0.28.bazel index c5e62bf4a..f7ec518fc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.26.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.28.bazel @@ -56,7 +56,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.26", + version = "1.0.28", visibility = ["//visibility:private"], deps = [ ], @@ -80,11 +80,11 @@ rust_library( "crate-name=quote", "manual", ], - version = "1.0.26", + version = "1.0.28", # buildifier: leave-alone deps = [ ":quote_build_script", - "@wasmtime__proc_macro2__1_0_52//:proc_macro2", + "@wasmtime__proc_macro2__1_0_59//:proc_macro2", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 73e341553..963fc2f11 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -82,7 +82,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel index a1545219b..cbe1ac88f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel @@ -53,6 +53,6 @@ rust_library( version = "0.6.4", # buildifier: leave-alone deps = [ - "@wasmtime__getrandom__0_2_8//:getrandom", + "@wasmtime__getrandom__0_2_9//:getrandom", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.5.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel similarity index 82% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.5.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel index fd1efce15..47c5f5a0f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.5.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel @@ -37,6 +37,7 @@ rust_library( crate_features = [ "checker", "default", + "std", ], crate_root = "src/lib.rs", data = [], @@ -49,12 +50,13 @@ rust_library( "crate-name=regalloc2", "manual", ], - version = "0.5.1", + version = "0.8.1", # buildifier: leave-alone deps = [ - "@wasmtime__fxhash__0_2_1//:fxhash", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__slice_group_by__0_3_0//:slice_group_by", + "@wasmtime__hashbrown__0_13_2//:hashbrown", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__rustc_hash__1_1_0//:rustc_hash", + "@wasmtime__slice_group_by__0_3_1//:slice_group_by", "@wasmtime__smallvec__1_10_0//:smallvec", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.8.3.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.regex-1.7.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regex-1.8.3.bazel index 0b55e3434..61f812023 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.7.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.8.3.bazel @@ -58,7 +58,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -67,12 +67,12 @@ rust_library( "crate-name=regex", "manual", ], - version = "1.7.1", + version = "1.8.3", # buildifier: leave-alone deps = [ - "@wasmtime__aho_corasick__0_7_20//:aho_corasick", + "@wasmtime__aho_corasick__1_0_1//:aho_corasick", "@wasmtime__memchr__2_5_0//:memchr", - "@wasmtime__regex_syntax__0_6_28//:regex_syntax", + "@wasmtime__regex_syntax__0_7_2//:regex_syntax", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.28.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.7.2.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.28.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.7.2.bazel index aab040ca3..aa703a39d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.6.28.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.7.2.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], @@ -49,7 +49,7 @@ rust_library( "crate-name=regex-syntax", "manual", ], - version = "0.6.28", + version = "0.7.2", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.23.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.21.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.23.bazel index 2b062d029..961a591ce 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.23.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=rustc-demangle", "manual", ], - version = "0.1.21", + version = "0.1.23", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel new file mode 100644 index 000000000..fe125ad9c --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel @@ -0,0 +1,54 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated Targets + +rust_library( + name = "rustc_hash", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=rustc-hash", + "manual", + ], + version = "1.1.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.36.10.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.19.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.rustix-0.36.10.bazel rename to bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.19.bazel index 9c0fededf..358429af6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.36.10.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.19.bazel @@ -49,6 +49,7 @@ cargo_build_script( "libc", "mm", "std", + "termios", "use-libc-auxv", ], crate_root = "build.rs", @@ -62,7 +63,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.36.10", + version = "0.37.19", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_79//:cc", @@ -79,7 +80,7 @@ cargo_build_script( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", ): [ - "@wasmtime__linux_raw_sys__0_1_4//:linux_raw_sys", + "@wasmtime__linux_raw_sys__0_3_8//:linux_raw_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -110,7 +111,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_45_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), @@ -122,7 +123,7 @@ rust_library( name = "rustix", srcs = glob(["**/*.rs"]), aliases = { - "@wasmtime__errno__0_2_8//:errno": "libc_errno", + "@wasmtime__errno__0_3_1//:errno": "libc_errno", }, crate_features = [ "default", @@ -131,6 +132,7 @@ rust_library( "libc", "mm", "std", + "termios", "use-libc-auxv", ], crate_root = "src/lib.rs", @@ -145,12 +147,12 @@ rust_library( "crate-name=rustix", "manual", ], - version = "0.36.10", + version = "0.37.19", # buildifier: leave-alone deps = [ ":rustix_build_script", "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__io_lifetimes__1_0_8//:io_lifetimes", + "@wasmtime__io_lifetimes__1_0_11//:io_lifetimes", ] + selects.with_or({ # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) ( @@ -164,7 +166,7 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", ): [ - "@wasmtime__linux_raw_sys__0_1_4//:linux_raw_sys", + "@wasmtime__linux_raw_sys__0_3_8//:linux_raw_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -191,7 +193,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }) + selects.with_or({ @@ -214,7 +216,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__errno__0_2_8//:errno", + "@wasmtime__errno__0_3_1//:errno", ], "//conditions:default": [], }) + selects.with_or({ @@ -223,7 +225,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_45_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel new file mode 100644 index 000000000..181285685 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel @@ -0,0 +1,72 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR BSL-1.0" +]) + +# Generated Targets + +# Unsupported target "bench" with type "bench" omitted + +# Unsupported target "upstream_benchmark" with type "example" omitted + +rust_library( + name = "ryu", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=ryu", + "manual", + ], + version = "1.0.13", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "common_test" with type "test" omitted + +# Unsupported target "d2s_table_test" with type "test" omitted + +# Unsupported target "d2s_test" with type "test" omitted + +# Unsupported target "exhaustive" with type "test" omitted + +# Unsupported target "f2s_test" with type "test" omitted + +# Unsupported target "s2d_test" with type "test" omitted + +# Unsupported target "s2f_test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.157.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.163.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.serde-1.0.157.bazel rename to bazel/cargo/wasmtime/remote/BUILD.serde-1.0.163.bazel index 622ff00ae..1922368ce 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.157.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.163.bazel @@ -58,7 +58,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.157", + version = "1.0.163", visibility = ["//visibility:private"], deps = [ ], @@ -77,7 +77,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@wasmtime__serde_derive__1_0_157//:serde_derive", + "@wasmtime__serde_derive__1_0_163//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -87,7 +87,7 @@ rust_library( "crate-name=serde", "manual", ], - version = "1.0.157", + version = "1.0.163", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.157.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.157.bazel deleted file mode 100644 index 1a3d98271..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.157.bazel +++ /dev/null @@ -1,89 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "serde_derive_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.157", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_proc_macro( - name = "serde_derive", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde_derive", - "manual", - ], - version = "1.0.157", - # buildifier: leave-alone - deps = [ - ":serde_derive_build_script", - "@wasmtime__proc_macro2__1_0_52//:proc_macro2", - "@wasmtime__quote__1_0_26//:quote", - "@wasmtime__syn__2_0_2//:syn", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel new file mode 100644 index 000000000..5e8df1db1 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel @@ -0,0 +1,58 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_proc_macro( + name = "serde_derive", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=serde_derive", + "manual", + ], + version = "1.0.163", + # buildifier: leave-alone + deps = [ + "@wasmtime__proc_macro2__1_0_59//:proc_macro2", + "@wasmtime__quote__1_0_28//:quote", + "@wasmtime__syn__2_0_18//:syn", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel new file mode 100644 index 000000000..a40a46285 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel @@ -0,0 +1,105 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "serde_json_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.96", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "serde_json", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=serde_json", + "manual", + ], + version = "1.0.96", + # buildifier: leave-alone + deps = [ + ":serde_json_build_script", + "@wasmtime__itoa__1_0_6//:itoa", + "@wasmtime__ryu__1_0_13//:ryu", + "@wasmtime__serde__1_0_163//:serde", + ], +) + +# Unsupported target "compiletest" with type "test" omitted + +# Unsupported target "debug" with type "test" omitted + +# Unsupported target "lexical" with type "test" omitted + +# Unsupported target "map" with type "test" omitted + +# Unsupported target "regression" with type "test" omitted + +# Unsupported target "stream" with type "test" omitted + +# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel index 6e370df41..a9d7a87f1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel @@ -35,8 +35,6 @@ rust_library( name = "slice_group_by", srcs = glob(["**/*.rs"]), crate_features = [ - "default", - "std", ], crate_root = "src/lib.rs", data = [], @@ -49,7 +47,7 @@ rust_library( "crate-name=slice-group-by", "manual", ], - version = "0.3.0", + version = "0.3.1", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.18.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.syn-2.0.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.syn-2.0.18.bazel index 1f51d9b70..9d1d35631 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.18.bazel @@ -58,12 +58,12 @@ rust_library( "crate-name=syn", "manual", ], - version = "2.0.2", + version = "2.0.18", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_52//:proc_macro2", - "@wasmtime__quote__1_0_26//:quote", - "@wasmtime__unicode_ident__1_0_8//:unicode_ident", + "@wasmtime__proc_macro2__1_0_59//:proc_macro2", + "@wasmtime__quote__1_0_28//:quote", + "@wasmtime__unicode_ident__1_0_9//:unicode_ident", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.7.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.6.bazel rename to bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.7.bazel index b3441d7df..598efd675 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.7.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.12.6", + version = "0.12.7", visibility = ["//visibility:private"], deps = [ ], @@ -82,7 +82,7 @@ rust_library( "crate-name=target-lexicon", "manual", ], - version = "0.12.6", + version = "0.12.7", # buildifier: leave-alone deps = [ ":target_lexicon_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel index c97322f9c..d62ae3059 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel @@ -50,8 +50,8 @@ rust_proc_macro( version = "1.0.40", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_52//:proc_macro2", - "@wasmtime__quote__1_0_26//:quote", - "@wasmtime__syn__2_0_2//:syn", + "@wasmtime__proc_macro2__1_0_59//:proc_macro2", + "@wasmtime__quote__1_0_28//:quote", + "@wasmtime__syn__2_0_18//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.13.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.12.bazel rename to bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.13.bazel index 2fedefab0..e16635d9d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.12.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.13.bazel @@ -50,7 +50,7 @@ rust_library( "crate-name=unicode_bidi", "manual", ], - version = "0.3.12", + version = "0.3.13", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.9.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.8.bazel rename to bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.9.bazel index c8da47e31..a6425e1a6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.9.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=unicode-ident", "manual", ], - version = "1.0.8", + version = "1.0.9", # buildifier: leave-alone deps = [ ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel new file mode 100644 index 000000000..da9581211 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel @@ -0,0 +1,72 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated Targets + +# Unsupported target "format_str" with type "bench" omitted + +# Unsupported target "parse_str" with type "bench" omitted + +# Unsupported target "v4" with type "bench" omitted + +# Unsupported target "random_uuid" with type "example" omitted + +# Unsupported target "sortable_uuid" with type "example" omitted + +# Unsupported target "uuid_macro" with type "example" omitted + +# Unsupported target "windows_guid" with type "example" omitted + +rust_library( + name = "uuid", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=uuid", + "manual", + ], + version = "1.3.3", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "macros" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel index ff55f34da..267bfa470 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -35,8 +35,6 @@ rust_library( name = "wasi", srcs = glob(["**/*.rs"]), crate_features = [ - "default", - "std", ], crate_root = "src/lib.rs", data = [], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.100.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.100.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel index 3e38b00ff..b4306c8fe 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.100.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel @@ -51,10 +51,12 @@ rust_library( "crate-name=wasmparser", "manual", ], - version = "0.100.0", + version = "0.103.0", # buildifier: leave-alone deps = [ - "@wasmtime__indexmap__1_9_2//:indexmap", + "@wasmtime__indexmap__1_9_3//:indexmap", "@wasmtime__url__2_3_1//:url", ], ) + +# Unsupported target "big-module" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.3.bazel similarity index 70% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.3.bazel index 967d14997..4cb39da59 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.3.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "6.0.1", + version = "9.0.3", visibility = ["//visibility:private"], deps = [ ] + selects.with_or({ @@ -64,7 +64,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_42_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), @@ -92,33 +92,36 @@ rust_library( "crate-name=wasmtime", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ ":wasmtime_build_script", - "@wasmtime__anyhow__1_0_70//:anyhow", + "@wasmtime__anyhow__1_0_71//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", + "@wasmtime__bumpalo__3_13_0//:bumpalo", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_9_2//:indexmap", - "@wasmtime__libc__0_2_140//:libc", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_29_0//:object", - "@wasmtime__once_cell__1_17_1//:once_cell", + "@wasmtime__fxprof_processed_profile__0_6_0//:fxprof_processed_profile", + "@wasmtime__indexmap__1_9_3//:indexmap", + "@wasmtime__libc__0_2_144//:libc", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__object__0_30_3//:object", + "@wasmtime__once_cell__1_17_2//:once_cell", "@wasmtime__psm__0_1_21//:psm", - "@wasmtime__serde__1_0_157//:serde", - "@wasmtime__target_lexicon__0_12_6//:target_lexicon", - "@wasmtime__wasmparser__0_100_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__6_0_1//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit__6_0_1//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__6_0_1//:wasmtime_runtime", + "@wasmtime__serde__1_0_163//:serde", + "@wasmtime__serde_json__1_0_96//:serde_json", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", + "@wasmtime__wasmparser__0_103_0//:wasmparser", + "@wasmtime__wasmtime_cranelift__9_0_3//:wasmtime_cranelift", + "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", + "@wasmtime__wasmtime_jit__9_0_3//:wasmtime_jit", + "@wasmtime__wasmtime_runtime__9_0_3//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_42_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.3.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.3.bazel index 089e9fb50..0079829ac 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.3.bazel @@ -47,7 +47,7 @@ rust_library( "crate-name=wasmtime-asm-macros", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel index dd3a77432..eff79e771 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel @@ -50,7 +50,7 @@ rust_proc_macro( version = "0.0.0", # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_52//:proc_macro2", - "@wasmtime__quote__1_0_26//:quote", + "@wasmtime__proc_macro2__1_0_59//:proc_macro2", + "@wasmtime__quote__1_0_28//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.3.bazel similarity index 57% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.3.bazel index f2760f00a..5b10ca85c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.3.bazel @@ -47,21 +47,23 @@ rust_library( "crate-name=wasmtime-cranelift", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_70//:anyhow", - "@wasmtime__cranelift_codegen__0_93_1//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_93_1//:cranelift_frontend", - "@wasmtime__cranelift_native__0_93_1//:cranelift_native", - "@wasmtime__cranelift_wasm__0_93_1//:cranelift_wasm", - "@wasmtime__gimli__0_26_2//:gimli", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_29_0//:object", - "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__anyhow__1_0_71//:anyhow", + "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", + "@wasmtime__cranelift_control__0_96_3//:cranelift_control", + "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", + "@wasmtime__cranelift_frontend__0_96_3//:cranelift_frontend", + "@wasmtime__cranelift_native__0_96_3//:cranelift_native", + "@wasmtime__cranelift_wasm__0_96_3//:cranelift_wasm", + "@wasmtime__gimli__0_27_2//:gimli", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__object__0_30_3//:object", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", "@wasmtime__thiserror__1_0_40//:thiserror", - "@wasmtime__wasmparser__0_100_0//:wasmparser", - "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", + "@wasmtime__wasmparser__0_103_0//:wasmparser", + "@wasmtime__wasmtime_cranelift_shared__9_0_3//:wasmtime_cranelift_shared", + "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel new file mode 100644 index 000000000..bcfe1dd16 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel @@ -0,0 +1,62 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//bazel/cargo/wasmtime", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "wasmtime_cranelift_shared", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + data = [], + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "crate-name=wasmtime-cranelift-shared", + "manual", + ], + version = "9.0.3", + # buildifier: leave-alone + deps = [ + "@wasmtime__anyhow__1_0_71//:anyhow", + "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", + "@wasmtime__cranelift_control__0_96_3//:cranelift_control", + "@wasmtime__cranelift_native__0_96_3//:cranelift_native", + "@wasmtime__gimli__0_27_2//:gimli", + "@wasmtime__object__0_30_3//:object", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", + "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.3.bazel similarity index 68% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.3.bazel index cf4ab44de..d16a2ca36 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.3.bazel @@ -49,19 +49,19 @@ rust_library( "crate-name=wasmtime-environ", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ - "@wasmtime__anyhow__1_0_70//:anyhow", - "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", - "@wasmtime__gimli__0_26_2//:gimli", - "@wasmtime__indexmap__1_9_2//:indexmap", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_29_0//:object", - "@wasmtime__serde__1_0_157//:serde", - "@wasmtime__target_lexicon__0_12_6//:target_lexicon", + "@wasmtime__anyhow__1_0_71//:anyhow", + "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", + "@wasmtime__gimli__0_27_2//:gimli", + "@wasmtime__indexmap__1_9_3//:indexmap", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__object__0_30_3//:object", + "@wasmtime__serde__1_0_163//:serde", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", "@wasmtime__thiserror__1_0_40//:thiserror", - "@wasmtime__wasmparser__0_100_0//:wasmparser", - "@wasmtime__wasmtime_types__6_0_1//:wasmtime_types", + "@wasmtime__wasmparser__0_103_0//:wasmparser", + "@wasmtime__wasmtime_types__9_0_3//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.3.bazel similarity index 69% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.3.bazel index 51468d281..7080c14c6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.3.bazel @@ -49,30 +49,30 @@ rust_library( "crate-name=wasmtime-jit", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ - "@wasmtime__addr2line__0_17_0//:addr2line", - "@wasmtime__anyhow__1_0_70//:anyhow", + "@wasmtime__addr2line__0_19_0//:addr2line", + "@wasmtime__anyhow__1_0_71//:anyhow", "@wasmtime__bincode__1_3_3//:bincode", "@wasmtime__cfg_if__1_0_0//:cfg_if", "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", - "@wasmtime__gimli__0_26_2//:gimli", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__object__0_29_0//:object", - "@wasmtime__rustc_demangle__0_1_21//:rustc_demangle", - "@wasmtime__serde__1_0_157//:serde", - "@wasmtime__target_lexicon__0_12_6//:target_lexicon", - "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit_icache_coherence__6_0_1//:wasmtime_jit_icache_coherence", - "@wasmtime__wasmtime_runtime__6_0_1//:wasmtime_runtime", + "@wasmtime__gimli__0_27_2//:gimli", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__object__0_30_3//:object", + "@wasmtime__rustc_demangle__0_1_23//:rustc_demangle", + "@wasmtime__serde__1_0_163//:serde", + "@wasmtime__target_lexicon__0_12_7//:target_lexicon", + "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", + "@wasmtime__wasmtime_jit_icache_coherence__9_0_3//:wasmtime_jit_icache_coherence", + "@wasmtime__wasmtime_runtime__9_0_3//:wasmtime_runtime", ] + selects.with_or({ # cfg(target_os = "windows") ( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_42_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.3.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.3.bazel index 152481ac3..dfdbdd6bb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.3.bazel @@ -49,9 +49,9 @@ rust_library( "crate-name=wasmtime-jit-debug", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ - "@wasmtime__once_cell__1_17_1//:once_cell", + "@wasmtime__once_cell__1_17_2//:once_cell", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel index e54901d2e..1c9322173 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel @@ -49,7 +49,7 @@ rust_library( "crate-name=wasmtime-jit-icache-coherence", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ "@wasmtime__cfg_if__1_0_0//:cfg_if", @@ -71,7 +71,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__libc__0_2_140//:libc", + "@wasmtime__libc__0_2_144//:libc", ], "//conditions:default": [], }) + selects.with_or({ @@ -80,7 +80,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_42_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.3.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.3.bazel index 0980b7f62..bff1668a1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.3.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "6.0.1", + version = "9.0.3", visibility = ["//visibility:private"], deps = [ "@wasmtime__cc__1_0_79//:cc", @@ -73,7 +73,7 @@ cargo_build_script( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_42_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -122,21 +122,21 @@ rust_library( "crate-name=wasmtime-runtime", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ ":wasmtime_runtime_build_script", - "@wasmtime__anyhow__1_0_70//:anyhow", + "@wasmtime__anyhow__1_0_71//:anyhow", "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_9_2//:indexmap", - "@wasmtime__libc__0_2_140//:libc", - "@wasmtime__log__0_4_17//:log", - "@wasmtime__memfd__0_6_2//:memfd", - "@wasmtime__memoffset__0_6_5//:memoffset", + "@wasmtime__indexmap__1_9_3//:indexmap", + "@wasmtime__libc__0_2_144//:libc", + "@wasmtime__log__0_4_18//:log", + "@wasmtime__memfd__0_6_3//:memfd", + "@wasmtime__memoffset__0_8_0//:memoffset", "@wasmtime__rand__0_8_5//:rand", - "@wasmtime__wasmtime_asm_macros__6_0_1//:wasmtime_asm_macros", - "@wasmtime__wasmtime_environ__6_0_1//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__6_0_1//:wasmtime_jit_debug", + "@wasmtime__wasmtime_asm_macros__9_0_3//:wasmtime_asm_macros", + "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", + "@wasmtime__wasmtime_jit_debug__9_0_3//:wasmtime_jit_debug", ] + selects.with_or({ # cfg(target_os = "macos") ( @@ -153,7 +153,7 @@ rust_library( "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_sys__0_42_0//:windows_sys", + "@wasmtime__windows_sys__0_48_0//:windows_sys", ], "//conditions:default": [], }) + selects.with_or({ @@ -176,7 +176,7 @@ rust_library( "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", ): [ - "@wasmtime__rustix__0_36_10//:rustix", + "@wasmtime__rustix__0_37_19//:rustix", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-6.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.3.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-6.0.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.3.bazel index c1157ae3f..939447e25 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-6.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.3.bazel @@ -47,12 +47,12 @@ rust_library( "crate-name=wasmtime-types", "manual", ], - version = "6.0.1", + version = "9.0.3", # buildifier: leave-alone deps = [ - "@wasmtime__cranelift_entity__0_93_1//:cranelift_entity", - "@wasmtime__serde__1_0_157//:serde", + "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", + "@wasmtime__serde__1_0_163//:serde", "@wasmtime__thiserror__1_0_40//:thiserror", - "@wasmtime__wasmparser__0_100_0//:wasmparser", + "@wasmtime__wasmparser__0_103_0//:wasmparser", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel index 51c9c7277..e965c839b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel @@ -46,9 +46,7 @@ cargo_build_script( "consoleapi", "errhandlingapi", "fileapi", - "minwinbase", "minwindef", - "ntdef", "processenv", "std", "winbase", @@ -79,9 +77,7 @@ rust_library( "consoleapi", "errhandlingapi", "fileapi", - "minwinbase", "minwindef", - "ntdef", "processenv", "std", "winbase", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel deleted file mode 100644 index 26c3fcb0c..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.45.0.bazel +++ /dev/null @@ -1,96 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "windows_sys", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "Win32", - "Win32_Foundation", - "Win32_NetworkManagement", - "Win32_NetworkManagement_IpHelper", - "Win32_Networking", - "Win32_Networking_WinSock", - "Win32_Security", - "Win32_Storage", - "Win32_Storage_FileSystem", - "Win32_System", - "Win32_System_IO", - "Win32_System_Threading", - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows-sys", - "manual", - ], - version = "0.45.0", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(not(windows_raw_dylib)) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__windows_targets__0_42_2//:windows_targets", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel similarity index 70% rename from bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel index 668f95552..96f4b2cce 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.42.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel @@ -34,17 +34,21 @@ licenses([ rust_library( name = "windows_sys", srcs = glob(["**/*.rs"]), - aliases = { - }, crate_features = [ "Win32", "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_Networking", + "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", + "Win32_System_Console", "Win32_System_Diagnostics", "Win32_System_Diagnostics_Debug", + "Win32_System_IO", "Win32_System_Kernel", "Win32_System_Memory", "Win32_System_SystemInformation", @@ -62,24 +66,9 @@ rust_library( "crate-name=windows-sys", "manual", ], - version = "0.42.0", + version = "0.48.0", # buildifier: leave-alone deps = [ - ] + selects.with_or({ - # i686-pc-windows-msvc - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - ): [ - "@wasmtime__windows_i686_msvc__0_42_2//:windows_i686_msvc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # x86_64-pc-windows-msvc - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_x86_64_msvc__0_42_2//:windows_x86_64_msvc", - ], - "//conditions:default": [], - }), + "@wasmtime__windows_targets__0_48_0//:windows_targets", + ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.0.bazel similarity index 66% rename from bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.0.bazel index 3ca4c07b1..677d0a5f9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.0.bazel @@ -49,23 +49,32 @@ rust_library( "crate-name=windows-targets", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ] + selects.with_or({ - # i686-pc-windows-msvc + # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) + ( + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:i686-linux-android", + ): [ + "@wasmtime__windows_i686_gnu__0_48_0//:windows_i686_gnu", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) ( "@rules_rust//rust/platform:i686-pc-windows-msvc", ): [ - "@wasmtime__windows_i686_msvc__0_42_2//:windows_i686_msvc", + "@wasmtime__windows_i686_msvc__0_48_0//:windows_i686_msvc", ], "//conditions:default": [], }) + selects.with_or({ - # x86_64-pc-windows-msvc + # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) ( "@rules_rust//rust/platform:x86_64-pc-windows-msvc", ): [ - "@wasmtime__windows_x86_64_msvc__0_42_2//:windows_x86_64_msvc", + "@wasmtime__windows_x86_64_msvc__0_48_0//:windows_x86_64_msvc", ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.0.bazel index e14ccd98d..1c7e25989 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.2", + version = "0.48.0", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_aarch64_gnullvm", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ":windows_aarch64_gnullvm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.0.bazel index 0b6e1c95a..b45c4897a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.2", + version = "0.48.0", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_aarch64_msvc", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ":windows_aarch64_msvc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.0.bazel index 85ba0eb67..2edb92dda 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.2", + version = "0.48.0", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_i686_gnu", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ":windows_i686_gnu_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.0.bazel index 36329428f..bb3f4205e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.2", + version = "0.48.0", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_i686_msvc", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ":windows_i686_msvc_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.0.bazel index 937caf0a7..3cc37d15f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.2", + version = "0.48.0", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_x86_64_gnu", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ":windows_x86_64_gnu_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.0.bazel index af44a2694..b9f924bb6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.2", + version = "0.48.0", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_x86_64_gnullvm", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ":windows_x86_64_gnullvm_build_script", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.0.bazel index c93c72615..ed1844cb8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.42.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.0.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.42.2", + version = "0.48.0", visibility = ["//visibility:private"], deps = [ ], @@ -76,7 +76,7 @@ rust_library( "crate-name=windows_x86_64_msvc", "manual", ], - version = "0.42.2", + version = "0.48.0", # buildifier: leave-alone deps = [ ":windows_x86_64_msvc_build_script", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index b96b972be..106069511 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -201,9 +201,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "7ed6359faa385c40fc77e324301e5c70c7fdaeeca8a5ab58e25b1f75035b2cd6", - strip_prefix = "wasmtime-6.0.1", - url = "https://github.com/bytecodealliance/wasmtime/archive/v6.0.1.tar.gz", + sha256 = "917da461249b11a3176a39573723f78c627259576d0ca10b00d6e7f7fa047081", + strip_prefix = "wasmtime-9.0.3", + url = "https://github.com/bytecodealliance/wasmtime/archive/v9.0.3.tar.gz", ) maybe( From f2911835110bb661d125a1e678cea301a6887b3e Mon Sep 17 00:00:00 2001 From: phlax Date: Sat, 10 Jun 2023 07:55:26 +0100 Subject: [PATCH 46/90] Auto-cancel old GitHub Actions workflows. (#356) Signed-off-by: Ryan Northey --- .github/workflows/format.yml | 5 +++++ .github/workflows/test.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 1065c0519..a09aa7a64 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -31,6 +31,11 @@ on: schedule: - cron: '0 0 * * *' +concurrency: + + group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }} + cancel-in-progress: true + jobs: addlicense: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed4a1b72d..5d311c819 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,11 @@ on: schedule: - cron: '0 0 * * *' +concurrency: + + group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }} + cancel-in-progress: true + jobs: test_data: From 7540de71d3055c0698d621abf70769bb4aa1070e Mon Sep 17 00:00:00 2001 From: phlax Date: Thu, 22 Jun 2023 18:30:43 +0100 Subject: [PATCH 47/90] Update rules_rust to v0.24.1 (with Rust v1.70.0). (#358) Signed-off-by: Ryan Northey --- bazel/repositories.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 106069511..8a083eed0 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -74,10 +74,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_rust", - sha256 = "88a6911bf60c44710407cc718668ce79a4a339e1310b47f306aa0f1beadc6895", - strip_prefix = "rules_rust-0.22.0", + sha256 = "e3fe2a255589d128c5e59e407ee57c832533f25ce14cc23605d368cf507ce08d", + strip_prefix = "rules_rust-0.24.1", # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/archive/0.22.0.tar.gz", + url = "https://github.com/bazelbuild/rules_rust/archive/0.24.1.tar.gz", patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], patch_args = ["-p1"], ) From c932df12c9db59d331dcb1020174d5f911f67244 Mon Sep 17 00:00:00 2001 From: Maxim Philippov Date: Mon, 3 Jul 2023 19:29:11 +0300 Subject: [PATCH 48/90] Use SHA256 hash for plugin cache (#359) Use SHA256 hash for plugin cache key. Otherwise, a raw plugin config (concatenated with root ID and key) is stored in the key which may cause unnecessary memory consumption. Signed-off-by: Maxim Philippov --- BUILD | 2 ++ include/proxy-wasm/context.h | 6 ++-- src/context.cc | 6 ++++ src/hash.cc | 54 ++++++++++++++++++++++++++++++++++++ src/hash.h | 27 ++++++++++++++++++ src/wasm.cc | 27 ++---------------- 6 files changed, 95 insertions(+), 27 deletions(-) create mode 100644 src/hash.cc create mode 100644 src/hash.h diff --git a/BUILD b/BUILD index 69c9bdae5..f29f4de85 100644 --- a/BUILD +++ b/BUILD @@ -66,6 +66,8 @@ cc_library( "src/bytecode_util.cc", "src/context.cc", "src/exports.cc", + "src/hash.cc", + "src/hash.h", "src/pairs_util.cc", "src/shared_data.cc", "src/shared_data.h", diff --git a/include/proxy-wasm/context.h b/include/proxy-wasm/context.h index 652b86b6e..ab99cad70 100644 --- a/include/proxy-wasm/context.h +++ b/include/proxy-wasm/context.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include "include/proxy-wasm/context_interface.h" @@ -53,8 +54,7 @@ struct PluginBase { std::string_view key) : name_(std::string(name)), root_id_(std::string(root_id)), vm_id_(std::string(vm_id)), engine_(std::string(engine)), plugin_configuration_(plugin_configuration), - fail_open_(fail_open), - key_(root_id_ + "||" + plugin_configuration_ + "||" + std::string(key)), + fail_open_(fail_open), key_(makePluginKey(root_id, plugin_configuration, key)), log_prefix_(makeLogPrefix()) {} const std::string name_; @@ -69,6 +69,8 @@ struct PluginBase { private: std::string makeLogPrefix() const; + static std::string makePluginKey(std::string_view root_id, std::string_view plugin_configuration, + std::string_view key); const std::string key_; const std::string log_prefix_; diff --git a/src/context.cc b/src/context.cc index 29037ae43..5353a52a5 100644 --- a/src/context.cc +++ b/src/context.cc @@ -22,6 +22,7 @@ #include "include/proxy-wasm/context.h" #include "include/proxy-wasm/wasm.h" +#include "src/hash.h" #include "src/shared_data.h" #include "src/shared_queue.h" @@ -85,6 +86,11 @@ std::string PluginBase::makeLogPrefix() const { return prefix; } +std::string PluginBase::makePluginKey(std::string_view root_id, + std::string_view plugin_configuration, std::string_view key) { + return Sha256String({root_id, "||", plugin_configuration, "||", key}); +} + ContextBase::ContextBase() : parent_context_(this) {} ContextBase::ContextBase(WasmBase *wasm) : wasm_(wasm), parent_context_(this) { diff --git a/src/hash.cc b/src/hash.cc new file mode 100644 index 000000000..f2d1ded13 --- /dev/null +++ b/src/hash.cc @@ -0,0 +1,54 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "src/hash.h" + +#include +#include + +#include + +namespace proxy_wasm { + +namespace { + +std::string BytesToHex(const std::vector &bytes) { + static const char *const hex = "0123456789ABCDEF"; + std::string result; + result.reserve(bytes.size() * 2); + for (auto byte : bytes) { + result.push_back(hex[byte >> 4]); + result.push_back(hex[byte & 0xf]); + } + return result; +} + +} // namespace + +std::vector Sha256(const std::vector &parts) { + uint8_t sha256[SHA256_DIGEST_LENGTH]; + SHA256_CTX sha_ctx; + SHA256_Init(&sha_ctx); + for (auto part : parts) { + SHA256_Update(&sha_ctx, part.data(), part.size()); + } + SHA256_Final(sha256, &sha_ctx); + return std::vector(std::begin(sha256), std::end(sha256)); +} + +std::string Sha256String(const std::vector &parts) { + return BytesToHex(Sha256(parts)); +} + +} // namespace proxy_wasm \ No newline at end of file diff --git a/src/hash.h b/src/hash.h new file mode 100644 index 000000000..40d03e9d4 --- /dev/null +++ b/src/hash.h @@ -0,0 +1,27 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#pragma once + +#include +#include + +#include + +namespace proxy_wasm { + +std::vector Sha256(const std::vector &parts); +std::string Sha256String(const std::vector &parts); + +} // namespace proxy_wasm diff --git a/src/wasm.cc b/src/wasm.cc index a7a22fc9c..15127c99a 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -27,11 +27,10 @@ #include #include -#include - #include "include/proxy-wasm/bytecode_util.h" #include "include/proxy-wasm/signature_util.h" #include "include/proxy-wasm/vm_id_handle.h" +#include "src/hash.h" namespace proxy_wasm { @@ -44,33 +43,11 @@ thread_local std::unordered_map> lo std::mutex base_wasms_mutex; std::unordered_map> *base_wasms = nullptr; -std::vector Sha256(const std::vector &parts) { - uint8_t sha256[SHA256_DIGEST_LENGTH]; - SHA256_CTX sha_ctx; - SHA256_Init(&sha_ctx); - for (auto part : parts) { - SHA256_Update(&sha_ctx, part.data(), part.size()); - } - SHA256_Final(sha256, &sha_ctx); - return std::vector(std::begin(sha256), std::end(sha256)); -} - -std::string BytesToHex(const std::vector &bytes) { - static const char *const hex = "0123456789ABCDEF"; - std::string result; - result.reserve(bytes.size() * 2); - for (auto byte : bytes) { - result.push_back(hex[byte >> 4]); - result.push_back(hex[byte & 0xf]); - } - return result; -} - } // namespace std::string makeVmKey(std::string_view vm_id, std::string_view vm_configuration, std::string_view code) { - return BytesToHex(Sha256({vm_id, vm_configuration, code})); + return Sha256String({vm_id, "||", vm_configuration, "||", code}); } class WasmBase::ShutdownHandle { From 8771886aa0b20a865a29d2731ba1b870e19612eb Mon Sep 17 00:00:00 2001 From: Takeshi Yoneda Date: Tue, 11 Jul 2023 12:31:47 +0900 Subject: [PATCH 49/90] Remove @mathetake from CODEOWNERS. (#360) Signed-off-by: Takeshi Yoneda --- CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index 2bbe6fa17..f1f3bca02 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* @PiotrSikora @mathetake +* @PiotrSikora From 25daf5e9b7fe25595cee966d09fcb750fcf7c5d7 Mon Sep 17 00:00:00 2001 From: Yi-Ying He Date: Wed, 12 Jul 2023 02:12:52 +0800 Subject: [PATCH 50/90] wasmedge: update to v0.13.1. (#361) Signed-off-by: YiYing He --- bazel/repositories.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 8a083eed0..57d12a2d3 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -185,9 +185,9 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_wasmedge_wasmedge", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmedge.BUILD", - sha256 = "65d95e5f83d25ab09fa9a29369f578838e8a519fb170704d0f5896187364429b", - strip_prefix = "WasmEdge-proxy-wasm-0.11.2", - url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.11.2.tar.gz", + sha256 = "7ab8a0df37c8d282ecff72d0f0bff8db63fd92df1645d5a014a9dbed4b7f9025", + strip_prefix = "WasmEdge-proxy-wasm-0.13.1", + url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.13.1.tar.gz", ) native.bind( From 356ea6eda6a25723f2af81c0bdd8ddf38413d0bb Mon Sep 17 00:00:00 2001 From: Maxim Philippov Date: Fri, 14 Jul 2023 22:29:57 +0300 Subject: [PATCH 51/90] Fix memory leak in thread-local VM & plugin caches (#357) * Fix memory leak in thread-local VM & plugin caches Since VM and plugin thread-local cache keys include volatile parts (namely VM configuration, code and plugin configuration), their reconfiguration/update (e.g. with Envoy ADS protocol) might lead to memory leak by leaving those thread-local map stale keys behind. The current cleanup method is insufficient, as it accounts only for cache hit case. Signed-off-by: Maxim Philippov * Use key queues for a bounded stale entries cleanup in local caches Signed-off-by: Maxim Philippov * Linter fixes Signed-off-by: Maxim Philippov * Fix code formatting Signed-off-by: Maxim Philippov * Addressed code style comments Signed-off-by: Maxim Philippov * Made getThreadLocalWasm more similar to other funcs Signed-off-by: Maxim Philippov * Erase stale cache entries whenever we can Signed-off-by: Maxim Philippov * Fix casing in comment Signed-off-by: Maxim Philippov --------- Signed-off-by: Maxim Philippov --- src/wasm.cc | 73 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 14 deletions(-) diff --git a/src/wasm.cc b/src/wasm.cc index 15127c99a..9d2566fc1 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -36,13 +37,56 @@ namespace proxy_wasm { namespace { -// Map from Wasm Key to the local Wasm instance. +// Map from Wasm key to the thread-local Wasm instance. thread_local std::unordered_map> local_wasms; +// Wasm key queue to track stale entries in `local_wasms`. +thread_local std::queue local_wasms_keys; + +// Map from plugin key to the thread-local plugin instance. thread_local std::unordered_map> local_plugins; +// Plugin key queue to track stale entries in `local_plugins`. +thread_local std::queue local_plugins_keys; + +// Check no more than `MAX_LOCAL_CACHE_GC_CHUNK_SIZE` cache entries at a time during stale entries +// cleanup. +const size_t MAX_LOCAL_CACHE_GC_CHUNK_SIZE = 64; + // Map from Wasm Key to the base Wasm instance, using a pointer to avoid the initialization fiasco. std::mutex base_wasms_mutex; std::unordered_map> *base_wasms = nullptr; +void cacheLocalWasm(const std::string &key, const std::shared_ptr &wasm_handle) { + local_wasms[key] = wasm_handle; + local_wasms_keys.emplace(key); +} + +void cacheLocalPlugin(const std::string &key, + const std::shared_ptr &plugin_handle) { + local_plugins[key] = plugin_handle; + local_plugins_keys.emplace(key); +} + +template +void removeStaleLocalCacheEntries(std::unordered_map> &cache, + std::queue &keys) { + auto num_keys_to_check = std::min(MAX_LOCAL_CACHE_GC_CHUNK_SIZE, keys.size()); + for (size_t i = 0; i < num_keys_to_check; i++) { + std::string key(keys.front()); + keys.pop(); + + const auto it = cache.find(key); + if (it == cache.end()) { + continue; + } + + if (it->second.expired()) { + cache.erase(it); + } else { + keys.push(std::move(key)); + } + } +} + } // namespace std::string makeVmKey(std::string_view vm_id, std::string_view vm_configuration, @@ -525,14 +569,15 @@ std::shared_ptr createWasm(const std::string &vm_key, const std: std::shared_ptr getThreadLocalWasm(std::string_view vm_key) { auto it = local_wasms.find(std::string(vm_key)); - if (it == local_wasms.end()) { - return nullptr; - } - auto wasm = it->second.lock(); - if (!wasm) { - local_wasms.erase(std::string(vm_key)); + if (it != local_wasms.end()) { + auto wasm = it->second.lock(); + if (wasm) { + return wasm; + } + local_wasms.erase(it); } - return wasm; + removeStaleLocalCacheEntries(local_wasms, local_wasms_keys); + return nullptr; } static std::shared_ptr @@ -546,9 +591,9 @@ getOrCreateThreadLocalWasm(const std::shared_ptr &base_handle, if (wasm_handle) { return wasm_handle; } - // Remove stale entry. - local_wasms.erase(vm_key); + local_wasms.erase(it); } + removeStaleLocalCacheEntries(local_wasms, local_wasms_keys); // Create and initialize new thread-local WasmVM. auto wasm_handle = clone_factory(base_handle); if (!wasm_handle) { @@ -560,7 +605,7 @@ getOrCreateThreadLocalWasm(const std::shared_ptr &base_handle, base_handle->wasm()->fail(FailState::UnableToInitializeCode, "Failed to initialize Wasm code"); return nullptr; } - local_wasms[vm_key] = wasm_handle; + cacheLocalWasm(vm_key, wasm_handle); wasm_handle->wasm()->wasm_vm()->addFailCallback([vm_key](proxy_wasm::FailState fail_state) { if (fail_state == proxy_wasm::FailState::RuntimeError) { // If VM failed, erase the entry so that: @@ -583,9 +628,9 @@ std::shared_ptr getOrCreateThreadLocalPlugin( if (plugin_handle) { return plugin_handle; } - // Remove stale entry. - local_plugins.erase(key); + local_plugins.erase(it); } + removeStaleLocalCacheEntries(local_plugins, local_plugins_keys); // Get thread-local WasmVM. auto wasm_handle = getOrCreateThreadLocalWasm(base_handle, clone_factory); if (!wasm_handle) { @@ -603,7 +648,7 @@ std::shared_ptr getOrCreateThreadLocalPlugin( return nullptr; } auto plugin_handle = plugin_factory(wasm_handle, plugin); - local_plugins[key] = plugin_handle; + cacheLocalPlugin(key, plugin_handle); wasm_handle->wasm()->wasm_vm()->addFailCallback([key](proxy_wasm::FailState fail_state) { if (fail_state == proxy_wasm::FailState::RuntimeError) { // If VM failed, erase the entry so that: From b7e690703c7f26707438a2f1ebd7c197bc8f0296 Mon Sep 17 00:00:00 2001 From: Maxim Philippov Date: Mon, 31 Jul 2023 05:44:14 +0200 Subject: [PATCH 52/90] Added tests for thread-local caches cleanup. (#362) Signed-off-by: Maxim Philippov --- BUILD | 1 + src/wasm.cc | 20 ++++++++++++ src/wasm.h | 25 +++++++++++++++ test/wasm_test.cc | 82 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+) create mode 100644 src/wasm.h diff --git a/BUILD b/BUILD index f29f4de85..8b3301990 100644 --- a/BUILD +++ b/BUILD @@ -76,6 +76,7 @@ cc_library( "src/signature_util.cc", "src/vm_id_handle.cc", "src/wasm.cc", + "src/wasm.h", ], hdrs = [ "include/proxy-wasm/bytecode_util.h", diff --git a/src/wasm.cc b/src/wasm.cc index 9d2566fc1..cb1dd9b3a 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -670,4 +670,24 @@ void clearWasmCachesForTesting() { } } +std::vector staleLocalPluginsKeysForTesting() { + std::vector keys; + for (const auto &kv : local_plugins) { + if (kv.second.expired()) { + keys.push_back(kv.first); + } + } + return keys; +} + +std::vector staleLocalWasmsKeysForTesting() { + std::vector keys; + for (const auto &kv : local_wasms) { + if (kv.second.expired()) { + keys.push_back(kv.first); + } + } + return keys; +} + } // namespace proxy_wasm diff --git a/src/wasm.h b/src/wasm.h new file mode 100644 index 000000000..882dbcd99 --- /dev/null +++ b/src/wasm.h @@ -0,0 +1,25 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#pragma once + +#include +#include + +namespace proxy_wasm { + +std::vector staleLocalWasmsKeysForTesting(); +std::vector staleLocalPluginsKeysForTesting(); + +} // namespace proxy_wasm diff --git a/test/wasm_test.cc b/test/wasm_test.cc index b88732698..2a3e60cc4 100644 --- a/test/wasm_test.cc +++ b/test/wasm_test.cc @@ -20,6 +20,8 @@ #include "test/utility.h" +#include "src/wasm.h" + namespace proxy_wasm { INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines()), @@ -242,4 +244,84 @@ TEST_P(TestVm, AlwaysApplyCanary) { } } +// Check that there are no stale thread-local cache keys (eventually) +TEST_P(TestVm, CleanupThreadLocalCacheKeys) { + const auto *const plugin_name = "plugin_name"; + const auto *const root_id = "root_id"; + const auto *const vm_id = "vm_id"; + const auto *const vm_config = "vm_config"; + const auto *const plugin_config = "plugin_config"; + const auto fail_open = false; + + WasmHandleFactory wasm_handle_factory = + [this, vm_id, vm_config](std::string_view vm_key) -> std::shared_ptr { + auto base_wasm = std::make_shared(makeVm(engine_), vm_id, vm_config, vm_key, + std::unordered_map{}, + AllowedCapabilitiesMap{}); + return std::make_shared(base_wasm); + }; + + WasmHandleCloneFactory wasm_handle_clone_factory = + [this](const std::shared_ptr &base_wasm_handle) + -> std::shared_ptr { + auto wasm = std::make_shared( + base_wasm_handle, [this]() -> std::unique_ptr { return makeVm(engine_); }); + return std::make_shared(wasm); + }; + + PluginHandleFactory plugin_handle_factory = + [](const std::shared_ptr &base_wasm, + const std::shared_ptr &plugin) -> std::shared_ptr { + return std::make_shared(base_wasm, plugin); + }; + + // Read the minimal loadable binary. + auto source = readTestWasmFile("abi_export.wasm"); + + // Simulate a plugin lifetime. + const auto plugin1 = std::make_shared(plugin_name, root_id, vm_id, engine_, + plugin_config, fail_open, "plugin_1"); + auto base_wasm_handle1 = + createWasm("vm_1", source, plugin1, wasm_handle_factory, wasm_handle_clone_factory, false); + ASSERT_TRUE(base_wasm_handle1 && base_wasm_handle1->wasm()); + + auto local_plugin1 = getOrCreateThreadLocalPlugin( + base_wasm_handle1, plugin1, wasm_handle_clone_factory, plugin_handle_factory); + ASSERT_TRUE(local_plugin1 && local_plugin1->plugin()); + local_plugin1.reset(); + + auto stale_plugins_keys = staleLocalPluginsKeysForTesting(); + EXPECT_EQ(1, stale_plugins_keys.size()); + + // Now we create another plugin with a slightly different key and expect that there are no stale + // thread-local cache entries. + const auto plugin2 = std::make_shared(plugin_name, root_id, vm_id, engine_, + plugin_config, fail_open, "plugin_2"); + auto local_plugin2 = getOrCreateThreadLocalPlugin( + base_wasm_handle1, plugin2, wasm_handle_clone_factory, plugin_handle_factory); + ASSERT_TRUE(local_plugin2 && local_plugin2->plugin()); + + stale_plugins_keys = staleLocalPluginsKeysForTesting(); + EXPECT_TRUE(stale_plugins_keys.empty()); + + // Trigger deletion of the thread-local WasmVM cloned from base_wasm_handle1 by freeing objects + // referencing it. + local_plugin2.reset(); + + auto stale_wasms_keys = staleLocalWasmsKeysForTesting(); + EXPECT_EQ(1, stale_wasms_keys.size()); + + // Create another base WASM handle and invoke WASM thread-local cache key cleanup. + auto base_wasm_handle2 = + createWasm("vm_2", source, plugin2, wasm_handle_factory, wasm_handle_clone_factory, false); + ASSERT_TRUE(base_wasm_handle2 && base_wasm_handle2->wasm()); + + auto local_plugin3 = getOrCreateThreadLocalPlugin( + base_wasm_handle2, plugin2, wasm_handle_clone_factory, plugin_handle_factory); + ASSERT_TRUE(local_plugin3 && local_plugin3->plugin()); + + stale_wasms_keys = staleLocalWasmsKeysForTesting(); + EXPECT_TRUE(stale_wasms_keys.empty()); +} + } // namespace proxy_wasm From e200fee8af40918c41f3275cff090993e3b26940 Mon Sep 17 00:00:00 2001 From: Ivan Prisyazhnyy Date: Tue, 19 Dec 2023 16:26:47 +0100 Subject: [PATCH 53/90] fix a few missing includes and ::proxy_wasm namespace pollution with std {} (#365) * include: add missing dependencies Signed-off-by: Ivan Prisyazhnyy * fix: proxy_wasm namespace polution with std defs fixes: In file included from external/proxy_wasm_cpp_host/src/null/null.cc:17: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/null_vm.h:22: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/null_vm_plugin.h:18: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:22: external/proxy_wasm_cpp_sdk/proxy_wasm_common.h:59:8: error: no type named 'string' in namespace 'proxy_wasm::std'; did you mean '::std::string'? inline std::string toString(WasmResult r) { ^~~~~~~~~~~ ::std::string The headers from https://github.com/proxy-wasm/proxy-wasm-cpp-sdk include C++ headers that pollute the current namespace with a partial definition of std{} namespace that then interferes with the names resolution inside of proxy_wasm as well as duplicates ::std defs. Signed-off-by: Ivan Prisyazhnyy * include: add missing includes to pairs_util and the test Signed-off-by: Ivan Prisyazhnyy * sdk.h/change: drop one redundant namespace hierarchy level to have +using WasmResult = internal::WasmResult; instead of -using WasmResult = internal::proxy_wasm::WasmResult; the patchset fixes: In file included from external/proxy_wasm_cpp_host/src/null/null.cc:17: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/null_vm.h:22: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/null_vm_plugin.h:18: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26: In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:22: external/proxy_wasm_cpp_sdk/proxy_wasm_common.h:59:8: error: no type named 'string' in namespace 'proxy_wasm::std'; did you mean '::std::string'? inline std::string toString(WasmResult r) { ^~~~~~~~~~~ ::std::string The headers from https://github.com/proxy-wasm/proxy-wasm-cpp-sdk include C++ headers that pollute the current namespace with a partial definition of std{} namespace that then interferes with the names resolution inside of proxy_wasm as well as duplicates ::std defs. Signed-off-by: Ivan Prisyazhnyy --------- Signed-off-by: Ivan Prisyazhnyy --- BUILD | 1 + include/proxy-wasm/context.h | 4 +-- include/proxy-wasm/context_interface.h | 5 ++- include/proxy-wasm/pairs_util.h | 1 + include/proxy-wasm/sdk.h | 50 ++++++++++++++++++++++++++ include/proxy-wasm/vm_id_handle.h | 4 ++- include/proxy-wasm/wasm.h | 3 +- include/proxy-wasm/wasm_api_impl.h | 4 +-- include/proxy-wasm/wasm_vm.h | 4 +-- include/proxy-wasm/word.h | 4 +-- test/fuzz/pairs_util_fuzzer.cc | 1 + 11 files changed, 65 insertions(+), 16 deletions(-) create mode 100644 include/proxy-wasm/sdk.h diff --git a/BUILD b/BUILD index 8b3301990..66c3371d6 100644 --- a/BUILD +++ b/BUILD @@ -38,6 +38,7 @@ cc_library( name = "wasm_vm_headers", hdrs = [ "include/proxy-wasm/limits.h", + "include/proxy-wasm/sdk.h", "include/proxy-wasm/wasm_vm.h", "include/proxy-wasm/word.h", ], diff --git a/include/proxy-wasm/context.h b/include/proxy-wasm/context.h index ab99cad70..12937041f 100644 --- a/include/proxy-wasm/context.h +++ b/include/proxy-wasm/context.h @@ -26,13 +26,11 @@ #include #include +#include "include/proxy-wasm/sdk.h" #include "include/proxy-wasm/context_interface.h" namespace proxy_wasm { -#include "proxy_wasm_common.h" -#include "proxy_wasm_enums.h" - class PluginHandleBase; class WasmBase; class WasmVm; diff --git a/include/proxy-wasm/context_interface.h b/include/proxy-wasm/context_interface.h index 81973eed2..48fce76d9 100644 --- a/include/proxy-wasm/context_interface.h +++ b/include/proxy-wasm/context_interface.h @@ -25,10 +25,9 @@ #include #include -namespace proxy_wasm { +#include "include/proxy-wasm/sdk.h" -#include "proxy_wasm_common.h" -#include "proxy_wasm_enums.h" +namespace proxy_wasm { using Pairs = std::vector>; using PairsWithStringValues = std::vector>; diff --git a/include/proxy-wasm/pairs_util.h b/include/proxy-wasm/pairs_util.h index 54df2fd88..019c970ba 100644 --- a/include/proxy-wasm/pairs_util.h +++ b/include/proxy-wasm/pairs_util.h @@ -15,6 +15,7 @@ #pragma once +#include #include #include #include diff --git a/include/proxy-wasm/sdk.h b/include/proxy-wasm/sdk.h new file mode 100644 index 000000000..105854373 --- /dev/null +++ b/include/proxy-wasm/sdk.h @@ -0,0 +1,50 @@ +// Copyright 2016-2019 Envoy Project Authors +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#pragma once + +#include +#include + +namespace proxy_wasm { + +namespace internal { + +// isolate those includes to prevent ::proxy_wasm namespace pollution with std +// namespace definitions. +#include "proxy_wasm_common.h" +#include "proxy_wasm_enums.h" + +} // namespace internal + +// proxy_wasm_common.h +using WasmResult = internal::WasmResult; +using WasmHeaderMapType = internal::WasmHeaderMapType; +using WasmBufferType = internal::WasmBufferType; +using WasmBufferFlags = internal::WasmBufferFlags; +using WasmStreamType = internal::WasmStreamType; + +// proxy_wasm_enums.h +using LogLevel = internal::LogLevel; +using FilterStatus = internal::FilterStatus; +using FilterHeadersStatus = internal::FilterHeadersStatus; +using FilterMetadataStatus = internal::FilterMetadataStatus; +using FilterTrailersStatus = internal::FilterTrailersStatus; +using FilterDataStatus = internal::FilterDataStatus; +using GrpcStatus = internal::GrpcStatus; +using MetricType = internal::MetricType; +using CloseType = internal::CloseType; + +} // namespace proxy_wasm diff --git a/include/proxy-wasm/vm_id_handle.h b/include/proxy-wasm/vm_id_handle.h index 547eca229..16ebb4bf0 100644 --- a/include/proxy-wasm/vm_id_handle.h +++ b/include/proxy-wasm/vm_id_handle.h @@ -15,8 +15,10 @@ #pragma once #include -#include #include +#include +#include +#include #include namespace proxy_wasm { diff --git a/include/proxy-wasm/wasm.h b/include/proxy-wasm/wasm.h index 1a785a8f9..9fa2bda1f 100644 --- a/include/proxy-wasm/wasm.h +++ b/include/proxy-wasm/wasm.h @@ -24,6 +24,7 @@ #include #include +#include "include/proxy-wasm/sdk.h" #include "include/proxy-wasm/context.h" #include "include/proxy-wasm/exports.h" #include "include/proxy-wasm/wasm_vm.h" @@ -31,8 +32,6 @@ namespace proxy_wasm { -#include "proxy_wasm_common.h" - class ContextBase; class WasmHandleBase; diff --git a/include/proxy-wasm/wasm_api_impl.h b/include/proxy-wasm/wasm_api_impl.h index 8bd9626ff..899af7e41 100644 --- a/include/proxy-wasm/wasm_api_impl.h +++ b/include/proxy-wasm/wasm_api_impl.h @@ -30,15 +30,13 @@ #include #include +#include "include/proxy-wasm/sdk.h" #include "include/proxy-wasm/exports.h" #include "include/proxy-wasm/word.h" namespace proxy_wasm { namespace null_plugin { -#include "proxy_wasm_enums.h" -#include "proxy_wasm_common.h" - #define WS(_x) Word(static_cast(_x)) #define WR(_x) Word(reinterpret_cast(_x)) diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index acf0ccf3b..a573212e0 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -19,16 +19,16 @@ #include #include #include +#include #include #include #include +#include "include/proxy-wasm/sdk.h" #include "include/proxy-wasm/word.h" namespace proxy_wasm { -#include "proxy_wasm_enums.h" - class ContextBase; // These are templates and its helper for constructing signatures of functions calling into Wasm diff --git a/include/proxy-wasm/word.h b/include/proxy-wasm/word.h index 90ea932df..bc0d23a8c 100644 --- a/include/proxy-wasm/word.h +++ b/include/proxy-wasm/word.h @@ -17,9 +17,9 @@ #include -namespace proxy_wasm { +#include "include/proxy-wasm/sdk.h" -#include "proxy_wasm_common.h" +namespace proxy_wasm { // Use byteswap functions only when compiling for big-endian platforms. #if defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && \ diff --git a/test/fuzz/pairs_util_fuzzer.cc b/test/fuzz/pairs_util_fuzzer.cc index aaef0d099..84e7ca0f1 100644 --- a/test/fuzz/pairs_util_fuzzer.cc +++ b/test/fuzz/pairs_util_fuzzer.cc @@ -14,6 +14,7 @@ #include "include/proxy-wasm/pairs_util.h" +#include #include namespace proxy_wasm { From 9be9637b5d595483ddba218eb09879818a5e0ffc Mon Sep 17 00:00:00 2001 From: martijneken Date: Mon, 29 Jan 2024 00:01:36 -0500 Subject: [PATCH 54/90] Merge v8 patch from envoyproxy/envoy/pull/29425 (#383) This is a temporary build fix until pr#382 lands. Signed-off-by: Martijn Stevenson --- bazel/external/v8_include.patch | 41 +++++++++++++++++++++++++++++++++ bazel/repositories.bzl | 5 +++- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 bazel/external/v8_include.patch diff --git a/bazel/external/v8_include.patch b/bazel/external/v8_include.patch new file mode 100644 index 000000000..0d0fe210c --- /dev/null +++ b/bazel/external/v8_include.patch @@ -0,0 +1,41 @@ +# fix include types for late clang (15.0.7) / gcc (13.2.1) +# for Arch linux / Fedora, like in +# In file included from external/v8/src/torque/torque.cc:5: +# In file included from external/v8/src/torque/source-positions.h:10: +# In file included from external/v8/src/torque/contextual.h:10: +# In file included from external/v8/src/base/macros.h:12: +# external/v8/src/base/logging.h:154:26: error: use of undeclared identifier 'uint16_t' + +diff --git a/src/base/logging.h b/src/base/logging.h +--- a/src/base/logging.h ++++ b/src/base/logging.h +@@ -5,6 +5,7 @@ + #ifndef V8_BASE_LOGGING_H_ + #define V8_BASE_LOGGING_H_ + ++#include + #include + #include + #include +diff --git a/src/base/macros.h b/src/base/macros.h +--- a/src/base/macros.h ++++ b/src/base/macros.h +@@ -5,6 +5,7 @@ + #ifndef V8_BASE_MACROS_H_ + #define V8_BASE_MACROS_H_ + ++#include + #include + #include + +diff --git a/src/inspector/v8-string-conversions.h b/src/inspector/v8-string-conversions.h +--- a/src/inspector/v8-string-conversions.h ++++ b/src/inspector/v8-string-conversions.h +@@ -5,6 +5,7 @@ + #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ + #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ + ++#include + #include + + // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 57d12a2d3..89b0900e5 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -130,7 +130,10 @@ def proxy_wasm_cpp_host_repositories(): commit = "6c8b357a84847a479cd329478522feefc1c3195a", remote = "https://chromium.googlesource.com/v8/v8", shallow_since = "1664374400 +0000", - patches = ["@proxy_wasm_cpp_host//bazel/external:v8.patch"], + patches = [ + "@proxy_wasm_cpp_host//bazel/external:v8.patch", + "@proxy_wasm_cpp_host//bazel/external:v8_include.patch", + ], patch_args = ["-p1"], ) From 284cd0ba952e0e0cf60f250c7e732a797afbbe4d Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Fri, 26 Apr 2024 19:28:11 -0400 Subject: [PATCH 55/90] Add @martijneken and @mpwarres to CODEOWNERS (#392) Signed-off-by: Michael Warres --- CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CODEOWNERS b/CODEOWNERS index f1f3bca02..ea6e586c2 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1,3 @@ * @PiotrSikora +* @martijneken +* @mpwarres From 7e00fee18c44aabc490a45a9b72d230643c0de34 Mon Sep 17 00:00:00 2001 From: martijneken Date: Mon, 29 Apr 2024 11:22:53 -0400 Subject: [PATCH 56/90] fix: CODEOWNERS format (#395) Signed-off-by: Martijn Stevenson --- CODEOWNERS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CODEOWNERS b/CODEOWNERS index ea6e586c2..e0a504f38 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,3 +1 @@ -* @PiotrSikora -* @martijneken -* @mpwarres +* @PiotrSikora @martijneken @mpwarres From 265e9d8fbb687185092d4106eb745aaf9c5be110 Mon Sep 17 00:00:00 2001 From: martijneken Date: Mon, 29 Apr 2024 12:50:06 -0400 Subject: [PATCH 57/90] fix: buildifier complaint (#394) Signed-off-by: Martijn Stevenson --- BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD b/BUILD index 66c3371d6..215459eb2 100644 --- a/BUILD +++ b/BUILD @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@rules_cc//cc:defs.bzl", "cc_library") load( "@proxy_wasm_cpp_host//bazel:select.bzl", "proxy_wasm_select_engine_null", @@ -22,6 +21,7 @@ load( "proxy_wasm_select_engine_wasmtime", "proxy_wasm_select_engine_wavm", ) +load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # Apache 2 From 04dfb94747e6462b65f7ed694e2d9c78ab207e11 Mon Sep 17 00:00:00 2001 From: martijneken Date: Mon, 29 Apr 2024 14:06:16 -0400 Subject: [PATCH 58/90] Update BoringSSL to 2023-08-28. (#391) * fix: Update boringssl to match Envoy (2022-02-07 -> 2023-08-28) Fixes build warning-as-error: ``` external/boringssl/src/crypto/x509/t_x509.c:326:18: error: variable 'l' set but not used [-Werror,-Wunused-but-set-variable] int ret = 0, l, i; ^ ``` Signed-off-by: Martijn Stevenson --- bazel/repositories.bzl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 89b0900e5..60a48548c 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -87,10 +87,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "boringssl", - # 2022-02-07 (master-with-bazel) - sha256 = "7dec97795a7ac7e3832228e4440ee06cceb18d3663f4580b0840e685281e28a0", - strip_prefix = "boringssl-eaa29f431f71b8121e1da76bcd3ddc2248238ade", - urls = ["https://github.com/google/boringssl/archive/eaa29f431f71b8121e1da76bcd3ddc2248238ade.tar.gz"], + # 2023-08-28 (master-with-bazel) + sha256 = "f1f421738e9ba39dd88daf8cf3096ddba9c53e2b6b41b32fff5a3ff82f4cd162", + strip_prefix = "boringssl-45cf810dbdbd767f09f8cb0b0fcccd342c39041f", + urls = ["https://github.com/google/boringssl/archive/45cf810dbdbd767f09f8cb0b0fcccd342c39041f.tar.gz"], ) maybe( From 611d5d94bb10aa5c30174e700d9031a33ba09d55 Mon Sep 17 00:00:00 2001 From: martijneken Date: Fri, 7 Jun 2024 14:20:53 -0400 Subject: [PATCH 59/90] fix: CI branch name master -> main (#398) Signed-off-by: Martijn Stevenson --- .github/workflows/format.yml | 8 ++++---- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a09aa7a64..0d7003e95 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,13 +18,13 @@ on: pull_request: branches: - - master + - main - 'envoy-release/**' - 'istio-release/**' push: branches: - - master + - main - 'envoy-release/**' - 'istio-release/**' @@ -145,11 +145,11 @@ jobs: //... - name: Skip Bazel cache update - if: ${{ github.ref != 'refs/heads/master' }} + if: ${{ github.ref != 'refs/heads/main' }} run: echo "CACHE_SKIP_SAVE=true" >> $GITHUB_ENV - name: Cleanup Bazel cache - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} run: | export OUTPUT=$(${{ matrix.run_under }} bazel info output_base) echo "===== BEFORE =====" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d311c819..74e56f021 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,13 +18,13 @@ on: pull_request: branches: - - master + - main - 'envoy-release/**' - 'istio-release/**' push: branches: - - master + - main - 'envoy-release/**' - 'istio-release/**' @@ -83,11 +83,11 @@ jobs: retention-days: 3 - name: Skip Bazel cache update - if: ${{ github.ref != 'refs/heads/master' }} + if: ${{ github.ref != 'refs/heads/main' }} run: echo "CACHE_SKIP_SAVE=true" >> $GITHUB_ENV - name: Cleanup Bazel cache - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} run: | export OUTPUT=$(bazel info output_base) # Distfiles for Rust toolchains (350 MiB). @@ -341,11 +341,11 @@ jobs: //test:signature_util_test - name: Skip Bazel cache update - if: ${{ matrix.cache && github.ref != 'refs/heads/master' }} + if: ${{ matrix.cache && github.ref != 'refs/heads/main' }} run: echo "CACHE_SKIP_SAVE=true" >> $GITHUB_ENV - name: Cleanup Bazel cache - if: ${{ matrix.cache && github.ref == 'refs/heads/master' }} + if: ${{ matrix.cache && github.ref == 'refs/heads/main' }} run: | export OUTPUT=$(${{ matrix.run_under }} bazel info output_base) echo "===== BEFORE =====" From b013a0dbabcd742c8d10f50825d8561a8e06c383 Mon Sep 17 00:00:00 2001 From: martijneken Date: Thu, 1 Aug 2024 12:16:39 -0400 Subject: [PATCH 60/90] fix: Bump Abseil to fix Linux build issues (#400) Bump Abseil to fix Linux build issues Pick up this fix: https://github.com/abseil/abseil-cpp/pull/1187 Bump past Envoy to pick up another fix found in fuzz tests: https://github.com/proxy-wasm/proxy-wasm-cpp-host/pull/399#issuecomment-2261871275 Signed-off-by: Martijn Stevenson --- bazel/repositories.bzl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 60a48548c..12a375595 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -82,7 +82,21 @@ def proxy_wasm_cpp_host_repositories(): patch_args = ["-p1"], ) - # Core. + # Core deps. Keep them updated. + + # Note: we depend on Abseil via rules_fuzzing. Remove this pin when we update that. + # + # This is the latest LTS release, which picks up: + # - Build fix: https://github.com/abseil/abseil-cpp/pull/1187 + # - A bugfix found in local fuzzing: + # https://github.com/abseil/abseil-cpp/commit/e7858c73279d81cbc005d9c76a385ab535520635 + maybe( + http_archive, + name = "com_google_absl", + sha256 = "733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc", + strip_prefix = "abseil-cpp-20240116.2", + urls = ["https://github.com/abseil/abseil-cpp/archive/20240116.2.tar.gz"], + ) maybe( http_archive, From 330c459d0b1c721efd00a425cd4a2fb0b2c723fb Mon Sep 17 00:00:00 2001 From: martijneken Date: Thu, 1 Aug 2024 12:19:18 -0400 Subject: [PATCH 61/90] fix: Update cargo-raze -> crate_universe (#399) - Updated platforms for crate_universe compatibility - Supports upgrade to wasmsign2 - Includes workaround for Windows path length issue Signed-off-by: Martijn Stevenson --- .github/workflows/format.yml | 22 +- bazel/cargo/wasmsign/BUILD.bazel | 63 +- .../{Cargo.raze.lock => Cargo.Bazel.lock} | 75 +- bazel/cargo/wasmsign/Cargo.toml | 12 +- bazel/cargo/wasmsign/crates.bzl | 291 --- .../remote/BUILD.ansi_term-0.12.1.bazel | 88 +- .../wasmsign/remote/BUILD.anyhow-1.0.53.bazel | 116 -- .../wasmsign/remote/BUILD.anyhow-1.0.86.bazel | 89 + .../wasmsign/remote/BUILD.atty-0.2.14.bazel | 168 +- bazel/cargo/wasmsign/remote/BUILD.bazel | 39 + .../remote/BUILD.bitflags-1.3.2.bazel | 67 +- .../remote/BUILD.byteorder-1.4.3.bazel | 58 - .../remote/BUILD.byteorder-1.5.0.bazel | 45 + .../wasmsign/remote/BUILD.cfg-if-1.0.0.bazel | 67 +- .../wasmsign/remote/BUILD.clap-2.34.0.bazel | 182 +- .../remote/BUILD.ct-codecs-1.1.1.bazel | 45 + .../remote/BUILD.ed25519-compact-1.0.16.bazel | 54 + .../remote/BUILD.ed25519-compact-1.0.8.bazel | 59 - .../remote/BUILD.getrandom-0.2.15.bazel | 112 ++ .../remote/BUILD.getrandom-0.2.4.bazel | 96 - .../remote/BUILD.hermit-abi-0.1.19.bazel | 66 +- .../remote/BUILD.hmac-sha512-1.1.1.bazel | 56 - .../remote/BUILD.hmac-sha512-1.1.5.bazel | 45 + .../wasmsign/remote/BUILD.libc-0.2.114.bazel | 86 - .../wasmsign/remote/BUILD.libc-0.2.155.bazel | 81 + .../remote/BUILD.parity-wasm-0.42.2.bazel | 79 +- .../remote/BUILD.proc-macro2-1.0.36.bazel | 99 - .../remote/BUILD.proc-macro2-1.0.86.bazel | 90 + .../wasmsign/remote/BUILD.quote-1.0.15.bazel | 61 - .../wasmsign/remote/BUILD.quote-1.0.36.bazel | 48 + .../wasmsign/remote/BUILD.strsim-0.8.0.bazel | 69 +- .../wasmsign/remote/BUILD.syn-1.0.86.bazel | 159 -- .../wasmsign/remote/BUILD.syn-2.0.72.bazel | 54 + .../remote/BUILD.textwrap-0.11.0.bazel | 73 +- .../remote/BUILD.thiserror-1.0.30.bazel | 81 - .../remote/BUILD.thiserror-1.0.63.bazel | 84 + .../remote/BUILD.thiserror-impl-1.0.30.bazel | 57 - .../remote/BUILD.thiserror-impl-1.0.63.bazel | 46 + .../remote/BUILD.unicode-ident-1.0.12.bazel | 41 + .../remote/BUILD.unicode-width-0.1.13.bazel | 44 + .../remote/BUILD.unicode-width-0.1.9.bazel | 55 - .../remote/BUILD.unicode-xid-0.2.2.bazel | 59 - .../wasmsign/remote/BUILD.vec_map-0.8.2.bazel | 65 +- ...D.wasi-0.10.2+wasi-snapshot-preview1.bazel | 56 - ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 41 + .../remote/BUILD.wasmsign-0.1.2.bazel | 121 +- .../wasmsign/remote/BUILD.winapi-0.3.9.bazel | 111 +- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 115 +- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 115 +- bazel/cargo/wasmsign/remote/crates.bzl | 25 + bazel/cargo/wasmsign/remote/defs.bzl | 663 +++++++ bazel/cargo/wasmtime/BUILD.bazel | 91 +- .../{Cargo.raze.lock => Cargo.Bazel.lock} | 517 ++--- bazel/cargo/wasmtime/Cargo.toml | 27 - bazel/cargo/wasmtime/bumpalo.patch | 9 - bazel/cargo/wasmtime/cranelift-isle.patch | 9 - bazel/cargo/wasmtime/crates.bzl | 1183 ------------ .../remote/BUILD.addr2line-0.19.0.bazel | 73 +- .../wasmtime/remote/BUILD.ahash-0.8.11.bazel | 181 ++ .../wasmtime/remote/BUILD.ahash-0.8.3.bazel | 151 -- .../remote/BUILD.aho-corasick-1.0.1.bazel | 58 - .../remote/BUILD.aho-corasick-1.1.3.bazel | 48 + .../wasmtime/remote/BUILD.anyhow-1.0.71.bazel | 116 -- .../wasmtime/remote/BUILD.anyhow-1.0.86.bazel | 89 + .../remote/BUILD.arbitrary-1.3.0.bazel | 62 - .../remote/BUILD.arbitrary-1.3.2.bazel | 41 + .../wasmtime/remote/BUILD.autocfg-1.1.0.bazel | 64 - .../wasmtime/remote/BUILD.autocfg-1.3.0.bazel | 41 + bazel/cargo/wasmtime/remote/BUILD.bazel | 56 + .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 67 +- .../remote/BUILD.bitflags-1.3.2.bazel | 67 +- .../remote/BUILD.bitflags-2.3.1.bazel | 66 - .../remote/BUILD.bitflags-2.6.0.bazel | 44 + .../remote/BUILD.bumpalo-3.13.0.bazel | 59 - .../remote/BUILD.bumpalo-3.16.0.bazel | 44 + .../remote/BUILD.byteorder-1.4.3.bazel | 58 - .../remote/BUILD.byteorder-1.5.0.bazel | 45 + .../wasmtime/remote/BUILD.cc-1.0.79.bazel | 87 - .../wasmtime/remote/BUILD.cc-1.1.6.bazel | 41 + .../wasmtime/remote/BUILD.cfg-if-1.0.0.bazel | 67 +- .../remote/BUILD.cpp_demangle-0.3.5.bazel | 142 +- .../BUILD.cranelift-bforest-0.96.3.bazel | 55 - .../BUILD.cranelift-bforest-0.96.4.bazel | 44 + .../BUILD.cranelift-codegen-0.96.3.bazel | 109 -- .../BUILD.cranelift-codegen-0.96.4.bazel | 108 ++ .../BUILD.cranelift-codegen-meta-0.96.3.bazel | 55 - .../BUILD.cranelift-codegen-meta-0.96.4.bazel | 44 + ...UILD.cranelift-codegen-shared-0.96.3.bazel | 54 - ...UILD.cranelift-codegen-shared-0.96.4.bazel | 41 + .../BUILD.cranelift-control-0.96.3.bazel | 55 - .../BUILD.cranelift-control-0.96.4.bazel | 44 + .../BUILD.cranelift-entity-0.96.3.bazel | 57 - .../BUILD.cranelift-entity-0.96.4.bazel | 48 + .../BUILD.cranelift-frontend-0.96.3.bazel | 60 - .../BUILD.cranelift-frontend-0.96.4.bazel | 51 + .../remote/BUILD.cranelift-isle-0.96.3.bazel | 88 - .../remote/BUILD.cranelift-isle-0.96.4.bazel | 87 + .../BUILD.cranelift-native-0.96.3.bazel | 68 - .../BUILD.cranelift-native-0.96.4.bazel | 57 + .../remote/BUILD.cranelift-wasm-0.96.3.bazel | 66 - .../remote/BUILD.cranelift-wasm-0.96.4.bazel | 55 + .../remote/BUILD.crc32fast-1.3.2.bazel | 89 - .../remote/BUILD.crc32fast-1.4.2.bazel | 47 + .../wasmtime/remote/BUILD.debugid-0.8.0.bazel | 71 +- .../wasmtime/remote/BUILD.either-1.13.0.bazel | 44 + .../wasmtime/remote/BUILD.either-1.8.1.bazel | 55 - .../remote/BUILD.env_logger-0.10.0.bazel | 88 - .../remote/BUILD.env_logger-0.10.2.bazel | 55 + .../wasmtime/remote/BUILD.errno-0.3.1.bazel | 88 - .../wasmtime/remote/BUILD.errno-0.3.9.bazel | 122 ++ .../remote/BUILD.errno-dragonfly-0.1.2.bazel | 86 - .../BUILD.fallible-iterator-0.2.0.bazel | 63 +- .../remote/BUILD.form_urlencoded-1.1.0.bazel | 55 - .../remote/BUILD.form_urlencoded-1.2.1.bazel | 49 + .../wasmtime/remote/BUILD.fxhash-0.2.1.bazel | 67 +- ...BUILD.fxprof-processed-profile-0.6.0.bazel | 75 +- .../remote/BUILD.getrandom-0.2.15.bazel | 115 ++ .../remote/BUILD.getrandom-0.2.9.bazel | 97 - .../wasmtime/remote/BUILD.gimli-0.27.2.bazel | 78 - .../wasmtime/remote/BUILD.gimli-0.27.3.bazel | 55 + .../remote/BUILD.hashbrown-0.12.3.bazel | 75 +- .../remote/BUILD.hashbrown-0.13.2.bazel | 79 +- .../remote/BUILD.hermit-abi-0.3.1.bazel | 55 - .../remote/BUILD.hermit-abi-0.3.9.bazel | 41 + .../remote/BUILD.humantime-2.1.0.bazel | 69 +- .../wasmtime/remote/BUILD.idna-0.3.0.bazel | 62 - .../wasmtime/remote/BUILD.idna-0.5.0.bazel | 50 + .../remote/BUILD.indexmap-1.9.3.bazel | 125 +- .../remote/BUILD.io-lifetimes-1.0.11.bazel | 271 +-- .../remote/BUILD.is-terminal-0.4.12.bazel | 119 ++ .../remote/BUILD.is-terminal-0.4.7.bazel | 90 - .../remote/BUILD.itertools-0.10.5.bazel | 103 +- .../wasmtime/remote/BUILD.itoa-1.0.11.bazel | 41 + .../wasmtime/remote/BUILD.itoa-1.0.6.bazel | 58 - .../wasmtime/remote/BUILD.libc-0.2.144.bazel | 92 - .../wasmtime/remote/BUILD.libc-0.2.155.bazel | 91 + .../remote/BUILD.linux-raw-sys-0.3.8.bazel | 63 +- .../remote/BUILD.linux-raw-sys-0.4.14.bazel | 48 + .../wasmtime/remote/BUILD.log-0.4.18.bazel | 92 - .../wasmtime/remote/BUILD.log-0.4.22.bazel | 44 + .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 94 +- .../wasmtime/remote/BUILD.memchr-2.5.0.bazel | 88 - .../wasmtime/remote/BUILD.memchr-2.7.4.bazel | 45 + .../wasmtime/remote/BUILD.memfd-0.6.3.bazel | 61 - .../wasmtime/remote/BUILD.memfd-0.6.4.bazel | 44 + .../remote/BUILD.memoffset-0.8.0.bazel | 111 +- .../wasmtime/remote/BUILD.object-0.30.3.bazel | 74 - .../wasmtime/remote/BUILD.object-0.30.4.bazel | 61 + .../remote/BUILD.once_cell-1.17.2.bazel | 75 - .../remote/BUILD.once_cell-1.19.0.bazel | 47 + .../wasmtime/remote/BUILD.paste-1.0.12.bazel | 94 - .../wasmtime/remote/BUILD.paste-1.0.15.bazel | 81 + .../remote/BUILD.percent-encoding-2.2.0.bazel | 56 - .../remote/BUILD.percent-encoding-2.3.1.bazel | 46 + .../remote/BUILD.ppv-lite86-0.2.17.bazel | 63 +- .../remote/BUILD.proc-macro2-1.0.59.bazel | 101 - .../remote/BUILD.proc-macro2-1.0.86.bazel | 90 + .../wasmtime/remote/BUILD.psm-0.1.21.bazel | 129 +- .../wasmtime/remote/BUILD.quote-1.0.28.bazel | 93 - .../wasmtime/remote/BUILD.quote-1.0.36.bazel | 48 + .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 151 +- .../remote/BUILD.rand_chacha-0.3.1.bazel | 65 +- .../remote/BUILD.rand_core-0.6.4.bazel | 63 +- .../remote/BUILD.regalloc2-0.8.1.bazel | 71 +- .../wasmtime/remote/BUILD.regex-1.10.5.bazel | 57 + .../wasmtime/remote/BUILD.regex-1.8.3.bazel | 95 - .../remote/BUILD.regex-automata-0.4.7.bazel | 61 + .../remote/BUILD.regex-syntax-0.7.2.bazel | 56 - .../remote/BUILD.regex-syntax-0.8.4.bazel | 44 + .../remote/BUILD.rustc-demangle-0.1.23.bazel | 54 - .../remote/BUILD.rustc-demangle-0.1.24.bazel | 41 + .../remote/BUILD.rustc-hash-1.1.0.bazel | 65 +- .../remote/BUILD.rustix-0.37.19.bazel | 232 --- .../remote/BUILD.rustix-0.37.27.bazel | 312 +++ .../remote/BUILD.rustix-0.38.34.bazel | 326 ++++ .../wasmtime/remote/BUILD.ryu-1.0.13.bazel | 72 - .../wasmtime/remote/BUILD.ryu-1.0.18.bazel | 41 + .../wasmtime/remote/BUILD.serde-1.0.163.bazel | 95 - .../wasmtime/remote/BUILD.serde-1.0.204.bazel | 96 + .../remote/BUILD.serde_derive-1.0.163.bazel | 58 - .../remote/BUILD.serde_derive-1.0.204.bazel | 49 + .../remote/BUILD.serde_json-1.0.120.bazel | 92 + .../remote/BUILD.serde_json-1.0.96.bazel | 105 -- .../remote/BUILD.slice-group-by-0.3.1.bazel | 65 +- .../remote/BUILD.smallvec-1.10.0.bazel | 61 - .../remote/BUILD.smallvec-1.13.2.bazel | 44 + .../BUILD.stable_deref_trait-1.2.0.bazel | 63 +- .../wasmtime/remote/BUILD.syn-2.0.18.bazel | 122 -- .../wasmtime/remote/BUILD.syn-2.0.72.bazel | 54 + .../remote/BUILD.target-lexicon-0.12.15.bazel | 87 + .../remote/BUILD.target-lexicon-0.12.7.bazel | 90 - .../remote/BUILD.termcolor-1.2.0.bazel | 65 - .../remote/BUILD.termcolor-1.4.1.bazel | 53 + .../remote/BUILD.thiserror-1.0.40.bazel | 113 -- .../remote/BUILD.thiserror-1.0.63.bazel | 84 + .../remote/BUILD.thiserror-impl-1.0.40.bazel | 57 - .../remote/BUILD.thiserror-impl-1.0.63.bazel | 46 + .../wasmtime/remote/BUILD.tinyvec-1.6.0.bazel | 66 - .../wasmtime/remote/BUILD.tinyvec-1.8.0.bazel | 49 + .../remote/BUILD.tinyvec_macros-0.1.1.bazel | 65 +- .../remote/BUILD.unicode-bidi-0.3.13.bazel | 59 - .../remote/BUILD.unicode-bidi-0.3.15.bazel | 45 + .../remote/BUILD.unicode-ident-1.0.12.bazel | 41 + .../remote/BUILD.unicode-ident-1.0.9.bazel | 60 - .../BUILD.unicode-normalization-0.1.22.bazel | 59 - .../BUILD.unicode-normalization-0.1.23.bazel | 47 + .../wasmtime/remote/BUILD.url-2.3.1.bazel | 66 - .../wasmtime/remote/BUILD.url-2.5.2.bazel | 49 + .../wasmtime/remote/BUILD.uuid-1.10.0.bazel | 45 + .../wasmtime/remote/BUILD.uuid-1.3.3.bazel | 72 - .../remote/BUILD.version_check-0.9.4.bazel | 54 - .../remote/BUILD.version_check-0.9.5.bazel | 41 + ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 65 +- .../remote/BUILD.wasmparser-0.103.0.bazel | 73 +- .../remote/BUILD.wasmtime-9.0.3.bazel | 128 -- .../remote/BUILD.wasmtime-9.0.4.bazel | 120 ++ .../BUILD.wasmtime-asm-macros-9.0.3.bazel | 55 - .../BUILD.wasmtime-asm-macros-9.0.4.bazel | 44 + .../BUILD.wasmtime-c-api-macros-0.0.0.bazel | 67 +- .../BUILD.wasmtime-cranelift-9.0.3.bazel | 69 - .../BUILD.wasmtime-cranelift-9.0.4.bazel | 58 + ...UILD.wasmtime-cranelift-shared-9.0.3.bazel | 62 - ...UILD.wasmtime-cranelift-shared-9.0.4.bazel | 51 + .../remote/BUILD.wasmtime-environ-9.0.3.bazel | 67 - .../remote/BUILD.wasmtime-environ-9.0.4.bazel | 54 + .../remote/BUILD.wasmtime-jit-9.0.3.bazel | 79 - .../remote/BUILD.wasmtime-jit-9.0.4.bazel | 68 + .../BUILD.wasmtime-jit-debug-9.0.3.bazel | 57 - .../BUILD.wasmtime-jit-debug-9.0.4.bazel | 48 + ....wasmtime-jit-icache-coherence-9.0.3.bazel | 87 - ....wasmtime-jit-icache-coherence-9.0.4.bazel | 103 + .../remote/BUILD.wasmtime-runtime-9.0.3.bazel | 183 -- .../remote/BUILD.wasmtime-runtime-9.0.4.bazel | 175 ++ .../remote/BUILD.wasmtime-types-9.0.3.bazel | 58 - .../remote/BUILD.wasmtime-types-9.0.4.bazel | 47 + .../wasmtime/remote/BUILD.winapi-0.3.9.bazel | 104 - ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 84 - .../remote/BUILD.winapi-util-0.1.5.bazel | 65 - .../remote/BUILD.winapi-util-0.1.8.bazel | 53 + ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 84 - .../remote/BUILD.windows-sys-0.48.0.bazel | 64 +- .../remote/BUILD.windows-sys-0.52.0.bazel | 61 + .../remote/BUILD.windows-targets-0.48.0.bazel | 81 - .../remote/BUILD.windows-targets-0.48.5.bazel | 59 + .../remote/BUILD.windows-targets-0.52.6.bazel | 59 + ...BUILD.windows_aarch64_gnullvm-0.48.0.bazel | 84 - ...BUILD.windows_aarch64_gnullvm-0.48.5.bazel | 81 + ...BUILD.windows_aarch64_gnullvm-0.52.6.bazel | 81 + .../BUILD.windows_aarch64_msvc-0.48.0.bazel | 84 - .../BUILD.windows_aarch64_msvc-0.48.5.bazel | 81 + .../BUILD.windows_aarch64_msvc-0.52.6.bazel | 81 + .../BUILD.windows_i686_gnu-0.48.0.bazel | 84 - .../BUILD.windows_i686_gnu-0.48.5.bazel | 81 + .../BUILD.windows_i686_gnu-0.52.6.bazel | 81 + .../BUILD.windows_i686_gnullvm-0.52.6.bazel | 81 + .../BUILD.windows_i686_msvc-0.48.0.bazel | 84 - .../BUILD.windows_i686_msvc-0.48.5.bazel | 81 + .../BUILD.windows_i686_msvc-0.52.6.bazel | 81 + .../BUILD.windows_x86_64_gnu-0.48.0.bazel | 84 - .../BUILD.windows_x86_64_gnu-0.48.5.bazel | 81 + .../BUILD.windows_x86_64_gnu-0.52.6.bazel | 81 + .../BUILD.windows_x86_64_gnullvm-0.48.0.bazel | 84 - .../BUILD.windows_x86_64_gnullvm-0.48.5.bazel | 81 + .../BUILD.windows_x86_64_gnullvm-0.52.6.bazel | 81 + .../BUILD.windows_x86_64_msvc-0.48.0.bazel | 84 - .../BUILD.windows_x86_64_msvc-0.48.5.bazel | 81 + .../BUILD.windows_x86_64_msvc-0.52.6.bazel | 81 + .../remote/BUILD.zerocopy-0.7.35.bazel | 44 + .../remote/BUILD.zerocopy-derive-0.7.35.bazel | 46 + bazel/cargo/wasmtime/remote/crates.bzl | 25 + bazel/cargo/wasmtime/remote/defs.bzl | 1671 +++++++++++++++++ bazel/dependencies.bzl | 16 +- bazel/external/wasmtime.BUILD | 10 +- bazel/repositories.bzl | 11 + bazel/wasm.bzl | 2 +- 275 files changed, 12326 insertions(+), 11967 deletions(-) rename bazel/cargo/wasmsign/{Cargo.raze.lock => Cargo.Bazel.lock} (74%) delete mode 100644 bazel/cargo/wasmsign/crates.bzl delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.53.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.byteorder-1.4.3.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.8.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.4.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.libc-0.2.114.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.36.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.quote-1.0.15.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.syn-1.0.86.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.30.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.30.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.9.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.unicode-xid-0.2.2.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel create mode 100644 bazel/cargo/wasmsign/remote/crates.bzl create mode 100644 bazel/cargo/wasmsign/remote/defs.bzl rename bazel/cargo/wasmtime/{Cargo.raze.lock => Cargo.Bazel.lock} (62%) delete mode 100644 bazel/cargo/wasmtime/bumpalo.patch delete mode 100644 bazel/cargo/wasmtime/cranelift-isle.patch delete mode 100644 bazel/cargo/wasmtime/crates.bzl create mode 100644 bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.3.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.0.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.71.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.autocfg-1.1.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.13.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cc-1.0.79.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.either-1.8.1.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.errno-0.3.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.9.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.7.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.libc-0.2.144.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.log-0.4.18.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.memchr-2.5.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.object-0.30.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.paste-1.0.12.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.59.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.quote-1.0.28.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.regex-1.8.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.7.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.23.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.19.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde-1.0.163.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.syn-2.0.18.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.7.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.termcolor-1.2.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.40.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.13.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.9.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.3.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel create mode 100644 bazel/cargo/wasmtime/remote/crates.bzl create mode 100644 bazel/cargo/wasmtime/remote/defs.bzl diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 0d7003e95..de71b24cc 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -56,7 +56,7 @@ jobs: echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" - name: Format (addlicense) - run: addlicense -check . + run: addlicense -ignore "bazel/cargo/*/remote/**" -check . buildifier: name: check format with buildifier @@ -78,29 +78,23 @@ jobs: - name: Format (buildifier) run: find . -name "WORKSPACE" -o -name "*BUILD*" -o -name "*.bzl" | xargs -n1 buildifier -mode=check - cargo_raze: - name: check format with cargo-raze + rules_rust: + name: check format with rules_rust runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install dependencies - run: cargo install cargo-raze --version 0.14.1 - - name: Format (bazel query) run: | bazel query 'deps(//bazel/cargo/...)' - - name: Format (cargo raze) - working-directory: bazel/cargo + - name: Format (rules_rust) run: | - cd wasmsign && cargo raze && cd .. - cd wasmtime && cargo raze && cd .. - # Ignore manual changes in "errno" and "rustix" crates until fixed in cargo-raze. - # See: https://github.com/google/cargo-raze/issues/451 - git diff --exit-code -- ':!wasmtime/remote/BUILD.errno-0.*.bazel' ':!wasmtime/remote/BUILD.rustix-0.*.bazel' + bazel run //bazel/cargo/wasmsign:crates_vendor + bazel run //bazel/cargo/wasmtime:crates_vendor + git diff --exit-code clang_format: name: check format with clang-format @@ -134,7 +128,7 @@ jobs: with: path: | ~/.cache/bazel - key: clang_tidy-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'bazel/dependencies.bzl', 'bazel/repositories.bzl', 'bazel/cargo/wasmsign/crates.bzl') }} + key: clang_tidy-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'bazel/dependencies.bzl', 'bazel/repositories.bzl', 'bazel/cargo/wasmsign/remote/crates.bzl') }} - name: Bazel build run: > diff --git a/bazel/cargo/wasmsign/BUILD.bazel b/bazel/cargo/wasmsign/BUILD.bazel index 86c76b90b..ceb559374 100644 --- a/bazel/cargo/wasmsign/BUILD.bazel +++ b/bazel/cargo/wasmsign/BUILD.bazel @@ -1,39 +1,36 @@ -""" -@generated -cargo-raze generated Bazel file. +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//crate_universe:defs.bzl", "crates_vendor") -package(default_visibility = ["//visibility:public"]) - -licenses([ - "notice", # See individual crates for specific licenses -]) - -# Aliased targets -alias( - name = "cargo_bin_wasmsign", - actual = "@wasmsign__wasmsign__0_1_2//:cargo_bin_wasmsign", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "wasmsign", - actual = "@wasmsign__wasmsign__0_1_2//:wasmsign", - tags = [ - "cargo-raze", - "manual", - ], -) - -# Export file for Stardoc support exports_files( [ - "crates.bzl", + "Cargo.toml", + "Cargo.Bazel.lock", ], - visibility = ["//visibility:public"], +) + +# Run this target to regenerate cargo_lockfile and vendor_path/*. +# $ bazelisk run bazel/cargo/wasmsign:crates_vendor -- --repin +crates_vendor( + name = "crates_vendor", + cargo_lockfile = ":Cargo.Bazel.lock", + generate_binaries = True, + generate_target_compatible_with = False, + manifests = [":Cargo.toml"], + mode = "remote", + repository_name = "cu", # shorten generated paths for Windows... + tags = ["manual"], + vendor_path = "remote", ) diff --git a/bazel/cargo/wasmsign/Cargo.raze.lock b/bazel/cargo/wasmsign/Cargo.Bazel.lock similarity index 74% rename from bazel/cargo/wasmsign/Cargo.raze.lock rename to bazel/cargo/wasmsign/Cargo.Bazel.lock index 83bc73988..b9a45d0b5 100644 --- a/bazel/cargo/wasmsign/Cargo.raze.lock +++ b/bazel/cargo/wasmsign/Cargo.Bazel.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "ansi_term" version = "0.12.1" @@ -11,9 +13,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.53" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94a45b455c14666b85fc40a019e8ab9eb75e3a124e05494f5397122bc9eb06e0" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "atty" @@ -34,9 +36,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cfg-if" @@ -59,20 +61,27 @@ dependencies = [ "vec_map", ] +[[package]] +name = "ct-codecs" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3b7eb4404b8195a9abb6356f4ac07d8ba267045c8d6d220ac4dc992e6cc75df" + [[package]] name = "ed25519-compact" -version = "1.0.8" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302ea73924517e9952bf08b505536f757e28dca8372cbf8b20723a0e2bab6c01" +checksum = "e18997d4604542d0736fae2c5ad6de987f0a50530cbcc14a7ce5a685328a252d" dependencies = [ + "ct-codecs", "getrandom", ] [[package]] name = "getrandom" -version = "0.2.4" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -90,15 +99,15 @@ dependencies = [ [[package]] name = "hmac-sha512" -version = "1.1.1" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b2ce076d8070f292037093a825343f6341fe0ce873268c2477e2f49abd57b10" +checksum = "e4ce1f4656bae589a3fab938f9f09bf58645b7ed01a2c5f8a3c238e01a4ef78a" [[package]] name = "libc" -version = "0.2.114" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0005d08a8f7b65fb8073cb697aa0b12b631ed251ce73d862ce50eeb52ce3b50" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "parity-wasm" @@ -108,18 +117,18 @@ checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" [[package]] name = "proc-macro2" -version = "1.0.36" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] name = "quote" -version = "1.0.15" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -132,13 +141,13 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] name = "syn" -version = "1.0.86" +version = "2.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b" +checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", ] [[package]] @@ -152,18 +161,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.30" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.30" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", @@ -171,16 +180,16 @@ dependencies = [ ] [[package]] -name = "unicode-width" -version = "0.1.9" +name = "unicode-ident" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] -name = "unicode-xid" -version = "0.2.2" +name = "unicode-width" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "vec_map" @@ -190,14 +199,14 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" +version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasmsign" version = "0.1.2" -source = "git+https://github.com/jedisct1/wasmsign#dfbc0aabe81885d59e88e667aa9c1e6a62dfe9cc" +source = "git+https://github.com/jedisct1/wasmsign#6a6ef1c6f99063a5bd4ef9efc2ee41c5ea8f4f96" dependencies = [ "anyhow", "byteorder", diff --git a/bazel/cargo/wasmsign/Cargo.toml b/bazel/cargo/wasmsign/Cargo.toml index 0beaa0880..815f8b03a 100644 --- a/bazel/cargo/wasmsign/Cargo.toml +++ b/bazel/cargo/wasmsign/Cargo.toml @@ -9,12 +9,6 @@ path = "fake_lib.rs" [dependencies] wasmsign = {git = "https://github.com/jedisct1/wasmsign", revision = "fa4d5598f778390df09be94232972b5b865a56b8"} -[package.metadata.raze] -rust_rules_workspace_name = "rules_rust" -gen_workspace_prefix = "wasmsign" -genmode = "Remote" -package_aliases_dir = "." -workspace_path = "//bazel/cargo/wasmsign" - -[package.metadata.raze.crates.wasmsign.'*'] -extra_aliased_targets = ["cargo_bin_wasmsign"] +# Ready to upgrade to wasmsign2: +# Which generates: //bazel/cargo/wasmsign/remote:wasmsign2-cli__wasmsign2 +#wasmsign2-cli = {git = "https://github.com/wasm-signatures/wasmsign2", revision = "07c60eee7f4c655d5a91404f5a9ffd97316d01f1"} diff --git a/bazel/cargo/wasmsign/crates.bzl b/bazel/cargo/wasmsign/crates.bzl deleted file mode 100644 index e23b594e0..000000000 --- a/bazel/cargo/wasmsign/crates.bzl +++ /dev/null @@ -1,291 +0,0 @@ -""" -@generated -cargo-raze generated Bazel file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load -load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load - -def wasmsign_fetch_remote_crates(): - """This function defines a collection of repos and should be called in a WORKSPACE file""" - maybe( - http_archive, - name = "wasmsign__ansi_term__0_12_1", - url = "https://crates.io/api/v1/crates/ansi_term/0.12.1/download", - type = "tar.gz", - sha256 = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2", - strip_prefix = "ansi_term-0.12.1", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.ansi_term-0.12.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__anyhow__1_0_53", - url = "https://crates.io/api/v1/crates/anyhow/1.0.53/download", - type = "tar.gz", - sha256 = "94a45b455c14666b85fc40a019e8ab9eb75e3a124e05494f5397122bc9eb06e0", - strip_prefix = "anyhow-1.0.53", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.anyhow-1.0.53.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__atty__0_2_14", - url = "https://crates.io/api/v1/crates/atty/0.2.14/download", - type = "tar.gz", - sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", - strip_prefix = "atty-0.2.14", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.atty-0.2.14.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__bitflags__1_3_2", - url = "https://crates.io/api/v1/crates/bitflags/1.3.2/download", - type = "tar.gz", - sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a", - strip_prefix = "bitflags-1.3.2", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.bitflags-1.3.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__byteorder__1_4_3", - url = "https://crates.io/api/v1/crates/byteorder/1.4.3/download", - type = "tar.gz", - sha256 = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610", - strip_prefix = "byteorder-1.4.3", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.byteorder-1.4.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__cfg_if__1_0_0", - url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download", - type = "tar.gz", - sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd", - strip_prefix = "cfg-if-1.0.0", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.cfg-if-1.0.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__clap__2_34_0", - url = "https://crates.io/api/v1/crates/clap/2.34.0/download", - type = "tar.gz", - sha256 = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c", - strip_prefix = "clap-2.34.0", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.clap-2.34.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__ed25519_compact__1_0_8", - url = "https://crates.io/api/v1/crates/ed25519-compact/1.0.8/download", - type = "tar.gz", - sha256 = "302ea73924517e9952bf08b505536f757e28dca8372cbf8b20723a0e2bab6c01", - strip_prefix = "ed25519-compact-1.0.8", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.ed25519-compact-1.0.8.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__getrandom__0_2_4", - url = "https://crates.io/api/v1/crates/getrandom/0.2.4/download", - type = "tar.gz", - sha256 = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c", - strip_prefix = "getrandom-0.2.4", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.getrandom-0.2.4.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__hermit_abi__0_1_19", - url = "https://crates.io/api/v1/crates/hermit-abi/0.1.19/download", - type = "tar.gz", - sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33", - strip_prefix = "hermit-abi-0.1.19", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.hermit-abi-0.1.19.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__hmac_sha512__1_1_1", - url = "https://crates.io/api/v1/crates/hmac-sha512/1.1.1/download", - type = "tar.gz", - sha256 = "6b2ce076d8070f292037093a825343f6341fe0ce873268c2477e2f49abd57b10", - strip_prefix = "hmac-sha512-1.1.1", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.hmac-sha512-1.1.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__libc__0_2_114", - url = "https://crates.io/api/v1/crates/libc/0.2.114/download", - type = "tar.gz", - sha256 = "b0005d08a8f7b65fb8073cb697aa0b12b631ed251ce73d862ce50eeb52ce3b50", - strip_prefix = "libc-0.2.114", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.libc-0.2.114.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__parity_wasm__0_42_2", - url = "https://crates.io/api/v1/crates/parity-wasm/0.42.2/download", - type = "tar.gz", - sha256 = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92", - strip_prefix = "parity-wasm-0.42.2", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.parity-wasm-0.42.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__proc_macro2__1_0_36", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.36/download", - type = "tar.gz", - sha256 = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029", - strip_prefix = "proc-macro2-1.0.36", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.proc-macro2-1.0.36.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__quote__1_0_15", - url = "https://crates.io/api/v1/crates/quote/1.0.15/download", - type = "tar.gz", - sha256 = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145", - strip_prefix = "quote-1.0.15", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.quote-1.0.15.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__strsim__0_8_0", - url = "https://crates.io/api/v1/crates/strsim/0.8.0/download", - type = "tar.gz", - sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a", - strip_prefix = "strsim-0.8.0", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.strsim-0.8.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__syn__1_0_86", - url = "https://crates.io/api/v1/crates/syn/1.0.86/download", - type = "tar.gz", - sha256 = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b", - strip_prefix = "syn-1.0.86", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.syn-1.0.86.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__textwrap__0_11_0", - url = "https://crates.io/api/v1/crates/textwrap/0.11.0/download", - type = "tar.gz", - sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060", - strip_prefix = "textwrap-0.11.0", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.textwrap-0.11.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__thiserror__1_0_30", - url = "https://crates.io/api/v1/crates/thiserror/1.0.30/download", - type = "tar.gz", - sha256 = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417", - strip_prefix = "thiserror-1.0.30", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.thiserror-1.0.30.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__thiserror_impl__1_0_30", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.30/download", - type = "tar.gz", - sha256 = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b", - strip_prefix = "thiserror-impl-1.0.30", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.thiserror-impl-1.0.30.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__unicode_width__0_1_9", - url = "https://crates.io/api/v1/crates/unicode-width/0.1.9/download", - type = "tar.gz", - sha256 = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973", - strip_prefix = "unicode-width-0.1.9", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.unicode-width-0.1.9.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__unicode_xid__0_2_2", - url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download", - type = "tar.gz", - sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3", - strip_prefix = "unicode-xid-0.2.2", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.unicode-xid-0.2.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__vec_map__0_8_2", - url = "https://crates.io/api/v1/crates/vec_map/0.8.2/download", - type = "tar.gz", - sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191", - strip_prefix = "vec_map-0.8.2", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.vec_map-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__wasi__0_10_2_wasi_snapshot_preview1", - url = "https://crates.io/api/v1/crates/wasi/0.10.2+wasi-snapshot-preview1/download", - type = "tar.gz", - sha256 = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6", - strip_prefix = "wasi-0.10.2+wasi-snapshot-preview1", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"), - ) - - maybe( - new_git_repository, - name = "wasmsign__wasmsign__0_1_2", - remote = "https://github.com/jedisct1/wasmsign", - commit = "dfbc0aabe81885d59e88e667aa9c1e6a62dfe9cc", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.wasmsign-0.1.2.bazel"), - init_submodules = True, - ) - - maybe( - http_archive, - name = "wasmsign__winapi__0_3_9", - url = "https://crates.io/api/v1/crates/winapi/0.3.9/download", - type = "tar.gz", - sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", - strip_prefix = "winapi-0.3.9", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.winapi-0.3.9.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__winapi_i686_pc_windows_gnu__0_4_0", - url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download", - type = "tar.gz", - sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", - strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmsign__winapi_x86_64_pc_windows_gnu__0_4_0", - url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download", - type = "tar.gz", - sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", - strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", - build_file = Label("//bazel/cargo/wasmsign/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), - ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel index b1e6ca34f..76b237351 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel @@ -1,70 +1,52 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "256_colours" with type "example" omitted - -# Unsupported target "basic_colours" with type "example" omitted - -# Unsupported target "rgb_colours" with type "example" omitted +# licenses([ +# "TODO", # MIT +# ]) rust_library( name = "ansi_term", srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=ansi_term", "manual", + "noclippy", + "norustfmt", ], version = "0.12.1", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(target_os = "windows") - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmsign__winapi__0_3_9//:winapi", + deps = select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__winapi-0.3.9//:winapi", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__winapi-0.3.9//:winapi", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__winapi-0.3.9//:winapi", # cfg(target_os = "windows") ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.53.bazel b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.53.bazel deleted file mode 100644 index 0d6557ced..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.53.bazel +++ /dev/null @@ -1,116 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "anyhow_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.53", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "anyhow", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=anyhow", - "manual", - ], - version = "1.0.53", - # buildifier: leave-alone - deps = [ - ":anyhow_build_script", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_autotrait" with type "test" omitted - -# Unsupported target "test_backtrace" with type "test" omitted - -# Unsupported target "test_boxed" with type "test" omitted - -# Unsupported target "test_chain" with type "test" omitted - -# Unsupported target "test_context" with type "test" omitted - -# Unsupported target "test_convert" with type "test" omitted - -# Unsupported target "test_downcast" with type "test" omitted - -# Unsupported target "test_ensure" with type "test" omitted - -# Unsupported target "test_ffi" with type "test" omitted - -# Unsupported target "test_fmt" with type "test" omitted - -# Unsupported target "test_macros" with type "test" omitted - -# Unsupported target "test_repr" with type "test" omitted - -# Unsupported target "test_source" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel new file mode 100644 index 000000000..ac05f26e9 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel @@ -0,0 +1,89 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "anyhow", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=anyhow", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + deps = [ + "@cu__anyhow-1.0.86//:build_script_build", + ], +) + +cargo_build_script( + name = "anyhow_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=anyhow", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "anyhow_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel index 9f3121cc3..042620fd9 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel @@ -1,89 +1,115 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "atty" with type "example" omitted +# licenses([ +# "TODO", # MIT +# ]) rust_library( name = "atty", srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=atty", "manual", + "noclippy", + "norustfmt", ], version = "0.2.14", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(unix) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmsign__libc__0_2_114//:libc", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmsign__winapi__0_3_9//:winapi", + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__winapi-0.3.9//:winapi", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__winapi-0.3.9//:winapi", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__winapi-0.3.9//:winapi", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmsign/remote/BUILD.bazel b/bazel/cargo/wasmsign/remote/BUILD.bazel index e69de29bb..f7557ab01 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bazel @@ -0,0 +1,39 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +package(default_visibility = ["//visibility:public"]) + +exports_files( + [ + "cargo-bazel.json", + "crates.bzl", + "defs.bzl", + ] + glob(["*.bazel"]), +) + +filegroup( + name = "srcs", + srcs = glob([ + "*.bazel", + "*.bzl", + ]), +) + +# Workspace Member Dependencies +alias( + name = "wasmsign", + actual = "@cu__wasmsign-0.1.2//:wasmsign", + tags = ["manual"], +) + +# Binaries +alias( + name = "wasmsign__wasmsign", + actual = "@cu__wasmsign-0.1.2//:wasmsign__bin", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel index 345927151..b82314da9 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel @@ -1,59 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "bitflags", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=bitflags", "manual", + "noclippy", + "norustfmt", ], version = "1.3.2", - # buildifier: leave-alone - deps = [ - ], ) - -# Unsupported target "basic" with type "test" omitted - -# Unsupported target "compile" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.4.3.bazel b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.4.3.bazel deleted file mode 100644 index 5540dc77d..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.4.3.bazel +++ /dev/null @@ -1,58 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "byteorder", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=byteorder", - "manual", - ], - version = "1.4.3", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel new file mode 100644 index 000000000..de6a36dd7 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Unlicense OR MIT +# ]) + +rust_library( + name = "byteorder", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=byteorder", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.5.0", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel index cdfafef08..54468a44e 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel @@ -1,56 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "cfg_if", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=cfg-if", "manual", + "noclippy", + "norustfmt", ], version = "1.0.0", - # buildifier: leave-alone - deps = [ - ], ) - -# Unsupported target "xcrate" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel index f95162fab..385de6f5d 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel @@ -1,41 +1,32 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT +# ]) rust_library( name = "clap", srcs = glob(["**/*.rs"]), - aliases = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "ansi_term", "atty", @@ -46,48 +37,107 @@ rust_library( "vec_map", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=clap", "manual", + "noclippy", + "norustfmt", ], version = "2.34.0", - # buildifier: leave-alone deps = [ - "@wasmsign__atty__0_2_14//:atty", - "@wasmsign__bitflags__1_3_2//:bitflags", - "@wasmsign__strsim__0_8_0//:strsim", - "@wasmsign__textwrap__0_11_0//:textwrap", - "@wasmsign__unicode_width__0_1_9//:unicode_width", - "@wasmsign__vec_map__0_8_2//:vec_map", - ] + selects.with_or({ - # cfg(not(windows)) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmsign__ansi_term__0_12_1//:ansi_term", + "@cu__atty-0.2.14//:atty", + "@cu__bitflags-1.3.2//:bitflags", + "@cu__strsim-0.8.0//:strsim", + "@cu__textwrap-0.11.0//:textwrap", + "@cu__unicode-width-0.1.13//:unicode_width", + "@cu__vec_map-0.8.2//:vec_map", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel new file mode 100644 index 000000000..99961e188 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "ct_codecs", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=ct-codecs", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.1", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel new file mode 100644 index 000000000..4ca9f00b0 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel @@ -0,0 +1,54 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "ed25519_compact", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "ct-codecs", + "default", + "getrandom", + "pem", + "random", + "std", + "x25519", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=ed25519-compact", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.16", + deps = [ + "@cu__ct-codecs-1.1.1//:ct_codecs", + "@cu__getrandom-0.2.15//:getrandom", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.8.bazel b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.8.bazel deleted file mode 100644 index 55d81676f..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.8.bazel +++ /dev/null @@ -1,59 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # ISC from expression "ISC" -]) - -# Generated Targets - -rust_library( - name = "ed25519_compact", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "getrandom", - "random", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=ed25519-compact", - "manual", - ], - version = "1.0.8", - # buildifier: leave-alone - deps = [ - "@wasmsign__getrandom__0_2_4//:getrandom", - ], -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel new file mode 100644 index 000000000..d09ee3dd1 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel @@ -0,0 +1,112 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "getrandom", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=getrandom", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.15", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.4.bazel deleted file mode 100644 index 9f107edbf..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.4.bazel +++ /dev/null @@ -1,96 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "mod" with type "bench" omitted - -rust_library( - name = "getrandom", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=getrandom", - "manual", - ], - version = "0.2.4", - # buildifier: leave-alone - deps = [ - "@wasmsign__cfg_if__1_0_0//:cfg_if", - ] + selects.with_or({ - # cfg(target_os = "wasi") - ( - "@rules_rust//rust/platform:wasm32-wasi", - ): [ - "@wasmsign__wasi__0_10_2_wasi_snapshot_preview1//:wasi", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(unix) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmsign__libc__0_2_114//:libc", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "custom" with type "test" omitted - -# Unsupported target "normal" with type "test" omitted - -# Unsupported target "rdrand" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel index 714afbab6..0ce38b7b1 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel @@ -1,56 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "hermit_abi", srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=hermit-abi", "manual", + "noclippy", + "norustfmt", ], version = "0.1.19", - # buildifier: leave-alone deps = [ - "@wasmsign__libc__0_2_114//:libc", + "@cu__libc-0.2.155//:libc", ], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.1.bazel deleted file mode 100644 index a98166ac6..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.1.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # ISC from expression "ISC" -]) - -# Generated Targets - -rust_library( - name = "hmac_sha512", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "sha384", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hmac-sha512", - "manual", - ], - version = "1.1.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel new file mode 100644 index 000000000..c09f00280 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # ISC +# ]) + +rust_library( + name = "hmac_sha512", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "sha384", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=hmac-sha512", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.5", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.114.bazel b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.114.bazel deleted file mode 100644 index 19145c96a..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.114.bazel +++ /dev/null @@ -1,86 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "libc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.2.114", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "libc", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=libc", - "manual", - ], - version = "0.2.114", - # buildifier: leave-alone - deps = [ - ":libc_build_script", - ], -) - -# Unsupported target "const_fn" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel new file mode 100644 index 000000000..0e8144575 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "libc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=libc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.155", + deps = [ + "@cu__libc-0.2.155//:build_script_build", + ], +) + +cargo_build_script( + name = "libc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=libc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.155", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "libc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel index eb0b8425a..9feb12623 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel @@ -1,72 +1,45 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench-decoder" with type "example" omitted - -# Unsupported target "build" with type "example" omitted - -# Unsupported target "data" with type "example" omitted - -# Unsupported target "exports" with type "example" omitted - -# Unsupported target "info" with type "example" omitted - -# Unsupported target "inject" with type "example" omitted - -# Unsupported target "roundtrip" with type "example" omitted - -# Unsupported target "show" with type "example" omitted +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "parity_wasm", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "default", "std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=parity-wasm", "manual", + "noclippy", + "norustfmt", ], version = "0.42.2", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.36.bazel b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.36.bazel deleted file mode 100644 index 98ac0ca43..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.36.bazel +++ /dev/null @@ -1,99 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "proc_macro2_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.36", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "proc_macro2", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=proc-macro2", - "manual", - ], - version = "1.0.36", - # buildifier: leave-alone - deps = [ - ":proc_macro2_build_script", - "@wasmsign__unicode_xid__0_2_2//:unicode_xid", - ], -) - -# Unsupported target "comments" with type "test" omitted - -# Unsupported target "features" with type "test" omitted - -# Unsupported target "marker" with type "test" omitted - -# Unsupported target "test" with type "test" omitted - -# Unsupported target "test_fmt" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel new file mode 100644 index 000000000..ee0b1590b --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel @@ -0,0 +1,90 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "proc_macro2", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=proc-macro2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + deps = [ + "@cu__proc-macro2-1.0.86//:build_script_build", + "@cu__unicode-ident-1.0.12//:unicode_ident", + ], +) + +cargo_build_script( + name = "proc-macro2_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "proc-macro", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=proc-macro2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "proc-macro2_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.15.bazel b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.15.bazel deleted file mode 100644 index 984db3ca0..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.15.bazel +++ /dev/null @@ -1,61 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "quote", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=quote", - "manual", - ], - version = "1.0.15", - # buildifier: leave-alone - deps = [ - "@wasmsign__proc_macro2__1_0_36//:proc_macro2", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel new file mode 100644 index 000000000..629754fda --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "quote", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=quote", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.36", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel index 17633e197..fd1aa61ac 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel @@ -1,58 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "benches" with type "bench" omitted +# licenses([ +# "TODO", # MIT +# ]) rust_library( name = "strsim", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=strsim", "manual", + "noclippy", + "norustfmt", ], version = "0.8.0", - # buildifier: leave-alone - deps = [ - ], ) - -# Unsupported target "lib" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.syn-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.syn-1.0.86.bazel deleted file mode 100644 index 8fe60304a..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.syn-1.0.86.bazel +++ /dev/null @@ -1,159 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "syn_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "clone-impls", - "default", - "derive", - "parsing", - "printing", - "proc-macro", - "quote", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.86", - visibility = ["//visibility:private"], - deps = [ - ], -) - -# Unsupported target "file" with type "bench" omitted - -# Unsupported target "rust" with type "bench" omitted - -rust_library( - name = "syn", - srcs = glob(["**/*.rs"]), - crate_features = [ - "clone-impls", - "default", - "derive", - "parsing", - "printing", - "proc-macro", - "quote", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=syn", - "manual", - ], - version = "1.0.86", - # buildifier: leave-alone - deps = [ - ":syn_build_script", - "@wasmsign__proc_macro2__1_0_36//:proc_macro2", - "@wasmsign__quote__1_0_15//:quote", - "@wasmsign__unicode_xid__0_2_2//:unicode_xid", - ], -) - -# Unsupported target "regression" with type "test" omitted - -# Unsupported target "test_asyncness" with type "test" omitted - -# Unsupported target "test_attribute" with type "test" omitted - -# Unsupported target "test_derive_input" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted - -# Unsupported target "test_generics" with type "test" omitted - -# Unsupported target "test_grouping" with type "test" omitted - -# Unsupported target "test_ident" with type "test" omitted - -# Unsupported target "test_item" with type "test" omitted - -# Unsupported target "test_iterators" with type "test" omitted - -# Unsupported target "test_lit" with type "test" omitted - -# Unsupported target "test_meta" with type "test" omitted - -# Unsupported target "test_parse_buffer" with type "test" omitted - -# Unsupported target "test_parse_stream" with type "test" omitted - -# Unsupported target "test_pat" with type "test" omitted - -# Unsupported target "test_path" with type "test" omitted - -# Unsupported target "test_precedence" with type "test" omitted - -# Unsupported target "test_receiver" with type "test" omitted - -# Unsupported target "test_round_trip" with type "test" omitted - -# Unsupported target "test_shebang" with type "test" omitted - -# Unsupported target "test_should_parse" with type "test" omitted - -# Unsupported target "test_size" with type "test" omitted - -# Unsupported target "test_stmt" with type "test" omitted - -# Unsupported target "test_token_trees" with type "test" omitted - -# Unsupported target "test_ty" with type "test" omitted - -# Unsupported target "test_visibility" with type "test" omitted - -# Unsupported target "zzz_stable" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel new file mode 100644 index 000000000..e1a4bfc4d --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel @@ -0,0 +1,54 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "syn", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "clone-impls", + "default", + "derive", + "parsing", + "printing", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=syn", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.0.72", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__unicode-ident-1.0.12//:unicode_ident", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel index 1f5ef4754..94e8d4386 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel @@ -1,63 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets - -# Unsupported target "linear" with type "bench" omitted - -# Unsupported target "layout" with type "example" omitted - -# Unsupported target "termwidth" with type "example" omitted +# licenses([ +# "TODO", # MIT +# ]) rust_library( name = "textwrap", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=textwrap", "manual", + "noclippy", + "norustfmt", ], version = "0.11.0", - # buildifier: leave-alone deps = [ - "@wasmsign__unicode_width__0_1_9//:unicode_width", + "@cu__unicode-width-0.1.13//:unicode_width", ], ) - -# Unsupported target "version-numbers" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.30.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.30.bazel deleted file mode 100644 index 963d9d3ee..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.30.bazel +++ /dev/null @@ -1,81 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "thiserror", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@wasmsign__thiserror_impl__1_0_30//:thiserror_impl", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=thiserror", - "manual", - ], - version = "1.0.30", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_backtrace" with type "test" omitted - -# Unsupported target "test_display" with type "test" omitted - -# Unsupported target "test_error" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted - -# Unsupported target "test_from" with type "test" omitted - -# Unsupported target "test_generics" with type "test" omitted - -# Unsupported target "test_lints" with type "test" omitted - -# Unsupported target "test_option" with type "test" omitted - -# Unsupported target "test_path" with type "test" omitted - -# Unsupported target "test_source" with type "test" omitted - -# Unsupported target "test_transparent" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel new file mode 100644 index 000000000..1dc950ccf --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel @@ -0,0 +1,84 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "thiserror", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__thiserror-impl-1.0.63//:thiserror_impl", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=thiserror", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.63", + deps = [ + "@cu__thiserror-1.0.63//:build_script_build", + ], +) + +cargo_build_script( + name = "thiserror_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=thiserror", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.63", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "thiserror_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.30.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.30.bazel deleted file mode 100644 index 5f03eb1e5..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.30.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "thiserror_impl", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=thiserror-impl", - "manual", - ], - version = "1.0.30", - # buildifier: leave-alone - deps = [ - "@wasmsign__proc_macro2__1_0_36//:proc_macro2", - "@wasmsign__quote__1_0_15//:quote", - "@wasmsign__syn__1_0_86//:syn", - ], -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel new file mode 100644 index 000000000..2f7a65a52 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "thiserror_impl", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=thiserror-impl", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.63", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__syn-2.0.72//:syn", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel new file mode 100644 index 000000000..91a06d7ac --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016 +# ]) + +rust_library( + name = "unicode_ident", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=unicode-ident", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.12", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel new file mode 100644 index 000000000..88c7780c8 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "unicode_width", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=unicode-width", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.13", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.9.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.9.bazel deleted file mode 100644 index 205525026..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.9.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "unicode_width", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-width", - "manual", - ], - version = "0.1.9", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-xid-0.2.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-xid-0.2.2.bazel deleted file mode 100644 index 489f09ed3..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.unicode-xid-0.2.2.bazel +++ /dev/null @@ -1,59 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "xid" with type "bench" omitted - -rust_library( - name = "unicode_xid", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-xid", - "manual", - ], - version = "0.2.2", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "exhaustive_tests" with type "test" omitted diff --git a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel index 41e120f56..c8cd5b4ff 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel @@ -1,54 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "vec_map", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=vec_map", "manual", + "noclippy", + "norustfmt", ], version = "0.8.2", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel deleted file mode 100644 index 120daec83..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets - -rust_library( - name = "wasi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasi", - "manual", - ], - version = "0.10.2+wasi-snapshot-preview1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel new file mode 100644 index 000000000..11d6cc924 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "wasi", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasi", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.0+wasi-snapshot-preview1", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel index ecf416787..cc34b19ee 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel @@ -1,93 +1,86 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load load( "@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", - "rust_proc_macro", - "rust_test", ) -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # no license -]) +package(default_visibility = ["//visibility:public"]) -# Generated Targets - -rust_binary( - # Prefix bin name to disambiguate from (probable) collision with lib name - # N.B.: The exact form of this is subject to change. - name = "cargo_bin_wasmsign", +rust_library( + name = "wasmsign", srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/bin/wasmsign.rs", - data = [], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=wasmsign", "manual", + "noclippy", + "norustfmt", ], version = "0.1.2", - # buildifier: leave-alone deps = [ - ":wasmsign", - "@wasmsign__anyhow__1_0_53//:anyhow", - "@wasmsign__byteorder__1_4_3//:byteorder", - "@wasmsign__clap__2_34_0//:clap", - "@wasmsign__ed25519_compact__1_0_8//:ed25519_compact", - "@wasmsign__hmac_sha512__1_1_1//:hmac_sha512", - "@wasmsign__parity_wasm__0_42_2//:parity_wasm", - "@wasmsign__thiserror__1_0_30//:thiserror", + "@cu__anyhow-1.0.86//:anyhow", + "@cu__byteorder-1.5.0//:byteorder", + "@cu__clap-2.34.0//:clap", + "@cu__ed25519-compact-1.0.16//:ed25519_compact", + "@cu__hmac-sha512-1.1.5//:hmac_sha512", + "@cu__parity-wasm-0.42.2//:parity_wasm", + "@cu__thiserror-1.0.63//:thiserror", ], ) -rust_library( - name = "wasmsign", +rust_binary( + name = "wasmsign__bin", srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/bin/wasmsign.rs", edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=wasmsign", "manual", + "noclippy", + "norustfmt", ], version = "0.1.2", - # buildifier: leave-alone deps = [ - "@wasmsign__anyhow__1_0_53//:anyhow", - "@wasmsign__byteorder__1_4_3//:byteorder", - "@wasmsign__clap__2_34_0//:clap", - "@wasmsign__ed25519_compact__1_0_8//:ed25519_compact", - "@wasmsign__hmac_sha512__1_1_1//:hmac_sha512", - "@wasmsign__parity_wasm__0_42_2//:parity_wasm", - "@wasmsign__thiserror__1_0_30//:thiserror", + ":wasmsign", + "@cu__anyhow-1.0.86//:anyhow", + "@cu__byteorder-1.5.0//:byteorder", + "@cu__clap-2.34.0//:clap", + "@cu__ed25519-compact-1.0.16//:ed25519_compact", + "@cu__hmac-sha512-1.1.5//:hmac_sha512", + "@cu__parity-wasm-0.42.2//:parity_wasm", + "@cu__thiserror-1.0.63//:thiserror", ], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel index 165665faa..fe49869b4 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel @@ -1,47 +1,33 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "winapi_build_script", +rust_library( + name = "winapi", srcs = glob(["**/*.rs"]), - build_script_env = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "consoleapi", "errhandlingapi", @@ -52,24 +38,24 @@ cargo_build_script( "processenv", "winbase", ], - crate_root = "build.rs", - data = glob(["**"]), + crate_root = "src/lib.rs", edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=winapi", "manual", + "noclippy", + "norustfmt", ], version = "0.3.9", - visibility = ["//visibility:private"], deps = [ + "@cu__winapi-0.3.9//:build_script_build", ], ) -rust_library( - name = "winapi", +cargo_build_script( + name = "winapi_build_script", srcs = glob(["**/*.rs"]), crate_features = [ "consoleapi", @@ -81,20 +67,35 @@ rust_library( "processenv", "winbase", ], - crate_root = "src/lib.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2015", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=winapi", "manual", + "noclippy", + "norustfmt", ], version = "0.3.9", - # buildifier: leave-alone - deps = [ - ":winapi_build_script", - ], + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "winapi_build_script", + tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index 71509c182..cecb69888 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -1,84 +1,81 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "winapi_i686_pc_windows_gnu_build_script", +rust_library( + name = "winapi_i686_pc_windows_gnu", srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=winapi-i686-pc-windows-gnu", "manual", + "noclippy", + "norustfmt", ], version = "0.4.0", - visibility = ["//visibility:private"], deps = [ + "@cu__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build", ], ) -rust_library( - name = "winapi_i686_pc_windows_gnu", +cargo_build_script( + name = "winapi-i686-pc-windows-gnu_build_script", srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2015", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=winapi-i686-pc-windows-gnu", "manual", + "noclippy", + "norustfmt", ], version = "0.4.0", - # buildifier: leave-alone - deps = [ - ":winapi_i686_pc_windows_gnu_build_script", - ], + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "winapi-i686-pc-windows-gnu_build_script", + tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index f94e57719..57a6d1e8c 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -1,84 +1,81 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmsign", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "winapi_x86_64_pc_windows_gnu_build_script", +rust_library( + name = "winapi_x86_64_pc_windows_gnu", srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=winapi-x86_64-pc-windows-gnu", "manual", + "noclippy", + "norustfmt", ], version = "0.4.0", - visibility = ["//visibility:private"], deps = [ + "@cu__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build", ], ) -rust_library( - name = "winapi_x86_64_pc_windows_gnu", +cargo_build_script( + name = "winapi-x86_64-pc-windows-gnu_build_script", srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2015", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=winapi-x86_64-pc-windows-gnu", "manual", + "noclippy", + "norustfmt", ], version = "0.4.0", - # buildifier: leave-alone - deps = [ - ":winapi_x86_64_pc_windows_gnu_build_script", - ], + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "winapi-x86_64-pc-windows-gnu_build_script", + tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/crates.bzl b/bazel/cargo/wasmsign/remote/crates.bzl new file mode 100644 index 000000000..49dc5c122 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/crates.bzl @@ -0,0 +1,25 @@ +############################################################################### +# @generated +# This file is auto-generated by the cargo-bazel tool. +# +# DO NOT MODIFY: Local changes may be replaced in future executions. +############################################################################### +"""Rules for defining repositories for remote `crates_vendor` repositories""" + +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +# buildifier: disable=bzl-visibility +load("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:defs.bzl", _crate_repositories = "crate_repositories") + +# buildifier: disable=bzl-visibility +load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository") + +def crate_repositories(): + maybe( + crates_vendor_remote_repository, + name = "cu", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.bazel"), + defs_module = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:defs.bzl"), + ) + + _crate_repositories() diff --git a/bazel/cargo/wasmsign/remote/defs.bzl b/bazel/cargo/wasmsign/remote/defs.bzl new file mode 100644 index 000000000..34b03dddd --- /dev/null +++ b/bazel/cargo/wasmsign/remote/defs.bzl @@ -0,0 +1,663 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmsign:crates_vendor +############################################################################### +""" +# `crates_repository` API + +- [aliases](#aliases) +- [crate_deps](#crate_deps) +- [all_crate_deps](#all_crate_deps) +- [crate_repositories](#crate_repositories) + +""" + +load("@bazel_skylib//lib:selects.bzl", "selects") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +############################################################################### +# MACROS API +############################################################################### + +# An identifier that represent common dependencies (unconditional). +_COMMON_CONDITION = "" + +def _flatten_dependency_maps(all_dependency_maps): + """Flatten a list of dependency maps into one dictionary. + + Dependency maps have the following structure: + + ```python + DEPENDENCIES_MAP = { + # The first key in the map is a Bazel package + # name of the workspace this file is defined in. + "workspace_member_package": { + + # Not all dependencies are supported for all platforms. + # the condition key is the condition required to be true + # on the host platform. + "condition": { + + # An alias to a crate target. # The label of the crate target the + # Aliases are only crate names. # package name refers to. + "package_name": "@full//:label", + } + } + } + ``` + + Args: + all_dependency_maps (list): A list of dicts as described above + + Returns: + dict: A dictionary as described above + """ + dependencies = {} + + for workspace_deps_map in all_dependency_maps: + for pkg_name, conditional_deps_map in workspace_deps_map.items(): + if pkg_name not in dependencies: + non_frozen_map = dict() + for key, values in conditional_deps_map.items(): + non_frozen_map.update({key: dict(values.items())}) + dependencies.setdefault(pkg_name, non_frozen_map) + continue + + for condition, deps_map in conditional_deps_map.items(): + # If the condition has not been recorded, do so and continue + if condition not in dependencies[pkg_name]: + dependencies[pkg_name].setdefault(condition, dict(deps_map.items())) + continue + + # Alert on any miss-matched dependencies + inconsistent_entries = [] + for crate_name, crate_label in deps_map.items(): + existing = dependencies[pkg_name][condition].get(crate_name) + if existing and existing != crate_label: + inconsistent_entries.append((crate_name, existing, crate_label)) + dependencies[pkg_name][condition].update({crate_name: crate_label}) + + return dependencies + +def crate_deps(deps, package_name = None): + """Finds the fully qualified label of the requested crates for the package where this macro is called. + + Args: + deps (list): The desired list of crate targets. + package_name (str, optional): The package name of the set of dependencies to look up. + Defaults to `native.package_name()`. + + Returns: + list: A list of labels to generated rust targets (str) + """ + + if not deps: + return [] + + if package_name == None: + package_name = native.package_name() + + # Join both sets of dependencies + dependencies = _flatten_dependency_maps([ + _NORMAL_DEPENDENCIES, + _NORMAL_DEV_DEPENDENCIES, + _PROC_MACRO_DEPENDENCIES, + _PROC_MACRO_DEV_DEPENDENCIES, + _BUILD_DEPENDENCIES, + _BUILD_PROC_MACRO_DEPENDENCIES, + ]).pop(package_name, {}) + + # Combine all conditional packages so we can easily index over a flat list + # TODO: Perhaps this should actually return select statements and maintain + # the conditionals of the dependencies + flat_deps = {} + for deps_set in dependencies.values(): + for crate_name, crate_label in deps_set.items(): + flat_deps.update({crate_name: crate_label}) + + missing_crates = [] + crate_targets = [] + for crate_target in deps: + if crate_target not in flat_deps: + missing_crates.append(crate_target) + else: + crate_targets.append(flat_deps[crate_target]) + + if missing_crates: + fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format( + missing_crates, + package_name, + dependencies, + )) + + return crate_targets + +def all_crate_deps( + normal = False, + normal_dev = False, + proc_macro = False, + proc_macro_dev = False, + build = False, + build_proc_macro = False, + package_name = None): + """Finds the fully qualified label of all requested direct crate dependencies \ + for the package where this macro is called. + + If no parameters are set, all normal dependencies are returned. Setting any one flag will + otherwise impact the contents of the returned list. + + Args: + normal (bool, optional): If True, normal dependencies are included in the + output list. + normal_dev (bool, optional): If True, normal dev dependencies will be + included in the output list.. + proc_macro (bool, optional): If True, proc_macro dependencies are included + in the output list. + proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are + included in the output list. + build (bool, optional): If True, build dependencies are included + in the output list. + build_proc_macro (bool, optional): If True, build proc_macro dependencies are + included in the output list. + package_name (str, optional): The package name of the set of dependencies to look up. + Defaults to `native.package_name()` when unset. + + Returns: + list: A list of labels to generated rust targets (str) + """ + + if package_name == None: + package_name = native.package_name() + + # Determine the relevant maps to use + all_dependency_maps = [] + if normal: + all_dependency_maps.append(_NORMAL_DEPENDENCIES) + if normal_dev: + all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES) + if proc_macro: + all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES) + if proc_macro_dev: + all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES) + if build: + all_dependency_maps.append(_BUILD_DEPENDENCIES) + if build_proc_macro: + all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES) + + # Default to always using normal dependencies + if not all_dependency_maps: + all_dependency_maps.append(_NORMAL_DEPENDENCIES) + + dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None) + + if not dependencies: + if dependencies == None: + fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file") + else: + return [] + + crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values()) + for condition, deps in dependencies.items(): + crate_deps += selects.with_or({ + tuple(_CONDITIONS[condition]): deps.values(), + "//conditions:default": [], + }) + + return crate_deps + +def aliases( + normal = False, + normal_dev = False, + proc_macro = False, + proc_macro_dev = False, + build = False, + build_proc_macro = False, + package_name = None): + """Produces a map of Crate alias names to their original label + + If no dependency kinds are specified, `normal` and `proc_macro` are used by default. + Setting any one flag will otherwise determine the contents of the returned dict. + + Args: + normal (bool, optional): If True, normal dependencies are included in the + output list. + normal_dev (bool, optional): If True, normal dev dependencies will be + included in the output list.. + proc_macro (bool, optional): If True, proc_macro dependencies are included + in the output list. + proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are + included in the output list. + build (bool, optional): If True, build dependencies are included + in the output list. + build_proc_macro (bool, optional): If True, build proc_macro dependencies are + included in the output list. + package_name (str, optional): The package name of the set of dependencies to look up. + Defaults to `native.package_name()` when unset. + + Returns: + dict: The aliases of all associated packages + """ + if package_name == None: + package_name = native.package_name() + + # Determine the relevant maps to use + all_aliases_maps = [] + if normal: + all_aliases_maps.append(_NORMAL_ALIASES) + if normal_dev: + all_aliases_maps.append(_NORMAL_DEV_ALIASES) + if proc_macro: + all_aliases_maps.append(_PROC_MACRO_ALIASES) + if proc_macro_dev: + all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES) + if build: + all_aliases_maps.append(_BUILD_ALIASES) + if build_proc_macro: + all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES) + + # Default to always using normal aliases + if not all_aliases_maps: + all_aliases_maps.append(_NORMAL_ALIASES) + all_aliases_maps.append(_PROC_MACRO_ALIASES) + + aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None) + + if not aliases: + return dict() + + common_items = aliases.pop(_COMMON_CONDITION, {}).items() + + # If there are only common items in the dictionary, immediately return them + if not len(aliases.keys()) == 1: + return dict(common_items) + + # Build a single select statement where each conditional has accounted for the + # common set of aliases. + crate_aliases = {"//conditions:default": dict(common_items)} + for condition, deps in aliases.items(): + condition_triples = _CONDITIONS[condition] + for triple in condition_triples: + if triple in crate_aliases: + crate_aliases[triple].update(deps) + else: + crate_aliases.update({triple: dict(deps.items() + common_items)}) + + return select(crate_aliases) + +############################################################################### +# WORKSPACE MEMBER DEPS AND ALIASES +############################################################################### + +_NORMAL_DEPENDENCIES = { + "bazel/cargo/wasmsign": { + _COMMON_CONDITION: { + "wasmsign": "@cu__wasmsign-0.1.2//:wasmsign", + }, + }, +} + +_NORMAL_ALIASES = { + "bazel/cargo/wasmsign": { + _COMMON_CONDITION: { + }, + }, +} + +_NORMAL_DEV_DEPENDENCIES = { + "bazel/cargo/wasmsign": { + }, +} + +_NORMAL_DEV_ALIASES = { + "bazel/cargo/wasmsign": { + }, +} + +_PROC_MACRO_DEPENDENCIES = { + "bazel/cargo/wasmsign": { + }, +} + +_PROC_MACRO_ALIASES = { + "bazel/cargo/wasmsign": { + }, +} + +_PROC_MACRO_DEV_DEPENDENCIES = { + "bazel/cargo/wasmsign": { + }, +} + +_PROC_MACRO_DEV_ALIASES = { + "bazel/cargo/wasmsign": { + }, +} + +_BUILD_DEPENDENCIES = { + "bazel/cargo/wasmsign": { + }, +} + +_BUILD_ALIASES = { + "bazel/cargo/wasmsign": { + }, +} + +_BUILD_PROC_MACRO_DEPENDENCIES = { + "bazel/cargo/wasmsign": { + }, +} + +_BUILD_PROC_MACRO_ALIASES = { + "bazel/cargo/wasmsign": { + }, +} + +_CONDITIONS = { + "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(target_os = \"hermit\")": [], + "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"], + "cfg(target_os = \"windows\")": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "i686-pc-windows-gnu": [], + "x86_64-pc-windows-gnu": [], +} + +############################################################################### + +def crate_repositories(): + """A macro for defining repositories for all generated crates""" + maybe( + http_archive, + name = "cu__ansi_term-0.12.1", + sha256 = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ansi_term/0.12.1/download"], + strip_prefix = "ansi_term-0.12.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ansi_term-0.12.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__anyhow-1.0.86", + sha256 = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da", + type = "tar.gz", + urls = ["https://static.crates.io/crates/anyhow/1.0.86/download"], + strip_prefix = "anyhow-1.0.86", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.anyhow-1.0.86.bazel"), + ) + + maybe( + http_archive, + name = "cu__atty-0.2.14", + sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/atty/0.2.14/download"], + strip_prefix = "atty-0.2.14", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.atty-0.2.14.bazel"), + ) + + maybe( + http_archive, + name = "cu__bitflags-1.3.2", + sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"], + strip_prefix = "bitflags-1.3.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.bitflags-1.3.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__byteorder-1.5.0", + sha256 = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/byteorder/1.5.0/download"], + strip_prefix = "byteorder-1.5.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.byteorder-1.5.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__cfg-if-1.0.0", + sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cfg-if/1.0.0/download"], + strip_prefix = "cfg-if-1.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.cfg-if-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__clap-2.34.0", + sha256 = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/clap/2.34.0/download"], + strip_prefix = "clap-2.34.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.clap-2.34.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__ct-codecs-1.1.1", + sha256 = "f3b7eb4404b8195a9abb6356f4ac07d8ba267045c8d6d220ac4dc992e6cc75df", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ct-codecs/1.1.1/download"], + strip_prefix = "ct-codecs-1.1.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ct-codecs-1.1.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__ed25519-compact-1.0.16", + sha256 = "e18997d4604542d0736fae2c5ad6de987f0a50530cbcc14a7ce5a685328a252d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ed25519-compact/1.0.16/download"], + strip_prefix = "ed25519-compact-1.0.16", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ed25519-compact-1.0.16.bazel"), + ) + + maybe( + http_archive, + name = "cu__getrandom-0.2.15", + sha256 = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/getrandom/0.2.15/download"], + strip_prefix = "getrandom-0.2.15", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.getrandom-0.2.15.bazel"), + ) + + maybe( + http_archive, + name = "cu__hermit-abi-0.1.19", + sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33", + type = "tar.gz", + urls = ["https://static.crates.io/crates/hermit-abi/0.1.19/download"], + strip_prefix = "hermit-abi-0.1.19", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.hermit-abi-0.1.19.bazel"), + ) + + maybe( + http_archive, + name = "cu__hmac-sha512-1.1.5", + sha256 = "e4ce1f4656bae589a3fab938f9f09bf58645b7ed01a2c5f8a3c238e01a4ef78a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/hmac-sha512/1.1.5/download"], + strip_prefix = "hmac-sha512-1.1.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.hmac-sha512-1.1.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__libc-0.2.155", + sha256 = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/libc/0.2.155/download"], + strip_prefix = "libc-0.2.155", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.libc-0.2.155.bazel"), + ) + + maybe( + http_archive, + name = "cu__parity-wasm-0.42.2", + sha256 = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92", + type = "tar.gz", + urls = ["https://static.crates.io/crates/parity-wasm/0.42.2/download"], + strip_prefix = "parity-wasm-0.42.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.parity-wasm-0.42.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__proc-macro2-1.0.86", + sha256 = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77", + type = "tar.gz", + urls = ["https://static.crates.io/crates/proc-macro2/1.0.86/download"], + strip_prefix = "proc-macro2-1.0.86", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.proc-macro2-1.0.86.bazel"), + ) + + maybe( + http_archive, + name = "cu__quote-1.0.36", + sha256 = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/quote/1.0.36/download"], + strip_prefix = "quote-1.0.36", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.quote-1.0.36.bazel"), + ) + + maybe( + http_archive, + name = "cu__strsim-0.8.0", + sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/strsim/0.8.0/download"], + strip_prefix = "strsim-0.8.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.strsim-0.8.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__syn-2.0.72", + sha256 = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af", + type = "tar.gz", + urls = ["https://static.crates.io/crates/syn/2.0.72/download"], + strip_prefix = "syn-2.0.72", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.syn-2.0.72.bazel"), + ) + + maybe( + http_archive, + name = "cu__textwrap-0.11.0", + sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060", + type = "tar.gz", + urls = ["https://static.crates.io/crates/textwrap/0.11.0/download"], + strip_prefix = "textwrap-0.11.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.textwrap-0.11.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__thiserror-1.0.63", + sha256 = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724", + type = "tar.gz", + urls = ["https://static.crates.io/crates/thiserror/1.0.63/download"], + strip_prefix = "thiserror-1.0.63", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.thiserror-1.0.63.bazel"), + ) + + maybe( + http_archive, + name = "cu__thiserror-impl-1.0.63", + sha256 = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261", + type = "tar.gz", + urls = ["https://static.crates.io/crates/thiserror-impl/1.0.63/download"], + strip_prefix = "thiserror-impl-1.0.63", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.thiserror-impl-1.0.63.bazel"), + ) + + maybe( + http_archive, + name = "cu__unicode-ident-1.0.12", + sha256 = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/unicode-ident/1.0.12/download"], + strip_prefix = "unicode-ident-1.0.12", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.unicode-ident-1.0.12.bazel"), + ) + + maybe( + http_archive, + name = "cu__unicode-width-0.1.13", + sha256 = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/unicode-width/0.1.13/download"], + strip_prefix = "unicode-width-0.1.13", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.unicode-width-0.1.13.bazel"), + ) + + maybe( + http_archive, + name = "cu__vec_map-0.8.2", + sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191", + type = "tar.gz", + urls = ["https://static.crates.io/crates/vec_map/0.8.2/download"], + strip_prefix = "vec_map-0.8.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.vec_map-0.8.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasi-0.11.0-wasi-snapshot-preview1", + sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasi/0.11.0+wasi-snapshot-preview1/download"], + strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), + ) + + maybe( + new_git_repository, + name = "cu__wasmsign-0.1.2", + branch = "master", + init_submodules = True, + remote = "https://github.com/jedisct1/wasmsign", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasmsign-0.1.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__winapi-0.3.9", + sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", + type = "tar.gz", + urls = ["https://static.crates.io/crates/winapi/0.3.9/download"], + strip_prefix = "winapi-0.3.9", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.winapi-0.3.9.bazel"), + ) + + maybe( + http_archive, + name = "cu__winapi-i686-pc-windows-gnu-0.4.0", + sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", + type = "tar.gz", + urls = ["https://static.crates.io/crates/winapi-i686-pc-windows-gnu/0.4.0/download"], + strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__winapi-x86_64-pc-windows-gnu-0.4.0", + sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download"], + strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), + ) diff --git a/bazel/cargo/wasmtime/BUILD.bazel b/bazel/cargo/wasmtime/BUILD.bazel index 75c6a1d79..969a2a96a 100644 --- a/bazel/cargo/wasmtime/BUILD.bazel +++ b/bazel/cargo/wasmtime/BUILD.bazel @@ -1,66 +1,35 @@ -""" -@generated -cargo-raze generated Bazel file. +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +load("@rules_rust//crate_universe:defs.bzl", "crates_vendor") -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -package(default_visibility = ["//visibility:public"]) - -licenses([ - "notice", # See individual crates for specific licenses -]) - -# Aliased targets -alias( - name = "anyhow", - actual = "@wasmtime__anyhow__1_0_71//:anyhow", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "env_logger", - actual = "@wasmtime__env_logger__0_10_0//:env_logger", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "once_cell", - actual = "@wasmtime__once_cell__1_17_2//:once_cell", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "wasmtime", - actual = "@wasmtime__wasmtime__9_0_3//:wasmtime", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "wasmtime_c_api_macros", - actual = "@wasmtime__wasmtime_c_api_macros__0_0_0//:wasmtime_c_api_macros", - tags = [ - "cargo-raze", - "manual", - ], -) - -# Export file for Stardoc support exports_files( [ - "crates.bzl", + "Cargo.toml", + "Cargo.Bazel.lock", ], - visibility = ["//visibility:public"], +) + +# Run this target to regenerate cargo_lockfile and vendor_path/*. +# $ bazelisk run bazel/cargo/wasmtime:crates_vendor -- --repin +crates_vendor( + name = "crates_vendor", + cargo_lockfile = ":Cargo.Bazel.lock", + generate_target_compatible_with = False, + manifests = [":Cargo.toml"], + mode = "remote", + repository_name = "cu", # shorten generated paths for Windows... + tags = ["manual"], + vendor_path = "remote", ) diff --git a/bazel/cargo/wasmtime/Cargo.raze.lock b/bazel/cargo/wasmtime/Cargo.Bazel.lock similarity index 62% rename from bazel/cargo/wasmtime/Cargo.raze.lock rename to bazel/cargo/wasmtime/Cargo.Bazel.lock index 6c0f7a2bd..cf52418e9 100644 --- a/bazel/cargo/wasmtime/Cargo.raze.lock +++ b/bazel/cargo/wasmtime/Cargo.Bazel.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "addr2line" version = "0.19.0" @@ -11,41 +13,42 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "once_cell", "version_check", + "zerocopy", ] [[package]] name = "aho-corasick" -version = "1.0.1" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] [[package]] name = "anyhow" -version = "1.0.71" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "arbitrary" -version = "1.3.0" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" +checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" [[package]] name = "autocfg" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "bincode" @@ -64,27 +67,27 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.3.1" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cc" -version = "1.0.79" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" [[package]] name = "cfg-if" @@ -103,18 +106,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c064a534a914eb6709d198525321a386dad50627aecfaf64053f369993a3e5a" +checksum = "182b82f78049f54d3aee5a19870d356ef754226665a695ce2fcdd5d55379718e" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "619ed4d24acef0bd58b16a1be39077c0b36c65782e6c933892439af5e799110e" +checksum = "e7c027bf04ecae5b048d3554deb888061bc26f426afff47bf06d6ac933dce0a6" dependencies = [ "bumpalo", "cranelift-bforest", @@ -133,42 +136,42 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c777ce22678ae1869f990b2f31e0cd7ca109049213bfc0baf3e2205a18b21ebb" +checksum = "649f70038235e4c81dba5680d7e5ae83e1081f567232425ab98b55b03afd9904" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb65884d17a1fa55990dd851c43c140afb4c06c3312cf42cfa1222c3b23f9561" +checksum = "7a1d1c5ee2611c6a0bdc8d42d5d3dc5ce8bf53a8040561e26e88b9b21f966417" [[package]] name = "cranelift-control" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a0cea8abc90934d0a7ee189a29fd35fecd5c40f59ae7e6aab1805e8ab1a535e" +checksum = "da66a68b1f48da863d1d53209b8ddb1a6236411d2d72a280ffa8c2f734f7219e" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e50bebc05f2401a1320169314b62f91ad811ef20163cac00151d78e0684d4c" +checksum = "9bd897422dbb66621fa558f4d9209875530c53e3c8f4b13b2849fbb667c431a6" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b82ccfe704d53f669791399d417928410785132d809ec46f5e2ce069e9d17c8" +checksum = "05db883114c98cfcd6959f72278d2fec42e01ea6a6982cfe4f20e88eebe86653" dependencies = [ "cranelift-codegen", "log", @@ -178,15 +181,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2515d8e7836f9198b160b2c80aaa1f586d7749d57d6065af86223fb65b7e2c3" +checksum = "84559de86e2564152c87e299c8b2559f9107e9c6d274b24ebeb04fb0a5f4abf8" [[package]] name = "cranelift-native" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcb47ffdcdac7e9fed6e4a618939773a4dc4a412fa7da9e701ae667431a10af3" +checksum = "3f40b57f187f0fe1ffaf281df4adba2b4bc623a0f6651954da9f3c184be72761" dependencies = [ "cranelift-codegen", "libc", @@ -195,9 +198,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.96.3" +version = "0.96.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852390f92c3eaa457e42be44d174ff5abbbcd10062d5963bda8ffb2505e73a71" +checksum = "f3eab6084cc789b9dd0b1316241efeb2968199fee709f4bb4fe0fb0923bb468b" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -211,9 +214,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] @@ -229,15 +232,15 @@ dependencies = [ [[package]] name = "either" -version = "1.8.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "env_logger" -version = "0.10.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -248,23 +251,12 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ - "cc", "libc", + "windows-sys 0.52.0", ] [[package]] @@ -275,9 +267,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "form_urlencoded" -version = "1.1.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ "percent-encoding", ] @@ -297,7 +289,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" dependencies = [ - "bitflags 2.3.1", + "bitflags 2.6.0", "debugid", "fxhash", "serde", @@ -306,9 +298,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.9" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -317,9 +309,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ "fallible-iterator", "indexmap", @@ -343,9 +335,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.1" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "humantime" @@ -355,9 +347,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "idna" -version = "0.3.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -382,19 +374,18 @@ checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ "hermit-abi", "libc", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "is-terminal" -version = "0.4.7" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ "hermit-abi", - "io-lifetimes", - "rustix", - "windows-sys", + "libc", + "windows-sys 0.52.0", ] [[package]] @@ -408,15 +399,15 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.6" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "libc" -version = "0.2.144" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "linux-raw-sys" @@ -424,11 +415,17 @@ version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +[[package]] +name = "linux-raw-sys" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" + [[package]] name = "log" -version = "0.4.18" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "mach" @@ -441,17 +438,17 @@ dependencies = [ [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memfd" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix", + "rustix 0.38.34", ] [[package]] @@ -465,9 +462,9 @@ dependencies = [ [[package]] name = "object" -version = "0.30.3" +version = "0.30.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" dependencies = [ "crc32fast", "hashbrown 0.13.2", @@ -477,21 +474,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.2" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "paste" -version = "1.0.12" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "percent-encoding" -version = "2.2.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "ppv-lite86" @@ -501,9 +498,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" -version = "1.0.59" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -519,9 +516,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.28" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -571,9 +568,21 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.3" +version = "1.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", @@ -582,15 +591,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.7.2" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -600,38 +609,51 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.37.19" +version = "0.37.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags 1.3.2", "errno", "io-lifetimes", "libc", - "linux-raw-sys", - "windows-sys", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +dependencies = [ + "bitflags 2.6.0", + "errno", + "libc", + "linux-raw-sys 0.4.14", + "windows-sys 0.52.0", ] [[package]] name = "ryu" -version = "1.0.13" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "serde" -version = "1.0.163" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" +checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.163" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" +checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ "proc-macro2", "quote", @@ -640,9 +662,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.96" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" +checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" dependencies = [ "itoa", "ryu", @@ -657,9 +679,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "smallvec" -version = "1.10.0" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "stable_deref_trait" @@ -669,9 +691,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "syn" -version = "2.0.18" +version = "2.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" +checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" dependencies = [ "proc-macro2", "quote", @@ -680,33 +702,33 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.7" +version = "0.12.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" +checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" [[package]] name = "termcolor" -version = "1.2.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] [[package]] name = "thiserror" -version = "1.0.40" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", @@ -715,9 +737,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -730,30 +752,30 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "unicode-bidi" -version = "0.3.13" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" -version = "1.0.9" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" dependencies = [ "tinyvec", ] [[package]] name = "url" -version = "2.3.1" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", "idna", @@ -762,15 +784,15 @@ dependencies = [ [[package]] name = "uuid" -version = "1.3.3" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2" +checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "wasi" @@ -790,9 +812,9 @@ dependencies = [ [[package]] name = "wasmtime" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa0f72886c3264eb639f50188d1eb98b975564130292fea8deb4facf91ca7258" +checksum = "634357e8668774b24c80b210552f3f194e2342a065d6d83845ba22c5817d0770" dependencies = [ "anyhow", "bincode", @@ -814,14 +836,14 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "wasmtime-asm-macros" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18391ed41ca957eecdbe64c51879b75419cbc52e2d8663fe82945b28b4f19da" +checksum = "d33c73c24ce79b0483a3b091a9acf88871f4490b88998e8974b22236264d304c" dependencies = [ "cfg-if", ] @@ -848,9 +870,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2495036d05eb1e79ecf22e092eeacd279dcf24b4fcab77fb4cf8ef9bd42c3ea" +checksum = "5800616a28ed6bd5e8b99ea45646c956d798ae030494ac0689bc3e45d3b689c1" dependencies = [ "anyhow", "cranelift-codegen", @@ -871,9 +893,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift-shared" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef677f7b0d3f3b73275675486d791f1e85e7c24afe8dd367c6b9950028906330" +checksum = "27e4030b959ac5c5d6ee500078977e813f8768fa2b92fc12be01856cd0c76c55" dependencies = [ "anyhow", "cranelift-codegen", @@ -887,9 +909,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d03356374ffafa881c5f972529d2bb11ce48fe2736285e2b0ad72c6d554257b" +checksum = "9ec815d01a8d38aceb7ed4678f9ba551ae6b8a568a63810ac3ad9293b0fd01c8" dependencies = [ "anyhow", "cranelift-entity", @@ -906,9 +928,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5374f0d2ee0069391dd9348f148802846b2b3e0af650385f9c56b3012d3c5d1" +checksum = "2712eafe829778b426cad0e1769fef944898923dd29f0039e34e0d53ba72b234" dependencies = [ "addr2line", "anyhow", @@ -924,34 +946,34 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "wasmtime-jit-debug" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "102653b177225bfdd2da41cc385965d4bf6bc10cf14ec7b306bc9b015fb01c22" +checksum = "65fb78eacf4a6e47260d8ef8cc81ea8ddb91397b2e848b3fb01567adebfe89b5" dependencies = [ "once_cell", ] [[package]] name = "wasmtime-jit-icache-coherence" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374ff63b3eb41db57c56682a9ef7737d2c9efa801f5dbf9da93941c9dd436a06" +checksum = "d1364900b05f7d6008516121e8e62767ddb3e176bdf4c84dfa85da1734aeab79" dependencies = [ "cfg-if", "libc", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "wasmtime-runtime" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1b832f19099066ebd26e683121d331f12cf98f158eac0f889972854413b46f" +checksum = "4a16ffe4de9ac9669175c0ea5c6c51ffc596dfb49320aaa6f6c57eff58cef069" dependencies = [ "anyhow", "cc", @@ -964,18 +986,18 @@ dependencies = [ "memoffset", "paste", "rand", - "rustix", + "rustix 0.37.27", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "wasmtime-types" -version = "9.0.3" +version = "9.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c574221440e05bbb04efa09786d049401be2eb10081ecf43eb72fbd637bd12f" +checksum = "19961c9a3b04d5e766875a5c467f6f5d693f508b3e81f8dc4a1444aa94f041c9" dependencies = [ "cranelift-entity", "serde", @@ -984,98 +1006,169 @@ dependencies = [ ] [[package]] -name = "winapi" -version = "0.3.9" +name = "winapi-util" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "windows-sys 0.52.0", ] [[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" +name = "windows-sys" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "winapi", + "windows-targets 0.48.5", ] [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" +name = "windows-sys" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-targets" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows-targets", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", ] [[package]] name = "windows-targets" -version = "0.48.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", ] [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" -version = "0.48.0" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" -version = "0.48.0" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "zerocopy" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 238b91609..74b561763 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -13,30 +13,3 @@ anyhow = "1.0" once_cell = "1.12" wasmtime = {version = "9.0.3", default-features = false, features = ['cranelift']} wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v9.0.3"} - -[package.metadata.raze] -rust_rules_workspace_name = "rules_rust" -gen_workspace_prefix = "wasmtime" -genmode = "Remote" -package_aliases_dir = "." -workspace_path = "//bazel/cargo/wasmtime" - -[package.metadata.raze.crates.cranelift-isle.'*'] -patches = [ - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", -] -patch_args = ["-p4"] - -[package.metadata.raze.crates.bumpalo.'*'] -patches = [ - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:bumpalo.patch", -] -patch_args = ["-p1"] - -[package.metadata.raze.crates.rustix.'*'] -additional_flags = [ - "--cfg=feature=\\\"cc\\\"", -] -buildrs_additional_deps = [ - "@wasmtime__cc__1_0_79//:cc", -] diff --git a/bazel/cargo/wasmtime/bumpalo.patch b/bazel/cargo/wasmtime/bumpalo.patch deleted file mode 100644 index 22befe431..000000000 --- a/bazel/cargo/wasmtime/bumpalo.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/src/lib.rs b/src/lib.rs -index be68365..47c14cd 100644 ---- a/src/lib.rs -+++ b/src/lib.rs -@@ -1,4 +1,3 @@ --#![doc = include_str!("../README.md")] - #![deny(missing_debug_implementations)] - #![deny(missing_docs)] - #![no_std] diff --git a/bazel/cargo/wasmtime/cranelift-isle.patch b/bazel/cargo/wasmtime/cranelift-isle.patch deleted file mode 100644 index 5fca1d9d0..000000000 --- a/bazel/cargo/wasmtime/cranelift-isle.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/cranelift/isle/isle/src/lib.rs b/cranelift/isle/isle/src/lib.rs -index 1164dafc3..4a9ad01ad 100644 ---- a/cranelift/isle/isle/src/lib.rs -+++ b/cranelift/isle/isle/src/lib.rs -@@ -1,4 +1,3 @@ --#![doc = include_str!("../README.md")] - #![deny(missing_docs)] - - use std::collections::hash_map::Entry; diff --git a/bazel/cargo/wasmtime/crates.bzl b/bazel/cargo/wasmtime/crates.bzl deleted file mode 100644 index 1c0e575af..000000000 --- a/bazel/cargo/wasmtime/crates.bzl +++ /dev/null @@ -1,1183 +0,0 @@ -""" -@generated -cargo-raze generated Bazel file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load -load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load - -def wasmtime_fetch_remote_crates(): - """This function defines a collection of repos and should be called in a WORKSPACE file""" - maybe( - http_archive, - name = "wasmtime__addr2line__0_19_0", - url = "https://crates.io/api/v1/crates/addr2line/0.19.0/download", - type = "tar.gz", - sha256 = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97", - strip_prefix = "addr2line-0.19.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.addr2line-0.19.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__ahash__0_8_3", - url = "https://crates.io/api/v1/crates/ahash/0.8.3/download", - type = "tar.gz", - sha256 = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f", - strip_prefix = "ahash-0.8.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ahash-0.8.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__aho_corasick__1_0_1", - url = "https://crates.io/api/v1/crates/aho-corasick/1.0.1/download", - type = "tar.gz", - sha256 = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04", - strip_prefix = "aho-corasick-1.0.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-1.0.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__anyhow__1_0_71", - url = "https://crates.io/api/v1/crates/anyhow/1.0.71/download", - type = "tar.gz", - sha256 = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8", - strip_prefix = "anyhow-1.0.71", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.71.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__arbitrary__1_3_0", - url = "https://crates.io/api/v1/crates/arbitrary/1.3.0/download", - type = "tar.gz", - sha256 = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e", - strip_prefix = "arbitrary-1.3.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.arbitrary-1.3.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__autocfg__1_1_0", - url = "https://crates.io/api/v1/crates/autocfg/1.1.0/download", - type = "tar.gz", - sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa", - strip_prefix = "autocfg-1.1.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.autocfg-1.1.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__bincode__1_3_3", - url = "https://crates.io/api/v1/crates/bincode/1.3.3/download", - type = "tar.gz", - sha256 = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad", - strip_prefix = "bincode-1.3.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bincode-1.3.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__bitflags__1_3_2", - url = "https://crates.io/api/v1/crates/bitflags/1.3.2/download", - type = "tar.gz", - sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a", - strip_prefix = "bitflags-1.3.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bitflags-1.3.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__bitflags__2_3_1", - url = "https://crates.io/api/v1/crates/bitflags/2.3.1/download", - type = "tar.gz", - sha256 = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84", - strip_prefix = "bitflags-2.3.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bitflags-2.3.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__bumpalo__3_13_0", - url = "https://crates.io/api/v1/crates/bumpalo/3.13.0/download", - type = "tar.gz", - sha256 = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1", - strip_prefix = "bumpalo-3.13.0", - patches = [ - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:bumpalo.patch", - ], - patch_args = [ - "-p1", - ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.13.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__byteorder__1_4_3", - url = "https://crates.io/api/v1/crates/byteorder/1.4.3/download", - type = "tar.gz", - sha256 = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610", - strip_prefix = "byteorder-1.4.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.byteorder-1.4.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cc__1_0_79", - url = "https://crates.io/api/v1/crates/cc/1.0.79/download", - type = "tar.gz", - sha256 = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f", - strip_prefix = "cc-1.0.79", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cc-1.0.79.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cfg_if__1_0_0", - url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download", - type = "tar.gz", - sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd", - strip_prefix = "cfg-if-1.0.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cfg-if-1.0.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cpp_demangle__0_3_5", - url = "https://crates.io/api/v1/crates/cpp_demangle/0.3.5/download", - type = "tar.gz", - sha256 = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f", - strip_prefix = "cpp_demangle-0.3.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cpp_demangle-0.3.5.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_bforest__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-bforest/0.96.3/download", - type = "tar.gz", - sha256 = "9c064a534a914eb6709d198525321a386dad50627aecfaf64053f369993a3e5a", - strip_prefix = "cranelift-bforest-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_codegen__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-codegen/0.96.3/download", - type = "tar.gz", - sha256 = "619ed4d24acef0bd58b16a1be39077c0b36c65782e6c933892439af5e799110e", - strip_prefix = "cranelift-codegen-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_codegen_meta__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-codegen-meta/0.96.3/download", - type = "tar.gz", - sha256 = "c777ce22678ae1869f990b2f31e0cd7ca109049213bfc0baf3e2205a18b21ebb", - strip_prefix = "cranelift-codegen-meta-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_codegen_shared__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-codegen-shared/0.96.3/download", - type = "tar.gz", - sha256 = "eb65884d17a1fa55990dd851c43c140afb4c06c3312cf42cfa1222c3b23f9561", - strip_prefix = "cranelift-codegen-shared-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_control__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-control/0.96.3/download", - type = "tar.gz", - sha256 = "9a0cea8abc90934d0a7ee189a29fd35fecd5c40f59ae7e6aab1805e8ab1a535e", - strip_prefix = "cranelift-control-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-control-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_entity__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-entity/0.96.3/download", - type = "tar.gz", - sha256 = "c2e50bebc05f2401a1320169314b62f91ad811ef20163cac00151d78e0684d4c", - strip_prefix = "cranelift-entity-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_frontend__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-frontend/0.96.3/download", - type = "tar.gz", - sha256 = "7b82ccfe704d53f669791399d417928410785132d809ec46f5e2ce069e9d17c8", - strip_prefix = "cranelift-frontend-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_isle__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-isle/0.96.3/download", - type = "tar.gz", - sha256 = "a2515d8e7836f9198b160b2c80aaa1f586d7749d57d6065af86223fb65b7e2c3", - strip_prefix = "cranelift-isle-0.96.3", - patches = [ - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch", - ], - patch_args = [ - "-p4", - ], - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_native__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-native/0.96.3/download", - type = "tar.gz", - sha256 = "bcb47ffdcdac7e9fed6e4a618939773a4dc4a412fa7da9e701ae667431a10af3", - strip_prefix = "cranelift-native-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__cranelift_wasm__0_96_3", - url = "https://crates.io/api/v1/crates/cranelift-wasm/0.96.3/download", - type = "tar.gz", - sha256 = "852390f92c3eaa457e42be44d174ff5abbbcd10062d5963bda8ffb2505e73a71", - strip_prefix = "cranelift-wasm-0.96.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.96.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__crc32fast__1_3_2", - url = "https://crates.io/api/v1/crates/crc32fast/1.3.2/download", - type = "tar.gz", - sha256 = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d", - strip_prefix = "crc32fast-1.3.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.3.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__debugid__0_8_0", - url = "https://crates.io/api/v1/crates/debugid/0.8.0/download", - type = "tar.gz", - sha256 = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d", - strip_prefix = "debugid-0.8.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.debugid-0.8.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__either__1_8_1", - url = "https://crates.io/api/v1/crates/either/1.8.1/download", - type = "tar.gz", - sha256 = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91", - strip_prefix = "either-1.8.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.either-1.8.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__env_logger__0_10_0", - url = "https://crates.io/api/v1/crates/env_logger/0.10.0/download", - type = "tar.gz", - sha256 = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0", - strip_prefix = "env_logger-0.10.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.10.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__errno__0_3_1", - url = "https://crates.io/api/v1/crates/errno/0.3.1/download", - type = "tar.gz", - sha256 = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a", - strip_prefix = "errno-0.3.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.errno-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__errno_dragonfly__0_1_2", - url = "https://crates.io/api/v1/crates/errno-dragonfly/0.1.2/download", - type = "tar.gz", - sha256 = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf", - strip_prefix = "errno-dragonfly-0.1.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.errno-dragonfly-0.1.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__fallible_iterator__0_2_0", - url = "https://crates.io/api/v1/crates/fallible-iterator/0.2.0/download", - type = "tar.gz", - sha256 = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7", - strip_prefix = "fallible-iterator-0.2.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.fallible-iterator-0.2.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__form_urlencoded__1_1_0", - url = "https://crates.io/api/v1/crates/form_urlencoded/1.1.0/download", - type = "tar.gz", - sha256 = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8", - strip_prefix = "form_urlencoded-1.1.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.form_urlencoded-1.1.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__fxhash__0_2_1", - url = "https://crates.io/api/v1/crates/fxhash/0.2.1/download", - type = "tar.gz", - sha256 = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c", - strip_prefix = "fxhash-0.2.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.fxhash-0.2.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__fxprof_processed_profile__0_6_0", - url = "https://crates.io/api/v1/crates/fxprof-processed-profile/0.6.0/download", - type = "tar.gz", - sha256 = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd", - strip_prefix = "fxprof-processed-profile-0.6.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.fxprof-processed-profile-0.6.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__getrandom__0_2_9", - url = "https://crates.io/api/v1/crates/getrandom/0.2.9/download", - type = "tar.gz", - sha256 = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4", - strip_prefix = "getrandom-0.2.9", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.9.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__gimli__0_27_2", - url = "https://crates.io/api/v1/crates/gimli/0.27.2/download", - type = "tar.gz", - sha256 = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4", - strip_prefix = "gimli-0.27.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.gimli-0.27.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__hashbrown__0_12_3", - url = "https://crates.io/api/v1/crates/hashbrown/0.12.3/download", - type = "tar.gz", - sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", - strip_prefix = "hashbrown-0.12.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.12.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__hashbrown__0_13_2", - url = "https://crates.io/api/v1/crates/hashbrown/0.13.2/download", - type = "tar.gz", - sha256 = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e", - strip_prefix = "hashbrown-0.13.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.13.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__hermit_abi__0_3_1", - url = "https://crates.io/api/v1/crates/hermit-abi/0.3.1/download", - type = "tar.gz", - sha256 = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286", - strip_prefix = "hermit-abi-0.3.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.hermit-abi-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__humantime__2_1_0", - url = "https://crates.io/api/v1/crates/humantime/2.1.0/download", - type = "tar.gz", - sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4", - strip_prefix = "humantime-2.1.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.humantime-2.1.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__idna__0_3_0", - url = "https://crates.io/api/v1/crates/idna/0.3.0/download", - type = "tar.gz", - sha256 = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6", - strip_prefix = "idna-0.3.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.idna-0.3.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__indexmap__1_9_3", - url = "https://crates.io/api/v1/crates/indexmap/1.9.3/download", - type = "tar.gz", - sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99", - strip_prefix = "indexmap-1.9.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__io_lifetimes__1_0_11", - url = "https://crates.io/api/v1/crates/io-lifetimes/1.0.11/download", - type = "tar.gz", - sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2", - strip_prefix = "io-lifetimes-1.0.11", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-1.0.11.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__is_terminal__0_4_7", - url = "https://crates.io/api/v1/crates/is-terminal/0.4.7/download", - type = "tar.gz", - sha256 = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f", - strip_prefix = "is-terminal-0.4.7", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.is-terminal-0.4.7.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__itertools__0_10_5", - url = "https://crates.io/api/v1/crates/itertools/0.10.5/download", - type = "tar.gz", - sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473", - strip_prefix = "itertools-0.10.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.itertools-0.10.5.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__itoa__1_0_6", - url = "https://crates.io/api/v1/crates/itoa/1.0.6/download", - type = "tar.gz", - sha256 = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6", - strip_prefix = "itoa-1.0.6", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.itoa-1.0.6.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__libc__0_2_144", - url = "https://crates.io/api/v1/crates/libc/0.2.144/download", - type = "tar.gz", - sha256 = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1", - strip_prefix = "libc-0.2.144", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.144.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__linux_raw_sys__0_3_8", - url = "https://crates.io/api/v1/crates/linux-raw-sys/0.3.8/download", - type = "tar.gz", - sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519", - strip_prefix = "linux-raw-sys-0.3.8", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.3.8.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__log__0_4_18", - url = "https://crates.io/api/v1/crates/log/0.4.18/download", - type = "tar.gz", - sha256 = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de", - strip_prefix = "log-0.4.18", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.log-0.4.18.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__mach__0_3_2", - url = "https://crates.io/api/v1/crates/mach/0.3.2/download", - type = "tar.gz", - sha256 = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa", - strip_prefix = "mach-0.3.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.mach-0.3.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__memchr__2_5_0", - url = "https://crates.io/api/v1/crates/memchr/2.5.0/download", - type = "tar.gz", - sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d", - strip_prefix = "memchr-2.5.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memchr-2.5.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__memfd__0_6_3", - url = "https://crates.io/api/v1/crates/memfd/0.6.3/download", - type = "tar.gz", - sha256 = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e", - strip_prefix = "memfd-0.6.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memfd-0.6.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__memoffset__0_8_0", - url = "https://crates.io/api/v1/crates/memoffset/0.8.0/download", - type = "tar.gz", - sha256 = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1", - strip_prefix = "memoffset-0.8.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.8.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__object__0_30_3", - url = "https://crates.io/api/v1/crates/object/0.30.3/download", - type = "tar.gz", - sha256 = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439", - strip_prefix = "object-0.30.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.object-0.30.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__once_cell__1_17_2", - url = "https://crates.io/api/v1/crates/once_cell/1.17.2/download", - type = "tar.gz", - sha256 = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b", - strip_prefix = "once_cell-1.17.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.17.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__paste__1_0_12", - url = "https://crates.io/api/v1/crates/paste/1.0.12/download", - type = "tar.gz", - sha256 = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79", - strip_prefix = "paste-1.0.12", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.12.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__percent_encoding__2_2_0", - url = "https://crates.io/api/v1/crates/percent-encoding/2.2.0/download", - type = "tar.gz", - sha256 = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e", - strip_prefix = "percent-encoding-2.2.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.percent-encoding-2.2.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__ppv_lite86__0_2_17", - url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.17/download", - type = "tar.gz", - sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de", - strip_prefix = "ppv-lite86-0.2.17", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ppv-lite86-0.2.17.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__proc_macro2__1_0_59", - url = "https://crates.io/api/v1/crates/proc-macro2/1.0.59/download", - type = "tar.gz", - sha256 = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b", - strip_prefix = "proc-macro2-1.0.59", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.59.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__psm__0_1_21", - url = "https://crates.io/api/v1/crates/psm/0.1.21/download", - type = "tar.gz", - sha256 = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874", - strip_prefix = "psm-0.1.21", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.21.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__quote__1_0_28", - url = "https://crates.io/api/v1/crates/quote/1.0.28/download", - type = "tar.gz", - sha256 = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488", - strip_prefix = "quote-1.0.28", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.28.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__rand__0_8_5", - url = "https://crates.io/api/v1/crates/rand/0.8.5/download", - type = "tar.gz", - sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404", - strip_prefix = "rand-0.8.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rand-0.8.5.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__rand_chacha__0_3_1", - url = "https://crates.io/api/v1/crates/rand_chacha/0.3.1/download", - type = "tar.gz", - sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88", - strip_prefix = "rand_chacha-0.3.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rand_chacha-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__rand_core__0_6_4", - url = "https://crates.io/api/v1/crates/rand_core/0.6.4/download", - type = "tar.gz", - sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c", - strip_prefix = "rand_core-0.6.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rand_core-0.6.4.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__regalloc2__0_8_1", - url = "https://crates.io/api/v1/crates/regalloc2/0.8.1/download", - type = "tar.gz", - sha256 = "d4a52e724646c6c0800fc456ec43b4165d2f91fba88ceaca06d9e0b400023478", - strip_prefix = "regalloc2-0.8.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.8.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__regex__1_8_3", - url = "https://crates.io/api/v1/crates/regex/1.8.3/download", - type = "tar.gz", - sha256 = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390", - strip_prefix = "regex-1.8.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-1.8.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__regex_syntax__0_7_2", - url = "https://crates.io/api/v1/crates/regex-syntax/0.7.2/download", - type = "tar.gz", - sha256 = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78", - strip_prefix = "regex-syntax-0.7.2", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.7.2.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__rustc_demangle__0_1_23", - url = "https://crates.io/api/v1/crates/rustc-demangle/0.1.23/download", - type = "tar.gz", - sha256 = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76", - strip_prefix = "rustc-demangle-0.1.23", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustc-demangle-0.1.23.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__rustc_hash__1_1_0", - url = "https://crates.io/api/v1/crates/rustc-hash/1.1.0/download", - type = "tar.gz", - sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2", - strip_prefix = "rustc-hash-1.1.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustc-hash-1.1.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__rustix__0_37_19", - url = "https://crates.io/api/v1/crates/rustix/0.37.19/download", - type = "tar.gz", - sha256 = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d", - strip_prefix = "rustix-0.37.19", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.rustix-0.37.19.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__ryu__1_0_13", - url = "https://crates.io/api/v1/crates/ryu/1.0.13/download", - type = "tar.gz", - sha256 = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041", - strip_prefix = "ryu-1.0.13", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.ryu-1.0.13.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__serde__1_0_163", - url = "https://crates.io/api/v1/crates/serde/1.0.163/download", - type = "tar.gz", - sha256 = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2", - strip_prefix = "serde-1.0.163", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.163.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__serde_derive__1_0_163", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.163/download", - type = "tar.gz", - sha256 = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e", - strip_prefix = "serde_derive-1.0.163", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.163.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__serde_json__1_0_96", - url = "https://crates.io/api/v1/crates/serde_json/1.0.96/download", - type = "tar.gz", - sha256 = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1", - strip_prefix = "serde_json-1.0.96", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.serde_json-1.0.96.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__slice_group_by__0_3_1", - url = "https://crates.io/api/v1/crates/slice-group-by/0.3.1/download", - type = "tar.gz", - sha256 = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7", - strip_prefix = "slice-group-by-0.3.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.slice-group-by-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__smallvec__1_10_0", - url = "https://crates.io/api/v1/crates/smallvec/1.10.0/download", - type = "tar.gz", - sha256 = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0", - strip_prefix = "smallvec-1.10.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.smallvec-1.10.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__stable_deref_trait__1_2_0", - url = "https://crates.io/api/v1/crates/stable_deref_trait/1.2.0/download", - type = "tar.gz", - sha256 = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3", - strip_prefix = "stable_deref_trait-1.2.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.stable_deref_trait-1.2.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__syn__2_0_18", - url = "https://crates.io/api/v1/crates/syn/2.0.18/download", - type = "tar.gz", - sha256 = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e", - strip_prefix = "syn-2.0.18", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.syn-2.0.18.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__target_lexicon__0_12_7", - url = "https://crates.io/api/v1/crates/target-lexicon/0.12.7/download", - type = "tar.gz", - sha256 = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5", - strip_prefix = "target-lexicon-0.12.7", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.7.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__termcolor__1_2_0", - url = "https://crates.io/api/v1/crates/termcolor/1.2.0/download", - type = "tar.gz", - sha256 = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6", - strip_prefix = "termcolor-1.2.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.termcolor-1.2.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__thiserror__1_0_40", - url = "https://crates.io/api/v1/crates/thiserror/1.0.40/download", - type = "tar.gz", - sha256 = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac", - strip_prefix = "thiserror-1.0.40", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.40.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__thiserror_impl__1_0_40", - url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.40/download", - type = "tar.gz", - sha256 = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f", - strip_prefix = "thiserror-impl-1.0.40", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.40.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__tinyvec__1_6_0", - url = "https://crates.io/api/v1/crates/tinyvec/1.6.0/download", - type = "tar.gz", - sha256 = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50", - strip_prefix = "tinyvec-1.6.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.tinyvec-1.6.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__tinyvec_macros__0_1_1", - url = "https://crates.io/api/v1/crates/tinyvec_macros/0.1.1/download", - type = "tar.gz", - sha256 = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20", - strip_prefix = "tinyvec_macros-0.1.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.tinyvec_macros-0.1.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__unicode_bidi__0_3_13", - url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.13/download", - type = "tar.gz", - sha256 = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460", - strip_prefix = "unicode-bidi-0.3.13", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-bidi-0.3.13.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__unicode_ident__1_0_9", - url = "https://crates.io/api/v1/crates/unicode-ident/1.0.9/download", - type = "tar.gz", - sha256 = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0", - strip_prefix = "unicode-ident-1.0.9", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.9.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__unicode_normalization__0_1_22", - url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.22/download", - type = "tar.gz", - sha256 = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921", - strip_prefix = "unicode-normalization-0.1.22", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.unicode-normalization-0.1.22.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__url__2_3_1", - url = "https://crates.io/api/v1/crates/url/2.3.1/download", - type = "tar.gz", - sha256 = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643", - strip_prefix = "url-2.3.1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.url-2.3.1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__uuid__1_3_3", - url = "https://crates.io/api/v1/crates/uuid/1.3.3/download", - type = "tar.gz", - sha256 = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2", - strip_prefix = "uuid-1.3.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.uuid-1.3.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__version_check__0_9_4", - url = "https://crates.io/api/v1/crates/version_check/0.9.4/download", - type = "tar.gz", - sha256 = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f", - strip_prefix = "version_check-0.9.4", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.version_check-0.9.4.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasi__0_11_0_wasi_snapshot_preview1", - url = "https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download", - type = "tar.gz", - sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", - strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmparser__0_103_0", - url = "https://crates.io/api/v1/crates/wasmparser/0.103.0/download", - type = "tar.gz", - sha256 = "2c437373cac5ea84f1113d648d51f71751ffbe3d90c00ae67618cf20d0b5ee7b", - strip_prefix = "wasmparser-0.103.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.103.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime/9.0.3/download", - type = "tar.gz", - sha256 = "aa0f72886c3264eb639f50188d1eb98b975564130292fea8deb4facf91ca7258", - strip_prefix = "wasmtime-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_asm_macros__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-asm-macros/9.0.3/download", - type = "tar.gz", - sha256 = "a18391ed41ca957eecdbe64c51879b75419cbc52e2d8663fe82945b28b4f19da", - strip_prefix = "wasmtime-asm-macros-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-9.0.3.bazel"), - ) - - maybe( - new_git_repository, - name = "wasmtime__wasmtime_c_api_macros__0_0_0", - remote = "https://github.com/bytecodealliance/wasmtime", - commit = "271b605e8d3d44c5d0a39bb4e65c3efb3869ff74", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.0.0.bazel"), - init_submodules = True, - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_cranelift__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift/9.0.3/download", - type = "tar.gz", - sha256 = "a2495036d05eb1e79ecf22e092eeacd279dcf24b4fcab77fb4cf8ef9bd42c3ea", - strip_prefix = "wasmtime-cranelift-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_cranelift_shared__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-cranelift-shared/9.0.3/download", - type = "tar.gz", - sha256 = "ef677f7b0d3f3b73275675486d791f1e85e7c24afe8dd367c6b9950028906330", - strip_prefix = "wasmtime-cranelift-shared-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-shared-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_environ__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-environ/9.0.3/download", - type = "tar.gz", - sha256 = "2d03356374ffafa881c5f972529d2bb11ce48fe2736285e2b0ad72c6d554257b", - strip_prefix = "wasmtime-environ-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_jit__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-jit/9.0.3/download", - type = "tar.gz", - sha256 = "e5374f0d2ee0069391dd9348f148802846b2b3e0af650385f9c56b3012d3c5d1", - strip_prefix = "wasmtime-jit-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_jit_debug__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-jit-debug/9.0.3/download", - type = "tar.gz", - sha256 = "102653b177225bfdd2da41cc385965d4bf6bc10cf14ec7b306bc9b015fb01c22", - strip_prefix = "wasmtime-jit-debug-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_jit_icache_coherence__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-jit-icache-coherence/9.0.3/download", - type = "tar.gz", - sha256 = "374ff63b3eb41db57c56682a9ef7737d2c9efa801f5dbf9da93941c9dd436a06", - strip_prefix = "wasmtime-jit-icache-coherence-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_runtime__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-runtime/9.0.3/download", - type = "tar.gz", - sha256 = "9b1b832f19099066ebd26e683121d331f12cf98f158eac0f889972854413b46f", - strip_prefix = "wasmtime-runtime-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__wasmtime_types__9_0_3", - url = "https://crates.io/api/v1/crates/wasmtime-types/9.0.3/download", - type = "tar.gz", - sha256 = "9c574221440e05bbb04efa09786d049401be2eb10081ecf43eb72fbd637bd12f", - strip_prefix = "wasmtime-types-9.0.3", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-9.0.3.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__winapi__0_3_9", - url = "https://crates.io/api/v1/crates/winapi/0.3.9/download", - type = "tar.gz", - sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", - strip_prefix = "winapi-0.3.9", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.winapi-0.3.9.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__winapi_i686_pc_windows_gnu__0_4_0", - url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download", - type = "tar.gz", - sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", - strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__winapi_util__0_1_5", - url = "https://crates.io/api/v1/crates/winapi-util/0.1.5/download", - type = "tar.gz", - sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178", - strip_prefix = "winapi-util-0.1.5", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.winapi-util-0.1.5.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__winapi_x86_64_pc_windows_gnu__0_4_0", - url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download", - type = "tar.gz", - sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", - strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_sys__0_48_0", - url = "https://crates.io/api/v1/crates/windows-sys/0.48.0/download", - type = "tar.gz", - sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9", - strip_prefix = "windows-sys-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_targets__0_48_0", - url = "https://crates.io/api/v1/crates/windows-targets/0.48.0/download", - type = "tar.gz", - sha256 = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5", - strip_prefix = "windows-targets-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_aarch64_gnullvm__0_48_0", - url = "https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.48.0/download", - type = "tar.gz", - sha256 = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc", - strip_prefix = "windows_aarch64_gnullvm-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_aarch64_msvc__0_48_0", - url = "https://crates.io/api/v1/crates/windows_aarch64_msvc/0.48.0/download", - type = "tar.gz", - sha256 = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3", - strip_prefix = "windows_aarch64_msvc-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_i686_gnu__0_48_0", - url = "https://crates.io/api/v1/crates/windows_i686_gnu/0.48.0/download", - type = "tar.gz", - sha256 = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241", - strip_prefix = "windows_i686_gnu-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_i686_msvc__0_48_0", - url = "https://crates.io/api/v1/crates/windows_i686_msvc/0.48.0/download", - type = "tar.gz", - sha256 = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00", - strip_prefix = "windows_i686_msvc-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_x86_64_gnu__0_48_0", - url = "https://crates.io/api/v1/crates/windows_x86_64_gnu/0.48.0/download", - type = "tar.gz", - sha256 = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1", - strip_prefix = "windows_x86_64_gnu-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_x86_64_gnullvm__0_48_0", - url = "https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.48.0/download", - type = "tar.gz", - sha256 = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953", - strip_prefix = "windows_x86_64_gnullvm-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"), - ) - - maybe( - http_archive, - name = "wasmtime__windows_x86_64_msvc__0_48_0", - url = "https://crates.io/api/v1/crates/windows_x86_64_msvc/0.48.0/download", - type = "tar.gz", - sha256 = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a", - strip_prefix = "windows_x86_64_msvc-0.48.0", - build_file = Label("//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.48.0.bazel"), - ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel index 73f138c50..6444a861b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel @@ -1,63 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "addr2line" with type "example" omitted +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) rust_library( name = "addr2line", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=addr2line", "manual", + "noclippy", + "norustfmt", ], version = "0.19.0", - # buildifier: leave-alone deps = [ - "@wasmtime__gimli__0_27_2//:gimli", + "@cu__gimli-0.27.3//:gimli", ], ) - -# Unsupported target "correctness" with type "test" omitted - -# Unsupported target "output_equivalence" with type "test" omitted - -# Unsupported target "parse" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel new file mode 100644 index 000000000..34902b888 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel @@ -0,0 +1,181 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "ahash", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=ahash", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.11", + deps = [ + "@cu__ahash-0.8.11//:build_script_build", + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__zerocopy-0.7.35//:zerocopy", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "ahash_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=ahash", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.11", + visibility = ["//visibility:private"], + deps = [ + "@cu__version_check-0.9.5//:version_check", + ], +) + +alias( + name = "build_script_build", + actual = "ahash_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.3.bazel deleted file mode 100644 index 7e977ad0f..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.3.bazel +++ /dev/null @@ -1,151 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "ahash_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.8.3", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__version_check__0_9_4//:version_check", - ] + selects.with_or({ - # cfg(not(all(target_arch = "arm", target_os = "none"))) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - ], - "//conditions:default": [], - }), -) - -# Unsupported target "ahash" with type "bench" omitted - -# Unsupported target "map" with type "bench" omitted - -rust_library( - name = "ahash", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=ahash", - "manual", - ], - version = "0.8.3", - # buildifier: leave-alone - deps = [ - ":ahash_build_script", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - ] + selects.with_or({ - # cfg(not(all(target_arch = "arm", target_os = "none"))) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__once_cell__1_17_2//:once_cell", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "bench" with type "test" omitted - -# Unsupported target "map_tests" with type "test" omitted - -# Unsupported target "nopanic" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.0.1.bazel deleted file mode 100644 index 4a79e3ab4..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.0.1.bazel +++ /dev/null @@ -1,58 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -rust_library( - name = "aho_corasick", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "perf-literal", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=aho_corasick", - "manual", - ], - version = "1.0.1", - # buildifier: leave-alone - deps = [ - "@wasmtime__memchr__2_5_0//:memchr", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel new file mode 100644 index 000000000..d1614759b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Unlicense OR MIT +# ]) + +rust_library( + name = "aho_corasick", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "perf-literal", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=aho-corasick", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.3", + deps = [ + "@cu__memchr-2.7.4//:memchr", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.71.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.71.bazel deleted file mode 100644 index daab391ba..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.71.bazel +++ /dev/null @@ -1,116 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "anyhow_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.71", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "anyhow", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=anyhow", - "manual", - ], - version = "1.0.71", - # buildifier: leave-alone - deps = [ - ":anyhow_build_script", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_autotrait" with type "test" omitted - -# Unsupported target "test_backtrace" with type "test" omitted - -# Unsupported target "test_boxed" with type "test" omitted - -# Unsupported target "test_chain" with type "test" omitted - -# Unsupported target "test_context" with type "test" omitted - -# Unsupported target "test_convert" with type "test" omitted - -# Unsupported target "test_downcast" with type "test" omitted - -# Unsupported target "test_ensure" with type "test" omitted - -# Unsupported target "test_ffi" with type "test" omitted - -# Unsupported target "test_fmt" with type "test" omitted - -# Unsupported target "test_macros" with type "test" omitted - -# Unsupported target "test_repr" with type "test" omitted - -# Unsupported target "test_source" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel new file mode 100644 index 000000000..de4b5823d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel @@ -0,0 +1,89 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "anyhow", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=anyhow", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + deps = [ + "@cu__anyhow-1.0.86//:build_script_build", + ], +) + +cargo_build_script( + name = "anyhow_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=anyhow", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "anyhow_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel deleted file mode 100644 index 11b617235..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.0.bazel +++ /dev/null @@ -1,62 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "derive_enum" with type "example" omitted - -rust_library( - name = "arbitrary", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=arbitrary", - "manual", - ], - version = "1.3.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "bound" with type "test" omitted - -# Unsupported target "derive" with type "test" omitted - -# Unsupported target "path" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel new file mode 100644 index 000000000..623b5da46 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "arbitrary", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=arbitrary", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.3.2", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.1.0.bazel deleted file mode 100644 index 8b7d36892..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.1.0.bazel +++ /dev/null @@ -1,64 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "integers" with type "example" omitted - -# Unsupported target "paths" with type "example" omitted - -# Unsupported target "traits" with type "example" omitted - -# Unsupported target "versions" with type "example" omitted - -rust_library( - name = "autocfg", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=autocfg", - "manual", - ], - version = "1.1.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "rustflags" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel new file mode 100644 index 000000000..0591ec48c --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_library( + name = "autocfg", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=autocfg", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.3.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bazel b/bazel/cargo/wasmtime/remote/BUILD.bazel index e69de29bb..34b4f1f5a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bazel @@ -0,0 +1,56 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +package(default_visibility = ["//visibility:public"]) + +exports_files( + [ + "cargo-bazel.json", + "crates.bzl", + "defs.bzl", + ] + glob(["*.bazel"]), +) + +filegroup( + name = "srcs", + srcs = glob([ + "*.bazel", + "*.bzl", + ]), +) + +# Workspace Member Dependencies +alias( + name = "anyhow", + actual = "@cu__anyhow-1.0.86//:anyhow", + tags = ["manual"], +) + +alias( + name = "env_logger", + actual = "@cu__env_logger-0.10.2//:env_logger", + tags = ["manual"], +) + +alias( + name = "once_cell", + actual = "@cu__once_cell-1.19.0//:once_cell", + tags = ["manual"], +) + +alias( + name = "wasmtime", + actual = "@cu__wasmtime-9.0.4//:wasmtime", + tags = ["manual"], +) + +alias( + name = "wasmtime-c-api-macros", + actual = "@cu__wasmtime-c-api-macros-0.0.0//:wasmtime_c_api_macros", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index 11634c902..0318ec879 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -1,57 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT +# ]) rust_library( name = "bincode", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=bincode", "manual", + "noclippy", + "norustfmt", ], version = "1.3.3", - # buildifier: leave-alone deps = [ - "@wasmtime__serde__1_0_163//:serde", + "@cu__serde-1.0.204//:serde", ], ) - -# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel index 0e31ead71..5fb108c85 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel @@ -1,59 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "bitflags", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=bitflags", "manual", + "noclippy", + "norustfmt", ], version = "1.3.2", - # buildifier: leave-alone - deps = [ - ], ) - -# Unsupported target "basic" with type "test" omitted - -# Unsupported target "compile" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel deleted file mode 100644 index d56fc5b69..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.3.1.bazel +++ /dev/null @@ -1,66 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "parse" with type "bench" omitted - -# Unsupported target "custom_bits_type" with type "example" omitted - -# Unsupported target "custom_derive" with type "example" omitted - -# Unsupported target "fmt" with type "example" omitted - -# Unsupported target "macro_free" with type "example" omitted - -# Unsupported target "serde" with type "example" omitted - -rust_library( - name = "bitflags", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=bitflags", - "manual", - ], - version = "2.3.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel new file mode 100644 index 000000000..6d4dc0aea --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "bitflags", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=bitflags", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.6.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.13.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.13.0.bazel deleted file mode 100644 index addf3ceeb..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.13.0.bazel +++ /dev/null @@ -1,59 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benches" with type "bench" omitted - -rust_library( - name = "bumpalo", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=bumpalo", - "manual", - ], - version = "3.13.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "try_alloc" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel new file mode 100644 index 000000000..72055f131 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "bumpalo", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=bumpalo", + "manual", + "noclippy", + "norustfmt", + ], + version = "3.16.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel deleted file mode 100644 index 044c9cd0f..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel +++ /dev/null @@ -1,58 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "byteorder", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=byteorder", - "manual", - ], - version = "1.4.3", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel new file mode 100644 index 000000000..a681029e5 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Unlicense OR MIT +# ]) + +rust_library( + name = "byteorder", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=byteorder", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.5.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.79.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.79.bazel deleted file mode 100644 index e20c01b8e..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cc-1.0.79.bazel +++ /dev/null @@ -1,87 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_binary( - # Prefix bin name to disambiguate from (probable) collision with lib name - # N.B.: The exact form of this is subject to change. - name = "cargo_bin_gcc_shim", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/bin/gcc-shim.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=gcc-shim", - "manual", - ], - version = "1.0.79", - # buildifier: leave-alone - deps = [ - ":cc", - ], -) - -rust_library( - name = "cc", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cc", - "manual", - ], - version = "1.0.79", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "cc_env" with type "test" omitted - -# Unsupported target "cflags" with type "test" omitted - -# Unsupported target "cxxflags" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel new file mode 100644 index 000000000..9fec211e7 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "cc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cc", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.6", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel index 2b86c1e35..64fe9be3a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel @@ -1,56 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "cfg_if", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=cfg-if", "manual", + "noclippy", + "norustfmt", ], version = "1.0.0", - # buildifier: leave-alone - deps = [ - ], ) - -# Unsupported target "xcrate" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel index 68344269d..d6d47ebe4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel @@ -1,120 +1,90 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) +# licenses([ +# "TODO", # Apache-2.0/MIT +# ]) -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "cpp_demangle_build_script", +rust_library( + name = "cpp_demangle", srcs = glob(["**/*.rs"]), - build_script_env = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "default", "std", ], - crate_root = "build.rs", - data = glob(["**"]), + crate_root = "src/lib.rs", edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=cpp_demangle", "manual", + "noclippy", + "norustfmt", ], version = "0.3.5", - visibility = ["//visibility:private"], deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__cpp_demangle-0.3.5//:build_script_build", ], ) -rust_binary( - # Prefix bin name to disambiguate from (probable) collision with lib name - # N.B.: The exact form of this is subject to change. - name = "cargo_bin_afl_runner", +cargo_build_script( + name = "cpp_demangle_build_script", srcs = glob(["**/*.rs"]), crate_features = [ "default", "std", ], - crate_root = "src/bin/afl_runner.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2015", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", - "crate-name=afl_runner", + "cargo-bazel", + "crate-name=cpp_demangle", "manual", + "noclippy", + "norustfmt", ], version = "0.3.5", - # buildifier: leave-alone - deps = [ - ":cpp_demangle", - ":cpp_demangle_build_script", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - ], + visibility = ["//visibility:private"], ) -# Unsupported target "cppfilt" with type "example" omitted - -rust_library( - name = "cpp_demangle", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cpp_demangle", - "manual", - ], - version = "0.3.5", - # buildifier: leave-alone - deps = [ - ":cpp_demangle_build_script", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - ], +alias( + name = "build_script_build", + actual = "cpp_demangle_build_script", + tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.3.bazel deleted file mode 100644 index 65c2d43b7..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.3.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_bforest", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-bforest", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel new file mode 100644 index 000000000..b61551dfd --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_bforest", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-bforest", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__cranelift-entity-0.96.4//:cranelift_entity", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.3.bazel deleted file mode 100644 index f63699ba9..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.3.bazel +++ /dev/null @@ -1,109 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "cranelift_codegen_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "gimli", - "std", - "trace-log", - "unwind", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.96.3", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__cranelift_codegen_meta__0_96_3//:cranelift_codegen_meta", - "@wasmtime__cranelift_isle__0_96_3//:cranelift_isle", - ], -) - -# Unsupported target "x64-evex-encoding" with type "bench" omitted - -rust_library( - name = "cranelift_codegen", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "gimli", - "std", - "trace-log", - "unwind", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-codegen", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - ":cranelift_codegen_build_script", - "@wasmtime__bumpalo__3_13_0//:bumpalo", - "@wasmtime__cranelift_bforest__0_96_3//:cranelift_bforest", - "@wasmtime__cranelift_codegen_shared__0_96_3//:cranelift_codegen_shared", - "@wasmtime__cranelift_control__0_96_3//:cranelift_control", - "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", - "@wasmtime__gimli__0_27_2//:gimli", - "@wasmtime__hashbrown__0_13_2//:hashbrown", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__regalloc2__0_8_1//:regalloc2", - "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel new file mode 100644 index 000000000..60d55c204 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel @@ -0,0 +1,108 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_codegen", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "gimli", + "std", + "unwind", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-codegen", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__bumpalo-3.16.0//:bumpalo", + "@cu__cranelift-bforest-0.96.4//:cranelift_bforest", + "@cu__cranelift-codegen-0.96.4//:build_script_build", + "@cu__cranelift-codegen-shared-0.96.4//:cranelift_codegen_shared", + "@cu__cranelift-control-0.96.4//:cranelift_control", + "@cu__cranelift-entity-0.96.4//:cranelift_entity", + "@cu__gimli-0.27.3//:gimli", + "@cu__hashbrown-0.13.2//:hashbrown", + "@cu__log-0.4.22//:log", + "@cu__regalloc2-0.8.1//:regalloc2", + "@cu__smallvec-1.13.2//:smallvec", + "@cu__target-lexicon-0.12.15//:target_lexicon", + ], +) + +cargo_build_script( + name = "cranelift-codegen_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "gimli", + "std", + "unwind", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cranelift-codegen", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + visibility = ["//visibility:private"], + deps = [ + "@cu__cranelift-codegen-meta-0.96.4//:cranelift_codegen_meta", + "@cu__cranelift-isle-0.96.4//:cranelift_isle", + ], +) + +alias( + name = "build_script_build", + actual = "cranelift-codegen_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.3.bazel deleted file mode 100644 index 2a2d76269..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.3.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_codegen_meta", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-codegen-meta", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cranelift_codegen_shared__0_96_3//:cranelift_codegen_shared", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel new file mode 100644 index 000000000..93b8d79c0 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_codegen_meta", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-codegen-meta", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__cranelift-codegen-shared-0.96.4//:cranelift_codegen_shared", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.3.bazel deleted file mode 100644 index b8e4fc347..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.3.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_codegen_shared", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-codegen-shared", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel new file mode 100644 index 000000000..e1d217b8f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_codegen_shared", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-codegen-shared", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel deleted file mode 100644 index 0122eef74..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.3.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_control", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-control", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__arbitrary__1_3_0//:arbitrary", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel new file mode 100644 index 000000000..002aa4649 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_control", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-control", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__arbitrary-1.3.2//:arbitrary", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.3.bazel deleted file mode 100644 index e18207ff2..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.3.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_entity", - srcs = glob(["**/*.rs"]), - crate_features = [ - "enable-serde", - "serde", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-entity", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__serde__1_0_163//:serde", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel new file mode 100644 index 000000000..c184aa35a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_entity", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "enable-serde", + "serde", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-entity", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__serde-1.0.204//:serde", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.3.bazel deleted file mode 100644 index cf03acad5..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.3.bazel +++ /dev/null @@ -1,60 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_frontend", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-frontend", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel new file mode 100644 index 000000000..ea70e8451 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel @@ -0,0 +1,51 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_frontend", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-frontend", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", + "@cu__log-0.4.22//:log", + "@cu__smallvec-1.13.2//:smallvec", + "@cu__target-lexicon-0.12.15//:target_lexicon", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.3.bazel deleted file mode 100644 index fade87679..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.3.bazel +++ /dev/null @@ -1,88 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "cranelift_isle_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.96.3", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "cranelift_isle", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-isle", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - ":cranelift_isle_build_script", - ], -) - -# Unsupported target "run_tests" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel new file mode 100644 index 000000000..d9d60965d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel @@ -0,0 +1,87 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_isle", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-isle", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__cranelift-isle-0.96.4//:build_script_build", + ], +) + +cargo_build_script( + name = "cranelift-isle_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cranelift-isle", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "cranelift-isle_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.3.bazel deleted file mode 100644 index d74c69aef..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.3.bazel +++ /dev/null @@ -1,68 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_native", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-native", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - ] + selects.with_or({ - # cfg(any(target_arch = "s390x", target_arch = "riscv64")) - ( - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - ): [ - "@wasmtime__libc__0_2_144//:libc", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel new file mode 100644 index 000000000..abcd15ed3 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel @@ -0,0 +1,57 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_native", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-native", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", + "@cu__target-lexicon-0.12.15//:target_lexicon", + ] + select({ + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_arch = "s390x", target_arch = "riscv64")) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_arch = "s390x", target_arch = "riscv64")) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.3.bazel deleted file mode 100644 index 267b36992..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.3.bazel +++ /dev/null @@ -1,66 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "cranelift_wasm", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=cranelift-wasm", - "manual", - ], - version = "0.96.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", - "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_96_3//:cranelift_frontend", - "@wasmtime__itertools__0_10_5//:itertools", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__smallvec__1_10_0//:smallvec", - "@wasmtime__wasmparser__0_103_0//:wasmparser", - "@wasmtime__wasmtime_types__9_0_3//:wasmtime_types", - ], -) - -# Unsupported target "wasm_testsuite" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel new file mode 100644 index 000000000..0d64ac1bc --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel @@ -0,0 +1,55 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "cranelift_wasm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=cranelift-wasm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.96.4", + deps = [ + "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", + "@cu__cranelift-entity-0.96.4//:cranelift_entity", + "@cu__cranelift-frontend-0.96.4//:cranelift_frontend", + "@cu__itertools-0.10.5//:itertools", + "@cu__log-0.4.22//:log", + "@cu__smallvec-1.13.2//:smallvec", + "@cu__wasmparser-0.103.0//:wasmparser", + "@cu__wasmtime-types-9.0.4//:wasmtime_types", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel deleted file mode 100644 index 4ae93d10d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.3.2.bazel +++ /dev/null @@ -1,89 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "crc32fast_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.3.2", - visibility = ["//visibility:private"], - deps = [ - ], -) - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "crc32fast", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=crc32fast", - "manual", - ], - version = "1.3.2", - # buildifier: leave-alone - deps = [ - ":crc32fast_build_script", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel new file mode 100644 index 000000000..ae4643d68 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "crc32fast", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=crc32fast", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.4.2", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel index 8b82dd4d8..aec9f5538 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel @@ -1,61 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # Apache-2.0 +# ]) rust_library( name = "debugid", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=debugid", "manual", + "noclippy", + "norustfmt", ], version = "0.8.0", - # buildifier: leave-alone deps = [ - "@wasmtime__uuid__1_3_3//:uuid", + "@cu__uuid-1.10.0//:uuid", ], ) - -# Unsupported target "test_codeid" with type "test" omitted - -# Unsupported target "test_debugid" with type "test" omitted - -# Unsupported target "test_serde" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel new file mode 100644 index 000000000..60a6f9523 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "either", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "use_std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=either", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.13.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.either-1.8.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.either-1.8.1.bazel deleted file mode 100644 index 361164111..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.either-1.8.1.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "either", - srcs = glob(["**/*.rs"]), - crate_features = [ - "use_std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=either", - "manual", - ], - version = "1.8.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.0.bazel deleted file mode 100644 index 4062aca95..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "custom_default_format" with type "example" omitted - -# Unsupported target "custom_format" with type "example" omitted - -# Unsupported target "custom_logger" with type "example" omitted - -# Unsupported target "default" with type "example" omitted - -# Unsupported target "direct_logger" with type "example" omitted - -# Unsupported target "filters_from_code" with type "example" omitted - -# Unsupported target "in_tests" with type "example" omitted - -# Unsupported target "syslog_friendly_format" with type "example" omitted - -rust_library( - name = "env_logger", - srcs = glob(["**/*.rs"]), - crate_features = [ - "auto-color", - "color", - "default", - "humantime", - "regex", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=env_logger", - "manual", - ], - version = "0.10.0", - # buildifier: leave-alone - deps = [ - "@wasmtime__humantime__2_1_0//:humantime", - "@wasmtime__is_terminal__0_4_7//:is_terminal", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__regex__1_8_3//:regex", - "@wasmtime__termcolor__1_2_0//:termcolor", - ], -) - -# Unsupported target "init-twice-retains-filter" with type "test" omitted - -# Unsupported target "log-in-log" with type "test" omitted - -# Unsupported target "log_tls_dtors" with type "test" omitted - -# Unsupported target "regexp_filter" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel new file mode 100644 index 000000000..b82287b5a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel @@ -0,0 +1,55 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "env_logger", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "auto-color", + "color", + "default", + "humantime", + "regex", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=env_logger", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.10.2", + deps = [ + "@cu__humantime-2.1.0//:humantime", + "@cu__is-terminal-0.4.12//:is_terminal", + "@cu__log-0.4.22//:log", + "@cu__regex-1.10.5//:regex", + "@cu__termcolor-1.4.1//:termcolor", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.1.bazel deleted file mode 100644 index 9ee18c7bc..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.1.bazel +++ /dev/null @@ -1,88 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "errno", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=errno", - "manual", - ], - version = "0.3.1", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(unix) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__libc__0_2_144//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel new file mode 100644 index 000000000..903818f42 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel @@ -0,0 +1,122 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "errno", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=errno", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.9", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__libc-0.2.155//:libc", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel deleted file mode 100644 index 0dd94b45b..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-dragonfly-0.1.2.bazel +++ /dev/null @@ -1,86 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "errno_dragonfly_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.1.2", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__cc__1_0_79//:cc", - ], -) - -rust_library( - name = "errno_dragonfly", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=errno-dragonfly", - "manual", - ], - version = "0.1.2", - # buildifier: leave-alone - deps = [ - ":errno_dragonfly_build_script", - "@wasmtime__libc__0_2_144//:libc", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel index d43820ced..7cd94e63e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel @@ -1,55 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "fallible_iterator", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=fallible-iterator", "manual", + "noclippy", + "norustfmt", ], version = "0.2.0", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel deleted file mode 100644 index 90133f21f..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.1.0.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "form_urlencoded", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=form_urlencoded", - "manual", - ], - version = "1.1.0", - # buildifier: leave-alone - deps = [ - "@wasmtime__percent_encoding__2_2_0//:percent_encoding", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel new file mode 100644 index 000000000..fae193974 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "form_urlencoded", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=form_urlencoded", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.2.1", + deps = [ + "@cu__percent-encoding-2.3.1//:percent_encoding", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel index 3608f3063..190c18b40 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel @@ -1,57 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "fxhash" with type "bench" omitted +# licenses([ +# "TODO", # Apache-2.0/MIT +# ]) rust_library( name = "fxhash", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=fxhash", "manual", + "noclippy", + "norustfmt", ], version = "0.2.1", - # buildifier: leave-alone deps = [ - "@wasmtime__byteorder__1_4_3//:byteorder", + "@cu__byteorder-1.5.0//:byteorder", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel index 06a2b8534..ce1a4e2c1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel @@ -1,61 +1,48 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) rust_library( name = "fxprof_processed_profile", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=fxprof-processed-profile", "manual", + "noclippy", + "norustfmt", ], version = "0.6.0", - # buildifier: leave-alone deps = [ - "@wasmtime__bitflags__2_3_1//:bitflags", - "@wasmtime__debugid__0_8_0//:debugid", - "@wasmtime__fxhash__0_2_1//:fxhash", - "@wasmtime__serde__1_0_163//:serde", - "@wasmtime__serde_json__1_0_96//:serde_json", + "@cu__bitflags-2.6.0//:bitflags", + "@cu__debugid-0.8.0//:debugid", + "@cu__fxhash-0.2.1//:fxhash", + "@cu__serde-1.0.204//:serde", + "@cu__serde_json-1.0.120//:serde_json", ], ) - -# Unsupported target "integration_tests" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel new file mode 100644 index 000000000..ae291befa --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel @@ -0,0 +1,115 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "getrandom", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=getrandom", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.15", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.9.bazel deleted file mode 100644 index cb3dffab4..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.9.bazel +++ /dev/null @@ -1,97 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "buffer" with type "bench" omitted - -rust_library( - name = "getrandom", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=getrandom", - "manual", - ], - version = "0.2.9", - # buildifier: leave-alone - deps = [ - "@wasmtime__cfg_if__1_0_0//:cfg_if", - ] + selects.with_or({ - # cfg(target_os = "wasi") - ( - "@rules_rust//rust/platform:wasm32-wasi", - ): [ - "@wasmtime__wasi__0_11_0_wasi_snapshot_preview1//:wasi", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(unix) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__libc__0_2_144//:libc", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "custom" with type "test" omitted - -# Unsupported target "normal" with type "test" omitted - -# Unsupported target "rdrand" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.2.bazel deleted file mode 100644 index e6878f68d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.2.bazel +++ /dev/null @@ -1,78 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "dwarf-validate" with type "example" omitted - -# Unsupported target "dwarfdump" with type "example" omitted - -# Unsupported target "simple" with type "example" omitted - -# Unsupported target "simple_line" with type "example" omitted - -rust_library( - name = "gimli", - srcs = glob(["**/*.rs"]), - crate_features = [ - "fallible-iterator", - "indexmap", - "read", - "read-core", - "stable_deref_trait", - "std", - "write", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=gimli", - "manual", - ], - version = "0.27.2", - # buildifier: leave-alone - deps = [ - "@wasmtime__fallible_iterator__0_2_0//:fallible_iterator", - "@wasmtime__indexmap__1_9_3//:indexmap", - "@wasmtime__stable_deref_trait__1_2_0//:stable_deref_trait", - ], -) - -# Unsupported target "convert_self" with type "test" omitted - -# Unsupported target "parse_self" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel new file mode 100644 index 000000000..d9fd701f9 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel @@ -0,0 +1,55 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "gimli", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "fallible-iterator", + "indexmap", + "read", + "read-core", + "stable_deref_trait", + "std", + "write", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=gimli", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.27.3", + deps = [ + "@cu__fallible-iterator-0.2.0//:fallible_iterator", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__stable_deref_trait-1.2.0//:stable_deref_trait", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel index 3b0fce03b..fe900cc26 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel @@ -1,67 +1,44 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "insert_unique_unchecked" with type "bench" omitted +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) rust_library( name = "hashbrown", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "raw", ], crate_root = "src/lib.rs", - data = [], edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=hashbrown", "manual", + "noclippy", + "norustfmt", ], version = "0.12.3", - # buildifier: leave-alone - deps = [ - ], ) - -# Unsupported target "hasher" with type "test" omitted - -# Unsupported target "rayon" with type "test" omitted - -# Unsupported target "serde" with type "test" omitted - -# Unsupported target "set" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel index 2fe74c582..b70d63ba4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel @@ -1,43 +1,32 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "insert_unique_unchecked" with type "bench" omitted +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) rust_library( name = "hashbrown", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "ahash", "default", @@ -45,31 +34,17 @@ rust_library( "raw", ], crate_root = "src/lib.rs", - data = [], edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=hashbrown", "manual", + "noclippy", + "norustfmt", ], version = "0.13.2", - # buildifier: leave-alone deps = [ - "@wasmtime__ahash__0_8_3//:ahash", + "@cu__ahash-0.8.11//:ahash", ], ) - -# Unsupported target "equivalent_trait" with type "test" omitted - -# Unsupported target "hasher" with type "test" omitted - -# Unsupported target "raw" with type "test" omitted - -# Unsupported target "rayon" with type "test" omitted - -# Unsupported target "serde" with type "test" omitted - -# Unsupported target "set" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel deleted file mode 100644 index 1e326eb98..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.1.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "hermit_abi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=hermit-abi", - "manual", - ], - version = "0.3.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel new file mode 100644 index 000000000..f8a914739 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "hermit_abi", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=hermit-abi", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.9", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel index 162d7370b..32069eb67 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel @@ -1,58 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "datetime_format" with type "bench" omitted - -# Unsupported target "datetime_parse" with type "bench" omitted +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "humantime", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=humantime", "manual", + "noclippy", + "norustfmt", ], version = "2.1.0", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel deleted file mode 100644 index 94ae97767..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.idna-0.3.0.bazel +++ /dev/null @@ -1,62 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "all" with type "bench" omitted - -rust_library( - name = "idna", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=idna", - "manual", - ], - version = "0.3.0", - # buildifier: leave-alone - deps = [ - "@wasmtime__unicode_bidi__0_3_13//:unicode_bidi", - "@wasmtime__unicode_normalization__0_1_22//:unicode_normalization", - ], -) - -# Unsupported target "tests" with type "test" omitted - -# Unsupported target "unit" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel new file mode 100644 index 000000000..5943a2157 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel @@ -0,0 +1,50 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "idna", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=idna", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.5.0", + deps = [ + "@cu__unicode-bidi-0.3.15//:unicode_bidi", + "@cu__unicode-normalization-0.1.23//:unicode_normalization", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel index 525133f4c..562ed99d4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel @@ -1,105 +1,96 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) -cargo_build_script( - name = "indexmap_build_script", +rust_library( + name = "indexmap", srcs = glob(["**/*.rs"]), - build_script_env = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "serde", "serde-1", "std", ], - crate_root = "build.rs", - data = glob(["**"]), + crate_root = "src/lib.rs", edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=indexmap", "manual", + "noclippy", + "norustfmt", ], version = "1.9.3", - visibility = ["//visibility:private"], deps = [ - "@wasmtime__autocfg__1_1_0//:autocfg", + "@cu__hashbrown-0.12.3//:hashbrown", + "@cu__indexmap-1.9.3//:build_script_build", + "@cu__serde-1.0.204//:serde", ], ) -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "faststring" with type "bench" omitted - -rust_library( - name = "indexmap", +cargo_build_script( + name = "indexmap_build_script", srcs = glob(["**/*.rs"]), crate_features = [ "serde", "serde-1", "std", ], - crate_root = "src/lib.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=indexmap", "manual", + "noclippy", + "norustfmt", ], version = "1.9.3", - # buildifier: leave-alone + visibility = ["//visibility:private"], deps = [ - ":indexmap_build_script", - "@wasmtime__hashbrown__0_12_3//:hashbrown", - "@wasmtime__serde__1_0_163//:serde", + "@cu__autocfg-1.3.0//:autocfg", ], ) -# Unsupported target "equivalent_trait" with type "test" omitted - -# Unsupported target "macros_full_path" with type "test" omitted - -# Unsupported target "quick" with type "test" omitted - -# Unsupported target "tests" with type "test" omitted +alias( + name = "build_script_build", + actual = "indexmap_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel index 43802d438..67bbc3d27 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel @@ -1,163 +1,188 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) -cargo_build_script( - name = "io_lifetimes_build_script", +rust_library( + name = "io_lifetimes", srcs = glob(["**/*.rs"]), - build_script_env = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "close", - "default", "hermit-abi", "libc", "windows-sys", ], - crate_root = "build.rs", - data = glob(["**"]), + crate_root = "src/lib.rs", edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=io-lifetimes", "manual", + "noclippy", + "norustfmt", ], version = "1.0.11", - visibility = ["//visibility:private"], deps = [ - ] + selects.with_or({ - # cfg(not(windows)) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ + "@cu__io-lifetimes-1.0.11//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) ], "//conditions:default": [], }), ) -rust_library( - name = "io_lifetimes", +cargo_build_script( + name = "io-lifetimes_build_script", srcs = glob(["**/*.rs"]), - aliases = { - }, crate_features = [ "close", - "default", "hermit-abi", "libc", "windows-sys", ], - crate_root = "src/lib.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2018", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=io-lifetimes", "manual", + "noclippy", + "norustfmt", ], version = "1.0.11", - # buildifier: leave-alone - deps = [ - ":io_lifetimes_build_script", - ] + selects.with_or({ - # cfg(not(windows)) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__libc__0_2_144//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "io-lifetimes_build_script", + tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel new file mode 100644 index 000000000..5c6f36ef9 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel @@ -0,0 +1,119 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "is_terminal", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=is-terminal", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.12", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.7.bazel deleted file mode 100644 index 4d2c9d0a7..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.7.bazel +++ /dev/null @@ -1,90 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets - -rust_library( - name = "is_terminal", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=is-terminal", - "manual", - ], - version = "0.4.7", - # buildifier: leave-alone - deps = [ - "@wasmtime__io_lifetimes__1_0_11//:io_lifetimes", - ] + selects.with_or({ - # cfg(not(any(windows, target_os = "hermit", target_os = "unknown"))) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__rustix__0_37_19//:rustix", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel index 0c67dab7a..96f862ba8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel @@ -1,98 +1,49 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench1" with type "bench" omitted - -# Unsupported target "combinations" with type "bench" omitted - -# Unsupported target "combinations_with_replacement" with type "bench" omitted - -# Unsupported target "fold_specialization" with type "bench" omitted - -# Unsupported target "powerset" with type "bench" omitted - -# Unsupported target "tree_fold1" with type "bench" omitted - -# Unsupported target "tuple_combinations" with type "bench" omitted - -# Unsupported target "tuples" with type "bench" omitted - -# Unsupported target "iris" with type "example" omitted +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "itertools", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "default", "use_alloc", "use_std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=itertools", "manual", + "noclippy", + "norustfmt", ], version = "0.10.5", - # buildifier: leave-alone deps = [ - "@wasmtime__either__1_8_1//:either", + "@cu__either-1.13.0//:either", ], ) - -# Unsupported target "adaptors_no_collect" with type "test" omitted - -# Unsupported target "flatten_ok" with type "test" omitted - -# Unsupported target "macros_hygiene" with type "test" omitted - -# Unsupported target "merge_join" with type "test" omitted - -# Unsupported target "peeking_take_while" with type "test" omitted - -# Unsupported target "quick" with type "test" omitted - -# Unsupported target "specializations" with type "test" omitted - -# Unsupported target "test_core" with type "test" omitted - -# Unsupported target "test_std" with type "test" omitted - -# Unsupported target "tuples" with type "test" omitted - -# Unsupported target "zip" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel new file mode 100644 index 000000000..d25111035 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "itoa", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=itoa", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.11", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.6.bazel deleted file mode 100644 index 74dfc920f..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.6.bazel +++ /dev/null @@ -1,58 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "itoa", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=itoa", - "manual", - ], - version = "1.0.6", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.144.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.144.bazel deleted file mode 100644 index b4e82c6cb..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.144.bazel +++ /dev/null @@ -1,92 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "libc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "extra_traits", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.2.144", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "libc", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "extra_traits", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=libc", - "manual", - ], - version = "0.2.144", - # buildifier: leave-alone - deps = [ - ":libc_build_script", - ], -) - -# Unsupported target "const_fn" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel new file mode 100644 index 000000000..604b46492 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel @@ -0,0 +1,91 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "libc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "extra_traits", + "std", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=libc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.155", + deps = [ + "@cu__libc-0.2.155//:build_script_build", + ], +) + +cargo_build_script( + name = "libc_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "extra_traits", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=libc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.155", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "libc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel index 27b66b6b9..89f189b38 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel @@ -1,39 +1,32 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) rust_library( name = "linux_raw_sys", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "errno", "general", @@ -41,18 +34,14 @@ rust_library( "no_std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=linux-raw-sys", "manual", + "noclippy", + "norustfmt", ], version = "0.3.8", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel new file mode 100644 index 000000000..87033f72d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "linux_raw_sys", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "elf", + "errno", + "general", + "ioctl", + "no_std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=linux-raw-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.14", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.18.bazel deleted file mode 100644 index 35e51e188..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.18.bazel +++ /dev/null @@ -1,92 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "log_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.4.18", - visibility = ["//visibility:private"], - deps = [ - ], -) - -# Unsupported target "value" with type "bench" omitted - -rust_library( - name = "log", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=log", - "manual", - ], - version = "0.4.18", - # buildifier: leave-alone - deps = [ - ":log_build_script", - ], -) - -# Unsupported target "filters" with type "test" omitted - -# Unsupported target "macros" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel new file mode 100644 index 000000000..7f3c5455d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "log", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=log", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.22", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index 9c7ee4760..e15aac7a0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -1,70 +1,64 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # BSD-2-Clause from expression "BSD-2-Clause" -]) - -# Generated Targets - -# Unsupported target "dump_process_registers" with type "example" omitted +# licenses([ +# "TODO", # BSD-2-Clause +# ]) rust_library( name = "mach", srcs = glob(["**/*.rs"]), - aliases = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "default", ], crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=mach", "manual", + "noclippy", + "norustfmt", ], version = "0.3.2", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(any(target_os = "macos", target_os = "ios")) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:x86_64-apple-ios", - ): [ - "@wasmtime__libc__0_2_144//:libc", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "macos", target_os = "ios")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "macos", target_os = "ios")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "macos", target_os = "ios")) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "macos", target_os = "ios")) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "macos", target_os = "ios")) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "macos", target_os = "ios")) ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.5.0.bazel deleted file mode 100644 index 383e0b4e1..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.5.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "memchr_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "2.5.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "memchr", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=memchr", - "manual", - ], - version = "2.5.0", - # buildifier: leave-alone - deps = [ - ":memchr_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel new file mode 100644 index 000000000..7eb0428ae --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Unlicense OR MIT +# ]) + +rust_library( + name = "memchr", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=memchr", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.7.4", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.3.bazel deleted file mode 100644 index c7e332e52..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.3.bazel +++ /dev/null @@ -1,61 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "sized" with type "example" omitted - -rust_library( - name = "memfd", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=memfd", - "manual", - ], - version = "0.6.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__rustix__0_37_19//:rustix", - ], -) - -# Unsupported target "memfd" with type "test" omitted - -# Unsupported target "sealing" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel new file mode 100644 index 000000000..311b85b49 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "memfd", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=memfd", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.6.4", + deps = [ + "@cu__rustix-0.38.34//:rustix", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel index 03ea77b66..2d3f1fcbe 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel @@ -1,87 +1,90 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) +# licenses([ +# "TODO", # MIT +# ]) -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "memoffset_build_script", +rust_library( + name = "memoffset", srcs = glob(["**/*.rs"]), - build_script_env = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "default", ], - crate_root = "build.rs", - data = glob(["**"]), + crate_root = "src/lib.rs", edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=memoffset", "manual", + "noclippy", + "norustfmt", ], version = "0.8.0", - visibility = ["//visibility:private"], deps = [ - "@wasmtime__autocfg__1_1_0//:autocfg", + "@cu__memoffset-0.8.0//:build_script_build", ], ) -rust_library( - name = "memoffset", +cargo_build_script( + name = "memoffset_build_script", srcs = glob(["**/*.rs"]), crate_features = [ "default", ], - crate_root = "src/lib.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2015", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=memoffset", "manual", + "noclippy", + "norustfmt", ], version = "0.8.0", - # buildifier: leave-alone + visibility = ["//visibility:private"], deps = [ - ":memoffset_build_script", + "@cu__autocfg-1.3.0//:autocfg", ], ) + +alias( + name = "build_script_build", + actual = "memoffset_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.3.bazel deleted file mode 100644 index 9f5417374..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.3.bazel +++ /dev/null @@ -1,74 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -rust_library( - name = "object", - srcs = glob(["**/*.rs"]), - crate_features = [ - "coff", - "crc32fast", - "elf", - "hashbrown", - "indexmap", - "macho", - "pe", - "read_core", - "std", - "write", - "write_core", - "write_std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=object", - "manual", - ], - version = "0.30.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__crc32fast__1_3_2//:crc32fast", - "@wasmtime__hashbrown__0_13_2//:hashbrown", - "@wasmtime__indexmap__1_9_3//:indexmap", - "@wasmtime__memchr__2_5_0//:memchr", - ], -) - -# Unsupported target "integration" with type "test" omitted - -# Unsupported target "parse_self" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel new file mode 100644 index 000000000..1bdcf55ae --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel @@ -0,0 +1,61 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_library( + name = "object", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "coff", + "crc32fast", + "elf", + "hashbrown", + "indexmap", + "macho", + "pe", + "read_core", + "std", + "write", + "write_core", + "write_std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=object", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.30.4", + deps = [ + "@cu__crc32fast-1.4.2//:crc32fast", + "@cu__hashbrown-0.13.2//:hashbrown", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__memchr-2.7.4//:memchr", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.2.bazel deleted file mode 100644 index fdce70f3d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.17.2.bazel +++ /dev/null @@ -1,75 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "example" omitted - -# Unsupported target "bench_acquire" with type "example" omitted - -# Unsupported target "bench_vs_lazy_static" with type "example" omitted - -# Unsupported target "lazy_static" with type "example" omitted - -# Unsupported target "reentrant_init_deadlocks" with type "example" omitted - -# Unsupported target "regex" with type "example" omitted - -# Unsupported target "test_synchronization" with type "example" omitted - -rust_library( - name = "once_cell", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - "race", - "std", - "unstable", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=once_cell", - "manual", - ], - version = "1.17.2", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "it" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel new file mode 100644 index 000000000..ad9c0380e --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "once_cell", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "race", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=once_cell", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.19.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.12.bazel deleted file mode 100644 index d8ed0c975..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.12.bazel +++ /dev/null @@ -1,94 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "paste_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.12", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_proc_macro( - name = "paste", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=paste", - "manual", - ], - version = "1.0.12", - # buildifier: leave-alone - deps = [ - ":paste_build_script", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_attr" with type "test" omitted - -# Unsupported target "test_doc" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted - -# Unsupported target "test_item" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel new file mode 100644 index 000000000..177148def --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "paste", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=paste", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.15", + deps = [ + "@cu__paste-1.0.15//:build_script_build", + ], +) + +cargo_build_script( + name = "paste_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=paste", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.15", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "paste_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel deleted file mode 100644 index 95a56e1b0..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.2.0.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "percent_encoding", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=percent-encoding", - "manual", - ], - version = "2.2.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel new file mode 100644 index 000000000..f4889a63d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "percent_encoding", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=percent-encoding", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.3.1", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel index 458b2d0bb..1c98344a9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel @@ -1,56 +1,45 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "ppv_lite86", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "simd", "std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=ppv-lite86", "manual", + "noclippy", + "norustfmt", ], version = "0.2.17", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.59.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.59.bazel deleted file mode 100644 index 4a7669582..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.59.bazel +++ /dev/null @@ -1,101 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "proc_macro2_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.59", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "proc_macro2", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=proc-macro2", - "manual", - ], - version = "1.0.59", - # buildifier: leave-alone - deps = [ - ":proc_macro2_build_script", - "@wasmtime__unicode_ident__1_0_9//:unicode_ident", - ], -) - -# Unsupported target "comments" with type "test" omitted - -# Unsupported target "features" with type "test" omitted - -# Unsupported target "marker" with type "test" omitted - -# Unsupported target "test" with type "test" omitted - -# Unsupported target "test_fmt" with type "test" omitted - -# Unsupported target "test_size" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel new file mode 100644 index 000000000..071369a04 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel @@ -0,0 +1,90 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "proc_macro2", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=proc-macro2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + deps = [ + "@cu__proc-macro2-1.0.86//:build_script_build", + "@cu__unicode-ident-1.0.12//:unicode_ident", + ], +) + +cargo_build_script( + name = "proc-macro2_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "proc-macro", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=proc-macro2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.86", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "proc-macro2_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel index bd4d7d358..5c481198a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -1,101 +1,84 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) -cargo_build_script( - name = "psm_build_script", +rust_library( + name = "psm", srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", + "crate-name=psm", "manual", + "noclippy", + "norustfmt", ], version = "0.1.21", - visibility = ["//visibility:private"], deps = [ - "@wasmtime__cc__1_0_79//:cc", + "@cu__psm-0.1.21//:build_script_build", ], ) -# Unsupported target "info" with type "example" omitted - -# Unsupported target "on_stack_fibo" with type "example" omitted - -# Unsupported target "on_stack_fibo_alloc_each_frame" with type "example" omitted - -# Unsupported target "panics" with type "example" omitted - -# Unsupported target "replace_stack_1" with type "example" omitted - -# Unsupported target "thread" with type "example" omitted - -rust_library( - name = "psm", +cargo_build_script( + name = "psm_build_script", srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), edition = "2015", rustc_flags = [ "--cap-lints=allow", ], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=psm", "manual", + "noclippy", + "norustfmt", ], version = "0.1.21", - # buildifier: leave-alone + visibility = ["//visibility:private"], deps = [ - ":psm_build_script", + "@cu__cc-1.1.6//:cc", ], ) -# Unsupported target "stack_direction" with type "test" omitted - -# Unsupported target "stack_direction_2" with type "test" omitted +alias( + name = "build_script_build", + actual = "psm_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.28.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.28.bazel deleted file mode 100644 index f7ec518fc..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.28.bazel +++ /dev/null @@ -1,93 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "quote_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.28", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "quote", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "proc-macro", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=quote", - "manual", - ], - version = "1.0.28", - # buildifier: leave-alone - deps = [ - ":quote_build_script", - "@wasmtime__proc_macro2__1_0_59//:proc_macro2", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel new file mode 100644 index 000000000..5225df631 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "quote", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=quote", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.36", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 963fc2f11..0097fc591 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -1,41 +1,32 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) rust_library( name = "rand", srcs = glob(["**/*.rs"]), - aliases = { - }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "alloc", "default", @@ -47,42 +38,82 @@ rust_library( "std_rng", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=rand", "manual", + "noclippy", + "norustfmt", ], version = "0.8.5", - # buildifier: leave-alone deps = [ - "@wasmtime__rand_chacha__0_3_1//:rand_chacha", - "@wasmtime__rand_core__0_6_4//:rand_core", - ] + selects.with_or({ - # cfg(unix) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__libc__0_2_144//:libc", + "@cu__rand_chacha-0.3.1//:rand_chacha", + "@cu__rand_core-0.6.4//:rand_core", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel index c6b497c31..32d2dbfbe 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel @@ -1,57 +1,48 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) rust_library( name = "rand_chacha", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=rand_chacha", "manual", + "noclippy", + "norustfmt", ], version = "0.3.1", - # buildifier: leave-alone deps = [ - "@wasmtime__ppv_lite86__0_2_17//:ppv_lite86", - "@wasmtime__rand_core__0_6_4//:rand_core", + "@cu__ppv-lite86-0.2.17//:ppv_lite86", + "@cu__rand_core-0.6.4//:rand_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel index cbe1ac88f..c9aa0320a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel @@ -1,58 +1,49 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) rust_library( name = "rand_core", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "alloc", "getrandom", "std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=rand_core", "manual", + "noclippy", + "norustfmt", ], version = "0.6.4", - # buildifier: leave-alone deps = [ - "@wasmtime__getrandom__0_2_9//:getrandom", + "@cu__getrandom-0.2.15//:getrandom", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel index 47c5f5a0f..baae510e3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel @@ -1,62 +1,53 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) rust_library( name = "regalloc2", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "checker", "default", "std", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=regalloc2", "manual", + "noclippy", + "norustfmt", ], version = "0.8.1", - # buildifier: leave-alone deps = [ - "@wasmtime__hashbrown__0_13_2//:hashbrown", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__rustc_hash__1_1_0//:rustc_hash", - "@wasmtime__slice_group_by__0_3_1//:slice_group_by", - "@wasmtime__smallvec__1_10_0//:smallvec", + "@cu__hashbrown-0.13.2//:hashbrown", + "@cu__log-0.4.22//:log", + "@cu__rustc-hash-1.1.0//:rustc_hash", + "@cu__slice-group-by-0.3.1//:slice_group_by", + "@cu__smallvec-1.13.2//:smallvec", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel new file mode 100644 index 000000000..bfbfa2c87 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel @@ -0,0 +1,57 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "regex", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "perf", + "perf-backtrack", + "perf-cache", + "perf-dfa", + "perf-inline", + "perf-literal", + "perf-onepass", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=regex", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.10.5", + deps = [ + "@cu__aho-corasick-1.1.3//:aho_corasick", + "@cu__memchr-2.7.4//:memchr", + "@cu__regex-automata-0.4.7//:regex_automata", + "@cu__regex-syntax-0.8.4//:regex_syntax", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.8.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.8.3.bazel deleted file mode 100644 index 61f812023..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.8.3.bazel +++ /dev/null @@ -1,95 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "shootout-regex-dna" with type "example" omitted - -# Unsupported target "shootout-regex-dna-bytes" with type "example" omitted - -# Unsupported target "shootout-regex-dna-cheat" with type "example" omitted - -# Unsupported target "shootout-regex-dna-replace" with type "example" omitted - -# Unsupported target "shootout-regex-dna-single" with type "example" omitted - -# Unsupported target "shootout-regex-dna-single-cheat" with type "example" omitted - -rust_library( - name = "regex", - srcs = glob(["**/*.rs"]), - crate_features = [ - "aho-corasick", - "memchr", - "perf", - "perf-cache", - "perf-dfa", - "perf-inline", - "perf-literal", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=regex", - "manual", - ], - version = "1.8.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__aho_corasick__1_0_1//:aho_corasick", - "@wasmtime__memchr__2_5_0//:memchr", - "@wasmtime__regex_syntax__0_7_2//:regex_syntax", - ], -) - -# Unsupported target "backtrack" with type "test" omitted - -# Unsupported target "backtrack-bytes" with type "test" omitted - -# Unsupported target "backtrack-utf8bytes" with type "test" omitted - -# Unsupported target "crates-regex" with type "test" omitted - -# Unsupported target "default" with type "test" omitted - -# Unsupported target "default-bytes" with type "test" omitted - -# Unsupported target "nfa" with type "test" omitted - -# Unsupported target "nfa-bytes" with type "test" omitted - -# Unsupported target "nfa-utf8bytes" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel new file mode 100644 index 000000000..64e138001 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel @@ -0,0 +1,61 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "regex_automata", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "dfa-onepass", + "hybrid", + "meta", + "nfa-backtrack", + "nfa-pikevm", + "nfa-thompson", + "perf-inline", + "perf-literal", + "perf-literal-multisubstring", + "perf-literal-substring", + "std", + "syntax", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=regex-automata", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.7", + deps = [ + "@cu__aho-corasick-1.1.3//:aho_corasick", + "@cu__memchr-2.7.4//:memchr", + "@cu__regex-syntax-0.8.4//:regex_syntax", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.7.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.7.2.bazel deleted file mode 100644 index aa703a39d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.7.2.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "regex_syntax", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=regex-syntax", - "manual", - ], - version = "0.7.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel new file mode 100644 index 000000000..0145c6b0a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "regex_syntax", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=regex-syntax", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.4", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.23.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.23.bazel deleted file mode 100644 index 961a591ce..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.23.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "rustc_demangle", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=rustc-demangle", - "manual", - ], - version = "0.1.23", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel new file mode 100644 index 000000000..36cc346c2 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "rustc_demangle", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rustc-demangle", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.24", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel index fe125ad9c..5d2fab8f0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel @@ -1,54 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets +# licenses([ +# "TODO", # Apache-2.0/MIT +# ]) rust_library( name = "rustc_hash", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=rustc-hash", "manual", + "noclippy", + "norustfmt", ], version = "1.1.0", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.19.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.19.bazel deleted file mode 100644 index 358429af6..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.19.bazel +++ /dev/null @@ -1,232 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "rustix_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "fs", - "io-lifetimes", - "libc", - "mm", - "std", - "termios", - "use-libc-auxv", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - "--cfg=feature=\"cc\"", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.37.19", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__cc__1_0_79//:cc", - ] + selects.with_or({ - # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ( - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - ): [ - "@wasmtime__linux_raw_sys__0_3_8//:linux_raw_sys", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "mod" with type "bench" omitted - -rust_library( - name = "rustix", - srcs = glob(["**/*.rs"]), - aliases = { - "@wasmtime__errno__0_3_1//:errno": "libc_errno", - }, - crate_features = [ - "default", - "fs", - "io-lifetimes", - "libc", - "mm", - "std", - "termios", - "use-libc-auxv", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - "--cfg=feature=\"cc\"", - ], - tags = [ - "cargo-raze", - "crate-name=rustix", - "manual", - ], - version = "0.37.19", - # buildifier: leave-alone - deps = [ - ":rustix_build_script", - "@wasmtime__bitflags__1_3_2//:bitflags", - "@wasmtime__io_lifetimes__1_0_11//:io_lifetimes", - ] + selects.with_or({ - # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ( - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - ): [ - "@wasmtime__linux_raw_sys__0_3_8//:linux_raw_sys", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ( - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__libc__0_2_144//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__errno__0_3_1//:errno", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel new file mode 100644 index 000000000..2a43dbc12 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel @@ -0,0 +1,312 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "rustix", + srcs = glob(["**/*.rs"]), + aliases = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-apple-ios": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-apple-ios-sim": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-fuchsia": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-linux-android": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:armv7-linux-androideabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:i686-apple-darwin": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:i686-linux-android": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:i686-pc-windows-msvc": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:i686-unknown-freebsd": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:thumbv7em-none-eabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:wasm32-unknown-unknown": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:wasm32-wasi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-apple-darwin": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-apple-ios": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-fuchsia": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-linux-android": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:x86_64-unknown-freebsd": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "@rules_rust//rust/platform:x86_64-unknown-none": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, + "//conditions:default": {}, + }), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "io-lifetimes", + "libc", + "mm", + "std", + "use-libc-auxv", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.37.27", + deps = [ + "@cu__bitflags-1.3.2//:bitflags", + "@cu__io-lifetimes-1.0.11//:io_lifetimes", + "@cu__rustix-0.37.27//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__errno-0.3.9//:errno", # cfg(windows) + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__errno-0.3.9//:errno", # cfg(windows) + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__errno-0.3.9//:errno", # cfg(windows) + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "rustix_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "io-lifetimes", + "libc", + "mm", + "std", + "use-libc-auxv", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.37.27", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "rustix_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel new file mode 100644 index 000000000..88588a0d1 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel @@ -0,0 +1,326 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "rustix", + srcs = glob(["**/*.rs"]), + aliases = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:aarch64-apple-ios": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:aarch64-apple-ios-sim": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:aarch64-fuchsia": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:aarch64-linux-android": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + }, + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + }, + "@rules_rust//rust/platform:armv7-linux-androideabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + }, + "@rules_rust//rust/platform:i686-apple-darwin": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:i686-linux-android": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:i686-pc-windows-msvc": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:i686-unknown-freebsd": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:i686-unknown-linux-gnu": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + }, + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:thumbv7em-none-eabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:wasm32-unknown-unknown": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:wasm32-wasi": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:x86_64-apple-darwin": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:x86_64-apple-ios": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:x86_64-fuchsia": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:x86_64-linux-android": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:x86_64-unknown-freebsd": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + }, + "@rules_rust//rust/platform:x86_64-unknown-none": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + }, + "//conditions:default": {}, + }), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "fs", + "libc-extra-traits", + "std", + "use-libc-auxv", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.38.34", + deps = [ + "@cu__bitflags-2.6.0//:bitflags", + "@cu__rustix-0.38.34//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__errno-0.3.9//:errno", # cfg(windows) + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__errno-0.3.9//:errno", # cfg(windows) + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__errno-0.3.9//:errno", # cfg(windows) + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "rustix_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "alloc", + "default", + "fs", + "libc-extra-traits", + "std", + "use-libc-auxv", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.38.34", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "rustix_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel deleted file mode 100644 index 181285685..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.13.bazel +++ /dev/null @@ -1,72 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR BSL-1.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -# Unsupported target "upstream_benchmark" with type "example" omitted - -rust_library( - name = "ryu", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=ryu", - "manual", - ], - version = "1.0.13", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "common_test" with type "test" omitted - -# Unsupported target "d2s_table_test" with type "test" omitted - -# Unsupported target "d2s_test" with type "test" omitted - -# Unsupported target "exhaustive" with type "test" omitted - -# Unsupported target "f2s_test" with type "test" omitted - -# Unsupported target "s2d_test" with type "test" omitted - -# Unsupported target "s2f_test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel new file mode 100644 index 000000000..b43782049 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR BSL-1.0 +# ]) + +rust_library( + name = "ryu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=ryu", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.18", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.163.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.163.bazel deleted file mode 100644 index 1922368ce..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.163.bazel +++ /dev/null @@ -1,95 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "serde_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "derive", - "serde_derive", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.163", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "serde", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "derive", - "serde_derive", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - proc_macro_deps = [ - "@wasmtime__serde_derive__1_0_163//:serde_derive", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde", - "manual", - ], - version = "1.0.163", - # buildifier: leave-alone - deps = [ - ":serde_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel new file mode 100644 index 000000000..2420c55c6 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel @@ -0,0 +1,96 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "serde", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@cu__serde_derive-1.0.204//:serde_derive", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.204", + deps = [ + "@cu__serde-1.0.204//:build_script_build", + ], +) + +cargo_build_script( + name = "serde_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.204", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "serde_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel deleted file mode 100644 index 5e8df1db1..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.163.bazel +++ /dev/null @@ -1,58 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "serde_derive", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde_derive", - "manual", - ], - version = "1.0.163", - # buildifier: leave-alone - deps = [ - "@wasmtime__proc_macro2__1_0_59//:proc_macro2", - "@wasmtime__quote__1_0_28//:quote", - "@wasmtime__syn__2_0_18//:syn", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel new file mode 100644 index 000000000..3bf90add0 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "serde_derive", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=serde_derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.204", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__syn-2.0.72//:syn", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel new file mode 100644 index 000000000..6e9825146 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel @@ -0,0 +1,92 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "serde_json", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=serde_json", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.120", + deps = [ + "@cu__itoa-1.0.11//:itoa", + "@cu__ryu-1.0.18//:ryu", + "@cu__serde-1.0.204//:serde", + "@cu__serde_json-1.0.120//:build_script_build", + ], +) + +cargo_build_script( + name = "serde_json_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde_json", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.120", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "serde_json_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel deleted file mode 100644 index a40a46285..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.96.bazel +++ /dev/null @@ -1,105 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "serde_json_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.96", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "serde_json", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=serde_json", - "manual", - ], - version = "1.0.96", - # buildifier: leave-alone - deps = [ - ":serde_json_build_script", - "@wasmtime__itoa__1_0_6//:itoa", - "@wasmtime__ryu__1_0_13//:ryu", - "@wasmtime__serde__1_0_163//:serde", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "debug" with type "test" omitted - -# Unsupported target "lexical" with type "test" omitted - -# Unsupported target "map" with type "test" omitted - -# Unsupported target "regression" with type "test" omitted - -# Unsupported target "stream" with type "test" omitted - -# Unsupported target "test" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel index a9d7a87f1..2df3f512d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel @@ -1,54 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT +# ]) rust_library( name = "slice_group_by", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=slice-group-by", "manual", + "noclippy", + "norustfmt", ], version = "0.3.1", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel deleted file mode 100644 index a5ff1f07e..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.10.0.bazel +++ /dev/null @@ -1,61 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "smallvec", - srcs = glob(["**/*.rs"]), - crate_features = [ - "union", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=smallvec", - "manual", - ], - version = "1.10.0", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "debugger_visualizer" with type "test" omitted - -# Unsupported target "macro" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel new file mode 100644 index 000000000..aac620928 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "smallvec", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "union", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=smallvec", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.13.2", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel index 584db4e50..ca9fce400 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel @@ -1,56 +1,45 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) rust_library( name = "stable_deref_trait", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "alloc", "std", ], crate_root = "src/lib.rs", - data = [], edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=stable_deref_trait", "manual", + "noclippy", + "norustfmt", ], version = "1.2.0", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.18.bazel deleted file mode 100644 index 9d1d35631..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.18.bazel +++ /dev/null @@ -1,122 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "file" with type "bench" omitted - -# Unsupported target "rust" with type "bench" omitted - -rust_library( - name = "syn", - srcs = glob(["**/*.rs"]), - crate_features = [ - "clone-impls", - "default", - "derive", - "parsing", - "printing", - "proc-macro", - "quote", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=syn", - "manual", - ], - version = "2.0.18", - # buildifier: leave-alone - deps = [ - "@wasmtime__proc_macro2__1_0_59//:proc_macro2", - "@wasmtime__quote__1_0_28//:quote", - "@wasmtime__unicode_ident__1_0_9//:unicode_ident", - ], -) - -# Unsupported target "regression" with type "test" omitted - -# Unsupported target "test_asyncness" with type "test" omitted - -# Unsupported target "test_attribute" with type "test" omitted - -# Unsupported target "test_derive_input" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted - -# Unsupported target "test_generics" with type "test" omitted - -# Unsupported target "test_grouping" with type "test" omitted - -# Unsupported target "test_ident" with type "test" omitted - -# Unsupported target "test_item" with type "test" omitted - -# Unsupported target "test_iterators" with type "test" omitted - -# Unsupported target "test_lit" with type "test" omitted - -# Unsupported target "test_meta" with type "test" omitted - -# Unsupported target "test_parse_buffer" with type "test" omitted - -# Unsupported target "test_parse_stream" with type "test" omitted - -# Unsupported target "test_pat" with type "test" omitted - -# Unsupported target "test_path" with type "test" omitted - -# Unsupported target "test_precedence" with type "test" omitted - -# Unsupported target "test_receiver" with type "test" omitted - -# Unsupported target "test_round_trip" with type "test" omitted - -# Unsupported target "test_shebang" with type "test" omitted - -# Unsupported target "test_should_parse" with type "test" omitted - -# Unsupported target "test_size" with type "test" omitted - -# Unsupported target "test_stmt" with type "test" omitted - -# Unsupported target "test_token_trees" with type "test" omitted - -# Unsupported target "test_ty" with type "test" omitted - -# Unsupported target "test_visibility" with type "test" omitted - -# Unsupported target "zzz_stable" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel new file mode 100644 index 000000000..8faee8809 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel @@ -0,0 +1,54 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "syn", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "clone-impls", + "default", + "derive", + "parsing", + "printing", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=syn", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.0.72", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__unicode-ident-1.0.12//:unicode_ident", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel new file mode 100644 index 000000000..e4fded0a4 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel @@ -0,0 +1,87 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "target_lexicon", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=target-lexicon", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.12.15", + deps = [ + "@cu__target-lexicon-0.12.15//:build_script_build", + ], +) + +cargo_build_script( + name = "target-lexicon_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "std", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=target-lexicon", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.12.15", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "target-lexicon_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.7.bazel deleted file mode 100644 index 598efd675..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.7.bazel +++ /dev/null @@ -1,90 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "target_lexicon_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.12.7", - visibility = ["//visibility:private"], - deps = [ - ], -) - -# Unsupported target "host" with type "example" omitted - -# Unsupported target "misc" with type "example" omitted - -rust_library( - name = "target_lexicon", - srcs = glob(["**/*.rs"]), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=target-lexicon", - "manual", - ], - version = "0.12.7", - # buildifier: leave-alone - deps = [ - ":target_lexicon_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.2.0.bazel deleted file mode 100644 index 325896227..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.2.0.bazel +++ /dev/null @@ -1,65 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -rust_library( - name = "termcolor", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=termcolor", - "manual", - ], - version = "1.2.0", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__winapi_util__0_1_5//:winapi_util", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel new file mode 100644 index 000000000..98e611135 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel @@ -0,0 +1,53 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Unlicense OR MIT +# ]) + +rust_library( + name = "termcolor", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=termcolor", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.4.1", + deps = select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__winapi-util-0.1.8//:winapi_util", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__winapi-util-0.1.8//:winapi_util", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__winapi-util-0.1.8//:winapi_util", # cfg(windows) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.40.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.40.bazel deleted file mode 100644 index 47e53f008..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.40.bazel +++ /dev/null @@ -1,113 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "thiserror_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.40", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "thiserror", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - proc_macro_deps = [ - "@wasmtime__thiserror_impl__1_0_40//:thiserror_impl", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=thiserror", - "manual", - ], - version = "1.0.40", - # buildifier: leave-alone - deps = [ - ":thiserror_build_script", - ], -) - -# Unsupported target "compiletest" with type "test" omitted - -# Unsupported target "test_backtrace" with type "test" omitted - -# Unsupported target "test_deprecated" with type "test" omitted - -# Unsupported target "test_display" with type "test" omitted - -# Unsupported target "test_error" with type "test" omitted - -# Unsupported target "test_expr" with type "test" omitted - -# Unsupported target "test_from" with type "test" omitted - -# Unsupported target "test_generics" with type "test" omitted - -# Unsupported target "test_lints" with type "test" omitted - -# Unsupported target "test_option" with type "test" omitted - -# Unsupported target "test_path" with type "test" omitted - -# Unsupported target "test_source" with type "test" omitted - -# Unsupported target "test_transparent" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel new file mode 100644 index 000000000..a59d5764f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel @@ -0,0 +1,84 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "thiserror", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__thiserror-impl-1.0.63//:thiserror_impl", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=thiserror", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.63", + deps = [ + "@cu__thiserror-1.0.63//:build_script_build", + ], +) + +cargo_build_script( + name = "thiserror_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=thiserror", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.63", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "thiserror_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel deleted file mode 100644 index d62ae3059..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.40.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_proc_macro( - name = "thiserror_impl", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=thiserror-impl", - "manual", - ], - version = "1.0.40", - # buildifier: leave-alone - deps = [ - "@wasmtime__proc_macro2__1_0_59//:proc_macro2", - "@wasmtime__quote__1_0_28//:quote", - "@wasmtime__syn__2_0_18//:syn", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel new file mode 100644 index 000000000..1a5c3ad7a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_proc_macro( + name = "thiserror_impl", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=thiserror-impl", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.63", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__syn-2.0.72//:syn", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel deleted file mode 100644 index 0fe1e0a1b..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.6.0.bazel +++ /dev/null @@ -1,66 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Zlib from expression "Zlib OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets - -# Unsupported target "macros" with type "bench" omitted - -# Unsupported target "smallvec" with type "bench" omitted - -rust_library( - name = "tinyvec", - srcs = glob(["**/*.rs"]), - crate_features = [ - "alloc", - "default", - "tinyvec_macros", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=tinyvec", - "manual", - ], - version = "1.6.0", - # buildifier: leave-alone - deps = [ - "@wasmtime__tinyvec_macros__0_1_1//:tinyvec_macros", - ], -) - -# Unsupported target "arrayvec" with type "test" omitted - -# Unsupported target "tinyvec" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel new file mode 100644 index 000000000..35e49d4db --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Zlib OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "tinyvec", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "tinyvec_macros", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=tinyvec", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.8.0", + deps = [ + "@cu__tinyvec_macros-0.1.1//:tinyvec_macros", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel index c0d7a9263..89f138089 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel @@ -1,54 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR (Apache-2.0 OR Zlib)" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT OR Apache-2.0 OR Zlib +# ]) rust_library( name = "tinyvec_macros", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=tinyvec_macros", "manual", + "noclippy", + "norustfmt", ], version = "0.1.1", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.13.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.13.bazel deleted file mode 100644 index e16635d9d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.13.bazel +++ /dev/null @@ -1,59 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "unicode_bidi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "hardcoded-data", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode_bidi", - "manual", - ], - version = "0.3.13", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "conformance_tests" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel new file mode 100644 index 000000000..aaaccdc0c --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "unicode_bidi", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "hardcoded-data", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=unicode-bidi", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.15", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel new file mode 100644 index 000000000..6ffa07ed5 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016 +# ]) + +rust_library( + name = "unicode_ident", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=unicode-ident", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.12", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.9.bazel deleted file mode 100644 index a6425e1a6..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.9.bazel +++ /dev/null @@ -1,60 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "(MIT OR Apache-2.0) AND Unicode-DFS-2016" -]) - -# Generated Targets - -# Unsupported target "xid" with type "bench" omitted - -rust_library( - name = "unicode_ident", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-ident", - "manual", - ], - version = "1.0.9", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "compare" with type "test" omitted - -# Unsupported target "static_size" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel deleted file mode 100644 index cb865589a..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.22.bazel +++ /dev/null @@ -1,59 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "unicode_normalization", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=unicode-normalization", - "manual", - ], - version = "0.1.22", - # buildifier: leave-alone - deps = [ - "@wasmtime__tinyvec__1_6_0//:tinyvec", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel new file mode 100644 index 000000000..b4bc78bde --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "unicode_normalization", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=unicode-normalization", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.23", + deps = [ + "@cu__tinyvec-1.8.0//:tinyvec", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel deleted file mode 100644 index d722ef883..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.url-2.3.1.bazel +++ /dev/null @@ -1,66 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "parse_url" with type "bench" omitted - -rust_library( - name = "url", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=url", - "manual", - ], - version = "2.3.1", - # buildifier: leave-alone - deps = [ - "@wasmtime__form_urlencoded__1_1_0//:form_urlencoded", - "@wasmtime__idna__0_3_0//:idna", - "@wasmtime__percent_encoding__2_2_0//:percent_encoding", - ], -) - -# Unsupported target "data" with type "test" omitted - -# Unsupported target "debugger_visualizer" with type "test" omitted - -# Unsupported target "unit" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel new file mode 100644 index 000000000..9ec6bbdbe --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "url", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=url", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.5.2", + deps = [ + "@cu__form_urlencoded-1.2.1//:form_urlencoded", + "@cu__idna-0.5.0//:idna", + "@cu__percent-encoding-2.3.1//:percent_encoding", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel new file mode 100644 index 000000000..bc72b369e --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel @@ -0,0 +1,45 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 OR MIT +# ]) + +rust_library( + name = "uuid", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=uuid", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.10.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel deleted file mode 100644 index da9581211..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.3.3.bazel +++ /dev/null @@ -1,72 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR MIT" -]) - -# Generated Targets - -# Unsupported target "format_str" with type "bench" omitted - -# Unsupported target "parse_str" with type "bench" omitted - -# Unsupported target "v4" with type "bench" omitted - -# Unsupported target "random_uuid" with type "example" omitted - -# Unsupported target "sortable_uuid" with type "example" omitted - -# Unsupported target "uuid_macro" with type "example" omitted - -# Unsupported target "windows_guid" with type "example" omitted - -rust_library( - name = "uuid", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=uuid", - "manual", - ], - version = "1.3.3", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "macros" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel deleted file mode 100644 index 12fff826e..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.4.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "version_check", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=version_check", - "manual", - ], - version = "0.9.4", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel new file mode 100644 index 000000000..f7fd3cac6 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel @@ -0,0 +1,41 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT/Apache-2.0 +# ]) + +rust_library( + name = "version_check", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=version_check", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.9.5", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel index 267bfa470..9f8f31c9f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -1,54 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" -]) - -# Generated Targets +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# ]) rust_library( name = "wasi", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=wasi", "manual", + "noclippy", + "norustfmt", ], version = "0.11.0+wasi-snapshot-preview1", - # buildifier: leave-alone - deps = [ - ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel index b4306c8fe..7ee3464d8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel @@ -1,62 +1,45 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "benchmark" with type "bench" omitted - -# Unsupported target "simple" with type "example" omitted +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) rust_library( name = "wasmparser", srcs = glob(["**/*.rs"]), - crate_features = [ - ], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_root = "src/lib.rs", - data = [], edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=wasmparser", "manual", + "noclippy", + "norustfmt", ], version = "0.103.0", - # buildifier: leave-alone deps = [ - "@wasmtime__indexmap__1_9_3//:indexmap", - "@wasmtime__url__2_3_1//:url", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__url-2.5.2//:url", ], ) - -# Unsupported target "big-module" with type "test" omitted diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.3.bazel deleted file mode 100644 index 4cb39da59..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.3.bazel +++ /dev/null @@ -1,128 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "wasmtime_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "cranelift", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "9.0.3", - visibility = ["//visibility:private"], - deps = [ - ] + selects.with_or({ - # cfg(target_os = "windows") - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) - -rust_library( - name = "wasmtime", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "cranelift", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - proc_macro_deps = [ - "@wasmtime__paste__1_0_12//:paste", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - ":wasmtime_build_script", - "@wasmtime__anyhow__1_0_71//:anyhow", - "@wasmtime__bincode__1_3_3//:bincode", - "@wasmtime__bumpalo__3_13_0//:bumpalo", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__fxprof_processed_profile__0_6_0//:fxprof_processed_profile", - "@wasmtime__indexmap__1_9_3//:indexmap", - "@wasmtime__libc__0_2_144//:libc", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__object__0_30_3//:object", - "@wasmtime__once_cell__1_17_2//:once_cell", - "@wasmtime__psm__0_1_21//:psm", - "@wasmtime__serde__1_0_163//:serde", - "@wasmtime__serde_json__1_0_96//:serde_json", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - "@wasmtime__wasmparser__0_103_0//:wasmparser", - "@wasmtime__wasmtime_cranelift__9_0_3//:wasmtime_cranelift", - "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", - "@wasmtime__wasmtime_jit__9_0_3//:wasmtime_jit", - "@wasmtime__wasmtime_runtime__9_0_3//:wasmtime_runtime", - ] + selects.with_or({ - # cfg(target_os = "windows") - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel new file mode 100644 index 000000000..3fd1ef0d1 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel @@ -0,0 +1,120 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "cranelift", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__paste-1.0.15//:paste", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__bincode-1.3.3//:bincode", + "@cu__bumpalo-3.16.0//:bumpalo", + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__fxprof-processed-profile-0.6.0//:fxprof_processed_profile", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__libc-0.2.155//:libc", + "@cu__log-0.4.22//:log", + "@cu__object-0.30.4//:object", + "@cu__once_cell-1.19.0//:once_cell", + "@cu__psm-0.1.21//:psm", + "@cu__serde-1.0.204//:serde", + "@cu__serde_json-1.0.120//:serde_json", + "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__wasmparser-0.103.0//:wasmparser", + "@cu__wasmtime-9.0.4//:build_script_build", + "@cu__wasmtime-cranelift-9.0.4//:wasmtime_cranelift", + "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", + "@cu__wasmtime-jit-9.0.4//:wasmtime_jit", + "@cu__wasmtime-runtime-9.0.4//:wasmtime_runtime", + ] + select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "wasmtime_build_script", + srcs = glob(["**/*.rs"]), + crate_features = [ + "cranelift", + ], + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "wasmtime_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.3.bazel deleted file mode 100644 index 0079829ac..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.3.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasmtime_asm_macros", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-asm-macros", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cfg_if__1_0_0//:cfg_if", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel new file mode 100644 index 000000000..b736e0bc9 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_asm_macros", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-asm-macros", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel index eff79e771..d19728fc5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel @@ -1,56 +1,41 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "restricted", # no license -]) - -# Generated Targets +package(default_visibility = ["//visibility:public"]) rust_proc_macro( name = "wasmtime_c_api_macros", srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "crates/c-api/macros/src/lib.rs", - data = [], + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=wasmtime-c-api-macros", "manual", + "noclippy", + "norustfmt", ], version = "0.0.0", - # buildifier: leave-alone deps = [ - "@wasmtime__proc_macro2__1_0_59//:proc_macro2", - "@wasmtime__quote__1_0_28//:quote", + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.3.bazel deleted file mode 100644 index 5b10ca85c..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.3.bazel +++ /dev/null @@ -1,69 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasmtime_cranelift", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-cranelift", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__anyhow__1_0_71//:anyhow", - "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", - "@wasmtime__cranelift_control__0_96_3//:cranelift_control", - "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", - "@wasmtime__cranelift_frontend__0_96_3//:cranelift_frontend", - "@wasmtime__cranelift_native__0_96_3//:cranelift_native", - "@wasmtime__cranelift_wasm__0_96_3//:cranelift_wasm", - "@wasmtime__gimli__0_27_2//:gimli", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__object__0_30_3//:object", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - "@wasmtime__thiserror__1_0_40//:thiserror", - "@wasmtime__wasmparser__0_103_0//:wasmparser", - "@wasmtime__wasmtime_cranelift_shared__9_0_3//:wasmtime_cranelift_shared", - "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel new file mode 100644 index 000000000..d5baad39d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel @@ -0,0 +1,58 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_cranelift", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-cranelift", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", + "@cu__cranelift-control-0.96.4//:cranelift_control", + "@cu__cranelift-entity-0.96.4//:cranelift_entity", + "@cu__cranelift-frontend-0.96.4//:cranelift_frontend", + "@cu__cranelift-native-0.96.4//:cranelift_native", + "@cu__cranelift-wasm-0.96.4//:cranelift_wasm", + "@cu__gimli-0.27.3//:gimli", + "@cu__log-0.4.22//:log", + "@cu__object-0.30.4//:object", + "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__thiserror-1.0.63//:thiserror", + "@cu__wasmparser-0.103.0//:wasmparser", + "@cu__wasmtime-cranelift-shared-9.0.4//:wasmtime_cranelift_shared", + "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel deleted file mode 100644 index bcfe1dd16..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.3.bazel +++ /dev/null @@ -1,62 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasmtime_cranelift_shared", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-cranelift-shared", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__anyhow__1_0_71//:anyhow", - "@wasmtime__cranelift_codegen__0_96_3//:cranelift_codegen", - "@wasmtime__cranelift_control__0_96_3//:cranelift_control", - "@wasmtime__cranelift_native__0_96_3//:cranelift_native", - "@wasmtime__gimli__0_27_2//:gimli", - "@wasmtime__object__0_30_3//:object", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel new file mode 100644 index 000000000..5541a2717 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel @@ -0,0 +1,51 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_cranelift_shared", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-cranelift-shared", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", + "@cu__cranelift-control-0.96.4//:cranelift_control", + "@cu__cranelift-native-0.96.4//:cranelift_native", + "@cu__gimli-0.27.3//:gimli", + "@cu__object-0.30.4//:object", + "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.3.bazel deleted file mode 100644 index d16a2ca36..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.3.bazel +++ /dev/null @@ -1,67 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -# Unsupported target "factc" with type "example" omitted - -rust_library( - name = "wasmtime_environ", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-environ", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__anyhow__1_0_71//:anyhow", - "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", - "@wasmtime__gimli__0_27_2//:gimli", - "@wasmtime__indexmap__1_9_3//:indexmap", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__object__0_30_3//:object", - "@wasmtime__serde__1_0_163//:serde", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - "@wasmtime__thiserror__1_0_40//:thiserror", - "@wasmtime__wasmparser__0_103_0//:wasmparser", - "@wasmtime__wasmtime_types__9_0_3//:wasmtime_types", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel new file mode 100644 index 000000000..32234089b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel @@ -0,0 +1,54 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_environ", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-environ", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__cranelift-entity-0.96.4//:cranelift_entity", + "@cu__gimli-0.27.3//:gimli", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__log-0.4.22//:log", + "@cu__object-0.30.4//:object", + "@cu__serde-1.0.204//:serde", + "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__thiserror-1.0.63//:thiserror", + "@cu__wasmparser-0.103.0//:wasmparser", + "@cu__wasmtime-types-9.0.4//:wasmtime_types", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.3.bazel deleted file mode 100644 index 7080c14c6..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.3.bazel +++ /dev/null @@ -1,79 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasmtime_jit", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-jit", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__addr2line__0_19_0//:addr2line", - "@wasmtime__anyhow__1_0_71//:anyhow", - "@wasmtime__bincode__1_3_3//:bincode", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__cpp_demangle__0_3_5//:cpp_demangle", - "@wasmtime__gimli__0_27_2//:gimli", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__object__0_30_3//:object", - "@wasmtime__rustc_demangle__0_1_23//:rustc_demangle", - "@wasmtime__serde__1_0_163//:serde", - "@wasmtime__target_lexicon__0_12_7//:target_lexicon", - "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", - "@wasmtime__wasmtime_jit_icache_coherence__9_0_3//:wasmtime_jit_icache_coherence", - "@wasmtime__wasmtime_runtime__9_0_3//:wasmtime_runtime", - ] + selects.with_or({ - # cfg(target_os = "windows") - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel new file mode 100644 index 000000000..236b21728 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel @@ -0,0 +1,68 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_jit", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-jit", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__addr2line-0.19.0//:addr2line", + "@cu__anyhow-1.0.86//:anyhow", + "@cu__bincode-1.3.3//:bincode", + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__cpp_demangle-0.3.5//:cpp_demangle", + "@cu__gimli-0.27.3//:gimli", + "@cu__log-0.4.22//:log", + "@cu__object-0.30.4//:object", + "@cu__rustc-demangle-0.1.24//:rustc_demangle", + "@cu__serde-1.0.204//:serde", + "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", + "@cu__wasmtime-jit-icache-coherence-9.0.4//:wasmtime_jit_icache_coherence", + "@cu__wasmtime-runtime-9.0.4//:wasmtime_runtime", + ] + select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.3.bazel deleted file mode 100644 index dfdbdd6bb..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.3.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasmtime_jit_debug", - srcs = glob(["**/*.rs"]), - crate_features = [ - "gdb_jit_int", - "once_cell", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-jit-debug", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__once_cell__1_17_2//:once_cell", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel new file mode 100644 index 000000000..ad162af59 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_jit_debug", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "gdb_jit_int", + "once_cell", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-jit-debug", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__once_cell-1.19.0//:once_cell", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel deleted file mode 100644 index 1c9322173..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.3.bazel +++ /dev/null @@ -1,87 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasmtime_jit_icache_coherence", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-jit-icache-coherence", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cfg_if__1_0_0//:cfg_if", - ] + selects.with_or({ - # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__libc__0_2_144//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(target_os = "windows") - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel new file mode 100644 index 000000000..c9b6cdf45 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel @@ -0,0 +1,103 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_jit_icache_coherence", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-jit-icache-coherence", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.3.bazel deleted file mode 100644 index bff1668a1..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.3.bazel +++ /dev/null @@ -1,183 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "wasmtime_runtime_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "9.0.3", - visibility = ["//visibility:private"], - deps = [ - "@wasmtime__cc__1_0_79//:cc", - ] + selects.with_or({ - # cfg(target_os = "macos") - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-darwin", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(target_os = "windows") - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(unix) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - ], - "//conditions:default": [], - }), -) - -rust_library( - name = "wasmtime_runtime", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - proc_macro_deps = [ - "@wasmtime__paste__1_0_12//:paste", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-runtime", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - ":wasmtime_runtime_build_script", - "@wasmtime__anyhow__1_0_71//:anyhow", - "@wasmtime__cfg_if__1_0_0//:cfg_if", - "@wasmtime__indexmap__1_9_3//:indexmap", - "@wasmtime__libc__0_2_144//:libc", - "@wasmtime__log__0_4_18//:log", - "@wasmtime__memfd__0_6_3//:memfd", - "@wasmtime__memoffset__0_8_0//:memoffset", - "@wasmtime__rand__0_8_5//:rand", - "@wasmtime__wasmtime_asm_macros__9_0_3//:wasmtime_asm_macros", - "@wasmtime__wasmtime_environ__9_0_3//:wasmtime_environ", - "@wasmtime__wasmtime_jit_debug__9_0_3//:wasmtime_jit_debug", - ] + selects.with_or({ - # cfg(target_os = "macos") - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-darwin", - ): [ - "@wasmtime__mach__0_3_2//:mach", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(target_os = "windows") - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_sys__0_48_0//:windows_sys", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(unix) - ( - "@rules_rust//rust/platform:i686-apple-darwin", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - "@rules_rust//rust/platform:aarch64-apple-darwin", - "@rules_rust//rust/platform:aarch64-apple-ios", - "@rules_rust//rust/platform:aarch64-linux-android", - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", - "@rules_rust//rust/platform:i686-linux-android", - "@rules_rust//rust/platform:i686-unknown-freebsd", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - ): [ - "@wasmtime__rustix__0_37_19//:rustix", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel new file mode 100644 index 000000000..b7c6c02d1 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel @@ -0,0 +1,175 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_runtime", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__paste-1.0.15//:paste", + ], + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-runtime", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__libc-0.2.155//:libc", + "@cu__log-0.4.22//:log", + "@cu__memfd-0.6.4//:memfd", + "@cu__memoffset-0.8.0//:memoffset", + "@cu__rand-0.8.5//:rand", + "@cu__wasmtime-asm-macros-9.0.4//:wasmtime_asm_macros", + "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", + "@cu__wasmtime-jit-debug-9.0.4//:wasmtime_jit_debug", + "@cu__wasmtime-runtime-9.0.4//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__mach-0.3.2//:mach", # cfg(target_os = "macos") + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__mach-0.3.2//:mach", # cfg(target_os = "macos") + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__mach-0.3.2//:mach", # cfg(target_os = "macos") + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "wasmtime-runtime_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-runtime", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + visibility = ["//visibility:private"], + deps = [ + "@cu__cc-1.1.6//:cc", + ], +) + +alias( + name = "build_script_build", + actual = "wasmtime-runtime_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.3.bazel deleted file mode 100644 index 939447e25..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.3.bazel +++ /dev/null @@ -1,58 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # Apache-2.0 from expression "Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "wasmtime_types", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=wasmtime-types", - "manual", - ], - version = "9.0.3", - # buildifier: leave-alone - deps = [ - "@wasmtime__cranelift_entity__0_96_3//:cranelift_entity", - "@wasmtime__serde__1_0_163//:serde", - "@wasmtime__thiserror__1_0_40//:thiserror", - "@wasmtime__wasmparser__0_103_0//:wasmparser", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel new file mode 100644 index 000000000..612c6679d --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel @@ -0,0 +1,47 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Apache-2.0 WITH LLVM-exception +# ]) + +rust_library( + name = "wasmtime_types", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-types", + "manual", + "noclippy", + "norustfmt", + ], + version = "9.0.4", + deps = [ + "@cu__cranelift-entity-0.96.4//:cranelift_entity", + "@cu__serde-1.0.204//:serde", + "@cu__thiserror-1.0.63//:thiserror", + "@cu__wasmparser-0.103.0//:wasmparser", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel deleted file mode 100644 index e965c839b..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-0.3.9.bazel +++ /dev/null @@ -1,104 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "winapi_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "consoleapi", - "errhandlingapi", - "fileapi", - "minwindef", - "processenv", - "std", - "winbase", - "wincon", - "winerror", - "winnt", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.3.9", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "winapi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "consoleapi", - "errhandlingapi", - "fileapi", - "minwindef", - "processenv", - "std", - "winbase", - "wincon", - "winerror", - "winnt", - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi", - "manual", - ], - version = "0.3.9", - # buildifier: leave-alone - deps = [ - ":winapi_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel deleted file mode 100644 index 6cc4aaf22..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "winapi_i686_pc_windows_gnu_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.4.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "winapi_i686_pc_windows_gnu", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi-i686-pc-windows-gnu", - "manual", - ], - version = "0.4.0", - # buildifier: leave-alone - deps = [ - ":winapi_i686_pc_windows_gnu_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.5.bazel deleted file mode 100644 index 656930ec9..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.5.bazel +++ /dev/null @@ -1,65 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "unencumbered", # Unlicense from expression "Unlicense OR MIT" -]) - -# Generated Targets - -rust_library( - name = "winapi_util", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi-util", - "manual", - ], - version = "0.1.5", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__winapi__0_3_9//:winapi", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel new file mode 100644 index 000000000..7e74ae0ba --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel @@ -0,0 +1,53 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # Unlicense OR MIT +# ]) + +rust_library( + name = "winapi_util", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=winapi-util", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.8", + deps = select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel deleted file mode 100644 index e34ab339d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "winapi_x86_64_pc_windows_gnu_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.4.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "winapi_x86_64_pc_windows_gnu", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=winapi-x86_64-pc-windows-gnu", - "manual", - ], - version = "0.4.0", - # buildifier: leave-alone - deps = [ - ":winapi_x86_64_pc_windows_gnu_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel index 96f4b2cce..88f4b396c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel @@ -1,39 +1,32 @@ -""" -@generated -cargo-raze crate build file. +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### -DO NOT EDIT! Replaced on runs of cargo-raze -""" +load("@rules_rust//rust:defs.bzl", "rust_library") -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") +package(default_visibility = ["//visibility:public"]) -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) rust_library( name = "windows_sys", srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), crate_features = [ "Win32", "Win32_Foundation", @@ -45,7 +38,6 @@ rust_library( "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", - "Win32_System_Console", "Win32_System_Diagnostics", "Win32_System_Diagnostics_Debug", "Win32_System_IO", @@ -56,19 +48,17 @@ rust_library( "default", ], crate_root = "src/lib.rs", - data = [], edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], + rustc_flags = ["--cap-lints=allow"], tags = [ - "cargo-raze", + "cargo-bazel", "crate-name=windows-sys", "manual", + "noclippy", + "norustfmt", ], version = "0.48.0", - # buildifier: leave-alone deps = [ - "@wasmtime__windows_targets__0_48_0//:windows_targets", + "@cu__windows-targets-0.48.5//:windows_targets", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel new file mode 100644 index 000000000..faca1ff4f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel @@ -0,0 +1,61 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_sys", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_Storage", + "Win32_Storage_FileSystem", + "Win32_System", + "Win32_System_Console", + "Win32_System_Diagnostics", + "Win32_System_Diagnostics_Debug", + "Win32_System_SystemInformation", + "Win32_System_Threading", + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.0", + deps = [ + "@cu__windows-targets-0.52.6//:windows_targets", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.0.bazel deleted file mode 100644 index 677d0a5f9..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.0.bazel +++ /dev/null @@ -1,81 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets - -rust_library( - name = "windows_targets", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows-targets", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) - ( - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:i686-linux-android", - ): [ - "@wasmtime__windows_i686_gnu__0_48_0//:windows_i686_gnu", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - ): [ - "@wasmtime__windows_i686_msvc__0_48_0//:windows_i686_msvc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) - ( - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@wasmtime__windows_x86_64_msvc__0_48_0//:windows_x86_64_msvc", - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel new file mode 100644 index 000000000..d3e4602f9 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel @@ -0,0 +1,59 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_targets", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-targets", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows_aarch64_msvc-0.48.5//:windows_aarch64_msvc", # cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows_i686_msvc-0.48.5//:windows_i686_msvc", # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__windows_i686_gnu-0.48.5//:windows_i686_gnu", # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows_x86_64_msvc-0.48.5//:windows_x86_64_msvc", # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__windows_x86_64_gnu-0.48.5//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel new file mode 100644 index 000000000..7a023db72 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel @@ -0,0 +1,59 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_targets", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-targets", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows_aarch64_msvc-0.52.6//:windows_aarch64_msvc", # cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows_i686_msvc-0.52.6//:windows_i686_msvc", # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__windows_i686_gnu-0.52.6//:windows_i686_gnu", # cfg(all(target_arch = "x86", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows_x86_64_msvc-0.52.6//:windows_x86_64_msvc", # cfg(all(any(target_arch = "x86_64", target_arch = "arm64ec"), target_env = "msvc", not(windows_raw_dylib))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__windows_x86_64_gnu-0.52.6//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.0.bazel deleted file mode 100644 index 1c7e25989..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_aarch64_gnullvm_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.48.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_aarch64_gnullvm", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_aarch64_gnullvm", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ":windows_aarch64_gnullvm_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel new file mode 100644 index 000000000..06a47f3d2 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = [ + "@cu__windows_aarch64_gnullvm-0.48.5//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel new file mode 100644 index 000000000..228f35c6a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_aarch64_gnullvm-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.0.bazel deleted file mode 100644 index b45c4897a..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_aarch64_msvc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.48.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_aarch64_msvc", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_aarch64_msvc", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ":windows_aarch64_msvc_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel new file mode 100644 index 000000000..e9e251a53 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = [ + "@cu__windows_aarch64_msvc-0.48.5//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_msvc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel new file mode 100644 index 000000000..a26ffc17e --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_aarch64_msvc-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_aarch64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_aarch64_msvc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.0.bazel deleted file mode 100644 index 2edb92dda..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_i686_gnu_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.48.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_i686_gnu", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_i686_gnu", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ":windows_i686_gnu_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel new file mode 100644 index 000000000..c64b79b54 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = [ + "@cu__windows_i686_gnu-0.48.5//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_gnu_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel new file mode 100644 index 000000000..a4459643b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_i686_gnu-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_gnu_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel new file mode 100644 index 000000000..f2058a31b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_i686_gnullvm-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_gnullvm_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.0.bazel deleted file mode 100644 index bb3f4205e..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_i686_msvc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.48.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_i686_msvc", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_i686_msvc", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ":windows_i686_msvc_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel new file mode 100644 index 000000000..2d1a13c69 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = [ + "@cu__windows_i686_msvc-0.48.5//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_msvc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel new file mode 100644 index 000000000..9bb1f2aa4 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_i686_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_i686_msvc-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_i686_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_i686_msvc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.0.bazel deleted file mode 100644 index 3cc37d15f..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_x86_64_gnu_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.48.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_x86_64_gnu", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_x86_64_gnu", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ":windows_x86_64_gnu_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel new file mode 100644 index 000000000..3f33b6cb9 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = [ + "@cu__windows_x86_64_gnu-0.48.5//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnu_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel new file mode 100644 index 000000000..0452db24f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_x86_64_gnu-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnu_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.0.bazel deleted file mode 100644 index b9f924bb6..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_x86_64_gnullvm_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.48.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_x86_64_gnullvm", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_x86_64_gnullvm", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ":windows_x86_64_gnullvm_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel new file mode 100644 index 000000000..e42a5df60 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = [ + "@cu__windows_x86_64_gnullvm-0.48.5//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel new file mode 100644 index 000000000..3acad8056 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_x86_64_gnullvm-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_gnullvm_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_gnullvm_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.0.bazel deleted file mode 100644 index ed1844cb8..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.0.bazel +++ /dev/null @@ -1,84 +0,0 @@ -""" -@generated -cargo-raze crate build file. - -DO NOT EDIT! Replaced on runs of cargo-raze -""" - -# buildifier: disable=load -load("@bazel_skylib//lib:selects.bzl", "selects") - -# buildifier: disable=load -load( - "@rules_rust//rust:defs.bzl", - "rust_binary", - "rust_library", - "rust_proc_macro", - "rust_test", -) - -package(default_visibility = [ - # Public for visibility by "@raze__crate__version//" targets. - # - # Prefer access through "//bazel/cargo/wasmtime", which limits external - # visibility to explicit Cargo.toml dependencies. - "//visibility:public", -]) - -licenses([ - "notice", # MIT from expression "MIT OR Apache-2.0" -]) - -# Generated Targets -# buildifier: disable=out-of-order-load -# buildifier: disable=load-on-top -load( - "@rules_rust//cargo:cargo_build_script.bzl", - "cargo_build_script", -) - -cargo_build_script( - name = "windows_x86_64_msvc_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.48.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "windows_x86_64_msvc", - srcs = glob(["**/*.rs"]), - crate_features = [ - ], - crate_root = "src/lib.rs", - data = [], - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "crate-name=windows_x86_64_msvc", - "manual", - ], - version = "0.48.0", - # buildifier: leave-alone - deps = [ - ":windows_x86_64_msvc_build_script", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel new file mode 100644 index 000000000..9c02eb55c --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + deps = [ + "@cu__windows_x86_64_msvc-0.48.5//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.48.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_msvc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel new file mode 100644 index 000000000..969fd9751 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + deps = [ + "@cu__windows_x86_64_msvc-0.52.6//:build_script_build", + ], +) + +cargo_build_script( + name = "windows_x86_64_msvc_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.52.6", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "windows_x86_64_msvc_build_script", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel new file mode 100644 index 000000000..38a99bf5a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # BSD-2-Clause OR Apache-2.0 OR MIT +# ]) + +rust_library( + name = "zerocopy", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "simd", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=zerocopy", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.7.35", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel new file mode 100644 index 000000000..c02f9298a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel @@ -0,0 +1,46 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # BSD-2-Clause OR Apache-2.0 OR MIT +# ]) + +rust_proc_macro( + name = "zerocopy_derive", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=zerocopy-derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.7.35", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__syn-2.0.72//:syn", + ], +) diff --git a/bazel/cargo/wasmtime/remote/crates.bzl b/bazel/cargo/wasmtime/remote/crates.bzl new file mode 100644 index 000000000..27c0e39a4 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/crates.bzl @@ -0,0 +1,25 @@ +############################################################################### +# @generated +# This file is auto-generated by the cargo-bazel tool. +# +# DO NOT MODIFY: Local changes may be replaced in future executions. +############################################################################### +"""Rules for defining repositories for remote `crates_vendor` repositories""" + +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +# buildifier: disable=bzl-visibility +load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:defs.bzl", _crate_repositories = "crate_repositories") + +# buildifier: disable=bzl-visibility +load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository") + +def crate_repositories(): + maybe( + crates_vendor_remote_repository, + name = "cu", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bazel"), + defs_module = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:defs.bzl"), + ) + + _crate_repositories() diff --git a/bazel/cargo/wasmtime/remote/defs.bzl b/bazel/cargo/wasmtime/remote/defs.bzl new file mode 100644 index 000000000..e4b3198d4 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/defs.bzl @@ -0,0 +1,1671 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run //bazel/cargo/wasmtime:crates_vendor +############################################################################### +""" +# `crates_repository` API + +- [aliases](#aliases) +- [crate_deps](#crate_deps) +- [all_crate_deps](#all_crate_deps) +- [crate_repositories](#crate_repositories) + +""" + +load("@bazel_skylib//lib:selects.bzl", "selects") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") + +############################################################################### +# MACROS API +############################################################################### + +# An identifier that represent common dependencies (unconditional). +_COMMON_CONDITION = "" + +def _flatten_dependency_maps(all_dependency_maps): + """Flatten a list of dependency maps into one dictionary. + + Dependency maps have the following structure: + + ```python + DEPENDENCIES_MAP = { + # The first key in the map is a Bazel package + # name of the workspace this file is defined in. + "workspace_member_package": { + + # Not all dependencies are supported for all platforms. + # the condition key is the condition required to be true + # on the host platform. + "condition": { + + # An alias to a crate target. # The label of the crate target the + # Aliases are only crate names. # package name refers to. + "package_name": "@full//:label", + } + } + } + ``` + + Args: + all_dependency_maps (list): A list of dicts as described above + + Returns: + dict: A dictionary as described above + """ + dependencies = {} + + for workspace_deps_map in all_dependency_maps: + for pkg_name, conditional_deps_map in workspace_deps_map.items(): + if pkg_name not in dependencies: + non_frozen_map = dict() + for key, values in conditional_deps_map.items(): + non_frozen_map.update({key: dict(values.items())}) + dependencies.setdefault(pkg_name, non_frozen_map) + continue + + for condition, deps_map in conditional_deps_map.items(): + # If the condition has not been recorded, do so and continue + if condition not in dependencies[pkg_name]: + dependencies[pkg_name].setdefault(condition, dict(deps_map.items())) + continue + + # Alert on any miss-matched dependencies + inconsistent_entries = [] + for crate_name, crate_label in deps_map.items(): + existing = dependencies[pkg_name][condition].get(crate_name) + if existing and existing != crate_label: + inconsistent_entries.append((crate_name, existing, crate_label)) + dependencies[pkg_name][condition].update({crate_name: crate_label}) + + return dependencies + +def crate_deps(deps, package_name = None): + """Finds the fully qualified label of the requested crates for the package where this macro is called. + + Args: + deps (list): The desired list of crate targets. + package_name (str, optional): The package name of the set of dependencies to look up. + Defaults to `native.package_name()`. + + Returns: + list: A list of labels to generated rust targets (str) + """ + + if not deps: + return [] + + if package_name == None: + package_name = native.package_name() + + # Join both sets of dependencies + dependencies = _flatten_dependency_maps([ + _NORMAL_DEPENDENCIES, + _NORMAL_DEV_DEPENDENCIES, + _PROC_MACRO_DEPENDENCIES, + _PROC_MACRO_DEV_DEPENDENCIES, + _BUILD_DEPENDENCIES, + _BUILD_PROC_MACRO_DEPENDENCIES, + ]).pop(package_name, {}) + + # Combine all conditional packages so we can easily index over a flat list + # TODO: Perhaps this should actually return select statements and maintain + # the conditionals of the dependencies + flat_deps = {} + for deps_set in dependencies.values(): + for crate_name, crate_label in deps_set.items(): + flat_deps.update({crate_name: crate_label}) + + missing_crates = [] + crate_targets = [] + for crate_target in deps: + if crate_target not in flat_deps: + missing_crates.append(crate_target) + else: + crate_targets.append(flat_deps[crate_target]) + + if missing_crates: + fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format( + missing_crates, + package_name, + dependencies, + )) + + return crate_targets + +def all_crate_deps( + normal = False, + normal_dev = False, + proc_macro = False, + proc_macro_dev = False, + build = False, + build_proc_macro = False, + package_name = None): + """Finds the fully qualified label of all requested direct crate dependencies \ + for the package where this macro is called. + + If no parameters are set, all normal dependencies are returned. Setting any one flag will + otherwise impact the contents of the returned list. + + Args: + normal (bool, optional): If True, normal dependencies are included in the + output list. + normal_dev (bool, optional): If True, normal dev dependencies will be + included in the output list.. + proc_macro (bool, optional): If True, proc_macro dependencies are included + in the output list. + proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are + included in the output list. + build (bool, optional): If True, build dependencies are included + in the output list. + build_proc_macro (bool, optional): If True, build proc_macro dependencies are + included in the output list. + package_name (str, optional): The package name of the set of dependencies to look up. + Defaults to `native.package_name()` when unset. + + Returns: + list: A list of labels to generated rust targets (str) + """ + + if package_name == None: + package_name = native.package_name() + + # Determine the relevant maps to use + all_dependency_maps = [] + if normal: + all_dependency_maps.append(_NORMAL_DEPENDENCIES) + if normal_dev: + all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES) + if proc_macro: + all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES) + if proc_macro_dev: + all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES) + if build: + all_dependency_maps.append(_BUILD_DEPENDENCIES) + if build_proc_macro: + all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES) + + # Default to always using normal dependencies + if not all_dependency_maps: + all_dependency_maps.append(_NORMAL_DEPENDENCIES) + + dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None) + + if not dependencies: + if dependencies == None: + fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file") + else: + return [] + + crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values()) + for condition, deps in dependencies.items(): + crate_deps += selects.with_or({ + tuple(_CONDITIONS[condition]): deps.values(), + "//conditions:default": [], + }) + + return crate_deps + +def aliases( + normal = False, + normal_dev = False, + proc_macro = False, + proc_macro_dev = False, + build = False, + build_proc_macro = False, + package_name = None): + """Produces a map of Crate alias names to their original label + + If no dependency kinds are specified, `normal` and `proc_macro` are used by default. + Setting any one flag will otherwise determine the contents of the returned dict. + + Args: + normal (bool, optional): If True, normal dependencies are included in the + output list. + normal_dev (bool, optional): If True, normal dev dependencies will be + included in the output list.. + proc_macro (bool, optional): If True, proc_macro dependencies are included + in the output list. + proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are + included in the output list. + build (bool, optional): If True, build dependencies are included + in the output list. + build_proc_macro (bool, optional): If True, build proc_macro dependencies are + included in the output list. + package_name (str, optional): The package name of the set of dependencies to look up. + Defaults to `native.package_name()` when unset. + + Returns: + dict: The aliases of all associated packages + """ + if package_name == None: + package_name = native.package_name() + + # Determine the relevant maps to use + all_aliases_maps = [] + if normal: + all_aliases_maps.append(_NORMAL_ALIASES) + if normal_dev: + all_aliases_maps.append(_NORMAL_DEV_ALIASES) + if proc_macro: + all_aliases_maps.append(_PROC_MACRO_ALIASES) + if proc_macro_dev: + all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES) + if build: + all_aliases_maps.append(_BUILD_ALIASES) + if build_proc_macro: + all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES) + + # Default to always using normal aliases + if not all_aliases_maps: + all_aliases_maps.append(_NORMAL_ALIASES) + all_aliases_maps.append(_PROC_MACRO_ALIASES) + + aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None) + + if not aliases: + return dict() + + common_items = aliases.pop(_COMMON_CONDITION, {}).items() + + # If there are only common items in the dictionary, immediately return them + if not len(aliases.keys()) == 1: + return dict(common_items) + + # Build a single select statement where each conditional has accounted for the + # common set of aliases. + crate_aliases = {"//conditions:default": dict(common_items)} + for condition, deps in aliases.items(): + condition_triples = _CONDITIONS[condition] + for triple in condition_triples: + if triple in crate_aliases: + crate_aliases[triple].update(deps) + else: + crate_aliases.update({triple: dict(deps.items() + common_items)}) + + return select(crate_aliases) + +############################################################################### +# WORKSPACE MEMBER DEPS AND ALIASES +############################################################################### + +_NORMAL_DEPENDENCIES = { + "bazel/cargo/wasmtime": { + _COMMON_CONDITION: { + "anyhow": "@cu__anyhow-1.0.86//:anyhow", + "env_logger": "@cu__env_logger-0.10.2//:env_logger", + "once_cell": "@cu__once_cell-1.19.0//:once_cell", + "wasmtime": "@cu__wasmtime-9.0.4//:wasmtime", + }, + }, +} + +_NORMAL_ALIASES = { + "bazel/cargo/wasmtime": { + _COMMON_CONDITION: { + }, + }, +} + +_NORMAL_DEV_DEPENDENCIES = { + "bazel/cargo/wasmtime": { + }, +} + +_NORMAL_DEV_ALIASES = { + "bazel/cargo/wasmtime": { + }, +} + +_PROC_MACRO_DEPENDENCIES = { + "bazel/cargo/wasmtime": { + _COMMON_CONDITION: { + "wasmtime-c-api-macros": "@cu__wasmtime-c-api-macros-0.0.0//:wasmtime_c_api_macros", + }, + }, +} + +_PROC_MACRO_ALIASES = { + "bazel/cargo/wasmtime": { + }, +} + +_PROC_MACRO_DEV_DEPENDENCIES = { + "bazel/cargo/wasmtime": { + }, +} + +_PROC_MACRO_DEV_ALIASES = { + "bazel/cargo/wasmtime": { + }, +} + +_BUILD_DEPENDENCIES = { + "bazel/cargo/wasmtime": { + }, +} + +_BUILD_ALIASES = { + "bazel/cargo/wasmtime": { + }, +} + +_BUILD_PROC_MACRO_DEPENDENCIES = { + "bazel/cargo/wasmtime": { + }, +} + +_BUILD_PROC_MACRO_ALIASES = { + "bazel/cargo/wasmtime": { + }, +} + +_CONDITIONS = { + "aarch64-pc-windows-gnullvm": [], + "cfg(all(any(target_arch = \"x86_64\", target_arch = \"arm64ec\"), target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"], + "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"], + "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], + "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], + "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], + "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], + "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "cfg(any())": [], + "cfg(any(target_arch = \"s390x\", target_arch = \"riscv64\"))": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu"], + "cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"freebsd\", target_os = \"android\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(any(target_os = \"macos\", target_os = \"ios\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios"], + "cfg(any(unix, target_os = \"wasi\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(not(all(target_arch = \"arm\", target_os = \"none\")))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(target_os = \"hermit\")": [], + "cfg(target_os = \"macos\")": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-darwin"], + "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"], + "cfg(target_os = \"windows\")": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "i686-pc-windows-gnullvm": [], + "x86_64-pc-windows-gnullvm": [], +} + +############################################################################### + +def crate_repositories(): + """A macro for defining repositories for all generated crates""" + maybe( + http_archive, + name = "cu__addr2line-0.19.0", + sha256 = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97", + type = "tar.gz", + urls = ["https://static.crates.io/crates/addr2line/0.19.0/download"], + strip_prefix = "addr2line-0.19.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.addr2line-0.19.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__ahash-0.8.11", + sha256 = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ahash/0.8.11/download"], + strip_prefix = "ahash-0.8.11", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.ahash-0.8.11.bazel"), + ) + + maybe( + http_archive, + name = "cu__aho-corasick-1.1.3", + sha256 = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916", + type = "tar.gz", + urls = ["https://static.crates.io/crates/aho-corasick/1.1.3/download"], + strip_prefix = "aho-corasick-1.1.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.aho-corasick-1.1.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__anyhow-1.0.86", + sha256 = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da", + type = "tar.gz", + urls = ["https://static.crates.io/crates/anyhow/1.0.86/download"], + strip_prefix = "anyhow-1.0.86", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.anyhow-1.0.86.bazel"), + ) + + maybe( + http_archive, + name = "cu__arbitrary-1.3.2", + sha256 = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110", + type = "tar.gz", + urls = ["https://static.crates.io/crates/arbitrary/1.3.2/download"], + strip_prefix = "arbitrary-1.3.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.arbitrary-1.3.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__autocfg-1.3.0", + sha256 = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0", + type = "tar.gz", + urls = ["https://static.crates.io/crates/autocfg/1.3.0/download"], + strip_prefix = "autocfg-1.3.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.autocfg-1.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__bincode-1.3.3", + sha256 = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bincode/1.3.3/download"], + strip_prefix = "bincode-1.3.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bincode-1.3.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__bitflags-1.3.2", + sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"], + strip_prefix = "bitflags-1.3.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bitflags-1.3.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__bitflags-2.6.0", + sha256 = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bitflags/2.6.0/download"], + strip_prefix = "bitflags-2.6.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bitflags-2.6.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__bumpalo-3.16.0", + sha256 = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bumpalo/3.16.0/download"], + strip_prefix = "bumpalo-3.16.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bumpalo-3.16.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__byteorder-1.5.0", + sha256 = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/byteorder/1.5.0/download"], + strip_prefix = "byteorder-1.5.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.byteorder-1.5.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__cc-1.1.6", + sha256 = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cc/1.1.6/download"], + strip_prefix = "cc-1.1.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cc-1.1.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__cfg-if-1.0.0", + sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cfg-if/1.0.0/download"], + strip_prefix = "cfg-if-1.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cfg-if-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__cpp_demangle-0.3.5", + sha256 = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cpp_demangle/0.3.5/download"], + strip_prefix = "cpp_demangle-0.3.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cpp_demangle-0.3.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-bforest-0.96.4", + sha256 = "182b82f78049f54d3aee5a19870d356ef754226665a695ce2fcdd5d55379718e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-bforest/0.96.4/download"], + strip_prefix = "cranelift-bforest-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-codegen-0.96.4", + sha256 = "e7c027bf04ecae5b048d3554deb888061bc26f426afff47bf06d6ac933dce0a6", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-codegen/0.96.4/download"], + strip_prefix = "cranelift-codegen-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-codegen-meta-0.96.4", + sha256 = "649f70038235e4c81dba5680d7e5ae83e1081f567232425ab98b55b03afd9904", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-codegen-meta/0.96.4/download"], + strip_prefix = "cranelift-codegen-meta-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-codegen-shared-0.96.4", + sha256 = "7a1d1c5ee2611c6a0bdc8d42d5d3dc5ce8bf53a8040561e26e88b9b21f966417", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-codegen-shared/0.96.4/download"], + strip_prefix = "cranelift-codegen-shared-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-control-0.96.4", + sha256 = "da66a68b1f48da863d1d53209b8ddb1a6236411d2d72a280ffa8c2f734f7219e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-control/0.96.4/download"], + strip_prefix = "cranelift-control-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-control-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-entity-0.96.4", + sha256 = "9bd897422dbb66621fa558f4d9209875530c53e3c8f4b13b2849fbb667c431a6", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-entity/0.96.4/download"], + strip_prefix = "cranelift-entity-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-frontend-0.96.4", + sha256 = "05db883114c98cfcd6959f72278d2fec42e01ea6a6982cfe4f20e88eebe86653", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-frontend/0.96.4/download"], + strip_prefix = "cranelift-frontend-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-isle-0.96.4", + sha256 = "84559de86e2564152c87e299c8b2559f9107e9c6d274b24ebeb04fb0a5f4abf8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-isle/0.96.4/download"], + strip_prefix = "cranelift-isle-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-native-0.96.4", + sha256 = "3f40b57f187f0fe1ffaf281df4adba2b4bc623a0f6651954da9f3c184be72761", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-native/0.96.4/download"], + strip_prefix = "cranelift-native-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__cranelift-wasm-0.96.4", + sha256 = "f3eab6084cc789b9dd0b1316241efeb2968199fee709f4bb4fe0fb0923bb468b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cranelift-wasm/0.96.4/download"], + strip_prefix = "cranelift-wasm-0.96.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.96.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__crc32fast-1.4.2", + sha256 = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/crc32fast/1.4.2/download"], + strip_prefix = "crc32fast-1.4.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.4.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__debugid-0.8.0", + sha256 = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/debugid/0.8.0/download"], + strip_prefix = "debugid-0.8.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.debugid-0.8.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__either-1.13.0", + sha256 = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0", + type = "tar.gz", + urls = ["https://static.crates.io/crates/either/1.13.0/download"], + strip_prefix = "either-1.13.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.either-1.13.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__env_logger-0.10.2", + sha256 = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580", + type = "tar.gz", + urls = ["https://static.crates.io/crates/env_logger/0.10.2/download"], + strip_prefix = "env_logger-0.10.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.10.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__errno-0.3.9", + sha256 = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba", + type = "tar.gz", + urls = ["https://static.crates.io/crates/errno/0.3.9/download"], + strip_prefix = "errno-0.3.9", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.errno-0.3.9.bazel"), + ) + + maybe( + http_archive, + name = "cu__fallible-iterator-0.2.0", + sha256 = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/fallible-iterator/0.2.0/download"], + strip_prefix = "fallible-iterator-0.2.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.fallible-iterator-0.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__form_urlencoded-1.2.1", + sha256 = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456", + type = "tar.gz", + urls = ["https://static.crates.io/crates/form_urlencoded/1.2.1/download"], + strip_prefix = "form_urlencoded-1.2.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.form_urlencoded-1.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__fxhash-0.2.1", + sha256 = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/fxhash/0.2.1/download"], + strip_prefix = "fxhash-0.2.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.fxhash-0.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__fxprof-processed-profile-0.6.0", + sha256 = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd", + type = "tar.gz", + urls = ["https://static.crates.io/crates/fxprof-processed-profile/0.6.0/download"], + strip_prefix = "fxprof-processed-profile-0.6.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.fxprof-processed-profile-0.6.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__getrandom-0.2.15", + sha256 = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/getrandom/0.2.15/download"], + strip_prefix = "getrandom-0.2.15", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.15.bazel"), + ) + + maybe( + http_archive, + name = "cu__gimli-0.27.3", + sha256 = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/gimli/0.27.3/download"], + strip_prefix = "gimli-0.27.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.gimli-0.27.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__hashbrown-0.12.3", + sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", + type = "tar.gz", + urls = ["https://static.crates.io/crates/hashbrown/0.12.3/download"], + strip_prefix = "hashbrown-0.12.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.12.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__hashbrown-0.13.2", + sha256 = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/hashbrown/0.13.2/download"], + strip_prefix = "hashbrown-0.13.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.13.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__hermit-abi-0.3.9", + sha256 = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024", + type = "tar.gz", + urls = ["https://static.crates.io/crates/hermit-abi/0.3.9/download"], + strip_prefix = "hermit-abi-0.3.9", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hermit-abi-0.3.9.bazel"), + ) + + maybe( + http_archive, + name = "cu__humantime-2.1.0", + sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4", + type = "tar.gz", + urls = ["https://static.crates.io/crates/humantime/2.1.0/download"], + strip_prefix = "humantime-2.1.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.humantime-2.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__idna-0.5.0", + sha256 = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6", + type = "tar.gz", + urls = ["https://static.crates.io/crates/idna/0.5.0/download"], + strip_prefix = "idna-0.5.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.idna-0.5.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__indexmap-1.9.3", + sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99", + type = "tar.gz", + urls = ["https://static.crates.io/crates/indexmap/1.9.3/download"], + strip_prefix = "indexmap-1.9.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__io-lifetimes-1.0.11", + sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/io-lifetimes/1.0.11/download"], + strip_prefix = "io-lifetimes-1.0.11", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-1.0.11.bazel"), + ) + + maybe( + http_archive, + name = "cu__is-terminal-0.4.12", + sha256 = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/is-terminal/0.4.12/download"], + strip_prefix = "is-terminal-0.4.12", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.is-terminal-0.4.12.bazel"), + ) + + maybe( + http_archive, + name = "cu__itertools-0.10.5", + sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473", + type = "tar.gz", + urls = ["https://static.crates.io/crates/itertools/0.10.5/download"], + strip_prefix = "itertools-0.10.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.itertools-0.10.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__itoa-1.0.11", + sha256 = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/itoa/1.0.11/download"], + strip_prefix = "itoa-1.0.11", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.itoa-1.0.11.bazel"), + ) + + maybe( + http_archive, + name = "cu__libc-0.2.155", + sha256 = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/libc/0.2.155/download"], + strip_prefix = "libc-0.2.155", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.libc-0.2.155.bazel"), + ) + + maybe( + http_archive, + name = "cu__linux-raw-sys-0.3.8", + sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519", + type = "tar.gz", + urls = ["https://static.crates.io/crates/linux-raw-sys/0.3.8/download"], + strip_prefix = "linux-raw-sys-0.3.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.3.8.bazel"), + ) + + maybe( + http_archive, + name = "cu__linux-raw-sys-0.4.14", + sha256 = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89", + type = "tar.gz", + urls = ["https://static.crates.io/crates/linux-raw-sys/0.4.14/download"], + strip_prefix = "linux-raw-sys-0.4.14", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.4.14.bazel"), + ) + + maybe( + http_archive, + name = "cu__log-0.4.22", + sha256 = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24", + type = "tar.gz", + urls = ["https://static.crates.io/crates/log/0.4.22/download"], + strip_prefix = "log-0.4.22", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.log-0.4.22.bazel"), + ) + + maybe( + http_archive, + name = "cu__mach-0.3.2", + sha256 = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa", + type = "tar.gz", + urls = ["https://static.crates.io/crates/mach/0.3.2/download"], + strip_prefix = "mach-0.3.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.mach-0.3.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__memchr-2.7.4", + sha256 = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/memchr/2.7.4/download"], + strip_prefix = "memchr-2.7.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.memchr-2.7.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__memfd-0.6.4", + sha256 = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64", + type = "tar.gz", + urls = ["https://static.crates.io/crates/memfd/0.6.4/download"], + strip_prefix = "memfd-0.6.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.memfd-0.6.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__memoffset-0.8.0", + sha256 = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1", + type = "tar.gz", + urls = ["https://static.crates.io/crates/memoffset/0.8.0/download"], + strip_prefix = "memoffset-0.8.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.8.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__object-0.30.4", + sha256 = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385", + type = "tar.gz", + urls = ["https://static.crates.io/crates/object/0.30.4/download"], + strip_prefix = "object-0.30.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.object-0.30.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__once_cell-1.19.0", + sha256 = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92", + type = "tar.gz", + urls = ["https://static.crates.io/crates/once_cell/1.19.0/download"], + strip_prefix = "once_cell-1.19.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.once_cell-1.19.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__paste-1.0.15", + sha256 = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/paste/1.0.15/download"], + strip_prefix = "paste-1.0.15", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.paste-1.0.15.bazel"), + ) + + maybe( + http_archive, + name = "cu__percent-encoding-2.3.1", + sha256 = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/percent-encoding/2.3.1/download"], + strip_prefix = "percent-encoding-2.3.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.percent-encoding-2.3.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__ppv-lite86-0.2.17", + sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ppv-lite86/0.2.17/download"], + strip_prefix = "ppv-lite86-0.2.17", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.ppv-lite86-0.2.17.bazel"), + ) + + maybe( + http_archive, + name = "cu__proc-macro2-1.0.86", + sha256 = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77", + type = "tar.gz", + urls = ["https://static.crates.io/crates/proc-macro2/1.0.86/download"], + strip_prefix = "proc-macro2-1.0.86", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.proc-macro2-1.0.86.bazel"), + ) + + maybe( + http_archive, + name = "cu__psm-0.1.21", + sha256 = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874", + type = "tar.gz", + urls = ["https://static.crates.io/crates/psm/0.1.21/download"], + strip_prefix = "psm-0.1.21", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.psm-0.1.21.bazel"), + ) + + maybe( + http_archive, + name = "cu__quote-1.0.36", + sha256 = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/quote/1.0.36/download"], + strip_prefix = "quote-1.0.36", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.quote-1.0.36.bazel"), + ) + + maybe( + http_archive, + name = "cu__rand-0.8.5", + sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rand/0.8.5/download"], + strip_prefix = "rand-0.8.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rand-0.8.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__rand_chacha-0.3.1", + sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rand_chacha/0.3.1/download"], + strip_prefix = "rand_chacha-0.3.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rand_chacha-0.3.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__rand_core-0.6.4", + sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rand_core/0.6.4/download"], + strip_prefix = "rand_core-0.6.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rand_core-0.6.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__regalloc2-0.8.1", + sha256 = "d4a52e724646c6c0800fc456ec43b4165d2f91fba88ceaca06d9e0b400023478", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regalloc2/0.8.1/download"], + strip_prefix = "regalloc2-0.8.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__regex-1.10.5", + sha256 = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regex/1.10.5/download"], + strip_prefix = "regex-1.10.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regex-1.10.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__regex-automata-0.4.7", + sha256 = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regex-automata/0.4.7/download"], + strip_prefix = "regex-automata-0.4.7", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regex-automata-0.4.7.bazel"), + ) + + maybe( + http_archive, + name = "cu__regex-syntax-0.8.4", + sha256 = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regex-syntax/0.8.4/download"], + strip_prefix = "regex-syntax-0.8.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.8.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustc-demangle-0.1.24", + sha256 = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustc-demangle/0.1.24/download"], + strip_prefix = "rustc-demangle-0.1.24", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustc-demangle-0.1.24.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustc-hash-1.1.0", + sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustc-hash/1.1.0/download"], + strip_prefix = "rustc-hash-1.1.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustc-hash-1.1.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustix-0.37.27", + sha256 = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustix/0.37.27/download"], + strip_prefix = "rustix-0.37.27", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustix-0.37.27.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustix-0.38.34", + sha256 = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustix/0.38.34/download"], + strip_prefix = "rustix-0.38.34", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustix-0.38.34.bazel"), + ) + + maybe( + http_archive, + name = "cu__ryu-1.0.18", + sha256 = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ryu/1.0.18/download"], + strip_prefix = "ryu-1.0.18", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.ryu-1.0.18.bazel"), + ) + + maybe( + http_archive, + name = "cu__serde-1.0.204", + sha256 = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12", + type = "tar.gz", + urls = ["https://static.crates.io/crates/serde/1.0.204/download"], + strip_prefix = "serde-1.0.204", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.serde-1.0.204.bazel"), + ) + + maybe( + http_archive, + name = "cu__serde_derive-1.0.204", + sha256 = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222", + type = "tar.gz", + urls = ["https://static.crates.io/crates/serde_derive/1.0.204/download"], + strip_prefix = "serde_derive-1.0.204", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.serde_derive-1.0.204.bazel"), + ) + + maybe( + http_archive, + name = "cu__serde_json-1.0.120", + sha256 = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5", + type = "tar.gz", + urls = ["https://static.crates.io/crates/serde_json/1.0.120/download"], + strip_prefix = "serde_json-1.0.120", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.serde_json-1.0.120.bazel"), + ) + + maybe( + http_archive, + name = "cu__slice-group-by-0.3.1", + sha256 = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/slice-group-by/0.3.1/download"], + strip_prefix = "slice-group-by-0.3.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.slice-group-by-0.3.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__smallvec-1.13.2", + sha256 = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67", + type = "tar.gz", + urls = ["https://static.crates.io/crates/smallvec/1.13.2/download"], + strip_prefix = "smallvec-1.13.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.smallvec-1.13.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__stable_deref_trait-1.2.0", + sha256 = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/stable_deref_trait/1.2.0/download"], + strip_prefix = "stable_deref_trait-1.2.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.stable_deref_trait-1.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__syn-2.0.72", + sha256 = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af", + type = "tar.gz", + urls = ["https://static.crates.io/crates/syn/2.0.72/download"], + strip_prefix = "syn-2.0.72", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.syn-2.0.72.bazel"), + ) + + maybe( + http_archive, + name = "cu__target-lexicon-0.12.15", + sha256 = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/target-lexicon/0.12.15/download"], + strip_prefix = "target-lexicon-0.12.15", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.15.bazel"), + ) + + maybe( + http_archive, + name = "cu__termcolor-1.4.1", + sha256 = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755", + type = "tar.gz", + urls = ["https://static.crates.io/crates/termcolor/1.4.1/download"], + strip_prefix = "termcolor-1.4.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.termcolor-1.4.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__thiserror-1.0.63", + sha256 = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724", + type = "tar.gz", + urls = ["https://static.crates.io/crates/thiserror/1.0.63/download"], + strip_prefix = "thiserror-1.0.63", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.thiserror-1.0.63.bazel"), + ) + + maybe( + http_archive, + name = "cu__thiserror-impl-1.0.63", + sha256 = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261", + type = "tar.gz", + urls = ["https://static.crates.io/crates/thiserror-impl/1.0.63/download"], + strip_prefix = "thiserror-impl-1.0.63", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.thiserror-impl-1.0.63.bazel"), + ) + + maybe( + http_archive, + name = "cu__tinyvec-1.8.0", + sha256 = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938", + type = "tar.gz", + urls = ["https://static.crates.io/crates/tinyvec/1.8.0/download"], + strip_prefix = "tinyvec-1.8.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tinyvec-1.8.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__tinyvec_macros-0.1.1", + sha256 = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20", + type = "tar.gz", + urls = ["https://static.crates.io/crates/tinyvec_macros/0.1.1/download"], + strip_prefix = "tinyvec_macros-0.1.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tinyvec_macros-0.1.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__unicode-bidi-0.3.15", + sha256 = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75", + type = "tar.gz", + urls = ["https://static.crates.io/crates/unicode-bidi/0.3.15/download"], + strip_prefix = "unicode-bidi-0.3.15", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.unicode-bidi-0.3.15.bazel"), + ) + + maybe( + http_archive, + name = "cu__unicode-ident-1.0.12", + sha256 = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/unicode-ident/1.0.12/download"], + strip_prefix = "unicode-ident-1.0.12", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.unicode-ident-1.0.12.bazel"), + ) + + maybe( + http_archive, + name = "cu__unicode-normalization-0.1.23", + sha256 = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5", + type = "tar.gz", + urls = ["https://static.crates.io/crates/unicode-normalization/0.1.23/download"], + strip_prefix = "unicode-normalization-0.1.23", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.unicode-normalization-0.1.23.bazel"), + ) + + maybe( + http_archive, + name = "cu__url-2.5.2", + sha256 = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/url/2.5.2/download"], + strip_prefix = "url-2.5.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.url-2.5.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__uuid-1.10.0", + sha256 = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314", + type = "tar.gz", + urls = ["https://static.crates.io/crates/uuid/1.10.0/download"], + strip_prefix = "uuid-1.10.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.uuid-1.10.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__version_check-0.9.5", + sha256 = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/version_check/0.9.5/download"], + strip_prefix = "version_check-0.9.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.version_check-0.9.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasi-0.11.0-wasi-snapshot-preview1", + sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasi/0.11.0+wasi-snapshot-preview1/download"], + strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmparser-0.103.0", + sha256 = "2c437373cac5ea84f1113d648d51f71751ffbe3d90c00ae67618cf20d0b5ee7b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmparser/0.103.0/download"], + strip_prefix = "wasmparser-0.103.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.103.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-9.0.4", + sha256 = "634357e8668774b24c80b210552f3f194e2342a065d6d83845ba22c5817d0770", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime/9.0.4/download"], + strip_prefix = "wasmtime-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-asm-macros-9.0.4", + sha256 = "d33c73c24ce79b0483a3b091a9acf88871f4490b88998e8974b22236264d304c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-asm-macros/9.0.4/download"], + strip_prefix = "wasmtime-asm-macros-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-9.0.4.bazel"), + ) + + maybe( + new_git_repository, + name = "cu__wasmtime-c-api-macros-0.0.0", + tag = "v9.0.3", + init_submodules = True, + remote = "https://github.com/bytecodealliance/wasmtime", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.0.0.bazel"), + strip_prefix = "crates/c-api/macros", + ) + + maybe( + http_archive, + name = "cu__wasmtime-cranelift-9.0.4", + sha256 = "5800616a28ed6bd5e8b99ea45646c956d798ae030494ac0689bc3e45d3b689c1", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-cranelift/9.0.4/download"], + strip_prefix = "wasmtime-cranelift-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-cranelift-shared-9.0.4", + sha256 = "27e4030b959ac5c5d6ee500078977e813f8768fa2b92fc12be01856cd0c76c55", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-cranelift-shared/9.0.4/download"], + strip_prefix = "wasmtime-cranelift-shared-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-shared-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-environ-9.0.4", + sha256 = "9ec815d01a8d38aceb7ed4678f9ba551ae6b8a568a63810ac3ad9293b0fd01c8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-environ/9.0.4/download"], + strip_prefix = "wasmtime-environ-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-jit-9.0.4", + sha256 = "2712eafe829778b426cad0e1769fef944898923dd29f0039e34e0d53ba72b234", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-jit/9.0.4/download"], + strip_prefix = "wasmtime-jit-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-jit-debug-9.0.4", + sha256 = "65fb78eacf4a6e47260d8ef8cc81ea8ddb91397b2e848b3fb01567adebfe89b5", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-jit-debug/9.0.4/download"], + strip_prefix = "wasmtime-jit-debug-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-jit-icache-coherence-9.0.4", + sha256 = "d1364900b05f7d6008516121e8e62767ddb3e176bdf4c84dfa85da1734aeab79", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-jit-icache-coherence/9.0.4/download"], + strip_prefix = "wasmtime-jit-icache-coherence-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-runtime-9.0.4", + sha256 = "4a16ffe4de9ac9669175c0ea5c6c51ffc596dfb49320aaa6f6c57eff58cef069", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-runtime/9.0.4/download"], + strip_prefix = "wasmtime-runtime-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmtime-types-9.0.4", + sha256 = "19961c9a3b04d5e766875a5c467f6f5d693f508b3e81f8dc4a1444aa94f041c9", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmtime-types/9.0.4/download"], + strip_prefix = "wasmtime-types-9.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-9.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__winapi-util-0.1.8", + sha256 = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/winapi-util/0.1.8/download"], + strip_prefix = "winapi-util-0.1.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.winapi-util-0.1.8.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-sys-0.48.0", + sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-sys/0.48.0/download"], + strip_prefix = "windows-sys-0.48.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.48.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-sys-0.52.0", + sha256 = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-sys/0.52.0/download"], + strip_prefix = "windows-sys-0.52.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.52.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-targets-0.48.5", + sha256 = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-targets/0.48.5/download"], + strip_prefix = "windows-targets-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-targets-0.52.6", + sha256 = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-targets/0.52.6/download"], + strip_prefix = "windows-targets-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_aarch64_gnullvm-0.48.5", + sha256 = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_aarch64_gnullvm/0.48.5/download"], + strip_prefix = "windows_aarch64_gnullvm-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_aarch64_gnullvm-0.52.6", + sha256 = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_aarch64_gnullvm/0.52.6/download"], + strip_prefix = "windows_aarch64_gnullvm-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_aarch64_msvc-0.48.5", + sha256 = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_aarch64_msvc/0.48.5/download"], + strip_prefix = "windows_aarch64_msvc-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_aarch64_msvc-0.52.6", + sha256 = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_aarch64_msvc/0.52.6/download"], + strip_prefix = "windows_aarch64_msvc-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_gnu-0.48.5", + sha256 = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_gnu/0.48.5/download"], + strip_prefix = "windows_i686_gnu-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_gnu-0.52.6", + sha256 = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_gnu/0.52.6/download"], + strip_prefix = "windows_i686_gnu-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_gnullvm-0.52.6", + sha256 = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_gnullvm/0.52.6/download"], + strip_prefix = "windows_i686_gnullvm-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnullvm-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_msvc-0.48.5", + sha256 = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_msvc/0.48.5/download"], + strip_prefix = "windows_i686_msvc-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_msvc-0.52.6", + sha256 = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_msvc/0.52.6/download"], + strip_prefix = "windows_i686_msvc-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_gnu-0.48.5", + sha256 = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_gnu/0.48.5/download"], + strip_prefix = "windows_x86_64_gnu-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_gnu-0.52.6", + sha256 = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_gnu/0.52.6/download"], + strip_prefix = "windows_x86_64_gnu-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_gnullvm-0.48.5", + sha256 = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_gnullvm/0.48.5/download"], + strip_prefix = "windows_x86_64_gnullvm-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_gnullvm-0.52.6", + sha256 = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_gnullvm/0.52.6/download"], + strip_prefix = "windows_x86_64_gnullvm-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_msvc-0.48.5", + sha256 = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_msvc/0.48.5/download"], + strip_prefix = "windows_x86_64_msvc-0.48.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.48.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_msvc-0.52.6", + sha256 = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_msvc/0.52.6/download"], + strip_prefix = "windows_x86_64_msvc-0.52.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__zerocopy-0.7.35", + sha256 = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0", + type = "tar.gz", + urls = ["https://static.crates.io/crates/zerocopy/0.7.35/download"], + strip_prefix = "zerocopy-0.7.35", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.zerocopy-0.7.35.bazel"), + ) + + maybe( + http_archive, + name = "cu__zerocopy-derive-0.7.35", + sha256 = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/zerocopy-derive/0.7.35/download"], + strip_prefix = "zerocopy-derive-0.7.35", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.zerocopy-derive-0.7.35.bazel"), + ) diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 49db6d7ba..361507fdc 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -14,12 +14,13 @@ load("@bazel-zig-cc//toolchain:defs.bzl", zig_register_toolchains = "register_toolchains") load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") -load("@proxy_wasm_cpp_host//bazel/cargo/wasmsign:crates.bzl", "wasmsign_fetch_remote_crates") -load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime:crates.bzl", "wasmtime_fetch_remote_crates") +load("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:crates.bzl", wasmsign_crate_repositories = "crate_repositories") +load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:crates.bzl", wasmtime_crate_repositories = "crate_repositories") load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init") load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") load("@rules_python//python:pip.bzl", "pip_install") +load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") load("@rules_rust//rust:repositories.bzl", "rust_repositories", "rust_repository_set") def proxy_wasm_cpp_host_dependencies(): @@ -50,6 +51,7 @@ def proxy_wasm_cpp_host_dependencies(): ], version = "1.68.0", ) + crate_universe_dependencies(bootstrap = True) zig_register_toolchains( version = "0.9.1", @@ -62,10 +64,6 @@ def proxy_wasm_cpp_host_dependencies(): }, ) - # Test dependencies. - - wasmsign_fetch_remote_crates() - # NullVM dependencies. protobuf_deps() @@ -80,4 +78,8 @@ def proxy_wasm_cpp_host_dependencies(): # Wasmtime dependencies. - wasmtime_fetch_remote_crates() + wasmtime_crate_repositories() + + # Test dependencies. + + wasmsign_crate_repositories() diff --git a/bazel/external/wasmtime.BUILD b/bazel/external/wasmtime.BUILD index d108e71f9..584366615 100644 --- a/bazel/external/wasmtime.BUILD +++ b/bazel/external/wasmtime.BUILD @@ -11,13 +11,13 @@ rust_static_library( crate_root = "crates/c-api/src/lib.rs", edition = "2018", proc_macro_deps = [ - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:wasmtime_c_api_macros", + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:wasmtime-c-api-macros", ], deps = [ - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:anyhow", - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:env_logger", - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:once_cell", + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:anyhow", + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:env_logger", + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:once_cell", # buildifier: leave-alone - "@proxy_wasm_cpp_host//bazel/cargo/wasmtime:wasmtime", + "@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:wasmtime", ], ) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 12a375595..e585c6b9e 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -19,6 +19,17 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") def proxy_wasm_cpp_host_repositories(): # Bazel extensions. + # Update platforms for crate_universe. Can remove when we update Bazel version. + maybe( + http_archive, + name = "platforms", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", + "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", + ], + sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", + ) + maybe( http_archive, name = "bazel_skylib", diff --git a/bazel/wasm.bzl b/bazel/wasm.bzl index 9b3a5f734..192823047 100644 --- a/bazel/wasm.bzl +++ b/bazel/wasm.bzl @@ -63,7 +63,7 @@ def _wasm_attrs(transition): return { "binary": attr.label(mandatory = True, cfg = transition), "signing_key": attr.label_list(allow_files = True), - "_wasmsign_tool": attr.label(default = "//bazel/cargo/wasmsign:cargo_bin_wasmsign", executable = True, cfg = "exec"), + "_wasmsign_tool": attr.label(default = "//bazel/cargo/wasmsign/remote:wasmsign__wasmsign", executable = True, cfg = "exec"), "_whitelist_function_transition": attr.label(default = "@bazel_tools//tools/whitelists/function_transition_whitelist"), } From 95e998294dbf075af8f711484f16447b35ea8328 Mon Sep 17 00:00:00 2001 From: martijneken Date: Sat, 3 Aug 2024 01:00:04 -0400 Subject: [PATCH 62/90] fix: Move from unavailable macos-11 to macos-13 (#401) See: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources This does not fix #384, but does resurface those errors. Signed-off-by: Martijn Stevenson --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74e56f021..23c620774 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -176,7 +176,7 @@ jobs: - name: 'V8 on macOS/x86_64' engine: 'v8' repo: 'v8' - os: macos-11 + os: macos-13 arch: x86_64 action: test cache: true @@ -190,7 +190,7 @@ jobs: - name: 'WAMR interp on macOS/x86_64' engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: macos-11 + os: macos-13 arch: x86_64 action: test - name: 'WAMR jit on Linux/x86_64' @@ -205,7 +205,7 @@ jobs: - name: 'WAMR jit on macOS/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: macos-11 + os: macos-13 arch: x86_64 action: test cache: true @@ -219,7 +219,7 @@ jobs: - name: 'WasmEdge on macOS/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' - os: macos-11 + os: macos-13 arch: x86_64 action: test - name: 'Wasmtime on Linux/x86_64' @@ -256,7 +256,7 @@ jobs: - name: 'Wasmtime on macOS/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: macos-11 + os: macos-13 arch: x86_64 action: test - name: 'Wasmtime on Windows/x86_64' From e1f2d62d292e3289a8fc5a288dade93604754d64 Mon Sep 17 00:00:00 2001 From: martijneken Date: Fri, 9 Aug 2024 22:28:30 -0400 Subject: [PATCH 63/90] chore: bump Bazel from 5.2.0 to 6.5.0 (#402) Bump Bazel from 5.2.0 to 6.5.0 This breaks the s390x build which relied on an external Docker image. I made some strides in fixing s390x, but it's not yet working. Deferred to https://github.com/proxy-wasm/proxy-wasm-cpp-host/issues/405. Signed-off-by: Martijn Stevenson --- .bazelrc | 3 + .bazelversion | 2 +- .github/workflows/test.yml | 12 +++- .../remote/BUILD.ansi_term-0.12.1.bazel | 2 +- .../wasmsign/remote/BUILD.anyhow-1.0.86.bazel | 2 +- .../wasmsign/remote/BUILD.atty-0.2.14.bazel | 2 +- bazel/cargo/wasmsign/remote/BUILD.bazel | 2 +- .../remote/BUILD.bitflags-1.3.2.bazel | 2 +- .../remote/BUILD.byteorder-1.5.0.bazel | 2 +- .../wasmsign/remote/BUILD.cfg-if-1.0.0.bazel | 2 +- .../wasmsign/remote/BUILD.clap-2.34.0.bazel | 2 +- .../remote/BUILD.ct-codecs-1.1.1.bazel | 2 +- .../remote/BUILD.ed25519-compact-1.0.16.bazel | 2 +- .../remote/BUILD.getrandom-0.2.15.bazel | 2 +- .../remote/BUILD.hermit-abi-0.1.19.bazel | 2 +- .../remote/BUILD.hmac-sha512-1.1.5.bazel | 2 +- .../wasmsign/remote/BUILD.libc-0.2.155.bazel | 2 +- .../remote/BUILD.parity-wasm-0.42.2.bazel | 2 +- .../remote/BUILD.proc-macro2-1.0.86.bazel | 2 +- .../wasmsign/remote/BUILD.quote-1.0.36.bazel | 2 +- .../wasmsign/remote/BUILD.strsim-0.8.0.bazel | 2 +- .../wasmsign/remote/BUILD.syn-2.0.72.bazel | 2 +- .../remote/BUILD.textwrap-0.11.0.bazel | 2 +- .../remote/BUILD.thiserror-1.0.63.bazel | 2 +- .../remote/BUILD.thiserror-impl-1.0.63.bazel | 2 +- .../remote/BUILD.unicode-ident-1.0.12.bazel | 2 +- .../remote/BUILD.unicode-width-0.1.13.bazel | 2 +- .../wasmsign/remote/BUILD.vec_map-0.8.2.bazel | 2 +- ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 2 +- .../remote/BUILD.wasmsign-0.1.2.bazel | 2 +- .../wasmsign/remote/BUILD.winapi-0.3.9.bazel | 2 +- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 2 +- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 2 +- bazel/cargo/wasmsign/remote/defs.bzl | 2 +- .../remote/BUILD.addr2line-0.19.0.bazel | 2 +- .../wasmtime/remote/BUILD.ahash-0.8.11.bazel | 2 +- .../remote/BUILD.aho-corasick-1.1.3.bazel | 2 +- .../wasmtime/remote/BUILD.anyhow-1.0.86.bazel | 2 +- .../remote/BUILD.arbitrary-1.3.2.bazel | 2 +- .../wasmtime/remote/BUILD.autocfg-1.3.0.bazel | 2 +- bazel/cargo/wasmtime/remote/BUILD.bazel | 2 +- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 2 +- .../remote/BUILD.bitflags-1.3.2.bazel | 2 +- .../remote/BUILD.bitflags-2.6.0.bazel | 2 +- .../remote/BUILD.bumpalo-3.16.0.bazel | 2 +- .../remote/BUILD.byteorder-1.5.0.bazel | 2 +- .../wasmtime/remote/BUILD.cc-1.1.6.bazel | 2 +- .../wasmtime/remote/BUILD.cfg-if-1.0.0.bazel | 2 +- .../remote/BUILD.cpp_demangle-0.3.5.bazel | 2 +- .../BUILD.cranelift-bforest-0.96.4.bazel | 2 +- .../BUILD.cranelift-codegen-0.96.4.bazel | 2 +- .../BUILD.cranelift-codegen-meta-0.96.4.bazel | 2 +- ...UILD.cranelift-codegen-shared-0.96.4.bazel | 2 +- .../BUILD.cranelift-control-0.96.4.bazel | 2 +- .../BUILD.cranelift-entity-0.96.4.bazel | 2 +- .../BUILD.cranelift-frontend-0.96.4.bazel | 2 +- .../remote/BUILD.cranelift-isle-0.96.4.bazel | 2 +- .../BUILD.cranelift-native-0.96.4.bazel | 2 +- .../remote/BUILD.cranelift-wasm-0.96.4.bazel | 2 +- .../remote/BUILD.crc32fast-1.4.2.bazel | 2 +- .../wasmtime/remote/BUILD.debugid-0.8.0.bazel | 2 +- .../wasmtime/remote/BUILD.either-1.13.0.bazel | 2 +- .../remote/BUILD.env_logger-0.10.2.bazel | 2 +- .../wasmtime/remote/BUILD.errno-0.3.9.bazel | 2 +- .../BUILD.fallible-iterator-0.2.0.bazel | 2 +- .../remote/BUILD.form_urlencoded-1.2.1.bazel | 2 +- .../wasmtime/remote/BUILD.fxhash-0.2.1.bazel | 2 +- ...BUILD.fxprof-processed-profile-0.6.0.bazel | 2 +- .../remote/BUILD.getrandom-0.2.15.bazel | 2 +- .../wasmtime/remote/BUILD.gimli-0.27.3.bazel | 2 +- .../remote/BUILD.hashbrown-0.12.3.bazel | 2 +- .../remote/BUILD.hashbrown-0.13.2.bazel | 2 +- .../remote/BUILD.hermit-abi-0.3.9.bazel | 2 +- .../remote/BUILD.humantime-2.1.0.bazel | 2 +- .../wasmtime/remote/BUILD.idna-0.5.0.bazel | 2 +- .../remote/BUILD.indexmap-1.9.3.bazel | 2 +- .../remote/BUILD.io-lifetimes-1.0.11.bazel | 2 +- .../remote/BUILD.is-terminal-0.4.12.bazel | 2 +- .../remote/BUILD.itertools-0.10.5.bazel | 2 +- .../wasmtime/remote/BUILD.itoa-1.0.11.bazel | 2 +- .../wasmtime/remote/BUILD.libc-0.2.155.bazel | 2 +- .../remote/BUILD.linux-raw-sys-0.3.8.bazel | 2 +- .../remote/BUILD.linux-raw-sys-0.4.14.bazel | 2 +- .../wasmtime/remote/BUILD.log-0.4.22.bazel | 2 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 2 +- .../wasmtime/remote/BUILD.memchr-2.7.4.bazel | 2 +- .../wasmtime/remote/BUILD.memfd-0.6.4.bazel | 2 +- .../remote/BUILD.memoffset-0.8.0.bazel | 2 +- .../wasmtime/remote/BUILD.object-0.30.4.bazel | 2 +- .../remote/BUILD.once_cell-1.19.0.bazel | 2 +- .../wasmtime/remote/BUILD.paste-1.0.15.bazel | 2 +- .../remote/BUILD.percent-encoding-2.3.1.bazel | 2 +- .../remote/BUILD.ppv-lite86-0.2.17.bazel | 2 +- .../remote/BUILD.proc-macro2-1.0.86.bazel | 2 +- .../wasmtime/remote/BUILD.psm-0.1.21.bazel | 2 +- .../wasmtime/remote/BUILD.quote-1.0.36.bazel | 2 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 2 +- .../remote/BUILD.rand_chacha-0.3.1.bazel | 2 +- .../remote/BUILD.rand_core-0.6.4.bazel | 2 +- .../remote/BUILD.regalloc2-0.8.1.bazel | 2 +- .../wasmtime/remote/BUILD.regex-1.10.5.bazel | 2 +- .../remote/BUILD.regex-automata-0.4.7.bazel | 2 +- .../remote/BUILD.regex-syntax-0.8.4.bazel | 2 +- .../remote/BUILD.rustc-demangle-0.1.24.bazel | 2 +- .../remote/BUILD.rustc-hash-1.1.0.bazel | 2 +- .../remote/BUILD.rustix-0.37.27.bazel | 2 +- .../remote/BUILD.rustix-0.38.34.bazel | 2 +- .../wasmtime/remote/BUILD.ryu-1.0.18.bazel | 2 +- .../wasmtime/remote/BUILD.serde-1.0.204.bazel | 2 +- .../remote/BUILD.serde_derive-1.0.204.bazel | 2 +- .../remote/BUILD.serde_json-1.0.120.bazel | 2 +- .../remote/BUILD.slice-group-by-0.3.1.bazel | 2 +- .../remote/BUILD.smallvec-1.13.2.bazel | 2 +- .../BUILD.stable_deref_trait-1.2.0.bazel | 2 +- .../wasmtime/remote/BUILD.syn-2.0.72.bazel | 2 +- .../remote/BUILD.target-lexicon-0.12.15.bazel | 2 +- .../remote/BUILD.termcolor-1.4.1.bazel | 2 +- .../remote/BUILD.thiserror-1.0.63.bazel | 2 +- .../remote/BUILD.thiserror-impl-1.0.63.bazel | 2 +- .../wasmtime/remote/BUILD.tinyvec-1.8.0.bazel | 2 +- .../remote/BUILD.tinyvec_macros-0.1.1.bazel | 2 +- .../remote/BUILD.unicode-bidi-0.3.15.bazel | 2 +- .../remote/BUILD.unicode-ident-1.0.12.bazel | 2 +- .../BUILD.unicode-normalization-0.1.23.bazel | 2 +- .../wasmtime/remote/BUILD.url-2.5.2.bazel | 2 +- .../wasmtime/remote/BUILD.uuid-1.10.0.bazel | 2 +- .../remote/BUILD.version_check-0.9.5.bazel | 2 +- ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 2 +- .../remote/BUILD.wasmparser-0.103.0.bazel | 2 +- .../remote/BUILD.wasmtime-9.0.4.bazel | 2 +- .../BUILD.wasmtime-asm-macros-9.0.4.bazel | 2 +- .../BUILD.wasmtime-c-api-macros-0.0.0.bazel | 2 +- .../BUILD.wasmtime-cranelift-9.0.4.bazel | 2 +- ...UILD.wasmtime-cranelift-shared-9.0.4.bazel | 2 +- .../remote/BUILD.wasmtime-environ-9.0.4.bazel | 2 +- .../remote/BUILD.wasmtime-jit-9.0.4.bazel | 2 +- .../BUILD.wasmtime-jit-debug-9.0.4.bazel | 2 +- ....wasmtime-jit-icache-coherence-9.0.4.bazel | 2 +- .../remote/BUILD.wasmtime-runtime-9.0.4.bazel | 2 +- .../remote/BUILD.wasmtime-types-9.0.4.bazel | 2 +- .../remote/BUILD.winapi-util-0.1.8.bazel | 2 +- .../remote/BUILD.windows-sys-0.48.0.bazel | 2 +- .../remote/BUILD.windows-sys-0.52.0.bazel | 2 +- .../remote/BUILD.windows-targets-0.48.5.bazel | 2 +- .../remote/BUILD.windows-targets-0.52.6.bazel | 2 +- ...BUILD.windows_aarch64_gnullvm-0.48.5.bazel | 2 +- ...BUILD.windows_aarch64_gnullvm-0.52.6.bazel | 2 +- .../BUILD.windows_aarch64_msvc-0.48.5.bazel | 2 +- .../BUILD.windows_aarch64_msvc-0.52.6.bazel | 2 +- .../BUILD.windows_i686_gnu-0.48.5.bazel | 2 +- .../BUILD.windows_i686_gnu-0.52.6.bazel | 2 +- .../BUILD.windows_i686_gnullvm-0.52.6.bazel | 2 +- .../BUILD.windows_i686_msvc-0.48.5.bazel | 2 +- .../BUILD.windows_i686_msvc-0.52.6.bazel | 2 +- .../BUILD.windows_x86_64_gnu-0.48.5.bazel | 2 +- .../BUILD.windows_x86_64_gnu-0.52.6.bazel | 2 +- .../BUILD.windows_x86_64_gnullvm-0.48.5.bazel | 2 +- .../BUILD.windows_x86_64_gnullvm-0.52.6.bazel | 2 +- .../BUILD.windows_x86_64_msvc-0.48.5.bazel | 2 +- .../BUILD.windows_x86_64_msvc-0.52.6.bazel | 2 +- .../remote/BUILD.zerocopy-0.7.35.bazel | 2 +- .../remote/BUILD.zerocopy-derive-0.7.35.bazel | 2 +- bazel/cargo/wasmtime/remote/defs.bzl | 2 +- bazel/external/Dockerfile.bazel | 61 +++++++++++++++++++ bazel/external/googletest.patch | 13 ++++ bazel/repositories.bzl | 2 + 166 files changed, 251 insertions(+), 162 deletions(-) create mode 100644 bazel/external/Dockerfile.bazel create mode 100644 bazel/external/googletest.patch diff --git a/.bazelrc b/.bazelrc index 86e814d38..ab9a27f84 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,3 +1,6 @@ +# Disable Bzlmod +common --noenable_bzlmod + # Pass CC, CXX and PATH from the environment. build --action_env=CC build --action_env=CXX diff --git a/.bazelversion b/.bazelversion index 91ff57278..f22d756da 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -5.2.0 +6.5.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23c620774..1b1fa89ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -251,7 +251,8 @@ jobs: arch: s390x action: test flags: --config=clang --test_timeout=1800 - run_under: docker run --rm --env HOME=$HOME --env USER=$(id -un) --volume "$HOME:$HOME" --workdir $(pwd) --user $(id -u):$(id -g) --platform linux/s390x piotrsikora/build-tools:bazel-5.2.0-clang-14-gcc-12 + # s390x build-tools image built from bazel/external/Dockerfile.bazel + run_under: docker run --rm --env HOME=$HOME --env USER=$(id -un) --volume "$HOME:$HOME" --workdir $(pwd) --user $(id -u):$(id -g) --platform linux/s390x ghcr.io/proxy-wasm/build-tools:ubuntu-20.04-bazel-6.5.0 cache: true - name: 'Wasmtime on macOS/x86_64' engine: 'wasmtime' @@ -282,6 +283,15 @@ jobs: if: ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }} run: sudo apt update -y && sudo apt install -y ${{ matrix.deps }} + # Needed for s390x test which runs on a GHCR Docker Ubuntu image. + - name: Login to GitHub Container Registry + if: startsWith(matrix.run_under, 'docker') + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Activate Docker/QEMU if: startsWith(matrix.run_under, 'docker') run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes diff --git a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel index 76b237351..22faf8df9 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel index ac05f26e9..d717277e6 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel index 042620fd9..e7fd10f0f 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.bazel b/bazel/cargo/wasmsign/remote/BUILD.bazel index f7557ab01..fb08489fd 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### package(default_visibility = ["//visibility:public"]) diff --git a/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel index b82314da9..d701e4c60 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel index de6a36dd7..ac3e5c8a2 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel index 54468a44e..21e4cbeb9 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel index 385de6f5d..66427b8a4 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel index 99961e188..fee8bd3b8 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel index 4ca9f00b0..3806ebe7b 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel index d09ee3dd1..dd7de9c9b 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel index 0ce38b7b1..3990cb368 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel index c09f00280..774e5bd54 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel index 0e8144575..f822abc3f 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel index 9feb12623..f9e1e34aa 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel index ee0b1590b..c8ffa5c4b 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel index 629754fda..308d43ad6 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel index fd1aa61ac..6ad9b2043 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel index e1a4bfc4d..9bf397bd2 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel index 94e8d4386..ede0b609b 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel index 1dc950ccf..9ca648959 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel index 2f7a65a52..142b16b2f 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel index 91a06d7ac..894836db8 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel index 88c7780c8..90c33b0aa 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel index c8cd5b4ff..0f0b8933c 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel index 11d6cc924..13fbda125 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel index cc34b19ee..3a21d33ca 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load( diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel index fe49869b4..0f41daaf1 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index cecb69888..782b8d021 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index 57a6d1e8c..e67d33cf9 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmsign/remote/defs.bzl b/bazel/cargo/wasmsign/remote/defs.bzl index 34b03dddd..89c4e2d02 100644 --- a/bazel/cargo/wasmsign/remote/defs.bzl +++ b/bazel/cargo/wasmsign/remote/defs.bzl @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmsign:crates_vendor +# bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### """ # `crates_repository` API diff --git a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel index 6444a861b..3b5e7fffa 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel index 34902b888..6cfdf16c9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel index d1614759b..939e218b2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel index de4b5823d..a4de9913a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel index 623b5da46..eb21041cc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel index 0591ec48c..8a2d2ca08 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.bazel b/bazel/cargo/wasmtime/remote/BUILD.bazel index 34b4f1f5a..5692002a8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### package(default_visibility = ["//visibility:public"]) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index 0318ec879..bd63e9685 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel index 5fb108c85..d397df700 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel index 6d4dc0aea..3a06e3e85 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel index 72055f131..db1052dfa 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel index a681029e5..e307c0c58 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel index 9fec211e7..4ad7c0707 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel index 64fe9be3a..e71505481 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel index d6d47ebe4..ed4332ae6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel index b61551dfd..32c38d05d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel index 60d55c204..3daf430f7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel index 93b8d79c0..de05c99c0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel index e1d217b8f..2eede82e6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel index 002aa4649..057a08c8d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel index c184aa35a..bf32eaccc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel index ea70e8451..8a7e192f4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel index d9d60965d..1f0c2d4aa 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel index abcd15ed3..8364dcc10 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel index 0d64ac1bc..b6a036ef8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel index ae4643d68..72a755bcf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel index aec9f5538..3ade906f8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel index 60a6f9523..f9ca9c23e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel index b82287b5a..2d0e975a1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel index 903818f42..36bd149f5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel index 7cd94e63e..79b2a7153 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel index fae193974..fcf6118f6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel index 190c18b40..5b9dc4e8e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel index ce1a4e2c1..5cd5c59de 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel index ae291befa..5fe182d17 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel index d9fd701f9..7402b72b3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel index fe900cc26..94ea8b698 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel index b70d63ba4..2d7bbdc20 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel index f8a914739..ec7338bb5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel index 32069eb67..fd41b6708 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel index 5943a2157..210e3b8bb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel index 562ed99d4..46639af74 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel index 67bbc3d27..481e6ca9f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel index 5c6f36ef9..1cfd6291f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel index 96f862ba8..03377bdeb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel index d25111035..c874e7d4e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel index 604b46492..3154b9dc9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel index 89f189b38..a1634a238 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel index 87033f72d..ee7a2dab1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel index 7f3c5455d..99c9f5a62 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index e15aac7a0..f35ca4838 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel index 7eb0428ae..f86724640 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel index 311b85b49..6963c36c9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel index 2d3f1fcbe..22e1bdf74 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel index 1bdcf55ae..c7cff2b5e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel index ad9c0380e..61c6d4df9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel index 177148def..a16962b72 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel index f4889a63d..5296e610d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel index 1c98344a9..92d543535 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel index 071369a04..4b3c2ab99 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel index 5c481198a..32976f245 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel index 5225df631..0b42ba304 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 0097fc591..851a20a96 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel index 32d2dbfbe..a93e8f636 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel index c9aa0320a..993ff0b8c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel index baae510e3..19ca0fe4f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel index bfbfa2c87..0f1ae96e0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel index 64e138001..e0c48ef50 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel index 0145c6b0a..513239e82 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel index 36cc346c2..b18377f67 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel index 5d2fab8f0..0ca3c2402 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel index 2a43dbc12..ba217f9cf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel index 88588a0d1..6cc42ac8a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel index b43782049..5119d6444 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel index 2420c55c6..5633e65e1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel index 3bf90add0..c7966111d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel index 6e9825146..39d294432 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel index 2df3f512d..4921aa1db 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel index aac620928..3397610de 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel index ca9fce400..c074b9ff4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel index 8faee8809..91be9241e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel index e4fded0a4..c9c6e9199 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel index 98e611135..1854121b3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel index a59d5764f..1fa72ecfb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel index 1a5c3ad7a..2d98dc3c9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel index 35e49d4db..d8ac774ee 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel index 89f138089..32fcacff9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel index aaaccdc0c..ff6b2ee31 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel index 6ffa07ed5..5c19c50be 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel index b4bc78bde..ea0dd99a2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel index 9ec6bbdbe..7c854205c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel index bc72b369e..3e2371588 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel index f7fd3cac6..7a4157987 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel index 9f8f31c9f..19e04194d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel index 7ee3464d8..655f9e3e0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel index 3fd1ef0d1..7cb296dcf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel index b736e0bc9..b8eeabdb4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel index d19728fc5..062fd2f86 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel index d5baad39d..b2056cf48 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel index 5541a2717..2d1352338 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel index 32234089b..1e53a6044 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel index 236b21728..60934b449 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel index ad162af59..83b67e1c4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel index c9b6cdf45..68e105ed2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel index b7c6c02d1..809be273f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel index 612c6679d..1c9b5511e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel index 7e74ae0ba..30665d6b9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel index 88f4b396c..d1a45ce0f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel index faca1ff4f..cb2b42460 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel index d3e4602f9..f6235e823 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel index 7a023db72..8b886b963 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel index 06a47f3d2..2d0821395 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel index 228f35c6a..a8a97f5d6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel index e9e251a53..350d5206a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel index a26ffc17e..b3909e5cd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel index c64b79b54..85270a149 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel index a4459643b..daab056e7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel index f2058a31b..07c3ff9ce 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel index 2d1a13c69..21077404a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel index 9bb1f2aa4..150b4e9f8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel index 3f33b6cb9..85626006b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel index 0452db24f..1b7ee01c9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel index e42a5df60..88bcdd72d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel index 3acad8056..68fba5b85 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel index 9c02eb55c..54d214b42 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel index 969fd9751..0b219ff1d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel index 38a99bf5a..385c5f643 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel index c02f9298a..ca44749e0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/bazel/cargo/wasmtime/remote/defs.bzl b/bazel/cargo/wasmtime/remote/defs.bzl index e4b3198d4..fc84e568a 100644 --- a/bazel/cargo/wasmtime/remote/defs.bzl +++ b/bazel/cargo/wasmtime/remote/defs.bzl @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run //bazel/cargo/wasmtime:crates_vendor +# bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### """ # `crates_repository` API diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel new file mode 100644 index 000000000..d60300a4d --- /dev/null +++ b/bazel/external/Dockerfile.bazel @@ -0,0 +1,61 @@ +# syntax=docker/dockerfile:1 + +# Prep: +# docker run --rm --privileged tonistiigi/binfmt --install all +# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes +# Need to see "F" flag: cat /proc/sys/fs/binfmt_misc/qemu-* +# +# Build: +# docker buildx build --platform linux/s390x -t $IMAGE -f Dockerfile.bazel +# +# Push: +# docker image tag $IMAGE ghcr.io/proxy-wasm/$IMAGE +# docker push ghcr.io/proxy-wasm/$IMAGE +# +# Test: +# docker run --rm --volume $(pwd):/mnt --workdir /mnt \ +# --platform linux/s390x $IMAGE \ +# bazel test --verbose_failures --test_output=errors \ +# --define engine=null --config=clang --test_timeout=1800 \ +# -- //test/... + +# Update base image +ARG UBUNTU_VERSION=20.04 +FROM ubuntu:${UBUNTU_VERSION} as build +RUN apt update && apt upgrade -y +RUN apt autoremove -y + +# Install Bazel deps +RUN apt install -y software-properties-common +RUN add-apt-repository ppa:openjdk-r/ppa +RUN apt install -y \ + build-essential \ + openjdk-11-jdk \ + python3 \ + curl \ + zip \ + unzip + +# Download Bazel source +ARG BAZEL_VERSION=6.5.0 +RUN cd ~ && mkdir bazel && cd bazel +RUN curl -LO https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip +RUN unzip -q bazel-${BAZEL_VERSION}-dist.zip + +# Build Bazel +# NOTE: This step is flaky and frequently hangs for multiarch / buildx. +# If it takes more than 2 hours, restart the Docker build and try again. +ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" +RUN bash ./compile.sh + +# Copy output to /usr/bin +RUN cp /output/bazel /usr/bin/bazel + +# Install ProxyWasm build deps +RUN apt install -y \ + git \ + python3-distutils \ + clang \ + libstdc++6 \ + libssl-dev \ + libz-dev diff --git a/bazel/external/googletest.patch b/bazel/external/googletest.patch new file mode 100644 index 000000000..502ef58b3 --- /dev/null +++ b/bazel/external/googletest.patch @@ -0,0 +1,13 @@ +diff --git a/BUILD.bazel b/BUILD.bazel +index 8099642a85..3598661079 100644 +--- a/BUILD.bazel ++++ b/BUILD.bazel +@@ -40,7 +40,7 @@ exports_files(["LICENSE"]) + + config_setting( + name = "windows", +- constraint_values = ["@bazel_tools//platforms:windows"], ++ constraint_values = ["@platforms//os:windows"], + ) + + config_setting( diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index e585c6b9e..da4153ee1 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -134,6 +134,8 @@ def proxy_wasm_cpp_host_repositories(): sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", strip_prefix = "googletest-release-1.10.0", urls = ["https://github.com/google/googletest/archive/release-1.10.0.tar.gz"], + patches = ["@proxy_wasm_cpp_host//bazel/external:googletest.patch"], + patch_args = ["-p1"], ) # NullVM dependencies. From e38c8cec0059146f601ff06a87de7d0766f8902b Mon Sep 17 00:00:00 2001 From: martijneken Date: Mon, 12 Aug 2024 20:06:46 -0400 Subject: [PATCH 64/90] chore: bump rules_python and rules_fuzzing (#404) Upgrade rules_python (0.34.0) and rules_fuzzing (0.5.2) This requires extracting WORKSPACE phases into more phases: - dependencies -- py_repositories() and toolchains - dependencies_python() -- pip_parse module loading - dependencies_import() -- python/fuzzing/other deps The new structure roughly matches Envoy WORKSPACE: - envoy_dependencies() - envoy_dependencies_extra() -- not needed here - envoy_python_dependencies() - envoy_dependency_imports() Signed-off-by: Martijn Stevenson --- WORKSPACE | 8 ++++++++ bazel/dependencies.bzl | 22 ++++++---------------- bazel/dependencies_import.bzl | 25 +++++++++++++++++++++++++ bazel/dependencies_python.bzl | 27 +++++++++++++++++++++++++++ bazel/external/v8.patch | 20 ++++++++++++++++++++ bazel/repositories.bzl | 20 ++++++++++++++------ 6 files changed, 100 insertions(+), 22 deletions(-) create mode 100644 bazel/dependencies_import.bzl create mode 100644 bazel/dependencies_python.bzl diff --git a/WORKSPACE b/WORKSPACE index 478a58dea..dad42c2f8 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -8,6 +8,14 @@ load("@proxy_wasm_cpp_host//bazel:dependencies.bzl", "proxy_wasm_cpp_host_depend proxy_wasm_cpp_host_dependencies() +load("@proxy_wasm_cpp_host//bazel:dependencies_python.bzl", "proxy_wasm_cpp_host_dependencies_python") + +proxy_wasm_cpp_host_dependencies_python() + +load("@proxy_wasm_cpp_host//bazel:dependencies_import.bzl", "proxy_wasm_cpp_host_dependencies_import") + +proxy_wasm_cpp_host_dependencies_import() + load("@proxy_wasm_cpp_sdk//bazel:repositories.bzl", "proxy_wasm_cpp_sdk_repositories") proxy_wasm_cpp_sdk_repositories() diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 361507fdc..cfc278d18 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -16,20 +16,18 @@ load("@bazel-zig-cc//toolchain:defs.bzl", zig_register_toolchains = "register_to load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:crates.bzl", wasmsign_crate_repositories = "crate_repositories") load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:crates.bzl", wasmtime_crate_repositories = "crate_repositories") -load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") -load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init") -load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") -load("@rules_python//python:pip.bzl", "pip_install") +load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains") load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") load("@rules_rust//rust:repositories.bzl", "rust_repositories", "rust_repository_set") def proxy_wasm_cpp_host_dependencies(): # Bazel extensions. - rules_foreign_cc_dependencies() - - rules_fuzzing_dependencies() - rules_fuzzing_init() + py_repositories() + python_register_toolchains( + name = "python_3_9", + python_version = "3.9", + ) rust_repositories() rust_repository_set( @@ -68,14 +66,6 @@ def proxy_wasm_cpp_host_dependencies(): protobuf_deps() - # V8 dependencies. - - pip_install( - name = "v8_python_deps", - extra_pip_args = ["--require-hashes"], - requirements = "@v8//:bazel/requirements.txt", - ) - # Wasmtime dependencies. wasmtime_crate_repositories() diff --git a/bazel/dependencies_import.bzl b/bazel/dependencies_import.bzl new file mode 100644 index 000000000..1f23f7d0b --- /dev/null +++ b/bazel/dependencies_import.bzl @@ -0,0 +1,25 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +load("@fuzzing_py_deps//:requirements.bzl", pip_fuzzing_dependencies = "install_deps") +load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") +load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") +load("@v8_python_deps//:requirements.bzl", pip_v8_dependencies = "install_deps") + +def proxy_wasm_cpp_host_dependencies_import(): + rules_foreign_cc_dependencies() + rules_fuzzing_dependencies() + + pip_fuzzing_dependencies() + pip_v8_dependencies() diff --git a/bazel/dependencies_python.bzl b/bazel/dependencies_python.bzl new file mode 100644 index 000000000..4207c79cf --- /dev/null +++ b/bazel/dependencies_python.bzl @@ -0,0 +1,27 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init") +load("@rules_python//python:pip.bzl", "pip_parse") + +def proxy_wasm_cpp_host_dependencies_python(): + # NOTE: this loads @fuzzing_py_deps via pip_parse + rules_fuzzing_init() + + # V8 dependencies. + pip_parse( + name = "v8_python_deps", + extra_pip_args = ["--require-hashes"], + requirements_lock = "@v8//:bazel/requirements.txt", + ) diff --git a/bazel/external/v8.patch b/bazel/external/v8.patch index 90b1de013..58e7f9ba0 100644 --- a/bazel/external/v8.patch +++ b/bazel/external/v8.patch @@ -1,6 +1,7 @@ # 1. Disable pointer compression (limits the maximum number of WasmVMs). # 2. Don't expose Wasm C API (only Wasm C++ API). # 3. Fix gcc build error by disabling nonnull warning. +# 4. Allow compiling v8 on macOS 10.15 to 13.0. TODO(dio): Will remove this patch when https://bugs.chromium.org/p/v8/issues/detail?id=13428 is fixed. diff --git a/BUILD.bazel b/BUILD.bazel index 4e89f90e7e..3fcb38b3f3 100644 @@ -27,6 +28,25 @@ index e957c0fad3..063627b72b 100644 # Use GNU dialect, because GCC doesn't allow using # ##__VA_ARGS__ when in standards-conforming mode. "-std=gnu++17", +@@ -151,6 +152,18 @@ def _default_args(): + "-fno-integrated-as", + ], + "//conditions:default": [], ++ }) + select({ ++ "@v8//bazel/config:is_macos": [ ++ # The clang available on macOS catalina has a warning that isn't clean on v8 code. ++ "-Wno-range-loop-analysis", ++ ++ # To supress warning on deprecated declaration on v8 code. For example: ++ # external/v8/src/base/platform/platform-darwin.cc:56:22: 'getsectdatafromheader_64' ++ # is deprecated: first deprecated in macOS 13.0. ++ # https://bugs.chromium.org/p/v8/issues/detail?id=13428. ++ "-Wno-deprecated-declarations", ++ ], ++ "//conditions:default": [], + }), + includes = ["include"], + linkopts = select({ diff --git a/src/wasm/c-api.cc b/src/wasm/c-api.cc index 4473e205c0..65a6ec7e1d 100644 --- a/src/wasm/c-api.cc diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index da4153ee1..79e2fd59d 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -40,6 +40,14 @@ def proxy_wasm_cpp_host_repositories(): sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d", ) + maybe( + http_archive, + name = "rules_cc", + sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf", + strip_prefix = "rules_cc-0.0.9", + urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"], + ) + maybe( http_archive, name = "bazel_clang_tidy", @@ -69,17 +77,17 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_fuzzing", - sha256 = "23bb074064c6f488d12044934ab1b0631e8e6898d5cf2f6bde087adb01111573", - strip_prefix = "rules_fuzzing-0.3.1", - url = "https://github.com/bazelbuild/rules_fuzzing/archive/v0.3.1.zip", + sha256 = "3ec0eee05b243552cc4a784b30323d088bf73cb2177ddda02c827e68981933f1", + strip_prefix = "rules_fuzzing-0.5.2", + urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v0.5.2.tar.gz"], ) maybe( http_archive, name = "rules_python", - sha256 = "a30abdfc7126d497a7698c29c46ea9901c6392d6ed315171a6df5ce433aa4502", - strip_prefix = "rules_python-0.6.0", - url = "https://github.com/bazelbuild/rules_python/archive/0.6.0.tar.gz", + sha256 = "778aaeab3e6cfd56d681c89f5c10d7ad6bf8d2f1a72de9de55b23081b2d31618", + strip_prefix = "rules_python-0.34.0", + url = "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz", ) maybe( From 57532652c387c4bc5bc5f2fae61e230cbcbfcf0c Mon Sep 17 00:00:00 2001 From: martijneken Date: Tue, 13 Aug 2024 07:45:37 -0400 Subject: [PATCH 65/90] Update CI to use Ubuntu 22.04 / clang 14 (#408) Signed-off-by: Martijn Stevenson --- .github/workflows/test.yml | 36 ++++++++++++++++----------------- bazel/dependencies.bzl | 1 + bazel/external/Dockerfile.bazel | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b1fa89ea..66ec91bfc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: test_data: name: build test data - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 @@ -109,19 +109,19 @@ jobs: include: - name: 'NullVM on Linux/x86_64' engine: 'null' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=gcc - name: 'NullVM on Linux/x86_64 with ASan' engine: 'null' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang-asan-strict --define=crypto=system - name: 'NullVM on Linux/x86_64 with TSan' engine: 'null' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang-tsan @@ -134,7 +134,7 @@ jobs: - name: 'V8 on Linux/x86_64' engine: 'v8' repo: 'v8' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang --define=crypto=system @@ -142,7 +142,7 @@ jobs: - name: 'V8 on Linux/x86_64 with ASan' engine: 'v8' repo: 'v8' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang-asan @@ -150,7 +150,7 @@ jobs: - name: 'V8 on Linux/x86_64 with TSan' engine: 'v8' repo: 'v8' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang-tsan @@ -158,7 +158,7 @@ jobs: - name: 'V8 on Linux/x86_64 with GCC' engine: 'v8' repo: 'v8' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=gcc @@ -166,7 +166,7 @@ jobs: - name: 'V8 on Linux/aarch64' engine: 'v8' repo: 'v8' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: aarch64 action: test targets: -//test/fuzz/... @@ -183,7 +183,7 @@ jobs: - name: 'WAMR interp on Linux/x86_64' engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang @@ -196,7 +196,7 @@ jobs: - name: 'WAMR jit on Linux/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang @@ -212,7 +212,7 @@ jobs: - name: 'WasmEdge on Linux/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang @@ -225,21 +225,21 @@ jobs: - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang -c opt - name: 'Wasmtime on Linux/x86_64 with ASan' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang-asan-strict --define=crypto=system - name: 'Wasmtime on Linux/aarch64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: aarch64 action: build flags: --config=zig-cc-linux-aarch64 @@ -247,12 +247,12 @@ jobs: - name: 'Wasmtime on Linux/s390x' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: s390x action: test flags: --config=clang --test_timeout=1800 # s390x build-tools image built from bazel/external/Dockerfile.bazel - run_under: docker run --rm --env HOME=$HOME --env USER=$(id -un) --volume "$HOME:$HOME" --workdir $(pwd) --user $(id -u):$(id -g) --platform linux/s390x ghcr.io/proxy-wasm/build-tools:ubuntu-20.04-bazel-6.5.0 + run_under: docker run --rm --env HOME=$HOME --env USER=$(id -un) --volume "$HOME:$HOME" --workdir $(pwd) --user $(id -u):$(id -g) --platform linux/s390x ghcr.io/proxy-wasm/build-tools:ubuntu-22.04-bazel-6.5.0 cache: true - name: 'Wasmtime on macOS/x86_64' engine: 'wasmtime' @@ -270,7 +270,7 @@ jobs: - name: 'WAVM on Linux/x86_64' engine: 'wavm' repo: 'com_github_wavm_wavm' - os: ubuntu-20.04 + os: ubuntu-22.04 arch: x86_64 action: test flags: --config=clang diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index cfc278d18..33237431f 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -27,6 +27,7 @@ def proxy_wasm_cpp_host_dependencies(): python_register_toolchains( name = "python_3_9", python_version = "3.9", + ignore_root_user_error = True, # for docker run ) rust_repositories() diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index d60300a4d..2c4bfbbfa 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -20,7 +20,7 @@ # -- //test/... # Update base image -ARG UBUNTU_VERSION=20.04 +ARG UBUNTU_VERSION=22.04 FROM ubuntu:${UBUNTU_VERSION} as build RUN apt update && apt upgrade -y RUN apt autoremove -y From f199214a43337e115469d9f0dd6b77858746441b Mon Sep 17 00:00:00 2001 From: Keith Mattix II Date: Mon, 19 Aug 2024 16:06:23 -0500 Subject: [PATCH 66/90] Update rules_rust to v0.42.1 (with Rust v1.77.2). (#410) * Update rules_rust * Update rust and vendor * rust_oom -> rg_oom * Change rust version --------- Signed-off-by: Keith Mattix II --- .../remote/BUILD.ansi_term-0.12.1.bazel | 15 +- .../wasmsign/remote/BUILD.anyhow-1.0.86.bazel | 26 +- .../wasmsign/remote/BUILD.atty-0.2.14.bazel | 24 +- bazel/cargo/wasmsign/remote/BUILD.bazel | 16 +- .../remote/BUILD.bitflags-1.3.2.bazel | 15 +- .../remote/BUILD.byteorder-1.5.0.bazel | 15 +- .../wasmsign/remote/BUILD.cfg-if-1.0.0.bazel | 15 +- .../wasmsign/remote/BUILD.clap-2.34.0.bazel | 24 +- .../remote/BUILD.ct-codecs-1.1.1.bazel | 15 +- .../remote/BUILD.ed25519-compact-1.0.16.bazel | 15 +- .../remote/BUILD.getrandom-0.2.15.bazel | 24 +- .../remote/BUILD.hermit-abi-0.1.19.bazel | 15 +- .../remote/BUILD.hmac-sha512-1.1.5.bazel | 15 +- .../wasmsign/remote/BUILD.libc-0.2.155.bazel | 26 +- .../remote/BUILD.parity-wasm-0.42.2.bazel | 15 +- .../remote/BUILD.proc-macro2-1.0.86.bazel | 26 +- .../wasmsign/remote/BUILD.quote-1.0.36.bazel | 15 +- .../wasmsign/remote/BUILD.strsim-0.8.0.bazel | 15 +- .../wasmsign/remote/BUILD.syn-2.0.72.bazel | 15 +- .../remote/BUILD.textwrap-0.11.0.bazel | 15 +- .../remote/BUILD.thiserror-1.0.63.bazel | 26 +- .../remote/BUILD.thiserror-impl-1.0.63.bazel | 15 +- .../remote/BUILD.unicode-ident-1.0.12.bazel | 15 +- .../remote/BUILD.unicode-width-0.1.13.bazel | 15 +- .../wasmsign/remote/BUILD.vec_map-0.8.2.bazel | 15 +- ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 15 +- .../remote/BUILD.wasmsign-0.1.2.bazel | 22 +- .../wasmsign/remote/BUILD.winapi-0.3.9.bazel | 32 +-- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 26 +- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 26 +- bazel/cargo/wasmsign/remote/alias_rules.bzl | 47 ++++ bazel/cargo/wasmsign/remote/crates.bzl | 9 +- bazel/cargo/wasmsign/remote/defs.bzl | 52 +++- .../remote/BUILD.addr2line-0.19.0.bazel | 15 +- .../wasmtime/remote/BUILD.ahash-0.8.11.bazel | 41 ++-- .../remote/BUILD.aho-corasick-1.1.3.bazel | 15 +- .../wasmtime/remote/BUILD.anyhow-1.0.86.bazel | 26 +- .../remote/BUILD.arbitrary-1.3.2.bazel | 15 +- .../wasmtime/remote/BUILD.autocfg-1.3.0.bazel | 15 +- bazel/cargo/wasmtime/remote/BUILD.bazel | 16 +- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 15 +- .../remote/BUILD.bitflags-1.3.2.bazel | 15 +- .../remote/BUILD.bitflags-2.6.0.bazel | 15 +- .../remote/BUILD.bumpalo-3.16.0.bazel | 15 +- .../remote/BUILD.byteorder-1.5.0.bazel | 15 +- .../wasmtime/remote/BUILD.cc-1.1.6.bazel | 15 +- .../wasmtime/remote/BUILD.cfg-if-1.0.0.bazel | 15 +- .../remote/BUILD.cpp_demangle-0.3.5.bazel | 26 +- .../BUILD.cranelift-bforest-0.96.4.bazel | 15 +- .../BUILD.cranelift-codegen-0.96.4.bazel | 26 +- .../BUILD.cranelift-codegen-meta-0.96.4.bazel | 15 +- ...UILD.cranelift-codegen-shared-0.96.4.bazel | 15 +- .../BUILD.cranelift-control-0.96.4.bazel | 15 +- .../BUILD.cranelift-entity-0.96.4.bazel | 15 +- .../BUILD.cranelift-frontend-0.96.4.bazel | 15 +- .../remote/BUILD.cranelift-isle-0.96.4.bazel | 26 +- .../BUILD.cranelift-native-0.96.4.bazel | 15 +- .../remote/BUILD.cranelift-wasm-0.96.4.bazel | 15 +- .../remote/BUILD.crc32fast-1.4.2.bazel | 15 +- .../wasmtime/remote/BUILD.debugid-0.8.0.bazel | 15 +- .../wasmtime/remote/BUILD.either-1.13.0.bazel | 15 +- .../remote/BUILD.env_logger-0.10.2.bazel | 15 +- .../wasmtime/remote/BUILD.errno-0.3.9.bazel | 24 +- .../BUILD.fallible-iterator-0.2.0.bazel | 15 +- .../remote/BUILD.form_urlencoded-1.2.1.bazel | 15 +- .../wasmtime/remote/BUILD.fxhash-0.2.1.bazel | 15 +- ...BUILD.fxprof-processed-profile-0.6.0.bazel | 15 +- .../remote/BUILD.getrandom-0.2.15.bazel | 24 +- .../wasmtime/remote/BUILD.gimli-0.27.3.bazel | 15 +- .../remote/BUILD.hashbrown-0.12.3.bazel | 15 +- .../remote/BUILD.hashbrown-0.13.2.bazel | 15 +- .../remote/BUILD.hermit-abi-0.3.9.bazel | 15 +- .../remote/BUILD.humantime-2.1.0.bazel | 15 +- .../wasmtime/remote/BUILD.idna-0.5.0.bazel | 15 +- .../remote/BUILD.indexmap-1.9.3.bazel | 26 +- .../remote/BUILD.io-lifetimes-1.0.11.bazel | 35 ++- .../remote/BUILD.is-terminal-0.4.12.bazel | 24 +- .../remote/BUILD.itertools-0.10.5.bazel | 15 +- .../wasmtime/remote/BUILD.itoa-1.0.11.bazel | 15 +- .../wasmtime/remote/BUILD.libc-0.2.155.bazel | 222 +++++++++++++++++- .../remote/BUILD.linux-raw-sys-0.3.8.bazel | 41 +++- .../remote/BUILD.linux-raw-sys-0.4.14.bazel | 49 +++- .../wasmtime/remote/BUILD.log-0.4.22.bazel | 15 +- .../wasmtime/remote/BUILD.mach-0.3.2.bazel | 15 +- .../wasmtime/remote/BUILD.memchr-2.7.4.bazel | 15 +- .../wasmtime/remote/BUILD.memfd-0.6.4.bazel | 15 +- .../remote/BUILD.memoffset-0.8.0.bazel | 26 +- .../wasmtime/remote/BUILD.object-0.30.4.bazel | 15 +- .../remote/BUILD.once_cell-1.19.0.bazel | 15 +- .../wasmtime/remote/BUILD.paste-1.0.15.bazel | 26 +- .../remote/BUILD.percent-encoding-2.3.1.bazel | 15 +- .../remote/BUILD.ppv-lite86-0.2.17.bazel | 15 +- .../remote/BUILD.proc-macro2-1.0.86.bazel | 26 +- .../wasmtime/remote/BUILD.psm-0.1.21.bazel | 26 +- .../wasmtime/remote/BUILD.quote-1.0.36.bazel | 15 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 24 +- .../remote/BUILD.rand_chacha-0.3.1.bazel | 15 +- .../remote/BUILD.rand_core-0.6.4.bazel | 15 +- .../remote/BUILD.regalloc2-0.8.1.bazel | 15 +- .../wasmtime/remote/BUILD.regex-1.10.5.bazel | 15 +- .../remote/BUILD.regex-automata-0.4.7.bazel | 15 +- .../remote/BUILD.regex-syntax-0.8.4.bazel | 15 +- .../remote/BUILD.rustc-demangle-0.1.24.bazel | 15 +- .../remote/BUILD.rustc-hash-1.1.0.bazel | 15 +- .../remote/BUILD.rustix-0.37.27.bazel | 41 +++- .../remote/BUILD.rustix-0.38.34.bazel | 57 ++--- .../wasmtime/remote/BUILD.ryu-1.0.18.bazel | 15 +- .../wasmtime/remote/BUILD.serde-1.0.204.bazel | 26 +- .../remote/BUILD.serde_derive-1.0.204.bazel | 15 +- .../remote/BUILD.serde_json-1.0.120.bazel | 26 +- .../remote/BUILD.slice-group-by-0.3.1.bazel | 15 +- .../remote/BUILD.smallvec-1.13.2.bazel | 15 +- .../BUILD.stable_deref_trait-1.2.0.bazel | 15 +- .../wasmtime/remote/BUILD.syn-2.0.72.bazel | 15 +- .../remote/BUILD.target-lexicon-0.12.15.bazel | 26 +- .../remote/BUILD.termcolor-1.4.1.bazel | 15 +- .../remote/BUILD.thiserror-1.0.63.bazel | 26 +- .../remote/BUILD.thiserror-impl-1.0.63.bazel | 15 +- .../wasmtime/remote/BUILD.tinyvec-1.8.0.bazel | 15 +- .../remote/BUILD.tinyvec_macros-0.1.1.bazel | 15 +- .../remote/BUILD.unicode-bidi-0.3.15.bazel | 15 +- .../remote/BUILD.unicode-ident-1.0.12.bazel | 15 +- .../BUILD.unicode-normalization-0.1.23.bazel | 15 +- .../wasmtime/remote/BUILD.url-2.5.2.bazel | 15 +- .../wasmtime/remote/BUILD.uuid-1.10.0.bazel | 15 +- .../remote/BUILD.version_check-0.9.5.bazel | 15 +- ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 15 +- .../remote/BUILD.wasmparser-0.103.0.bazel | 15 +- .../remote/BUILD.wasmtime-9.0.4.bazel | 26 +- .../BUILD.wasmtime-asm-macros-9.0.4.bazel | 15 +- .../BUILD.wasmtime-c-api-macros-0.0.0.bazel | 11 +- .../BUILD.wasmtime-cranelift-9.0.4.bazel | 15 +- ...UILD.wasmtime-cranelift-shared-9.0.4.bazel | 15 +- .../remote/BUILD.wasmtime-environ-9.0.4.bazel | 15 +- .../remote/BUILD.wasmtime-jit-9.0.4.bazel | 15 +- .../BUILD.wasmtime-jit-debug-9.0.4.bazel | 15 +- ....wasmtime-jit-icache-coherence-9.0.4.bazel | 21 +- .../remote/BUILD.wasmtime-runtime-9.0.4.bazel | 35 ++- .../remote/BUILD.wasmtime-types-9.0.4.bazel | 15 +- .../remote/BUILD.winapi-util-0.1.8.bazel | 15 +- .../remote/BUILD.windows-sys-0.48.0.bazel | 20 +- .../remote/BUILD.windows-sys-0.52.0.bazel | 15 +- .../remote/BUILD.windows-targets-0.48.5.bazel | 18 +- .../remote/BUILD.windows-targets-0.52.6.bazel | 18 +- ...BUILD.windows_aarch64_gnullvm-0.48.5.bazel | 26 +- ...BUILD.windows_aarch64_gnullvm-0.52.6.bazel | 26 +- .../BUILD.windows_aarch64_msvc-0.48.5.bazel | 26 +- .../BUILD.windows_aarch64_msvc-0.52.6.bazel | 26 +- .../BUILD.windows_i686_gnu-0.48.5.bazel | 26 +- .../BUILD.windows_i686_gnu-0.52.6.bazel | 26 +- .../BUILD.windows_i686_gnullvm-0.52.6.bazel | 26 +- .../BUILD.windows_i686_msvc-0.48.5.bazel | 26 +- .../BUILD.windows_i686_msvc-0.52.6.bazel | 26 +- .../BUILD.windows_x86_64_gnu-0.48.5.bazel | 26 +- .../BUILD.windows_x86_64_gnu-0.52.6.bazel | 26 +- .../BUILD.windows_x86_64_gnullvm-0.48.5.bazel | 26 +- .../BUILD.windows_x86_64_gnullvm-0.52.6.bazel | 26 +- .../BUILD.windows_x86_64_msvc-0.48.5.bazel | 26 +- .../BUILD.windows_x86_64_msvc-0.52.6.bazel | 26 +- .../remote/BUILD.zerocopy-0.7.35.bazel | 15 +- .../remote/BUILD.zerocopy-derive-0.7.35.bazel | 15 +- bazel/cargo/wasmtime/remote/alias_rules.bzl | 47 ++++ bazel/cargo/wasmtime/remote/crates.bzl | 9 +- bazel/cargo/wasmtime/remote/defs.bzl | 80 +++++-- bazel/dependencies.bzl | 6 +- bazel/external/rules_rust.patch | 10 +- bazel/repositories.bzl | 7 +- test/runtime_test.cc | 2 +- 168 files changed, 2380 insertions(+), 1147 deletions(-) create mode 100644 bazel/cargo/wasmsign/remote/alias_rules.bzl create mode 100644 bazel/cargo/wasmtime/remote/alias_rules.bzl diff --git a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel index 22faf8df9..c9b94b758 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "ansi_term", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=ansi_term", diff --git a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel index d717277e6..6c6cb4127 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "anyhow", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=anyhow", @@ -49,8 +52,11 @@ rust_library( ) cargo_build_script( - name = "anyhow_build_script", - srcs = glob(["**/*.rs"]), + name = "anyhow_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "std", @@ -59,8 +65,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -84,6 +92,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "anyhow_build_script", + actual = ":anyhow_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel index e7fd10f0f..041f36f9e 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "atty", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=atty", @@ -60,6 +63,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], @@ -111,6 +120,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.bazel b/bazel/cargo/wasmsign/remote/BUILD.bazel index fb08489fd..87eba7241 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bazel @@ -13,15 +13,21 @@ exports_files( "cargo-bazel.json", "crates.bzl", "defs.bzl", - ] + glob(["*.bazel"]), + ] + glob( + include = ["*.bazel"], + allow_empty = True, + ), ) filegroup( name = "srcs", - srcs = glob([ - "*.bazel", - "*.bzl", - ]), + srcs = glob( + include = [ + "*.bazel", + "*.bzl", + ], + allow_empty = True, + ), ) # Workspace Member Dependencies diff --git a/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel index d701e4c60..653792564 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "bitflags", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=bitflags", diff --git a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel index ac3e5c8a2..fd6870278 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Unlicense OR MIT -# ]) - rust_library( name = "byteorder", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=byteorder", diff --git a/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel index 21e4cbeb9..e7c34e5d4 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.cfg-if-1.0.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "cfg_if", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cfg-if", diff --git a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel index 66427b8a4..ed355234f 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "clap", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -38,7 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=clap", @@ -73,6 +76,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) ], @@ -136,6 +145,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) + ], "@rules_rust//rust/platform:x86_64-unknown-none": [ "@cu__ansi_term-0.12.1//:ansi_term", # cfg(not(windows)) ], diff --git a/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel index fee8bd3b8..a0cbb9f65 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "ct_codecs", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=ct-codecs", diff --git a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel index 3806ebe7b..f0da91e4f 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "ed25519_compact", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -38,7 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=ed25519-compact", diff --git a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel index dd7de9c9b..619a612bd 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "getrandom", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=getrandom", @@ -59,6 +62,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], @@ -107,6 +116,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel index 3990cb368..2be88f2ce 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "hermit_abi", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=hermit-abi", diff --git a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel index 774e5bd54..c6f58d5ae 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # ISC -# ]) - rust_library( name = "hmac_sha512", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=hmac-sha512", diff --git a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel index f822abc3f..61bb833b9 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "libc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=libc", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "libc_build_script", - srcs = glob(["**/*.rs"]), + name = "libc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "libc_build_script", + actual = ":libc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel index f9e1e34aa..ad79a67a5 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "parity_wasm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=parity-wasm", diff --git a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel index c8ffa5c4b..072a238b8 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "proc_macro2", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=proc-macro2", @@ -50,8 +53,11 @@ rust_library( ) cargo_build_script( - name = "proc-macro2_build_script", - srcs = glob(["**/*.rs"]), + name = "proc-macro2_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "proc-macro", @@ -60,8 +66,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -85,6 +93,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "proc-macro2_build_script", + actual = ":proc-macro2_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel index 308d43ad6..554f71a78 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "quote", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=quote", diff --git a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel index 6ad9b2043..928090c3d 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "strsim", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=strsim", diff --git a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel index 9bf397bd2..0ac5ed93c 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "syn", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -37,7 +38,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=syn", diff --git a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel index ede0b609b..49e49e09e 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "textwrap", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=textwrap", diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel index 9ca648959..588c5d5c2 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "thiserror", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( proc_macro_deps = [ "@cu__thiserror-impl-1.0.63//:thiserror_impl", ], - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=thiserror", @@ -48,14 +51,19 @@ rust_library( ) cargo_build_script( - name = "thiserror_build_script", - srcs = glob(["**/*.rs"]), + name = "thiserror_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -79,6 +87,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "thiserror_build_script", + actual = ":thiserror_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel index 142b16b2f..fc2cf7141 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_proc_macro( name = "thiserror_impl", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=thiserror-impl", diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel index 894836db8..caed93c98 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.unicode-ident-1.0.12.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016 -# ]) - rust_library( name = "unicode_ident", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=unicode-ident", diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel b/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel index 90c33b0aa..449da1a99 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "unicode_width", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=unicode-width", diff --git a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel index 0f0b8933c..21fe8eee8 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "vec_map", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=vec_map", diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel index 13fbda125..b5ff1e516 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - rust_library( name = "wasi", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasi", diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel index 3a21d33ca..07b49f69b 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel @@ -16,11 +16,16 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "wasmsign", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +34,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmsign", @@ -51,11 +58,16 @@ rust_library( rust_binary( name = "wasmsign__bin", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -64,7 +76,9 @@ rust_binary( ), crate_root = "src/bin/wasmsign.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmsign", diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel index 0f41daaf1..02f57bf83 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "winapi", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,9 +31,6 @@ rust_library( ), crate_features = [ "consoleapi", - "errhandlingapi", - "fileapi", - "handleapi", "minwinbase", "minwindef", "processenv", @@ -40,7 +38,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=winapi", @@ -55,13 +55,13 @@ rust_library( ) cargo_build_script( - name = "winapi_build_script", - srcs = glob(["**/*.rs"]), + name = "winapi_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "consoleapi", - "errhandlingapi", - "fileapi", - "handleapi", "minwinbase", "minwindef", "processenv", @@ -71,8 +71,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -96,6 +98,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "winapi_build_script", + actual = ":winapi_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index 782b8d021..c1fb3c90b 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "winapi_i686_pc_windows_gnu", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=winapi-i686-pc-windows-gnu", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "winapi-i686-pc-windows-gnu_build_script", - srcs = glob(["**/*.rs"]), + name = "winapi-i686-pc-windows-gnu_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "winapi-i686-pc-windows-gnu_build_script", + actual = ":winapi-i686-pc-windows-gnu_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index e67d33cf9..3468dd114 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "winapi_x86_64_pc_windows_gnu", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=winapi-x86_64-pc-windows-gnu", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "winapi-x86_64-pc-windows-gnu_build_script", - srcs = glob(["**/*.rs"]), + name = "winapi-x86_64-pc-windows-gnu_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "winapi-x86_64-pc-windows-gnu_build_script", + actual = ":winapi-x86_64-pc-windows-gnu_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/alias_rules.bzl b/bazel/cargo/wasmsign/remote/alias_rules.bzl new file mode 100644 index 000000000..14b04c127 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/alias_rules.bzl @@ -0,0 +1,47 @@ +"""Alias that transitions its target to `compilation_mode=opt`. Use `transition_alias="opt"` to enable.""" + +load("@rules_cc//cc:defs.bzl", "CcInfo") +load("@rules_rust//rust:rust_common.bzl", "COMMON_PROVIDERS") + +def _transition_alias_impl(ctx): + # `ctx.attr.actual` is a list of 1 item due to the transition + providers = [ctx.attr.actual[0][provider] for provider in COMMON_PROVIDERS] + if CcInfo in ctx.attr.actual[0]: + providers.append(ctx.attr.actual[0][CcInfo]) + return providers + +def _change_compilation_mode(compilation_mode): + def _change_compilation_mode_impl(_settings, _attr): + return { + "//command_line_option:compilation_mode": compilation_mode, + } + + return transition( + implementation = _change_compilation_mode_impl, + inputs = [], + outputs = [ + "//command_line_option:compilation_mode", + ], + ) + +def _transition_alias_rule(compilation_mode): + return rule( + implementation = _transition_alias_impl, + provides = COMMON_PROVIDERS, + attrs = { + "actual": attr.label( + mandatory = True, + doc = "`rust_library()` target to transition to `compilation_mode=opt`.", + providers = COMMON_PROVIDERS, + cfg = _change_compilation_mode(compilation_mode), + ), + "_allowlist_function_transition": attr.label( + default = "@bazel_tools//tools/allowlists/function_transition_allowlist", + ), + }, + doc = "Transitions a Rust library crate to the `compilation_mode=opt`.", + ) + +transition_alias_dbg = _transition_alias_rule("dbg") +transition_alias_fastbuild = _transition_alias_rule("fastbuild") +transition_alias_opt = _transition_alias_rule("opt") diff --git a/bazel/cargo/wasmsign/remote/crates.bzl b/bazel/cargo/wasmsign/remote/crates.bzl index 49dc5c122..b91fb21aa 100644 --- a/bazel/cargo/wasmsign/remote/crates.bzl +++ b/bazel/cargo/wasmsign/remote/crates.bzl @@ -15,6 +15,11 @@ load("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:defs.bzl", _crate_reposi load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository") def crate_repositories(): + """Generates repositories for vendored crates. + + Returns: + A list of repos visible to the module through the module extension. + """ maybe( crates_vendor_remote_repository, name = "cu", @@ -22,4 +27,6 @@ def crate_repositories(): defs_module = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:defs.bzl"), ) - _crate_repositories() + direct_deps = [struct(repo = "cu", is_dev_dep = False)] + direct_deps.extend(_crate_repositories()) + return direct_deps diff --git a/bazel/cargo/wasmsign/remote/defs.bzl b/bazel/cargo/wasmsign/remote/defs.bzl index 89c4e2d02..57a80662e 100644 --- a/bazel/cargo/wasmsign/remote/defs.bzl +++ b/bazel/cargo/wasmsign/remote/defs.bzl @@ -296,7 +296,7 @@ def aliases( _NORMAL_DEPENDENCIES = { "bazel/cargo/wasmsign": { _COMMON_CONDITION: { - "wasmsign": "@cu__wasmsign-0.1.2//:wasmsign", + "wasmsign": Label("@cu__wasmsign-0.1.2//:wasmsign"), }, }, } @@ -359,20 +359,58 @@ _BUILD_PROC_MACRO_ALIASES = { } _CONDITIONS = { - "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], + "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"], + "aarch64-apple-ios": ["@rules_rust//rust/platform:aarch64-apple-ios"], + "aarch64-apple-ios-sim": ["@rules_rust//rust/platform:aarch64-apple-ios-sim"], + "aarch64-fuchsia": ["@rules_rust//rust/platform:aarch64-fuchsia"], + "aarch64-linux-android": ["@rules_rust//rust/platform:aarch64-linux-android"], + "aarch64-pc-windows-msvc": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], + "aarch64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu"], + "aarch64-unknown-nixos-gnu": ["@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"], + "aarch64-unknown-nto-qnx710": ["@rules_rust//rust/platform:aarch64-unknown-nto-qnx710"], + "arm-unknown-linux-gnueabi": ["@rules_rust//rust/platform:arm-unknown-linux-gnueabi"], + "armv7-linux-androideabi": ["@rules_rust//rust/platform:armv7-linux-androideabi"], + "armv7-unknown-linux-gnueabi": ["@rules_rust//rust/platform:armv7-unknown-linux-gnueabi"], + "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], "cfg(target_os = \"hermit\")": [], "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"], "cfg(target_os = \"windows\")": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], - "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "i686-apple-darwin": ["@rules_rust//rust/platform:i686-apple-darwin"], + "i686-linux-android": ["@rules_rust//rust/platform:i686-linux-android"], "i686-pc-windows-gnu": [], + "i686-pc-windows-msvc": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], + "i686-unknown-freebsd": ["@rules_rust//rust/platform:i686-unknown-freebsd"], + "i686-unknown-linux-gnu": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], + "powerpc-unknown-linux-gnu": ["@rules_rust//rust/platform:powerpc-unknown-linux-gnu"], + "riscv32imc-unknown-none-elf": ["@rules_rust//rust/platform:riscv32imc-unknown-none-elf"], + "riscv64gc-unknown-none-elf": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf"], + "s390x-unknown-linux-gnu": ["@rules_rust//rust/platform:s390x-unknown-linux-gnu"], + "thumbv7em-none-eabi": ["@rules_rust//rust/platform:thumbv7em-none-eabi"], + "thumbv8m.main-none-eabi": ["@rules_rust//rust/platform:thumbv8m.main-none-eabi"], + "wasm32-unknown-unknown": ["@rules_rust//rust/platform:wasm32-unknown-unknown"], + "wasm32-wasi": ["@rules_rust//rust/platform:wasm32-wasi"], + "x86_64-apple-darwin": ["@rules_rust//rust/platform:x86_64-apple-darwin"], + "x86_64-apple-ios": ["@rules_rust//rust/platform:x86_64-apple-ios"], + "x86_64-fuchsia": ["@rules_rust//rust/platform:x86_64-fuchsia"], + "x86_64-linux-android": ["@rules_rust//rust/platform:x86_64-linux-android"], "x86_64-pc-windows-gnu": [], + "x86_64-pc-windows-msvc": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "x86_64-unknown-freebsd": ["@rules_rust//rust/platform:x86_64-unknown-freebsd"], + "x86_64-unknown-linux-gnu": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "x86_64-unknown-nixos-gnu": ["@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "x86_64-unknown-none": ["@rules_rust//rust/platform:x86_64-unknown-none"], } ############################################################################### def crate_repositories(): - """A macro for defining repositories for all generated crates""" + """A macro for defining repositories for all generated crates. + + Returns: + A list of repos visible to the module through the module extension. + """ maybe( http_archive, name = "cu__ansi_term-0.12.1", @@ -626,7 +664,7 @@ def crate_repositories(): maybe( new_git_repository, name = "cu__wasmsign-0.1.2", - branch = "master", + commit = "6a6ef1c6f99063a5bd4ef9efc2ee41c5ea8f4f96", init_submodules = True, remote = "https://github.com/jedisct1/wasmsign", build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasmsign-0.1.2.bazel"), @@ -661,3 +699,7 @@ def crate_repositories(): strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), ) + + return [ + struct(repo = "cu__wasmsign-0.1.2", is_dev_dep = False), + ] diff --git a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel index 3b5e7fffa..ff529c9e8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - rust_library( name = "addr2line", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=addr2line", diff --git a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel index 6cfdf16c9..3efe4bb2b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "ahash", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=ahash", @@ -65,6 +68,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) ], @@ -101,12 +110,6 @@ rust_library( "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) ], - "@rules_rust//rust/platform:thumbv7em-none-eabi": [ - "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) - ], - "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ - "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) - ], "@rules_rust//rust/platform:wasm32-unknown-unknown": [ "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) ], @@ -134,6 +137,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], "@rules_rust//rust/platform:x86_64-unknown-none": [ "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) ], @@ -142,14 +148,19 @@ rust_library( ) cargo_build_script( - name = "ahash_build_script", - srcs = glob(["**/*.rs"]), + name = "ahash_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -176,6 +187,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "ahash_build_script", + actual = ":ahash_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel index 939e218b2..193a2843c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.aho-corasick-1.1.3.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Unlicense OR MIT -# ]) - rust_library( name = "aho_corasick", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=aho-corasick", diff --git a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel index a4de9913a..3021b737f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "anyhow", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=anyhow", @@ -49,8 +52,11 @@ rust_library( ) cargo_build_script( - name = "anyhow_build_script", - srcs = glob(["**/*.rs"]), + name = "anyhow_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "std", @@ -59,8 +65,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -84,6 +92,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "anyhow_build_script", + actual = ":anyhow_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel index eb21041cc..d36ba3e9a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "arbitrary", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=arbitrary", diff --git a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel index 8a2d2ca08..291ad98c6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - rust_library( name = "autocfg", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=autocfg", diff --git a/bazel/cargo/wasmtime/remote/BUILD.bazel b/bazel/cargo/wasmtime/remote/BUILD.bazel index 5692002a8..59ac51f8d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bazel @@ -13,15 +13,21 @@ exports_files( "cargo-bazel.json", "crates.bzl", "defs.bzl", - ] + glob(["*.bazel"]), + ] + glob( + include = ["*.bazel"], + allow_empty = True, + ), ) filegroup( name = "srcs", - srcs = glob([ - "*.bazel", - "*.bzl", - ]), + srcs = glob( + include = [ + "*.bazel", + "*.bzl", + ], + allow_empty = True, + ), ) # Workspace Member Dependencies diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel index bd63e9685..2287a26f4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "bincode", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=bincode", diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel index d397df700..e8fde40cb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "bitflags", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=bitflags", diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel index 3a06e3e85..cb8de7812 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "bitflags", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=bitflags", diff --git a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel index db1052dfa..2dd737714 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "bumpalo", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=bumpalo", diff --git a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel index e307c0c58..a2e358ed0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Unlicense OR MIT -# ]) - rust_library( name = "byteorder", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=byteorder", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel index 4ad7c0707..64ef363ba 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "cc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cc", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel index e71505481..f9019274b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "cfg_if", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cfg-if", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel index ed4332ae6..b9f77aaaa 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0/MIT -# ]) - rust_library( name = "cpp_demangle", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cpp_demangle", @@ -50,8 +53,11 @@ rust_library( ) cargo_build_script( - name = "cpp_demangle_build_script", - srcs = glob(["**/*.rs"]), + name = "cpp_demangle_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "std", @@ -60,8 +66,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -85,6 +93,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "cpp_demangle_build_script", + actual = ":cpp_demangle_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel index 32c38d05d..afd0429ad 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_bforest", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-bforest", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel index 3daf430f7..c4e2ce3a5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_codegen", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -36,7 +37,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-codegen", @@ -62,8 +65,11 @@ rust_library( ) cargo_build_script( - name = "cranelift-codegen_build_script", - srcs = glob(["**/*.rs"]), + name = "cranelift-codegen_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "gimli", @@ -74,8 +80,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -103,6 +111,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "cranelift-codegen_build_script", + actual = ":cranelift-codegen_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel index de05c99c0..3a2667b6c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_codegen_meta", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-codegen-meta", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel index 2eede82e6..ee874dbbe 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_codegen_shared", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-codegen-shared", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel index 057a08c8d..1acdd26f4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_control", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-control", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel index bf32eaccc..46fb0d85b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_entity", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-entity", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel index 8a7e192f4..e579e72ff 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_frontend", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-frontend", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel index 1f0c2d4aa..4565c4841 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_isle", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-isle", @@ -48,8 +51,11 @@ rust_library( ) cargo_build_script( - name = "cranelift-isle_build_script", - srcs = glob(["**/*.rs"]), + name = "cranelift-isle_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", ], @@ -57,8 +63,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -82,6 +90,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "cranelift-isle_build_script", + actual = ":cranelift-isle_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel index 8364dcc10..eab2947a2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_native", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-native", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel index b6a036ef8..e3ee293fd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "cranelift_wasm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=cranelift-wasm", diff --git a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel index 72a755bcf..063a0afb7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "crc32fast", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=crc32fast", diff --git a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel index 3ade906f8..770421fd9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 -# ]) - rust_library( name = "debugid", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=debugid", diff --git a/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel index f9ca9c23e..043006849 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "either", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=either", diff --git a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel index 2d0e975a1..ce9eb6262 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.env_logger-0.10.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "env_logger", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -36,7 +37,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=env_logger", diff --git a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel index 36bd149f5..904e5aba0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "errno", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=errno", @@ -63,6 +66,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], @@ -117,6 +126,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel index 79b2a7153..dc1e8ed17 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "fallible_iterator", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=fallible-iterator", diff --git a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel index fcf6118f6..4a84a5c66 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "form_urlencoded", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=form_urlencoded", diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel index 5b9dc4e8e..bcbd8d053 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0/MIT -# ]) - rust_library( name = "fxhash", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=fxhash", diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel index 5cd5c59de..fe14db14b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "fxprof_processed_profile", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=fxprof-processed-profile", diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel index 5fe182d17..cda329e87 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "getrandom", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=getrandom", @@ -62,6 +65,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], @@ -110,6 +119,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel index 7402b72b3..730e42927 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "gimli", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -38,7 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=gimli", diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel index 94ea8b698..afbc39185 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "hashbrown", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=hashbrown", diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel index 2d7bbdc20..be9008e31 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "hashbrown", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -35,7 +36,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=hashbrown", diff --git a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel index ec7338bb5..75dff9155 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hermit-abi-0.3.9.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "hermit_abi", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=hermit-abi", diff --git a/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel index fd41b6708..d1691cafd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "humantime", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=humantime", diff --git a/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel index 210e3b8bb..76739ff91 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "idna", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=idna", diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel index 46639af74..bc6860693 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - rust_library( name = "indexmap", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -35,7 +36,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=indexmap", @@ -52,8 +55,11 @@ rust_library( ) cargo_build_script( - name = "indexmap_build_script", - srcs = glob(["**/*.rs"]), + name = "indexmap_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "serde", "serde-1", @@ -63,8 +69,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -91,6 +99,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "indexmap_build_script", + actual = ":indexmap_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel index 481e6ca9f..a56d0f5ef 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - rust_library( name = "io_lifetimes", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -36,7 +37,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=io-lifetimes", @@ -69,6 +72,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(not(windows)) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(not(windows)) ], @@ -138,6 +147,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(not(windows)) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(not(windows)) + ], "@rules_rust//rust/platform:x86_64-unknown-none": [ "@cu__libc-0.2.155//:libc", # cfg(not(windows)) ], @@ -146,8 +158,11 @@ rust_library( ) cargo_build_script( - name = "io-lifetimes_build_script", - srcs = glob(["**/*.rs"]), + name = "io-lifetimes_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "close", "hermit-abi", @@ -158,8 +173,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -183,6 +200,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "io-lifetimes_build_script", + actual = ":io-lifetimes_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel index 1cfd6291f..84a3f0fb0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.is-terminal-0.4.12.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "is_terminal", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=is-terminal", @@ -60,6 +63,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) ], @@ -114,6 +123,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel index 03377bdeb..467ee0e92 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "itertools", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=itertools", diff --git a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel index c874e7d4e..71c5cae88 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "itoa", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=itoa", diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel index 3154b9dc9..a776bec66 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "libc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,12 +31,108 @@ rust_library( ), crate_features = [ "default", - "extra_traits", "std", - ], + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "extra_traits", # aarch64-apple-darwin + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "extra_traits", # aarch64-apple-ios + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "extra_traits", # aarch64-apple-ios-sim + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "extra_traits", # aarch64-fuchsia + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "extra_traits", # aarch64-linux-android + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "extra_traits", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "extra_traits", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "extra_traits", # aarch64-unknown-nto-qnx710 + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "extra_traits", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "extra_traits", # armv7-linux-androideabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "extra_traits", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "extra_traits", # i686-apple-darwin + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "extra_traits", # i686-linux-android + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "extra_traits", # i686-unknown-freebsd + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "extra_traits", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "extra_traits", # powerpc-unknown-linux-gnu + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "extra_traits", # riscv32imc-unknown-none-elf + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "extra_traits", # riscv64gc-unknown-none-elf + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "extra_traits", # s390x-unknown-linux-gnu + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "extra_traits", # thumbv7em-none-eabi + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "extra_traits", # thumbv8m.main-none-eabi + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "extra_traits", # wasm32-unknown-unknown + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "extra_traits", # wasm32-wasi + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "extra_traits", # x86_64-apple-darwin + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "extra_traits", # x86_64-apple-ios + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "extra_traits", # x86_64-fuchsia + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "extra_traits", # x86_64-linux-android + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "extra_traits", # x86_64-unknown-freebsd + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "extra_traits", # x86_64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "extra_traits", # x86_64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "extra_traits", # x86_64-unknown-none + ], + "//conditions:default": [], + }), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=libc", @@ -50,19 +147,118 @@ rust_library( ) cargo_build_script( - name = "libc_build_script", - srcs = glob(["**/*.rs"]), + name = "libc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", - "extra_traits", "std", - ], + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "extra_traits", # aarch64-apple-darwin + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "extra_traits", # aarch64-apple-ios + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "extra_traits", # aarch64-apple-ios-sim + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "extra_traits", # aarch64-fuchsia + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "extra_traits", # aarch64-linux-android + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "extra_traits", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "extra_traits", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "extra_traits", # aarch64-unknown-nto-qnx710 + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "extra_traits", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "extra_traits", # armv7-linux-androideabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "extra_traits", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "extra_traits", # i686-apple-darwin + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "extra_traits", # i686-linux-android + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "extra_traits", # i686-unknown-freebsd + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "extra_traits", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "extra_traits", # powerpc-unknown-linux-gnu + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "extra_traits", # riscv32imc-unknown-none-elf + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "extra_traits", # riscv64gc-unknown-none-elf + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "extra_traits", # s390x-unknown-linux-gnu + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "extra_traits", # thumbv7em-none-eabi + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "extra_traits", # thumbv8m.main-none-eabi + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "extra_traits", # wasm32-unknown-unknown + ], + "@rules_rust//rust/platform:wasm32-wasi": [ + "extra_traits", # wasm32-wasi + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "extra_traits", # x86_64-apple-darwin + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "extra_traits", # x86_64-apple-ios + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "extra_traits", # x86_64-fuchsia + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "extra_traits", # x86_64-linux-android + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "extra_traits", # x86_64-unknown-freebsd + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "extra_traits", # x86_64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "extra_traits", # x86_64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "extra_traits", # x86_64-unknown-none + ], + "//conditions:default": [], + }), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -86,6 +282,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "libc_build_script", + actual = ":libc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel index a1634a238..97edbe88e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - rust_library( name = "linux_raw_sys", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -28,14 +29,38 @@ rust_library( ], ), crate_features = [ - "errno", "general", "ioctl", "no_std", - ], + ] + select({ + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "errno", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "errno", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "errno", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "errno", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "errno", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "errno", # x86_64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "errno", # x86_64-unknown-nixos-gnu + ], + "//conditions:default": [], + }), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=linux-raw-sys", diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel index ee7a2dab1..733fee359 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.4.14.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - rust_library( name = "linux_raw_sys", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -28,15 +29,45 @@ rust_library( ], ), crate_features = [ - "elf", - "errno", "general", "ioctl", "no_std", - ], + ] + select({ + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "elf", # aarch64-unknown-linux-gnu + "errno", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "elf", # aarch64-unknown-nixos-gnu + "errno", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "elf", # arm-unknown-linux-gnueabi + "errno", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "elf", # armv7-unknown-linux-gnueabi + "errno", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "elf", # i686-unknown-linux-gnu + "errno", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "elf", # x86_64-unknown-linux-gnu + "errno", # x86_64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "elf", # x86_64-unknown-nixos-gnu + "errno", # x86_64-unknown-nixos-gnu + ], + "//conditions:default": [], + }), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=linux-raw-sys", diff --git a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel index 99c9f5a62..7afd4d234 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "log", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=log", diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel index f35ca4838..287bf9f10 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # BSD-2-Clause -# ]) - rust_library( name = "mach", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=mach", diff --git a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel index f86724640..bee4bd07c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Unlicense OR MIT -# ]) - rust_library( name = "memchr", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=memchr", diff --git a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel index 6963c36c9..db840ec0d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "memfd", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=memfd", diff --git a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel index 22e1bdf74..bbe30d36d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "memoffset", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=memoffset", @@ -48,8 +51,11 @@ rust_library( ) cargo_build_script( - name = "memoffset_build_script", - srcs = glob(["**/*.rs"]), + name = "memoffset_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", ], @@ -57,8 +63,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -85,6 +93,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "memoffset_build_script", + actual = ":memoffset_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel index c7cff2b5e..1ed53c2aa 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - rust_library( name = "object", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -43,7 +44,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=object", diff --git a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel index 61c6d4df9..d4155cdc0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.once_cell-1.19.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "once_cell", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -35,7 +36,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=once_cell", diff --git a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel index a16962b72..aa2c97e31 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_proc_macro( name = "paste", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=paste", @@ -45,14 +48,19 @@ rust_proc_macro( ) cargo_build_script( - name = "paste_build_script", - srcs = glob(["**/*.rs"]), + name = "paste_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "paste_build_script", + actual = ":paste_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel index 5296e610d..abd37dbdb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "percent_encoding", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=percent-encoding", diff --git a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel index 92d543535..8c821bdcd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "ppv_lite86", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=ppv-lite86", diff --git a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel index 4b3c2ab99..f5ffa7899 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.proc-macro2-1.0.86.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "proc_macro2", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=proc-macro2", @@ -50,8 +53,11 @@ rust_library( ) cargo_build_script( - name = "proc-macro2_build_script", - srcs = glob(["**/*.rs"]), + name = "proc-macro2_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "proc-macro", @@ -60,8 +66,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -85,6 +93,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "proc-macro2_build_script", + actual = ":proc-macro2_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel index 32976f245..f7cdddb5c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "psm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=psm", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "psm_build_script", - srcs = glob(["**/*.rs"]), + name = "psm_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -79,6 +87,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "psm_build_script", + actual = ":psm_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel index 0b42ba304..3ad108f8f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "quote", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=quote", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel index 851a20a96..b9067b104 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "rand", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -39,7 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=rand", @@ -70,6 +73,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], @@ -115,6 +124,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel index a93e8f636..90a0195e3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "rand_chacha", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=rand_chacha", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel index 993ff0b8c..b89c60f80 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "rand_core", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=rand_core", diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel index 19ca0fe4f..b31ecd423 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "regalloc2", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=regalloc2", diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel index 0f1ae96e0..efdf89bd0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "regex", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -39,7 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=regex", diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel index e0c48ef50..da56abc92 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-automata-0.4.7.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "regex_automata", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -44,7 +45,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=regex-automata", diff --git a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel index 513239e82..36b411c94 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-syntax-0.8.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "regex_syntax", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=regex-syntax", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel index b18377f67..dcb8e9d6a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "rustc_demangle", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=rustc-demangle", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel index 0ca3c2402..7bcaa5a87 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0/MIT -# ]) - rust_library( name = "rustc_hash", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=rustc-hash", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel index ba217f9cf..01df1d783 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel @@ -11,13 +11,12 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - rust_library( name = "rustix", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), aliases = select({ "@rules_rust//rust/platform:aarch64-apple-darwin": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) @@ -37,6 +36,9 @@ rust_library( "@rules_rust//rust/platform:aarch64-pc-windows-msvc": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) }, + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + }, "@rules_rust//rust/platform:armv7-linux-androideabi": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) }, @@ -101,8 +103,10 @@ rust_library( }), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -119,7 +123,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=rustix", @@ -162,6 +168,14 @@ rust_library( "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) @@ -259,6 +273,10 @@ rust_library( "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) + ], "@rules_rust//rust/platform:x86_64-unknown-none": [ "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) @@ -268,8 +286,11 @@ rust_library( ) cargo_build_script( - name = "rustix_build_script", - srcs = glob(["**/*.rs"]), + name = "rustix_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "io-lifetimes", @@ -282,8 +303,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -307,6 +330,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "rustix_build_script", + actual = ":rustix_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel index 6cc42ac8a..ffe2b64ba 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel @@ -11,13 +11,12 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - rust_library( name = "rustix", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), aliases = select({ "@rules_rust//rust/platform:aarch64-apple-darwin": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) @@ -37,18 +36,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-pc-windows-msvc": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) }, - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) - }, - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": { + "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) }, "@rules_rust//rust/platform:armv7-linux-androideabi": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) }, - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) - }, "@rules_rust//rust/platform:i686-apple-darwin": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) }, @@ -61,9 +54,6 @@ rust_library( "@rules_rust//rust/platform:i686-unknown-freebsd": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) }, - "@rules_rust//rust/platform:i686-unknown-linux-gnu": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) - }, "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) }, @@ -106,9 +96,6 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) }, - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) - }, "@rules_rust//rust/platform:x86_64-unknown-none": { "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) }, @@ -116,8 +103,10 @@ rust_library( }), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -134,7 +123,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=rustix", @@ -173,11 +164,16 @@ rust_library( "@cu__windows-sys-0.52.0//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ @@ -186,7 +182,6 @@ rust_library( "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) ], "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) ], "@rules_rust//rust/platform:i686-apple-darwin": [ @@ -207,7 +202,6 @@ rust_library( "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) ], "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ @@ -270,7 +264,9 @@ rust_library( "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))) ], "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ "@cu__linux-raw-sys-0.4.14//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))) ], "@rules_rust//rust/platform:x86_64-unknown-none": [ @@ -282,8 +278,11 @@ rust_library( ) cargo_build_script( - name = "rustix_build_script", - srcs = glob(["**/*.rs"]), + name = "rustix_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "alloc", "default", @@ -296,8 +295,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -321,6 +322,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "rustix_build_script", + actual = ":rustix_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel index 5119d6444..59399d34a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 OR BSL-1.0 -# ]) - rust_library( name = "ryu", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=ryu", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel index 5633e65e1..a71502593 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "serde", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -39,7 +40,9 @@ rust_library( proc_macro_deps = [ "@cu__serde_derive-1.0.204//:serde_derive", ], - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=serde", @@ -54,8 +57,11 @@ rust_library( ) cargo_build_script( - name = "serde_build_script", - srcs = glob(["**/*.rs"]), + name = "serde_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "derive", @@ -66,8 +72,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -91,6 +99,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "serde_build_script", + actual = ":serde_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel index c7966111d..ef5fe8588 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_derive-1.0.204.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_proc_macro( name = "serde_derive", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_proc_macro( ], crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=serde_derive", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel index 39d294432..9d19ca094 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "serde_json", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=serde_json", @@ -52,8 +55,11 @@ rust_library( ) cargo_build_script( - name = "serde_json_build_script", - srcs = glob(["**/*.rs"]), + name = "serde_json_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "std", @@ -62,8 +68,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -87,6 +95,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "serde_json_build_script", + actual = ":serde_json_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel index 4921aa1db..8f7e3cdc9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.slice-group-by-0.3.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT -# ]) - rust_library( name = "slice_group_by", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=slice-group-by", diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel index 3397610de..f078ae453 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "smallvec", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=smallvec", diff --git a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel index c074b9ff4..1555e8f62 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "stable_deref_trait", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=stable_deref_trait", diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel index 91be9241e..0d8dd09e2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "syn", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -37,7 +38,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=syn", diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel index c9c6e9199..475bad918 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "target_lexicon", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=target-lexicon", @@ -48,8 +51,11 @@ rust_library( ) cargo_build_script( - name = "target-lexicon_build_script", - srcs = glob(["**/*.rs"]), + name = "target-lexicon_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "std", ], @@ -57,8 +63,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -82,6 +90,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "target-lexicon_build_script", + actual = ":target-lexicon_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel index 1854121b3..ccdaaf3f8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Unlicense OR MIT -# ]) - rust_library( name = "termcolor", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=termcolor", diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel index 1fa72ecfb..075c39ee8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "thiserror", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( proc_macro_deps = [ "@cu__thiserror-impl-1.0.63//:thiserror_impl", ], - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=thiserror", @@ -48,14 +51,19 @@ rust_library( ) cargo_build_script( - name = "thiserror_build_script", - srcs = glob(["**/*.rs"]), + name = "thiserror_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -79,6 +87,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "thiserror_build_script", + actual = ":thiserror_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel index 2d98dc3c9..827631585 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-impl-1.0.63.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_proc_macro( name = "thiserror_impl", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=thiserror-impl", diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel index d8ac774ee..ef4c698ca 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Zlib OR Apache-2.0 OR MIT -# ]) - rust_library( name = "tinyvec", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -34,7 +35,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=tinyvec", diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel index 32fcacff9..52641b700 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 OR Zlib -# ]) - rust_library( name = "tinyvec_macros", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=tinyvec_macros", diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel index ff6b2ee31..a48d6d3d8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "unicode_bidi", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=unicode-bidi", diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel index 5c19c50be..e21e8cd07 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-ident-1.0.12.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016 -# ]) - rust_library( name = "unicode_ident", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=unicode-ident", diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel index ea0dd99a2..b7d71a5eb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "unicode_normalization", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=unicode-normalization", diff --git a/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel index 7c854205c..cdbc74f57 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "url", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=url", diff --git a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel index 3e2371588..747c240ff 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 OR MIT -# ]) - rust_library( name = "uuid", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=uuid", diff --git a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel index 7a4157987..e24cea268 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.version_check-0.9.5.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT/Apache-2.0 -# ]) - rust_library( name = "version_check", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=version_check", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel index 19e04194d..3eccac75f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -# ]) - rust_library( name = "wasi", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasi", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel index 655f9e3e0..16aa1860f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmparser", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmparser", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel index 7cb296dcf..c4ae22def 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -36,7 +37,9 @@ rust_library( proc_macro_deps = [ "@cu__paste-1.0.15//:paste", ], - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime", @@ -81,8 +84,11 @@ rust_library( ) cargo_build_script( - name = "wasmtime_build_script", - srcs = glob(["**/*.rs"]), + name = "wasmtime_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "cranelift", ], @@ -90,8 +96,10 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -115,6 +123,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "wasmtime_build_script", + actual = ":wasmtime_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel index b8eeabdb4..0a6c533c4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_asm_macros", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-asm-macros", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel index 062fd2f86..f2f8f3489 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel @@ -12,11 +12,16 @@ package(default_visibility = ["//visibility:public"]) rust_proc_macro( name = "wasmtime_c_api_macros", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -25,7 +30,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-c-api-macros", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel index b2056cf48..38458b9dc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_cranelift", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-cranelift", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel index 2d1352338..f588a1bb2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_cranelift_shared", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-cranelift-shared", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel index 1e53a6044..933d5a71f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_environ", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-environ", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel index 60934b449..d8ad49538 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_jit", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-jit", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel index 83b67e1c4..fdc0e6aa4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_jit_debug", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-jit-debug", diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel index 68e105ed2..fe0d52a76 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_jit_icache_coherence", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-jit-icache-coherence", @@ -53,6 +56,9 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) ], @@ -98,6 +104,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel index 809be273f..0e699d624 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_runtime", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -33,7 +34,9 @@ rust_library( proc_macro_deps = [ "@cu__paste-1.0.15//:paste", ], - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-runtime", @@ -78,6 +81,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__rustix-0.37.27//:rustix", # cfg(unix) ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "@cu__rustix-0.37.27//:rustix", # cfg(unix) ], @@ -131,19 +140,27 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__rustix-0.37.27//:rustix", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__rustix-0.37.27//:rustix", # cfg(unix) + ], "//conditions:default": [], }), ) cargo_build_script( - name = "wasmtime-runtime_build_script", - srcs = glob(["**/*.rs"]), + name = "wasmtime-runtime_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -170,6 +187,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "wasmtime-runtime_build_script", + actual = ":wasmtime-runtime_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel index 1c9b5511e..971ecd7d8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Apache-2.0 WITH LLVM-exception -# ]) - rust_library( name = "wasmtime_types", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=wasmtime-types", diff --git a/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel index 30665d6b9..7df210fa1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.winapi-util-0.1.8.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # Unlicense OR MIT -# ]) - rust_library( name = "winapi_util", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=winapi-util", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel index d1a45ce0f..1b88e46d6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_sys", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,17 +31,12 @@ rust_library( crate_features = [ "Win32", "Win32_Foundation", - "Win32_NetworkManagement", - "Win32_NetworkManagement_IpHelper", - "Win32_Networking", - "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_Diagnostics", "Win32_System_Diagnostics_Debug", - "Win32_System_IO", "Win32_System_Kernel", "Win32_System_Memory", "Win32_System_SystemInformation", @@ -49,7 +45,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows-sys", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel index cb2b42460..df8b32ead 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_sys", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -46,7 +47,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows-sys", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel index f6235e823..3d68ef606 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_targets", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows-targets", @@ -54,6 +57,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__windows_x86_64_gnu-0.48.5//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__windows_x86_64_gnu-0.48.5//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel index 8b886b963..eddc343ce 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.52.6.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_targets", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows-targets", @@ -54,6 +57,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@cu__windows_x86_64_gnu-0.52.6//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__windows_x86_64_gnu-0.52.6//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) + ], "//conditions:default": [], }), ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel index 2d0821395..3ce452b92 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_aarch64_gnullvm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_aarch64_gnullvm", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_aarch64_gnullvm_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_aarch64_gnullvm_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_aarch64_gnullvm_build_script", + actual = ":windows_aarch64_gnullvm_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel index a8a97f5d6..ec79e2200 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_aarch64_gnullvm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_aarch64_gnullvm", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_aarch64_gnullvm_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_aarch64_gnullvm_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_aarch64_gnullvm_build_script", + actual = ":windows_aarch64_gnullvm_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel index 350d5206a..ad39bf532 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_aarch64_msvc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_aarch64_msvc", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_aarch64_msvc_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_aarch64_msvc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_aarch64_msvc_build_script", + actual = ":windows_aarch64_msvc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel index b3909e5cd..47ac38a7a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_aarch64_msvc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_aarch64_msvc", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_aarch64_msvc_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_aarch64_msvc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_aarch64_msvc_build_script", + actual = ":windows_aarch64_msvc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel index 85270a149..4d3e79f47 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_i686_gnu", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_i686_gnu", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_i686_gnu_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_i686_gnu_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_i686_gnu_build_script", + actual = ":windows_i686_gnu_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel index daab056e7..e3f0ef486 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_i686_gnu", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_i686_gnu", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_i686_gnu_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_i686_gnu_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_i686_gnu_build_script", + actual = ":windows_i686_gnu_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel index 07c3ff9ce..d89f239b5 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_i686_gnullvm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_i686_gnullvm", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_i686_gnullvm_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_i686_gnullvm_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_i686_gnullvm_build_script", + actual = ":windows_i686_gnullvm_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel index 21077404a..b7019c836 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_i686_msvc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_i686_msvc", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_i686_msvc_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_i686_msvc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_i686_msvc_build_script", + actual = ":windows_i686_msvc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel index 150b4e9f8..f6e758e5b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_i686_msvc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_i686_msvc", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_i686_msvc_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_i686_msvc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_i686_msvc_build_script", + actual = ":windows_i686_msvc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel index 85626006b..aab6efffc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_x86_64_gnu", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_x86_64_gnu", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_gnu_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_x86_64_gnu_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_x86_64_gnu_build_script", + actual = ":windows_x86_64_gnu_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel index 1b7ee01c9..cbccf337a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_x86_64_gnu", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_x86_64_gnu", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_gnu_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_x86_64_gnu_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_x86_64_gnu_build_script", + actual = ":windows_x86_64_gnu_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel index 88bcdd72d..a81216ee7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_x86_64_gnullvm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_x86_64_gnullvm", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_gnullvm_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_x86_64_gnullvm_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_x86_64_gnullvm_build_script", + actual = ":windows_x86_64_gnullvm_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel index 68fba5b85..91ac1adff 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_x86_64_gnullvm", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_x86_64_gnullvm", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_gnullvm_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_x86_64_gnullvm_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_x86_64_gnullvm_build_script", + actual = ":windows_x86_64_gnullvm_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel index 54d214b42..8089f76b8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_x86_64_msvc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_x86_64_msvc", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_msvc_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_x86_64_msvc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_x86_64_msvc_build_script", + actual = ":windows_x86_64_msvc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel index 0b219ff1d..fda09849a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel @@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # MIT OR Apache-2.0 -# ]) - rust_library( name = "windows_x86_64_msvc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -30,7 +31,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=windows_x86_64_msvc", @@ -45,14 +48,19 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_msvc_build_script", - srcs = glob(["**/*.rs"]), + name = "windows_x86_64_msvc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_name = "build_script_build", crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -76,6 +84,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = "windows_x86_64_msvc_build_script", + actual = ":windows_x86_64_msvc_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel index 385c5f643..5bb874604 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # BSD-2-Clause OR Apache-2.0 OR MIT -# ]) - rust_library( name = "zerocopy", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -32,7 +33,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=zerocopy", diff --git a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel index ca44749e0..dc6f82dfc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-derive-0.7.35.bazel @@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) -# licenses([ -# "TODO", # BSD-2-Clause OR Apache-2.0 OR MIT -# ]) - rust_proc_macro( name = "zerocopy_derive", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", + ".tmp_git_root/**/*", "BUILD", "BUILD.bazel", "WORKSPACE", @@ -29,7 +30,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2018", - rustc_flags = ["--cap-lints=allow"], + rustc_flags = [ + "--cap-lints=allow", + ], tags = [ "cargo-bazel", "crate-name=zerocopy-derive", diff --git a/bazel/cargo/wasmtime/remote/alias_rules.bzl b/bazel/cargo/wasmtime/remote/alias_rules.bzl new file mode 100644 index 000000000..14b04c127 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/alias_rules.bzl @@ -0,0 +1,47 @@ +"""Alias that transitions its target to `compilation_mode=opt`. Use `transition_alias="opt"` to enable.""" + +load("@rules_cc//cc:defs.bzl", "CcInfo") +load("@rules_rust//rust:rust_common.bzl", "COMMON_PROVIDERS") + +def _transition_alias_impl(ctx): + # `ctx.attr.actual` is a list of 1 item due to the transition + providers = [ctx.attr.actual[0][provider] for provider in COMMON_PROVIDERS] + if CcInfo in ctx.attr.actual[0]: + providers.append(ctx.attr.actual[0][CcInfo]) + return providers + +def _change_compilation_mode(compilation_mode): + def _change_compilation_mode_impl(_settings, _attr): + return { + "//command_line_option:compilation_mode": compilation_mode, + } + + return transition( + implementation = _change_compilation_mode_impl, + inputs = [], + outputs = [ + "//command_line_option:compilation_mode", + ], + ) + +def _transition_alias_rule(compilation_mode): + return rule( + implementation = _transition_alias_impl, + provides = COMMON_PROVIDERS, + attrs = { + "actual": attr.label( + mandatory = True, + doc = "`rust_library()` target to transition to `compilation_mode=opt`.", + providers = COMMON_PROVIDERS, + cfg = _change_compilation_mode(compilation_mode), + ), + "_allowlist_function_transition": attr.label( + default = "@bazel_tools//tools/allowlists/function_transition_allowlist", + ), + }, + doc = "Transitions a Rust library crate to the `compilation_mode=opt`.", + ) + +transition_alias_dbg = _transition_alias_rule("dbg") +transition_alias_fastbuild = _transition_alias_rule("fastbuild") +transition_alias_opt = _transition_alias_rule("opt") diff --git a/bazel/cargo/wasmtime/remote/crates.bzl b/bazel/cargo/wasmtime/remote/crates.bzl index 27c0e39a4..c2726d29f 100644 --- a/bazel/cargo/wasmtime/remote/crates.bzl +++ b/bazel/cargo/wasmtime/remote/crates.bzl @@ -15,6 +15,11 @@ load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:defs.bzl", _crate_reposi load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository") def crate_repositories(): + """Generates repositories for vendored crates. + + Returns: + A list of repos visible to the module through the module extension. + """ maybe( crates_vendor_remote_repository, name = "cu", @@ -22,4 +27,6 @@ def crate_repositories(): defs_module = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:defs.bzl"), ) - _crate_repositories() + direct_deps = [struct(repo = "cu", is_dev_dep = False)] + direct_deps.extend(_crate_repositories()) + return direct_deps diff --git a/bazel/cargo/wasmtime/remote/defs.bzl b/bazel/cargo/wasmtime/remote/defs.bzl index fc84e568a..fec029861 100644 --- a/bazel/cargo/wasmtime/remote/defs.bzl +++ b/bazel/cargo/wasmtime/remote/defs.bzl @@ -296,10 +296,10 @@ def aliases( _NORMAL_DEPENDENCIES = { "bazel/cargo/wasmtime": { _COMMON_CONDITION: { - "anyhow": "@cu__anyhow-1.0.86//:anyhow", - "env_logger": "@cu__env_logger-0.10.2//:env_logger", - "once_cell": "@cu__once_cell-1.19.0//:once_cell", - "wasmtime": "@cu__wasmtime-9.0.4//:wasmtime", + "anyhow": Label("@cu__anyhow-1.0.86//:anyhow"), + "env_logger": Label("@cu__env_logger-0.10.2//:env_logger"), + "once_cell": Label("@cu__once_cell-1.19.0//:once_cell"), + "wasmtime": Label("@cu__wasmtime-9.0.4//:wasmtime"), }, }, } @@ -324,7 +324,7 @@ _NORMAL_DEV_ALIASES = { _PROC_MACRO_DEPENDENCIES = { "bazel/cargo/wasmtime": { _COMMON_CONDITION: { - "wasmtime-c-api-macros": "@cu__wasmtime-c-api-macros-0.0.0//:wasmtime_c_api_macros", + "wasmtime-c-api-macros": Label("@cu__wasmtime-c-api-macros-0.0.0//:wasmtime_c_api_macros"), }, }, } @@ -365,41 +365,79 @@ _BUILD_PROC_MACRO_ALIASES = { } _CONDITIONS = { + "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"], + "aarch64-apple-ios": ["@rules_rust//rust/platform:aarch64-apple-ios"], + "aarch64-apple-ios-sim": ["@rules_rust//rust/platform:aarch64-apple-ios-sim"], + "aarch64-fuchsia": ["@rules_rust//rust/platform:aarch64-fuchsia"], + "aarch64-linux-android": ["@rules_rust//rust/platform:aarch64-linux-android"], "aarch64-pc-windows-gnullvm": [], + "aarch64-pc-windows-msvc": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], + "aarch64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu"], + "aarch64-unknown-nixos-gnu": ["@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"], + "aarch64-unknown-nto-qnx710": ["@rules_rust//rust/platform:aarch64-unknown-nto-qnx710"], + "arm-unknown-linux-gnueabi": ["@rules_rust//rust/platform:arm-unknown-linux-gnueabi"], + "armv7-linux-androideabi": ["@rules_rust//rust/platform:armv7-linux-androideabi"], + "armv7-unknown-linux-gnueabi": ["@rules_rust//rust/platform:armv7-unknown-linux-gnueabi"], "cfg(all(any(target_arch = \"x86_64\", target_arch = \"arm64ec\"), target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"], "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"], - "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], - "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], - "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], - "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], - "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], "cfg(any())": [], "cfg(any(target_arch = \"s390x\", target_arch = \"riscv64\"))": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu"], - "cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"freebsd\", target_os = \"android\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"freebsd\", target_os = \"android\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(any(target_os = \"macos\", target_os = \"ios\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios"], - "cfg(any(unix, target_os = \"wasi\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], - "cfg(not(all(target_arch = \"arm\", target_os = \"none\")))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], - "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(any(unix, target_os = \"wasi\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "cfg(not(all(target_arch = \"arm\", target_os = \"none\")))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], "cfg(target_os = \"hermit\")": [], "cfg(target_os = \"macos\")": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-darwin"], "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"], "cfg(target_os = \"windows\")": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], - "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "i686-apple-darwin": ["@rules_rust//rust/platform:i686-apple-darwin"], + "i686-linux-android": ["@rules_rust//rust/platform:i686-linux-android"], "i686-pc-windows-gnullvm": [], + "i686-pc-windows-msvc": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], + "i686-unknown-freebsd": ["@rules_rust//rust/platform:i686-unknown-freebsd"], + "i686-unknown-linux-gnu": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], + "powerpc-unknown-linux-gnu": ["@rules_rust//rust/platform:powerpc-unknown-linux-gnu"], + "riscv32imc-unknown-none-elf": ["@rules_rust//rust/platform:riscv32imc-unknown-none-elf"], + "riscv64gc-unknown-none-elf": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf"], + "s390x-unknown-linux-gnu": ["@rules_rust//rust/platform:s390x-unknown-linux-gnu"], + "thumbv7em-none-eabi": ["@rules_rust//rust/platform:thumbv7em-none-eabi"], + "thumbv8m.main-none-eabi": ["@rules_rust//rust/platform:thumbv8m.main-none-eabi"], + "wasm32-unknown-unknown": ["@rules_rust//rust/platform:wasm32-unknown-unknown"], + "wasm32-wasi": ["@rules_rust//rust/platform:wasm32-wasi"], + "x86_64-apple-darwin": ["@rules_rust//rust/platform:x86_64-apple-darwin"], + "x86_64-apple-ios": ["@rules_rust//rust/platform:x86_64-apple-ios"], + "x86_64-fuchsia": ["@rules_rust//rust/platform:x86_64-fuchsia"], + "x86_64-linux-android": ["@rules_rust//rust/platform:x86_64-linux-android"], "x86_64-pc-windows-gnullvm": [], + "x86_64-pc-windows-msvc": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], + "x86_64-unknown-freebsd": ["@rules_rust//rust/platform:x86_64-unknown-freebsd"], + "x86_64-unknown-linux-gnu": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], + "x86_64-unknown-nixos-gnu": ["@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "x86_64-unknown-none": ["@rules_rust//rust/platform:x86_64-unknown-none"], } ############################################################################### def crate_repositories(): - """A macro for defining repositories for all generated crates""" + """A macro for defining repositories for all generated crates. + + Returns: + A list of repos visible to the module through the module extension. + """ maybe( http_archive, name = "cu__addr2line-0.19.0", @@ -1363,7 +1401,7 @@ def crate_repositories(): maybe( new_git_repository, name = "cu__wasmtime-c-api-macros-0.0.0", - tag = "v9.0.3", + commit = "271b605e8d3d44c5d0a39bb4e65c3efb3869ff74", init_submodules = True, remote = "https://github.com/bytecodealliance/wasmtime", build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.0.0.bazel"), @@ -1669,3 +1707,11 @@ def crate_repositories(): strip_prefix = "zerocopy-derive-0.7.35", build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.zerocopy-derive-0.7.35.bazel"), ) + + return [ + struct(repo = "cu__anyhow-1.0.86", is_dev_dep = False), + struct(repo = "cu__env_logger-0.10.2", is_dev_dep = False), + struct(repo = "cu__once_cell-1.19.0", is_dev_dep = False), + struct(repo = "cu__wasmtime-9.0.4", is_dev_dep = False), + struct(repo = "cu__wasmtime-c-api-macros-0.0.0", is_dev_dep = False), + ] diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 33237431f..7b5c5fcbd 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -37,9 +37,9 @@ def proxy_wasm_cpp_host_dependencies(): extra_target_triples = [ "aarch64-unknown-linux-gnu", "wasm32-unknown-unknown", - "wasm32-wasi", + "wasm32-wasi", # TODO: Change to wasm32-wasip1 once https://github.com/bazelbuild/rules_rust/issues/2782 is fixed ], - version = "1.68.0", + version = "1.77.2", ) rust_repository_set( name = "rust_linux_s390x", @@ -48,7 +48,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.68.0", + version = "1.77.2", ) crate_universe_dependencies(bootstrap = True) diff --git a/bazel/external/rules_rust.patch b/bazel/external/rules_rust.patch index 67689bec2..a9a57c931 100644 --- a/bazel/external/rules_rust.patch +++ b/bazel/external/rules_rust.patch @@ -1,13 +1,13 @@ # https://github.com/bazelbuild/rules_rust/pull/1315 diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl -index 6cdbefeb..284d4afa 100644 +index bfd96ed9..d7e38658 100644 --- a/rust/private/rustc.bzl +++ b/rust/private/rustc.bzl -@@ -1024,7 +1024,7 @@ def rustc_compile_action( - ), - ] - +@@ -1507,7 +1507,7 @@ def rustc_compile_action( + }) + crate_info = rust_common.create_crate_info(**crate_info_dict) + - if crate_info.type in ["staticlib", "cdylib"]: + if crate_info.type in ["staticlib", "cdylib"] and not out_binary: # These rules are not supposed to be depended on by other rust targets, and diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 79e2fd59d..2586ed21b 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -90,13 +90,14 @@ def proxy_wasm_cpp_host_repositories(): url = "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz", ) + # Keep at 0.42 one because https://github.com/bazelbuild/rules_rust/issues/2665 + # manifests at 0.43 maybe( http_archive, name = "rules_rust", - sha256 = "e3fe2a255589d128c5e59e407ee57c832533f25ce14cc23605d368cf507ce08d", - strip_prefix = "rules_rust-0.24.1", + integrity = "sha256-JLN47ZcAbx9wEr5Jiib4HduZATGLiDgK7oUi/fvotzU=", # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/archive/0.24.1.tar.gz", + url = "https://github.com/bazelbuild/rules_rust/releases/download/0.42.1/rules_rust-v0.42.1.tar.gz", patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], patch_args = ["-p1"], ) diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 876908515..16b4f763a 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -142,7 +142,7 @@ TEST_P(TestVm, WasmMemoryLimit) { // Backtrace if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); - EXPECT_TRUE(host->isErrorLogged("rust_oom")); + EXPECT_TRUE(host->isErrorLogged("rg_oom")); EXPECT_TRUE(host->isErrorLogged(" - alloc::alloc::handle_alloc_error")); } } From 21a5b089f136712f74bfa03cde43ae8d82e066b6 Mon Sep 17 00:00:00 2001 From: Keith Mattix II Date: Wed, 4 Sep 2024 10:33:20 -0500 Subject: [PATCH 67/90] Update wasmtime (v24.0.0) (#406) Removes Wasmtime + Windows CI because rules_rust has recently dropped Windows: https://github.com/bazelbuild/rules_rust/blob/main/docs/index.md#supported-platforms Signed-off-by: Keith Mattix II --- .github/workflows/test.yml | 7 - bazel/cargo/wasmtime/Cargo.Bazel.lock | 725 +++++++--------- bazel/cargo/wasmtime/Cargo.toml | 10 +- .../remote/BUILD.addr2line-0.19.0.bazel | 47 - bazel/cargo/wasmtime/remote/BUILD.bazel | 16 +- .../wasmtime/remote/BUILD.bincode-1.3.3.bazel | 47 - .../remote/BUILD.bitflags-2.6.0.bazel | 78 +- ...LD.cc-1.1.6.bazel => BUILD.cc-1.1.7.bazel} | 2 +- ...ros-0.1.1.bazel => BUILD.cobs-0.2.3.bazel} | 6 +- .../remote/BUILD.cpp_demangle-0.3.5.bazel | 98 --- ... => BUILD.cranelift-bforest-0.111.0.bazel} | 4 +- ...l => BUILD.cranelift-bitset-0.111.0.bazel} | 15 +- ... => BUILD.cranelift-codegen-0.111.0.bazel} | 34 +- ...UILD.cranelift-codegen-meta-0.111.0.bazel} | 4 +- ...LD.cranelift-codegen-shared-0.111.0.bazel} | 2 +- ... => BUILD.cranelift-control-0.111.0.bazel} | 6 +- .../BUILD.cranelift-entity-0.111.0.bazel | 56 ++ ...=> BUILD.cranelift-frontend-0.111.0.bazel} | 6 +- ...zel => BUILD.cranelift-isle-0.111.0.bazel} | 6 +- ...l => BUILD.cranelift-native-0.111.0.bazel} | 6 +- ...zel => BUILD.cranelift-wasm-0.111.0.bazel} | 14 +- .../wasmtime/remote/BUILD.debugid-0.8.0.bazel | 47 - ....3.bazel => BUILD.embedded-io-0.4.0.bazel} | 8 +- ....24.bazel => BUILD.equivalent-1.0.1.bazel} | 6 +- ...el => BUILD.fallible-iterator-0.3.0.bazel} | 5 +- .../wasmtime/remote/BUILD.fxhash-0.2.1.bazel | 47 - .../remote/BUILD.getrandom-0.2.15.bazel | 127 --- .../wasmtime/remote/BUILD.gimli-0.27.3.bazel | 58 -- ...-0.1.23.bazel => BUILD.gimli-0.29.0.bazel} | 11 +- .../remote/BUILD.hashbrown-0.13.2.bazel | 1 - ...6.4.bazel => BUILD.hashbrown-0.14.5.bazel} | 10 +- ...-preview1.bazel => BUILD.heck-0.4.1.bazel} | 6 +- ...1.3.0.bazel => BUILD.id-arena-2.2.1.bazel} | 6 +- ...0.5.0.bazel => BUILD.indexmap-2.3.0.bazel} | 15 +- .../remote/BUILD.io-lifetimes-1.0.11.bazel | 205 ----- ...0.5.bazel => BUILD.itertools-0.12.1.bazel} | 2 +- .../wasmtime/remote/BUILD.leb128-0.2.5.bazel | 44 + .../wasmtime/remote/BUILD.libc-0.2.155.bazel | 84 -- ...vc-0.48.5.bazel => BUILD.libm-0.2.8.bazel} | 22 +- .../remote/BUILD.linux-raw-sys-0.3.8.bazel | 72 -- ...ch-0.3.2.bazel => BUILD.mach2-0.4.2.bazel} | 6 +- .../remote/BUILD.memoffset-0.8.0.bazel | 98 --- ...0.30.4.bazel => BUILD.object-0.36.2.bazel} | 10 +- .../remote/BUILD.percent-encoding-2.3.1.bazel | 49 -- .../BUILD.pin-project-lite-0.2.14.bazel | 44 + ...1.8.0.bazel => BUILD.postcard-1.0.8.bazel} | 14 +- .../remote/BUILD.ppv-lite86-0.2.17.bazel | 48 - .../wasmtime/remote/BUILD.psm-0.1.21.bazel | 2 +- .../wasmtime/remote/BUILD.rand-0.8.5.bazel | 132 --- .../remote/BUILD.rand_chacha-0.3.1.bazel | 51 -- ....8.1.bazel => BUILD.regalloc2-0.9.3.bazel} | 3 +- .../remote/BUILD.rustc-hash-1.1.0.bazel | 4 + .../remote/BUILD.rustix-0.37.27.bazel | 335 ------- .../remote/BUILD.rustix-0.38.34.bazel | 66 +- ...0.48.5.bazel => BUILD.semver-1.0.23.bazel} | 16 +- .../wasmtime/remote/BUILD.serde-1.0.204.bazel | 4 +- .../remote/BUILD.serde_json-1.0.120.bazel | 8 - .../remote/BUILD.smallvec-1.13.2.bazel | 4 + ...ags-1.3.2.bazel => BUILD.sptr-0.3.2.bazel} | 6 +- .../BUILD.stable_deref_trait-1.2.0.bazel | 4 - .../wasmtime/remote/BUILD.syn-2.0.72.bazel | 3 + ...zel => BUILD.target-lexicon-0.12.16.bazel} | 10 +- ...1.2.1.bazel => BUILD.tracing-0.1.40.bazel} | 15 +- ... => BUILD.tracing-attributes-0.1.27.bazel} | 19 +- ....bazel => BUILD.tracing-core-0.1.32.bazel} | 10 +- .../remote/BUILD.unicode-bidi-0.3.15.bazel | 48 - .../remote/BUILD.unicode-xid-0.2.4.bazel | 44 + .../wasmtime/remote/BUILD.url-2.5.2.bazel | 52 -- .../wasmtime/remote/BUILD.uuid-1.10.0.bazel | 48 - ...bazel => BUILD.wasm-encoder-0.215.0.bazel} | 13 +- .../remote/BUILD.wasmparser-0.103.0.bazel | 48 - ...0.bazel => BUILD.wasmparser-0.215.0.bazel} | 18 +- .../remote/BUILD.wasmprinter-0.215.0.bazel | 49 ++ ....0.4.bazel => BUILD.wasmtime-24.0.0.bazel} | 130 ++- .../remote/BUILD.wasmtime-9.0.4.bazel | 128 --- ...=> BUILD.wasmtime-asm-macros-24.0.0.bazel} | 2 +- ... BUILD.wasmtime-c-api-macros-24.0.0.bazel} | 2 +- ...ILD.wasmtime-component-macro-24.0.0.bazel} | 42 +- ...BUILD.wasmtime-component-util-24.0.0.bazel | 44 + ... => BUILD.wasmtime-cranelift-24.0.0.bazel} | 32 +- ...UILD.wasmtime-cranelift-shared-9.0.4.bazel | 54 -- .../BUILD.wasmtime-environ-24.0.0.bazel | 68 ++ .../remote/BUILD.wasmtime-jit-9.0.4.bazel | 71 -- ...asmtime-jit-icache-coherence-24.0.0.bazel} | 9 +- .../remote/BUILD.wasmtime-slab-24.0.0.bazel | 44 + .../remote/BUILD.wasmtime-types-24.0.0.bazel | 57 ++ ...mtime-versioned-export-macros-24.0.0.bazel | 49 ++ .../BUILD.wasmtime-wit-bindgen-24.0.0.bazel | 50 ++ .../remote/BUILD.windows-sys-0.48.0.bazel | 62 -- .../remote/BUILD.windows-sys-0.52.0.bazel | 7 +- .../remote/BUILD.windows-targets-0.48.5.bazel | 65 -- ...BUILD.windows_aarch64_gnullvm-0.48.5.bazel | 89 -- .../BUILD.windows_aarch64_msvc-0.48.5.bazel | 89 -- .../BUILD.windows_x86_64_gnu-0.48.5.bazel | 89 -- .../BUILD.windows_x86_64_gnullvm-0.48.5.bazel | 89 -- .../BUILD.windows_x86_64_msvc-0.48.5.bazel | 89 -- ...4.bazel => BUILD.wit-parser-0.215.0.bazel} | 23 +- bazel/cargo/wasmtime/remote/defs.bzl | 818 +++++++----------- bazel/external/wasm-c-api.BUILD | 60 -- bazel/external/wasmtime.BUILD | 60 +- bazel/repositories.bzl | 19 +- src/wasmtime/types.h | 2 +- src/wasmtime/wasmtime.cc | 6 +- 103 files changed, 1721 insertions(+), 3874 deletions(-) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.cc-1.1.6.bazel => BUILD.cc-1.1.7.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.tinyvec_macros-0.1.1.bazel => BUILD.cobs-0.2.3.bazel} (92%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-bforest-0.96.4.bazel => BUILD.cranelift-bforest-0.111.0.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-types-9.0.4.bazel => BUILD.cranelift-bitset-0.111.0.bazel} (82%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-0.96.4.bazel => BUILD.cranelift-codegen-0.111.0.bazel} (72%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-meta-0.96.4.bazel => BUILD.cranelift-codegen-meta-0.111.0.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-codegen-shared-0.96.4.bazel => BUILD.cranelift-codegen-shared-0.111.0.bazel} (97%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-control-0.96.4.bazel => BUILD.cranelift-control-0.111.0.bazel} (92%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.111.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-frontend-0.96.4.bazel => BUILD.cranelift-frontend-0.111.0.bazel} (89%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-isle-0.96.4.bazel => BUILD.cranelift-isle-0.111.0.bazel} (95%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-native-0.96.4.bazel => BUILD.cranelift-native-0.111.0.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-wasm-0.96.4.bazel => BUILD.cranelift-wasm-0.111.0.bazel} (77%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.hashbrown-0.12.3.bazel => BUILD.embedded-io-0.4.0.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.rustc-demangle-0.1.24.bazel => BUILD.equivalent-1.0.1.bazel} (92%) rename bazel/cargo/wasmtime/remote/{BUILD.fallible-iterator-0.2.0.bazel => BUILD.fallible-iterator-0.3.0.bazel} (94%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel rename bazel/cargo/wasmtime/remote/{BUILD.unicode-normalization-0.1.23.bazel => BUILD.gimli-0.29.0.bazel} (86%) rename bazel/cargo/wasmtime/remote/{BUILD.cranelift-entity-0.96.4.bazel => BUILD.hashbrown-0.14.5.bazel} (88%) rename bazel/cargo/wasmtime/remote/{BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel => BUILD.heck-0.4.1.bazel} (91%) rename bazel/cargo/wasmtime/remote/{BUILD.autocfg-1.3.0.bazel => BUILD.id-arena-2.2.1.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.idna-0.5.0.bazel => BUILD.indexmap-2.3.0.bazel} (81%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel rename bazel/cargo/wasmtime/remote/{BUILD.itertools-0.10.5.bazel => BUILD.itertools-0.12.1.bazel} (98%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows_i686_msvc-0.48.5.bazel => BUILD.libm-0.2.8.bazel} (85%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel rename bazel/cargo/wasmtime/remote/{BUILD.mach-0.3.2.bazel => BUILD.mach2-0.4.2.bazel} (96%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.object-0.30.4.bazel => BUILD.object-0.36.2.bazel} (88%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.pin-project-lite-0.2.14.bazel rename bazel/cargo/wasmtime/remote/{BUILD.tinyvec-1.8.0.bazel => BUILD.postcard-1.0.8.bazel} (82%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel rename bazel/cargo/wasmtime/remote/{BUILD.regalloc2-0.8.1.bazel => BUILD.regalloc2-0.9.3.bazel} (96%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel rename bazel/cargo/wasmtime/remote/{BUILD.windows_i686_gnu-0.48.5.bazel => BUILD.semver-1.0.23.bazel} (86%) rename bazel/cargo/wasmtime/remote/{BUILD.bitflags-1.3.2.bazel => BUILD.sptr-0.3.2.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.target-lexicon-0.12.15.bazel => BUILD.target-lexicon-0.12.16.bazel} (93%) rename bazel/cargo/wasmtime/remote/{BUILD.form_urlencoded-1.2.1.bazel => BUILD.tracing-0.1.40.bazel} (77%) rename bazel/cargo/wasmtime/remote/{BUILD.rand_core-0.6.4.bazel => BUILD.tracing-attributes-0.1.27.bazel} (77%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-debug-9.0.4.bazel => BUILD.tracing-core-0.1.32.bazel} (88%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.4.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.byteorder-1.5.0.bazel => BUILD.wasm-encoder-0.215.0.bazel} (88%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.fxprof-processed-profile-0.6.0.bazel => BUILD.wasmparser-0.215.0.bazel} (77%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-runtime-9.0.4.bazel => BUILD.wasmtime-24.0.0.bazel} (50%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-asm-macros-9.0.4.bazel => BUILD.wasmtime-asm-macros-24.0.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-c-api-macros-0.0.0.bazel => BUILD.wasmtime-c-api-macros-24.0.0.bazel} (98%) rename bazel/cargo/wasmtime/remote/{BUILD.indexmap-1.9.3.bazel => BUILD.wasmtime-component-macro-24.0.0.bazel} (70%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-util-24.0.0.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-cranelift-9.0.4.bazel => BUILD.wasmtime-cranelift-24.0.0.bazel} (60%) delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-24.0.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel => BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel} (95%) create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-slab-24.0.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-24.0.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-versioned-export-macros-24.0.0.bazel create mode 100644 bazel/cargo/wasmtime/remote/BUILD.wasmtime-wit-bindgen-24.0.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel delete mode 100644 bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel rename bazel/cargo/wasmtime/remote/{BUILD.wasmtime-environ-9.0.4.bazel => BUILD.wit-parser-0.215.0.bazel} (71%) delete mode 100644 bazel/external/wasm-c-api.BUILD diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 66ec91bfc..13264d48f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -260,13 +260,6 @@ jobs: os: macos-13 arch: x86_64 action: test - - name: 'Wasmtime on Windows/x86_64' - engine: 'wasmtime' - repo: 'com_github_bytecodealliance_wasmtime' - os: windows-2019 - arch: x86_64 - action: test - targets: -//test/fuzz/... - name: 'WAVM on Linux/x86_64' engine: 'wavm' repo: 'com_github_wavm_wavm' diff --git a/bazel/cargo/wasmtime/Cargo.Bazel.lock b/bazel/cargo/wasmtime/Cargo.Bazel.lock index cf52418e9..93579f697 100644 --- a/bazel/cargo/wasmtime/Cargo.Bazel.lock +++ b/bazel/cargo/wasmtime/Cargo.Bazel.lock @@ -2,15 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli", -] - [[package]] name = "ahash" version = "0.8.11" @@ -44,27 +35,6 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" -[[package]] -name = "autocfg" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - [[package]] name = "bitflags" version = "2.6.0" @@ -77,17 +47,11 @@ version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - [[package]] name = "cc" -version = "1.1.6" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" +checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc" [[package]] name = "cfg-if" @@ -96,82 +60,93 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] -name = "cpp_demangle" -version = "0.3.5" +name = "cobs" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" -dependencies = [ - "cfg-if", -] +checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" [[package]] name = "cranelift-bforest" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "182b82f78049f54d3aee5a19870d356ef754226665a695ce2fcdd5d55379718e" +checksum = "b80c3a50b9c4c7e5b5f73c0ed746687774fc9e36ef652b110da8daebf0c6e0e6" dependencies = [ "cranelift-entity", ] +[[package]] +name = "cranelift-bitset" +version = "0.111.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38778758c2ca918b05acb2199134e0c561fb577c50574259b26190b6c2d95ded" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c027bf04ecae5b048d3554deb888061bc26f426afff47bf06d6ac933dce0a6" +checksum = "58258667ad10e468bfc13a8d620f50dfcd4bb35d668123e97defa2549b9ad397" dependencies = [ "bumpalo", "cranelift-bforest", + "cranelift-bitset", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-control", "cranelift-entity", "cranelift-isle", "gimli", - "hashbrown 0.13.2", + "hashbrown 0.14.5", "log", "regalloc2", + "rustc-hash", "smallvec", "target-lexicon", ] [[package]] name = "cranelift-codegen-meta" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "649f70038235e4c81dba5680d7e5ae83e1081f567232425ab98b55b03afd9904" +checksum = "043f0b702e529dcb07ff92bd7d40e7d5317b5493595172c5eb0983343751ee06" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a1d1c5ee2611c6a0bdc8d42d5d3dc5ce8bf53a8040561e26e88b9b21f966417" +checksum = "7763578888ab53eca5ce7da141953f828e82c2bfadcffc106d10d1866094ffbb" [[package]] name = "cranelift-control" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da66a68b1f48da863d1d53209b8ddb1a6236411d2d72a280ffa8c2f734f7219e" +checksum = "32db15f08c05df570f11e8ab33cb1ec449a64b37c8a3498377b77650bef33d8b" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd897422dbb66621fa558f4d9209875530c53e3c8f4b13b2849fbb667c431a6" +checksum = "5289cdb399381a27e7bbfa1b42185916007c3d49aeef70b1d01cb4caa8010130" dependencies = [ + "cranelift-bitset", "serde", + "serde_derive", ] [[package]] name = "cranelift-frontend" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05db883114c98cfcd6959f72278d2fec42e01ea6a6982cfe4f20e88eebe86653" +checksum = "31ba8ab24eb9470477e98ddfa3c799a649ac5a0d9a2042868c4c952133c234e8" dependencies = [ "cranelift-codegen", "log", @@ -181,15 +156,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84559de86e2564152c87e299c8b2559f9107e9c6d274b24ebeb04fb0a5f4abf8" +checksum = "2b72a3c5c166a70426dcb209bdd0bb71a787c1ea76023dc0974fbabca770e8f9" [[package]] name = "cranelift-native" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f40b57f187f0fe1ffaf281df4adba2b4bc623a0f6651954da9f3c184be72761" +checksum = "46a42424c956bbc31fc5c2706073df896156c5420ae8fa2a5d48dbc7b295d71b" dependencies = [ "cranelift-codegen", "libc", @@ -198,9 +173,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.96.4" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3eab6084cc789b9dd0b1316241efeb2968199fee709f4bb4fe0fb0923bb468b" +checksum = "49778df4289933d735b93c30a345513e030cf83101de0036e19b760f8aa09f68" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -221,21 +196,18 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "debugid" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" -dependencies = [ - "uuid", -] - [[package]] name = "either" version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + [[package]] name = "env_logger" version = "0.10.2" @@ -249,6 +221,12 @@ dependencies = [ "termcolor", ] +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "errno" version = "0.3.9" @@ -256,62 +234,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys", ] [[package]] name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - -[[package]] -name = "fxprof-processed-profile" -version = "0.6.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" -dependencies = [ - "bitflags 2.6.0", - "debugid", - "fxhash", - "serde", - "serde_json", -] - -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "gimli" -version = "0.27.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" dependencies = [ "fallible-iterator", "indexmap", @@ -320,19 +256,29 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.12.3" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash", +] [[package]] name = "hashbrown" -version = "0.13.2" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ "ahash", + "serde", ] +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + [[package]] name = "hermit-abi" version = "0.3.9" @@ -346,37 +292,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] -name = "idna" -version = "0.5.0" +name = "id-arena" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] +checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005" [[package]] name = "indexmap" -version = "1.9.3" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0" dependencies = [ - "autocfg", - "hashbrown 0.12.3", + "equivalent", + "hashbrown 0.14.5", "serde", ] -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.48.0", -] - [[package]] name = "is-terminal" version = "0.4.12" @@ -385,14 +316,14 @@ checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ "hermit-abi", "libc", - "windows-sys 0.52.0", + "windows-sys", ] [[package]] name = "itertools" -version = "0.10.5" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] @@ -403,6 +334,12 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +[[package]] +name = "leb128" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" + [[package]] name = "libc" version = "0.2.155" @@ -410,10 +347,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] -name = "linux-raw-sys" -version = "0.3.8" +name = "libm" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "linux-raw-sys" @@ -428,10 +365,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] -name = "mach" -version = "0.3.2" +name = "mach2" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" dependencies = [ "libc", ] @@ -448,26 +385,17 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.34", -] - -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", + "rustix", ] [[package]] name = "object" -version = "0.30.4" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e" dependencies = [ "crc32fast", - "hashbrown 0.13.2", + "hashbrown 0.14.5", "indexmap", "memchr", ] @@ -485,16 +413,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] -name = "percent-encoding" -version = "2.3.1" +name = "pin-project-lite" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] -name = "ppv-lite86" -version = "0.2.17" +name = "postcard" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "a55c51ee6c0db07e68448e336cf8ea4131a620edefebf9893e759b2d793420f8" +dependencies = [ + "cobs", + "embedded-io", + "serde", +] [[package]] name = "proc-macro2" @@ -523,41 +456,11 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - [[package]] name = "regalloc2" -version = "0.8.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a52e724646c6c0800fc456ec43b4165d2f91fba88ceaca06d9e0b400023478" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ "hashbrown 0.13.2", "log", @@ -595,43 +498,23 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - [[package]] name = "rustc-hash" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" -[[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", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - [[package]] name = "rustix" version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.6.0", + "bitflags", "errno", "libc", - "linux-raw-sys 0.4.14", - "windows-sys 0.52.0", + "linux-raw-sys", + "windows-sys", ] [[package]] @@ -640,6 +523,12 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +[[package]] +name = "semver" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" + [[package]] name = "serde" version = "1.0.204" @@ -682,6 +571,15 @@ name = "smallvec" version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +dependencies = [ + "serde", +] + +[[package]] +name = "sptr" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" [[package]] name = "stable_deref_trait" @@ -702,9 +600,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.15" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "termcolor" @@ -736,25 +634,35 @@ dependencies = [ ] [[package]] -name = "tinyvec" -version = "1.8.0" +name = "tracing" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "tinyvec_macros", + "pin-project-lite", + "tracing-attributes", + "tracing-core", ] [[package]] -name = "tinyvec_macros" -version = "0.1.1" +name = "tracing-attributes" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] -name = "unicode-bidi" -version = "0.3.15" +name = "tracing-core" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +dependencies = [ + "once_cell", +] [[package]] name = "unicode-ident" @@ -763,30 +671,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] -name = "unicode-normalization" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "url" -version = "2.5.2" +name = "unicode-xid" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "uuid" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "version_check" @@ -795,86 +683,139 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +name = "wasm-encoder" +version = "0.215.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "4fb56df3e06b8e6b77e37d2969a50ba51281029a9aeb3855e76b7f49b6418847" +dependencies = [ + "leb128", +] [[package]] name = "wasmparser" -version = "0.103.0" +version = "0.215.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c437373cac5ea84f1113d648d51f71751ffbe3d90c00ae67618cf20d0b5ee7b" +checksum = "53fbde0881f24199b81cf49b6ff8f9c145ac8eb1b7fc439adb5c099734f7d90e" dependencies = [ + "ahash", + "bitflags", + "hashbrown 0.14.5", "indexmap", - "url", + "semver", + "serde", +] + +[[package]] +name = "wasmprinter" +version = "0.215.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8e9a325d85053408209b3d2ce5eaddd0dd6864d1cff7a007147ba073157defc" +dependencies = [ + "anyhow", + "termcolor", + "wasmparser", ] [[package]] name = "wasmtime" -version = "9.0.4" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634357e8668774b24c80b210552f3f194e2342a065d6d83845ba22c5817d0770" +checksum = "9a5883d64dfc8423c56e3d8df27cffc44db25336aa468e8e0724fddf30a333d7" dependencies = [ "anyhow", - "bincode", + "bitflags", "bumpalo", + "cc", "cfg-if", - "fxprof-processed-profile", + "hashbrown 0.14.5", "indexmap", "libc", + "libm", "log", + "mach2", + "memfd", "object", "once_cell", "paste", + "postcard", "psm", + "rustix", "serde", - "serde_json", + "serde_derive", + "smallvec", + "sptr", "target-lexicon", "wasmparser", + "wasmtime-asm-macros", + "wasmtime-component-macro", "wasmtime-cranelift", "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", - "windows-sys 0.48.0", + "wasmtime-jit-icache-coherence", + "wasmtime-slab", + "wasmtime-versioned-export-macros", + "windows-sys", ] [[package]] name = "wasmtime-asm-macros" -version = "9.0.4" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d33c73c24ce79b0483a3b091a9acf88871f4490b88998e8974b22236264d304c" +checksum = "1c4dc7e2a379c0dd6be5b55857d14c4b277f43a9c429a9e14403eb61776ae3be" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-c-api-bazel" -version = "9.0.3" +version = "24.0.0" dependencies = [ "anyhow", "env_logger", + "log", "once_cell", + "tracing", "wasmtime", "wasmtime-c-api-macros", ] [[package]] name = "wasmtime-c-api-macros" -version = "0.0.0" -source = "git+https://github.com/bytecodealliance/wasmtime?tag=v9.0.3#271b605e8d3d44c5d0a39bb4e65c3efb3869ff74" +version = "24.0.0" +source = "git+https://github.com/bytecodealliance/wasmtime?tag=v24.0.0#6fc3d274c7994dad20c816ccc0739bf766b39a11" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "wasmtime-component-macro" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b07773d1c3dab5f014ec61316ee317aa424033e17e70a63abdf7c3a47e58fcf" dependencies = [ + "anyhow", "proc-macro2", "quote", + "syn", + "wasmtime-component-util", + "wasmtime-wit-bindgen", + "wit-parser", ] +[[package]] +name = "wasmtime-component-util" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e38d735320f4e83478369ce649ad8fe87c6b893220902e798547a225fc0c5874" + [[package]] name = "wasmtime-cranelift" -version = "9.0.4" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5800616a28ed6bd5e8b99ea45646c956d798ae030494ac0689bc3e45d3b689c1" +checksum = "e570d831d0785d93d7d8c722b1eb9a34e0d0c1534317666f65892818358a2da9" dependencies = [ "anyhow", + "cfg-if", "cranelift-codegen", "cranelift-control", "cranelift-entity", @@ -887,122 +828,86 @@ dependencies = [ "target-lexicon", "thiserror", "wasmparser", - "wasmtime-cranelift-shared", - "wasmtime-environ", -] - -[[package]] -name = "wasmtime-cranelift-shared" -version = "9.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27e4030b959ac5c5d6ee500078977e813f8768fa2b92fc12be01856cd0c76c55" -dependencies = [ - "anyhow", - "cranelift-codegen", - "cranelift-control", - "cranelift-native", - "gimli", - "object", - "target-lexicon", "wasmtime-environ", + "wasmtime-versioned-export-macros", ] [[package]] name = "wasmtime-environ" -version = "9.0.4" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ec815d01a8d38aceb7ed4678f9ba551ae6b8a568a63810ac3ad9293b0fd01c8" +checksum = "c5fe80dfbd81687431a7d4f25929fae1ae96894786d5c96b14ae41164ee97377" dependencies = [ "anyhow", + "cranelift-bitset", "cranelift-entity", "gimli", "indexmap", "log", "object", + "postcard", "serde", + "serde_derive", "target-lexicon", - "thiserror", + "wasm-encoder", "wasmparser", + "wasmprinter", "wasmtime-types", ] [[package]] -name = "wasmtime-jit" -version = "9.0.4" +name = "wasmtime-jit-icache-coherence" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2712eafe829778b426cad0e1769fef944898923dd29f0039e34e0d53ba72b234" +checksum = "d15de8429db996f0d17a4163a35eccc3f874cbfb50f29c379951ea1bbb39452e" dependencies = [ - "addr2line", "anyhow", - "bincode", "cfg-if", - "cpp_demangle", - "gimli", - "log", - "object", - "rustc-demangle", - "serde", - "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "windows-sys 0.48.0", + "libc", + "windows-sys", ] [[package]] -name = "wasmtime-jit-debug" -version = "9.0.4" +name = "wasmtime-slab" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65fb78eacf4a6e47260d8ef8cc81ea8ddb91397b2e848b3fb01567adebfe89b5" -dependencies = [ - "once_cell", -] +checksum = "1f68d38fa6b30c5e1fc7d608263062997306f79e577ebd197ddcd6b0f55d87d1" [[package]] -name = "wasmtime-jit-icache-coherence" -version = "9.0.4" +name = "wasmtime-types" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1364900b05f7d6008516121e8e62767ddb3e176bdf4c84dfa85da1734aeab79" +checksum = "6634e7079d9c5cfc81af8610ed59b488cc5b7f9777a2f4c1667a2565c2e45249" dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.48.0", + "anyhow", + "cranelift-entity", + "serde", + "serde_derive", + "smallvec", + "wasmparser", ] [[package]] -name = "wasmtime-runtime" -version = "9.0.4" +name = "wasmtime-versioned-export-macros" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a16ffe4de9ac9669175c0ea5c6c51ffc596dfb49320aaa6f6c57eff58cef069" +checksum = "3850e3511d6c7f11a72d571890b0ed5f6204681f7f050b9de2690e7f13123fed" dependencies = [ - "anyhow", - "cc", - "cfg-if", - "indexmap", - "libc", - "log", - "mach", - "memfd", - "memoffset", - "paste", - "rand", - "rustix 0.37.27", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", - "windows-sys 0.48.0", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "wasmtime-types" -version = "9.0.4" +name = "wasmtime-wit-bindgen" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19961c9a3b04d5e766875a5c467f6f5d693f508b3e81f8dc4a1444aa94f041c9" +checksum = "3cb331ac7ed1d5ba49cddcdb6b11973752a857148858bb308777d2fc5584121f" dependencies = [ - "cranelift-entity", - "serde", - "thiserror", - "wasmparser", + "anyhow", + "heck", + "indexmap", + "wit-parser", ] [[package]] @@ -1011,16 +916,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", + "windows-sys", ] [[package]] @@ -1029,22 +925,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-targets", ] [[package]] @@ -1053,46 +934,28 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -1105,36 +968,18 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -1143,15 +988,27 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" -version = "0.48.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" +name = "wit-parser" +version = "0.215.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +checksum = "935a97eaffd57c3b413aa510f8f0b550a4a9fe7d59e79cd8b89a83dcb860321f" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser", +] [[package]] name = "zerocopy" diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 74b561763..8abf88812 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,8 +1,8 @@ [package] edition = "2021" name = "wasmtime-c-api-bazel" -version = "9.0.3" -rust-version = "1.66.0" +version = "24.0.0" +rust-version = "1.78.0" [lib] path = "fake_lib.rs" @@ -11,5 +11,7 @@ path = "fake_lib.rs" env_logger = "0.10" anyhow = "1.0" once_cell = "1.12" -wasmtime = {version = "9.0.3", default-features = false, features = ['cranelift']} -wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v9.0.3"} +log = {version = "0.4.8", default-features = false} +tracing = "0.1.26" +wasmtime = {version = "24.0.0", default-features = false, features = ['cranelift', 'runtime', 'gc', 'std']} +wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v24.0.0"} diff --git a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel deleted file mode 100644 index ff529c9e8..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.addr2line-0.19.0.bazel +++ /dev/null @@ -1,47 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "addr2line", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=addr2line", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.19.0", - deps = [ - "@cu__gimli-0.27.3//:gimli", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bazel b/bazel/cargo/wasmtime/remote/BUILD.bazel index 59ac51f8d..db793c6e6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bazel @@ -43,20 +43,32 @@ alias( tags = ["manual"], ) +alias( + name = "log", + actual = "@cu__log-0.4.22//:log", + tags = ["manual"], +) + alias( name = "once_cell", actual = "@cu__once_cell-1.19.0//:once_cell", tags = ["manual"], ) +alias( + name = "tracing", + actual = "@cu__tracing-0.1.40//:tracing", + tags = ["manual"], +) + alias( name = "wasmtime", - actual = "@cu__wasmtime-9.0.4//:wasmtime", + actual = "@cu__wasmtime-24.0.0//:wasmtime", tags = ["manual"], ) alias( name = "wasmtime-c-api-macros", - actual = "@cu__wasmtime-c-api-macros-0.0.0//:wasmtime_c_api_macros", + actual = "@cu__wasmtime-c-api-macros-24.0.0//:wasmtime_c_api_macros", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel deleted file mode 100644 index 2287a26f4..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel +++ /dev/null @@ -1,47 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "bincode", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=bincode", - "manual", - "noclippy", - "norustfmt", - ], - version = "1.3.3", - deps = [ - "@cu__serde-1.0.204//:serde", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel index cb8de7812..31767882b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel @@ -28,9 +28,81 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "std", - ], + crate_features = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "std", # aarch64-apple-darwin + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "std", # aarch64-apple-ios + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "std", # aarch64-apple-ios-sim + ], + "@rules_rust//rust/platform:aarch64-fuchsia": [ + "std", # aarch64-fuchsia + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "std", # aarch64-linux-android + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "std", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "std", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "std", # aarch64-unknown-nto-qnx710 + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "std", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "std", # armv7-linux-androideabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "std", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "std", # i686-apple-darwin + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "std", # i686-linux-android + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "std", # i686-unknown-freebsd + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "std", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "std", # powerpc-unknown-linux-gnu + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "std", # s390x-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "std", # x86_64-apple-darwin + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "std", # x86_64-apple-ios + ], + "@rules_rust//rust/platform:x86_64-fuchsia": [ + "std", # x86_64-fuchsia + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "std", # x86_64-linux-android + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "std", # x86_64-unknown-freebsd + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "std", # x86_64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "std", # x86_64-unknown-nixos-gnu + ], + "//conditions:default": [], + }), crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.7.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cc-1.1.7.bazel index 64ef363ba..14f88e535 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.6.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.7.bazel @@ -40,5 +40,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.1.6", + version = "1.1.7", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.cobs-0.2.3.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cobs-0.2.3.bazel index 52641b700..00da2e823 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec_macros-0.1.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cobs-0.2.3.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "tinyvec_macros", + name = "cobs", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -35,10 +35,10 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=tinyvec_macros", + "crate-name=cobs", "manual", "noclippy", "norustfmt", ], - version = "0.1.1", + version = "0.2.3", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel deleted file mode 100644 index b9f77aaaa..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel +++ /dev/null @@ -1,98 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "cpp_demangle", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=cpp_demangle", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.3.5", - deps = [ - "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__cpp_demangle-0.3.5//:build_script_build", - ], -) - -cargo_build_script( - name = "cpp_demangle_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_features = [ - "default", - "std", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=cpp_demangle", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.3.5", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":cpp_demangle_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.111.0.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.111.0.bazel index afd0429ad..a4651a993 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.111.0.bazel @@ -40,8 +40,8 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ - "@cu__cranelift-entity-0.96.4//:cranelift_entity", + "@cu__cranelift-entity-0.111.0//:cranelift_entity", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.111.0.bazel similarity index 82% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.111.0.bazel index 971ecd7d8..7d70417f0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.111.0.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "wasmtime_types", + name = "cranelift_bitset", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -28,23 +28,26 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "enable-serde", + ], crate_root = "src/lib.rs", edition = "2021", + proc_macro_deps = [ + "@cu__serde_derive-1.0.204//:serde_derive", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=wasmtime-types", + "crate-name=cranelift-bitset", "manual", "noclippy", "norustfmt", ], - version = "9.0.4", + version = "0.111.0", deps = [ - "@cu__cranelift-entity-0.96.4//:cranelift_entity", "@cu__serde-1.0.204//:serde", - "@cu__thiserror-1.0.63//:thiserror", - "@cu__wasmparser-0.103.0//:wasmparser", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.111.0.bazel similarity index 72% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.111.0.bazel index c4e2ce3a5..cb569892f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.111.0.bazel @@ -30,9 +30,10 @@ rust_library( ], ), crate_features = [ - "default", "gimli", + "host-arch", "std", + "trace-log", "unwind", ], crate_root = "src/lib.rs", @@ -47,20 +48,22 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ "@cu__bumpalo-3.16.0//:bumpalo", - "@cu__cranelift-bforest-0.96.4//:cranelift_bforest", - "@cu__cranelift-codegen-0.96.4//:build_script_build", - "@cu__cranelift-codegen-shared-0.96.4//:cranelift_codegen_shared", - "@cu__cranelift-control-0.96.4//:cranelift_control", - "@cu__cranelift-entity-0.96.4//:cranelift_entity", - "@cu__gimli-0.27.3//:gimli", - "@cu__hashbrown-0.13.2//:hashbrown", + "@cu__cranelift-bforest-0.111.0//:cranelift_bforest", + "@cu__cranelift-bitset-0.111.0//:cranelift_bitset", + "@cu__cranelift-codegen-0.111.0//:build_script_build", + "@cu__cranelift-codegen-shared-0.111.0//:cranelift_codegen_shared", + "@cu__cranelift-control-0.111.0//:cranelift_control", + "@cu__cranelift-entity-0.111.0//:cranelift_entity", + "@cu__gimli-0.29.0//:gimli", + "@cu__hashbrown-0.14.5//:hashbrown", "@cu__log-0.4.22//:log", - "@cu__regalloc2-0.8.1//:regalloc2", + "@cu__regalloc2-0.9.3//:regalloc2", + "@cu__rustc-hash-1.1.0//:rustc_hash", "@cu__smallvec-1.13.2//:smallvec", - "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__target-lexicon-0.12.16//:target_lexicon", ], ) @@ -71,9 +74,10 @@ cargo_build_script( allow_empty = False, ), crate_features = [ - "default", "gimli", + "host-arch", "std", + "trace-log", "unwind", ], crate_name = "build_script_build", @@ -101,11 +105,11 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", visibility = ["//visibility:private"], deps = [ - "@cu__cranelift-codegen-meta-0.96.4//:cranelift_codegen_meta", - "@cu__cranelift-isle-0.96.4//:cranelift_isle", + "@cu__cranelift-codegen-meta-0.111.0//:cranelift_codegen_meta", + "@cu__cranelift-isle-0.111.0//:cranelift_isle", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.111.0.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.111.0.bazel index 3a2667b6c..9ccb599a1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.111.0.bazel @@ -40,8 +40,8 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ - "@cu__cranelift-codegen-shared-0.96.4//:cranelift_codegen_shared", + "@cu__cranelift-codegen-shared-0.111.0//:cranelift_codegen_shared", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.111.0.bazel similarity index 97% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.111.0.bazel index ee874dbbe..8820100ff 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.111.0.bazel @@ -40,5 +40,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.111.0.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.111.0.bazel index 1acdd26f4..51c64ada2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.111.0.bazel @@ -28,6 +28,10 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + "fuzz", + ], crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ @@ -40,7 +44,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ "@cu__arbitrary-1.3.2//:arbitrary", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.111.0.bazel new file mode 100644 index 000000000..f59f1f47b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.111.0.bazel @@ -0,0 +1,56 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "cranelift_entity", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "enable-serde", + "serde", + "serde_derive", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__serde_derive-1.0.204//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cranelift-entity", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.111.0", + deps = [ + "@cu__cranelift-bitset-0.111.0//:cranelift_bitset", + "@cu__serde-1.0.204//:serde", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.111.0.bazel similarity index 89% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.111.0.bazel index e579e72ff..b1ae57324 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.111.0.bazel @@ -44,11 +44,11 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ - "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", + "@cu__cranelift-codegen-0.111.0//:cranelift_codegen", "@cu__log-0.4.22//:log", "@cu__smallvec-1.13.2//:smallvec", - "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__target-lexicon-0.12.16//:target_lexicon", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.111.0.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.111.0.bazel index 4565c4841..687a5406a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.111.0.bazel @@ -44,9 +44,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ - "@cu__cranelift-isle-0.96.4//:build_script_build", + "@cu__cranelift-isle-0.111.0//:build_script_build", ], ) @@ -84,7 +84,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.111.0.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.111.0.bazel index eab2947a2..c6b0a99f0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.111.0.bazel @@ -44,10 +44,10 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ - "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", - "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__cranelift-codegen-0.111.0//:cranelift_codegen", + "@cu__target-lexicon-0.12.16//:target_lexicon", ] + select({ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_arch = "s390x", target_arch = "riscv64")) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.111.0.bazel similarity index 77% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.111.0.bazel index e3ee293fd..38d4bb412 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.111.0.bazel @@ -44,15 +44,15 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.111.0", deps = [ - "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", - "@cu__cranelift-entity-0.96.4//:cranelift_entity", - "@cu__cranelift-frontend-0.96.4//:cranelift_frontend", - "@cu__itertools-0.10.5//:itertools", + "@cu__cranelift-codegen-0.111.0//:cranelift_codegen", + "@cu__cranelift-entity-0.111.0//:cranelift_entity", + "@cu__cranelift-frontend-0.111.0//:cranelift_frontend", + "@cu__itertools-0.12.1//:itertools", "@cu__log-0.4.22//:log", "@cu__smallvec-1.13.2//:smallvec", - "@cu__wasmparser-0.103.0//:wasmparser", - "@cu__wasmtime-types-9.0.4//:wasmtime_types", + "@cu__wasmparser-0.215.0//:wasmparser", + "@cu__wasmtime-types-24.0.0//:wasmtime_types", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel deleted file mode 100644 index 770421fd9..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.debugid-0.8.0.bazel +++ /dev/null @@ -1,47 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "debugid", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=debugid", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.8.0", - deps = [ - "@cu__uuid-1.10.0//:uuid", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.embedded-io-0.4.0.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.embedded-io-0.4.0.bazel index afbc39185..c9ef73301 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.12.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.embedded-io-0.4.0.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "hashbrown", + name = "embedded_io", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,7 +29,7 @@ rust_library( ], ), crate_features = [ - "raw", + "alloc", ], crate_root = "src/lib.rs", edition = "2021", @@ -38,10 +38,10 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=hashbrown", + "crate-name=embedded-io", "manual", "noclippy", "norustfmt", ], - version = "0.12.3", + version = "0.4.0", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel b/bazel/cargo/wasmtime/remote/BUILD.equivalent-1.0.1.bazel similarity index 92% rename from bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel rename to bazel/cargo/wasmtime/remote/BUILD.equivalent-1.0.1.bazel index dcb8e9d6a..c3be9a81d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-demangle-0.1.24.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.equivalent-1.0.1.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "rustc_demangle", + name = "equivalent", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -35,10 +35,10 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=rustc-demangle", + "crate-name=equivalent", "manual", "noclippy", "norustfmt", ], - version = "0.1.24", + version = "1.0.1", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.3.0.bazel similarity index 94% rename from bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.3.0.bazel index dc1e8ed17..b2bdbf6fc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.3.0.bazel @@ -28,9 +28,6 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "std", - ], crate_root = "src/lib.rs", edition = "2018", rustc_flags = [ @@ -43,5 +40,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.2.0", + version = "0.3.0", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel deleted file mode 100644 index bcbd8d053..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.fxhash-0.2.1.bazel +++ /dev/null @@ -1,47 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "fxhash", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=fxhash", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.2.1", - deps = [ - "@cu__byteorder-1.5.0//:byteorder", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel deleted file mode 100644 index cda329e87..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.getrandom-0.2.15.bazel +++ /dev/null @@ -1,127 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "getrandom", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=getrandom", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.2.15", - deps = [ - "@cu__cfg-if-1.0.0//:cfg_if", - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-fuchsia": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "@cu__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-fuchsia": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel deleted file mode 100644 index 730e42927..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.27.3.bazel +++ /dev/null @@ -1,58 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "gimli", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "fallible-iterator", - "indexmap", - "read", - "read-core", - "stable_deref_trait", - "std", - "write", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=gimli", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.27.3", - deps = [ - "@cu__fallible-iterator-0.2.0//:fallible_iterator", - "@cu__indexmap-1.9.3//:indexmap", - "@cu__stable_deref_trait-1.2.0//:stable_deref_trait", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.29.0.bazel similarity index 86% rename from bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel rename to bazel/cargo/wasmtime/remote/BUILD.gimli-0.29.0.bazel index b7d71a5eb..852f5bdee 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-normalization-0.1.23.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.29.0.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "unicode_normalization", + name = "gimli", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,7 +29,10 @@ rust_library( ], ), crate_features = [ + "read", + "read-core", "std", + "write", ], crate_root = "src/lib.rs", edition = "2018", @@ -38,13 +41,13 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=unicode-normalization", + "crate-name=gimli", "manual", "noclippy", "norustfmt", ], - version = "0.1.23", + version = "0.29.0", deps = [ - "@cu__tinyvec-1.8.0//:tinyvec", + "@cu__indexmap-2.3.0//:indexmap", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel index be9008e31..4bcf220d3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel @@ -32,7 +32,6 @@ rust_library( "ahash", "default", "inline-more", - "raw", ], crate_root = "src/lib.rs", edition = "2021", diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.14.5.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.14.5.bazel index 46fb0d85b..921bfbbea 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.96.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.14.5.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "cranelift_entity", + name = "hashbrown", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,7 +29,8 @@ rust_library( ], ), crate_features = [ - "enable-serde", + "ahash", + "raw", "serde", ], crate_root = "src/lib.rs", @@ -39,13 +40,14 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=cranelift-entity", + "crate-name=hashbrown", "manual", "noclippy", "norustfmt", ], - version = "0.96.4", + version = "0.14.5", deps = [ + "@cu__ahash-0.8.11//:ahash", "@cu__serde-1.0.204//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/bazel/cargo/wasmtime/remote/BUILD.heck-0.4.1.bazel similarity index 91% rename from bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.heck-0.4.1.bazel index 3eccac75f..5f94cda10 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.heck-0.4.1.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "wasi", + name = "heck", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -35,10 +35,10 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=wasi", + "crate-name=heck", "manual", "noclippy", "norustfmt", ], - version = "0.11.0+wasi-snapshot-preview1", + version = "0.4.1", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.id-arena-2.2.1.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.id-arena-2.2.1.bazel index 291ad98c6..1248a97fb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.autocfg-1.3.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.id-arena-2.2.1.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "autocfg", + name = "id_arena", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -35,10 +35,10 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=autocfg", + "crate-name=id-arena", "manual", "noclippy", "norustfmt", ], - version = "1.3.0", + version = "2.2.1", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.3.0.bazel similarity index 81% rename from bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.indexmap-2.3.0.bazel index 76739ff91..07d4be633 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.idna-0.5.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.3.0.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "idna", + name = "indexmap", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,25 +29,26 @@ rust_library( ], ), crate_features = [ - "alloc", "default", + "serde", "std", ], crate_root = "src/lib.rs", - edition = "2018", + edition = "2021", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=idna", + "crate-name=indexmap", "manual", "noclippy", "norustfmt", ], - version = "0.5.0", + version = "2.3.0", deps = [ - "@cu__unicode-bidi-0.3.15//:unicode_bidi", - "@cu__unicode-normalization-0.1.23//:unicode_normalization", + "@cu__equivalent-1.0.1//:equivalent", + "@cu__hashbrown-0.14.5//:hashbrown", + "@cu__serde-1.0.204//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel b/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel deleted file mode 100644 index a56d0f5ef..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.io-lifetimes-1.0.11.bazel +++ /dev/null @@ -1,205 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "io_lifetimes", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "close", - "hermit-abi", - "libc", - "windows-sys", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=io-lifetimes", - "manual", - "noclippy", - "norustfmt", - ], - version = "1.0.11", - deps = [ - "@cu__io-lifetimes-1.0.11//:build_script_build", - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:aarch64-fuchsia": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:thumbv7em-none-eabi": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:wasm32-unknown-unknown": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-fuchsia": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "@rules_rust//rust/platform:x86_64-unknown-none": [ - "@cu__libc-0.2.155//:libc", # cfg(not(windows)) - ], - "//conditions:default": [], - }), -) - -cargo_build_script( - name = "io-lifetimes_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_features = [ - "close", - "hermit-abi", - "libc", - "windows-sys", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=io-lifetimes", - "manual", - "noclippy", - "norustfmt", - ], - version = "1.0.11", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":io-lifetimes_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.12.1.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.itertools-0.12.1.bazel index 467ee0e92..6578e4624 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.12.1.bazel @@ -45,7 +45,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.10.5", + version = "0.12.1", deps = [ "@cu__either-1.13.0//:either", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel new file mode 100644 index 000000000..12f06a0c6 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "leb128", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=leb128", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.5", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel index a776bec66..07f451864 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel @@ -48,24 +48,12 @@ rust_library( "@rules_rust//rust/platform:aarch64-linux-android": [ "extra_traits", # aarch64-linux-android ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "extra_traits", # aarch64-unknown-linux-gnu - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "extra_traits", # aarch64-unknown-nixos-gnu - ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ "extra_traits", # aarch64-unknown-nto-qnx710 ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "extra_traits", # arm-unknown-linux-gnueabi - ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ "extra_traits", # armv7-linux-androideabi ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "extra_traits", # armv7-unknown-linux-gnueabi - ], "@rules_rust//rust/platform:i686-apple-darwin": [ "extra_traits", # i686-apple-darwin ], @@ -75,33 +63,12 @@ rust_library( "@rules_rust//rust/platform:i686-unknown-freebsd": [ "extra_traits", # i686-unknown-freebsd ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "extra_traits", # i686-unknown-linux-gnu - ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ "extra_traits", # powerpc-unknown-linux-gnu ], - "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ - "extra_traits", # riscv32imc-unknown-none-elf - ], - "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ - "extra_traits", # riscv64gc-unknown-none-elf - ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "extra_traits", # s390x-unknown-linux-gnu ], - "@rules_rust//rust/platform:thumbv7em-none-eabi": [ - "extra_traits", # thumbv7em-none-eabi - ], - "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ - "extra_traits", # thumbv8m.main-none-eabi - ], - "@rules_rust//rust/platform:wasm32-unknown-unknown": [ - "extra_traits", # wasm32-unknown-unknown - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "extra_traits", # wasm32-wasi - ], "@rules_rust//rust/platform:x86_64-apple-darwin": [ "extra_traits", # x86_64-apple-darwin ], @@ -117,15 +84,6 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ "extra_traits", # x86_64-unknown-freebsd ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "extra_traits", # x86_64-unknown-linux-gnu - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "extra_traits", # x86_64-unknown-nixos-gnu - ], - "@rules_rust//rust/platform:x86_64-unknown-none": [ - "extra_traits", # x86_64-unknown-none - ], "//conditions:default": [], }), crate_root = "src/lib.rs", @@ -171,24 +129,12 @@ cargo_build_script( "@rules_rust//rust/platform:aarch64-linux-android": [ "extra_traits", # aarch64-linux-android ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "extra_traits", # aarch64-unknown-linux-gnu - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "extra_traits", # aarch64-unknown-nixos-gnu - ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ "extra_traits", # aarch64-unknown-nto-qnx710 ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "extra_traits", # arm-unknown-linux-gnueabi - ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ "extra_traits", # armv7-linux-androideabi ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "extra_traits", # armv7-unknown-linux-gnueabi - ], "@rules_rust//rust/platform:i686-apple-darwin": [ "extra_traits", # i686-apple-darwin ], @@ -198,33 +144,12 @@ cargo_build_script( "@rules_rust//rust/platform:i686-unknown-freebsd": [ "extra_traits", # i686-unknown-freebsd ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "extra_traits", # i686-unknown-linux-gnu - ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ "extra_traits", # powerpc-unknown-linux-gnu ], - "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ - "extra_traits", # riscv32imc-unknown-none-elf - ], - "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ - "extra_traits", # riscv64gc-unknown-none-elf - ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "extra_traits", # s390x-unknown-linux-gnu ], - "@rules_rust//rust/platform:thumbv7em-none-eabi": [ - "extra_traits", # thumbv7em-none-eabi - ], - "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ - "extra_traits", # thumbv8m.main-none-eabi - ], - "@rules_rust//rust/platform:wasm32-unknown-unknown": [ - "extra_traits", # wasm32-unknown-unknown - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "extra_traits", # wasm32-wasi - ], "@rules_rust//rust/platform:x86_64-apple-darwin": [ "extra_traits", # x86_64-apple-darwin ], @@ -240,15 +165,6 @@ cargo_build_script( "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ "extra_traits", # x86_64-unknown-freebsd ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "extra_traits", # x86_64-unknown-linux-gnu - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "extra_traits", # x86_64-unknown-nixos-gnu - ], - "@rules_rust//rust/platform:x86_64-unknown-none": [ - "extra_traits", # x86_64-unknown-none - ], "//conditions:default": [], }), crate_name = "build_script_build", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.libm-0.2.8.bazel similarity index 85% rename from bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.libm-0.2.8.bazel index b7019c836..cf70de29c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_msvc-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libm-0.2.8.bazel @@ -12,7 +12,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "windows_i686_msvc", + name = "libm", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,6 +29,9 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + ], crate_root = "src/lib.rs", edition = "2018", rustc_flags = [ @@ -36,23 +39,26 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=windows_i686_msvc", + "crate-name=libm", "manual", "noclippy", "norustfmt", ], - version = "0.48.5", + version = "0.2.8", deps = [ - "@cu__windows_i686_msvc-0.48.5//:build_script_build", + "@cu__libm-0.2.8//:build_script_build", ], ) cargo_build_script( - name = "windows_i686_msvc_bs", + name = "libm_bs", srcs = glob( include = ["**/*.rs"], allow_empty = False, ), + crate_features = [ + "default", + ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( @@ -73,17 +79,17 @@ cargo_build_script( ], tags = [ "cargo-bazel", - "crate-name=windows_i686_msvc", + "crate-name=libm", "manual", "noclippy", "norustfmt", ], - version = "0.48.5", + version = "0.2.8", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":windows_i686_msvc_bs", + actual = ":libm_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel deleted file mode 100644 index 97edbe88e..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.linux-raw-sys-0.3.8.bazel +++ /dev/null @@ -1,72 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "linux_raw_sys", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "general", - "ioctl", - "no_std", - ] + select({ - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "errno", # aarch64-unknown-linux-gnu - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "errno", # aarch64-unknown-nixos-gnu - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "errno", # arm-unknown-linux-gnueabi - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "errno", # armv7-unknown-linux-gnueabi - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "errno", # i686-unknown-linux-gnu - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "errno", # x86_64-unknown-linux-gnu - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "errno", # x86_64-unknown-nixos-gnu - ], - "//conditions:default": [], - }), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=linux-raw-sys", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.3.8", -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach2-0.4.2.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.mach2-0.4.2.bazel index 287bf9f10..6c5f412cc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach2-0.4.2.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "mach", + name = "mach2", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -38,12 +38,12 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=mach", + "crate-name=mach2", "manual", "noclippy", "norustfmt", ], - version = "0.3.2", + version = "0.4.2", deps = select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "macos", target_os = "ios")) diff --git a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel deleted file mode 100644 index bbe30d36d..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.memoffset-0.8.0.bazel +++ /dev/null @@ -1,98 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "memoffset", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=memoffset", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.8.0", - deps = [ - "@cu__memoffset-0.8.0//:build_script_build", - ], -) - -cargo_build_script( - name = "memoffset_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_features = [ - "default", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=memoffset", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.8.0", - visibility = ["//visibility:private"], - deps = [ - "@cu__autocfg-1.3.0//:autocfg", - ], -) - -alias( - name = "build_script_build", - actual = ":memoffset_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.36.2.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.object-0.36.2.bazel index 1ed53c2aa..11133ca1e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.30.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.36.2.bazel @@ -30,10 +30,7 @@ rust_library( ), crate_features = [ "coff", - "crc32fast", "elf", - "hashbrown", - "indexmap", "macho", "pe", "read_core", @@ -41,6 +38,7 @@ rust_library( "write", "write_core", "write_std", + "xcoff", ], crate_root = "src/lib.rs", edition = "2018", @@ -54,11 +52,11 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.30.4", + version = "0.36.2", deps = [ "@cu__crc32fast-1.4.2//:crc32fast", - "@cu__hashbrown-0.13.2//:hashbrown", - "@cu__indexmap-1.9.3//:indexmap", + "@cu__hashbrown-0.14.5//:hashbrown", + "@cu__indexmap-2.3.0//:indexmap", "@cu__memchr-2.7.4//:memchr", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel deleted file mode 100644 index abd37dbdb..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.percent-encoding-2.3.1.bazel +++ /dev/null @@ -1,49 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "percent_encoding", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "alloc", - "default", - "std", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=percent-encoding", - "manual", - "noclippy", - "norustfmt", - ], - version = "2.3.1", -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.pin-project-lite-0.2.14.bazel b/bazel/cargo/wasmtime/remote/BUILD.pin-project-lite-0.2.14.bazel new file mode 100644 index 000000000..65aba34bd --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.pin-project-lite-0.2.14.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "pin_project_lite", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=pin-project-lite", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.14", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.postcard-1.0.8.bazel similarity index 82% rename from bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.postcard-1.0.8.bazel index ef4c698ca..d3af18cb4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tinyvec-1.8.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.postcard-1.0.8.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "tinyvec", + name = "postcard", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -30,8 +30,8 @@ rust_library( ), crate_features = [ "alloc", - "default", - "tinyvec_macros", + "embedded-io", + "use-std", ], crate_root = "src/lib.rs", edition = "2018", @@ -40,13 +40,15 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=tinyvec", + "crate-name=postcard", "manual", "noclippy", "norustfmt", ], - version = "1.8.0", + version = "1.0.8", deps = [ - "@cu__tinyvec_macros-0.1.1//:tinyvec_macros", + "@cu__cobs-0.2.3//:cobs", + "@cu__embedded-io-0.4.0//:embedded_io", + "@cu__serde-1.0.204//:serde", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel b/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel deleted file mode 100644 index 8c821bdcd..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.ppv-lite86-0.2.17.bazel +++ /dev/null @@ -1,48 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "ppv_lite86", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "simd", - "std", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=ppv-lite86", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.2.17", -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel index f7cdddb5c..ec02d2243 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -81,7 +81,7 @@ cargo_build_script( version = "0.1.21", visibility = ["//visibility:private"], deps = [ - "@cu__cc-1.1.6//:cc", + "@cu__cc-1.1.7//:cc", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel deleted file mode 100644 index b9067b104..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.rand-0.8.5.bazel +++ /dev/null @@ -1,132 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "rand", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "alloc", - "default", - "getrandom", - "libc", - "rand_chacha", - "small_rng", - "std", - "std_rng", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=rand", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.8.5", - deps = [ - "@cu__rand_chacha-0.3.1//:rand_chacha", - "@cu__rand_core-0.6.4//:rand_core", - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-fuchsia": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-fuchsia": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel deleted file mode 100644 index 90a0195e3..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_chacha-0.3.1.bazel +++ /dev/null @@ -1,51 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "rand_chacha", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "std", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=rand_chacha", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.3.1", - deps = [ - "@cu__ppv-lite86-0.2.17//:ppv_lite86", - "@cu__rand_core-0.6.4//:rand_core", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.9.3.bazel similarity index 96% rename from bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.9.3.bazel index b31ecd423..cbd3ed5fd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.8.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.9.3.bazel @@ -32,6 +32,7 @@ rust_library( "checker", "default", "std", + "trace-log", ], crate_root = "src/lib.rs", edition = "2018", @@ -45,7 +46,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.8.1", + version = "0.9.3", deps = [ "@cu__hashbrown-0.13.2//:hashbrown", "@cu__log-0.4.22//:log", diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel index 7bcaa5a87..4892ae611 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustc-hash-1.1.0.bazel @@ -28,6 +28,10 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + "std", + ], crate_root = "src/lib.rs", edition = "2015", rustc_flags = [ diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel deleted file mode 100644 index 01df1d783..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.37.27.bazel +++ /dev/null @@ -1,335 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "rustix", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - aliases = select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:aarch64-apple-ios": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:aarch64-apple-ios-sim": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:aarch64-fuchsia": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:aarch64-linux-android": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:aarch64-pc-windows-msvc": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) - }, - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:armv7-linux-androideabi": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:i686-apple-darwin": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:i686-linux-android": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:i686-pc-windows-msvc": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) - }, - "@rules_rust//rust/platform:i686-unknown-freebsd": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:thumbv7em-none-eabi": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:thumbv8m.main-none-eabi": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:wasm32-unknown-unknown": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:wasm32-wasi": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:x86_64-apple-darwin": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:x86_64-apple-ios": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:x86_64-fuchsia": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:x86_64-linux-android": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(windows) - }, - "@rules_rust//rust/platform:x86_64-unknown-freebsd": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "@rules_rust//rust/platform:x86_64-unknown-none": { - "@cu__errno-0.3.9//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - }, - "//conditions:default": {}, - }), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "default", - "io-lifetimes", - "libc", - "mm", - "std", - "use-libc-auxv", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=rustix", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.37.27", - deps = [ - "@cu__bitflags-1.3.2//:bitflags", - "@cu__io-lifetimes-1.0.11//:io_lifetimes", - "@cu__rustix-0.37.27//:build_script_build", - ] + select({ - "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:aarch64-fuchsia": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__errno-0.3.9//:errno", # cfg(windows) - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ], - "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ], - "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ], - "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ], - "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__errno-0.3.9//:errno", # cfg(windows) - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ], - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:thumbv7em-none-eabi": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:wasm32-unknown-unknown": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:wasm32-wasi": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:x86_64-fuchsia": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__errno-0.3.9//:errno", # cfg(windows) - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) - ], - "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - "@cu__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))) - ], - "@rules_rust//rust/platform:x86_64-unknown-none": [ - "@cu__errno-0.3.9//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - "@cu__libc-0.2.155//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))) - ], - "//conditions:default": [], - }), -) - -cargo_build_script( - name = "rustix_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_features = [ - "default", - "io-lifetimes", - "libc", - "mm", - "std", - "use-libc-auxv", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=rustix", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.37.27", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":rustix_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel index ffe2b64ba..8cde617b3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel @@ -116,11 +116,40 @@ rust_library( crate_features = [ "alloc", "default", - "fs", "libc-extra-traits", + "mm", "std", "use-libc-auxv", - ], + ] + select({ + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "fs", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "fs", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "fs", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "fs", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "fs", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "fs", # powerpc-unknown-linux-gnu + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "fs", # s390x-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "fs", # x86_64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "fs", # x86_64-unknown-nixos-gnu + ], + "//conditions:default": [], + }), crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ @@ -286,11 +315,40 @@ cargo_build_script( crate_features = [ "alloc", "default", - "fs", "libc-extra-traits", + "mm", "std", "use-libc-auxv", - ], + ] + select({ + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "fs", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "fs", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "fs", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "fs", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "fs", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "fs", # powerpc-unknown-linux-gnu + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "fs", # s390x-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "fs", # x86_64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "fs", # x86_64-unknown-nixos-gnu + ], + "//conditions:default": [], + }), crate_name = "build_script_build", crate_root = "build.rs", data = glob( diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.semver-1.0.23.bazel similarity index 86% rename from bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel rename to bazel/cargo/wasmtime/remote/BUILD.semver-1.0.23.bazel index 4d3e79f47..cb1d7f86c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_i686_gnu-0.48.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.semver-1.0.23.bazel @@ -12,7 +12,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "windows_i686_gnu", + name = "semver", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -36,19 +36,19 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=windows_i686_gnu", + "crate-name=semver", "manual", "noclippy", "norustfmt", ], - version = "0.48.5", + version = "1.0.23", deps = [ - "@cu__windows_i686_gnu-0.48.5//:build_script_build", + "@cu__semver-1.0.23//:build_script_build", ], ) cargo_build_script( - name = "windows_i686_gnu_bs", + name = "semver_bs", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -73,17 +73,17 @@ cargo_build_script( ], tags = [ "cargo-bazel", - "crate-name=windows_i686_gnu", + "crate-name=semver", "manual", "noclippy", "norustfmt", ], - version = "0.48.5", + version = "1.0.23", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":windows_i686_gnu_bs", + actual = ":semver_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel index a71502593..7e417ffd9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel @@ -30,7 +30,7 @@ rust_library( ], ), crate_features = [ - "default", + "alloc", "derive", "serde_derive", "std", @@ -63,7 +63,7 @@ cargo_build_script( allow_empty = False, ), crate_features = [ - "default", + "alloc", "derive", "serde_derive", "std", diff --git a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel index 9d19ca094..108736275 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde_json-1.0.120.bazel @@ -29,10 +29,6 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "default", - "std", - ], crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ @@ -60,10 +56,6 @@ cargo_build_script( include = ["**/*.rs"], allow_empty = False, ), - crate_features = [ - "default", - "std", - ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( diff --git a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel index f078ae453..d6bcdee92 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel @@ -29,6 +29,7 @@ rust_library( ], ), crate_features = [ + "serde", "union", ], crate_root = "src/lib.rs", @@ -44,4 +45,7 @@ rust_library( "norustfmt", ], version = "1.13.2", + deps = [ + "@cu__serde-1.0.204//:serde", + ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.sptr-0.3.2.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel rename to bazel/cargo/wasmtime/remote/BUILD.sptr-0.3.2.bazel index e8fde40cb..e4da3ae80 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.sptr-0.3.2.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "bitflags", + name = "sptr", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -38,10 +38,10 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=bitflags", + "crate-name=sptr", "manual", "noclippy", "norustfmt", ], - version = "1.3.2", + version = "0.3.2", ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel index 1555e8f62..3bce00c61 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.stable_deref_trait-1.2.0.bazel @@ -28,10 +28,6 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "alloc", - "std", - ], crate_root = "src/lib.rs", edition = "2015", rustc_flags = [ diff --git a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel index 0d8dd09e2..acacb26fd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel @@ -32,9 +32,12 @@ rust_library( "clone-impls", "default", "derive", + "extra-traits", + "full", "parsing", "printing", "proc-macro", + "visit-mut", ], crate_root = "src/lib.rs", edition = "2021", diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.16.bazel similarity index 93% rename from bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel rename to bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.16.bazel index 475bad918..200965695 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.16.bazel @@ -30,7 +30,7 @@ rust_library( ], ), crate_features = [ - "std", + "default", ], crate_root = "src/lib.rs", edition = "2018", @@ -44,9 +44,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.12.15", + version = "0.12.16", deps = [ - "@cu__target-lexicon-0.12.15//:build_script_build", + "@cu__target-lexicon-0.12.16//:build_script_build", ], ) @@ -57,7 +57,7 @@ cargo_build_script( allow_empty = False, ), crate_features = [ - "std", + "default", ], crate_name = "build_script_build", crate_root = "build.rs", @@ -84,7 +84,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.12.15", + version = "0.12.16", visibility = ["//visibility:private"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.tracing-0.1.40.bazel similarity index 77% rename from bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel rename to bazel/cargo/wasmtime/remote/BUILD.tracing-0.1.40.bazel index 4a84a5c66..e8bbf2590 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.form_urlencoded-1.2.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tracing-0.1.40.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "form_urlencoded", + name = "tracing", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,24 +29,29 @@ rust_library( ], ), crate_features = [ - "alloc", + "attributes", "default", "std", + "tracing-attributes", ], crate_root = "src/lib.rs", edition = "2018", + proc_macro_deps = [ + "@cu__tracing-attributes-0.1.27//:tracing_attributes", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=form_urlencoded", + "crate-name=tracing", "manual", "noclippy", "norustfmt", ], - version = "1.2.1", + version = "0.1.40", deps = [ - "@cu__percent-encoding-2.3.1//:percent_encoding", + "@cu__pin-project-lite-0.2.14//:pin_project_lite", + "@cu__tracing-core-0.1.32//:tracing_core", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.tracing-attributes-0.1.27.bazel similarity index 77% rename from bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.tracing-attributes-0.1.27.bazel index b89c60f80..8dc144d30 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rand_core-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tracing-attributes-0.1.27.bazel @@ -6,12 +6,12 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//rust:defs.bzl", "rust_library") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) -rust_library( - name = "rand_core", +rust_proc_macro( + name = "tracing_attributes", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -28,11 +28,6 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "alloc", - "getrandom", - "std", - ], crate_root = "src/lib.rs", edition = "2018", rustc_flags = [ @@ -40,13 +35,15 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=rand_core", + "crate-name=tracing-attributes", "manual", "noclippy", "norustfmt", ], - version = "0.6.4", + version = "0.1.27", deps = [ - "@cu__getrandom-0.2.15//:getrandom", + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__syn-2.0.72//:syn", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.tracing-core-0.1.32.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.tracing-core-0.1.32.bazel index fdc0e6aa4..cd5b7378b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-debug-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tracing-core-0.1.32.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "wasmtime_jit_debug", + name = "tracing_core", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,22 +29,22 @@ rust_library( ], ), crate_features = [ - "gdb_jit_int", "once_cell", + "std", ], crate_root = "src/lib.rs", - edition = "2021", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=wasmtime-jit-debug", + "crate-name=tracing-core", "manual", "noclippy", "norustfmt", ], - version = "9.0.4", + version = "0.1.32", deps = [ "@cu__once_cell-1.19.0//:once_cell", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel deleted file mode 100644 index a48d6d3d8..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-bidi-0.3.15.bazel +++ /dev/null @@ -1,48 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "unicode_bidi", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "hardcoded-data", - "std", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=unicode-bidi", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.3.15", -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.4.bazel new file mode 100644 index 000000000..a8b5dda0b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.4.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "unicode_xid", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=unicode-xid", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.4", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel deleted file mode 100644 index cdbc74f57..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.url-2.5.2.bazel +++ /dev/null @@ -1,52 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "url", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=url", - "manual", - "noclippy", - "norustfmt", - ], - version = "2.5.2", - deps = [ - "@cu__form_urlencoded-1.2.1//:form_urlencoded", - "@cu__idna-0.5.0//:idna", - "@cu__percent-encoding-2.3.1//:percent_encoding", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel deleted file mode 100644 index 747c240ff..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.uuid-1.10.0.bazel +++ /dev/null @@ -1,48 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "uuid", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=uuid", - "manual", - "noclippy", - "norustfmt", - ], - version = "1.10.0", -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.215.0.bazel similarity index 88% rename from bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.215.0.bazel index a2e358ed0..e24ef2076 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.byteorder-1.5.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.215.0.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "byteorder", + name = "wasm_encoder", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -28,10 +28,6 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "default", - "std", - ], crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ @@ -39,10 +35,13 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=byteorder", + "crate-name=wasm-encoder", "manual", "noclippy", "norustfmt", ], - version = "1.5.0", + version = "0.215.0", + deps = [ + "@cu__leb128-0.2.5//:leb128", + ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel deleted file mode 100644 index 16aa1860f..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.103.0.bazel +++ /dev/null @@ -1,48 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "wasmparser", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=wasmparser", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.103.0", - deps = [ - "@cu__indexmap-1.9.3//:indexmap", - "@cu__url-2.5.2//:url", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.215.0.bazel similarity index 77% rename from bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.215.0.bazel index fe14db14b..3f3d22eb9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fxprof-processed-profile-0.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.215.0.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "fxprof_processed_profile", + name = "wasmparser", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -28,6 +28,11 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "serde", + "std", + "validate", + ], crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ @@ -35,17 +40,18 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=fxprof-processed-profile", + "crate-name=wasmparser", "manual", "noclippy", "norustfmt", ], - version = "0.6.0", + version = "0.215.0", deps = [ + "@cu__ahash-0.8.11//:ahash", "@cu__bitflags-2.6.0//:bitflags", - "@cu__debugid-0.8.0//:debugid", - "@cu__fxhash-0.2.1//:fxhash", + "@cu__hashbrown-0.14.5//:hashbrown", + "@cu__indexmap-2.3.0//:indexmap", + "@cu__semver-1.0.23//:semver", "@cu__serde-1.0.204//:serde", - "@cu__serde_json-1.0.120//:serde_json", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel new file mode 100644 index 000000000..5ee382b0f --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "wasmprinter", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmprinter", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.215.0", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__termcolor-1.4.1//:termcolor", + "@cu__wasmparser-0.215.0//:wasmparser", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-24.0.0.bazel similarity index 50% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-24.0.0.bazel index 0e699d624..1f77ab476 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-runtime-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-24.0.0.bazel @@ -12,7 +12,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "wasmtime_runtime", + name = "wasmtime", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,130 +29,165 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "cranelift", + "gc", + "runtime", + "std", + ], crate_root = "src/lib.rs", edition = "2021", proc_macro_deps = [ "@cu__paste-1.0.15//:paste", + "@cu__serde_derive-1.0.204//:serde_derive", + "@cu__wasmtime-versioned-export-macros-24.0.0//:wasmtime_versioned_export_macros", ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=wasmtime-runtime", + "crate-name=wasmtime", "manual", "noclippy", "norustfmt", ], - version = "9.0.4", + version = "24.0.0", deps = [ "@cu__anyhow-1.0.86//:anyhow", + "@cu__bitflags-2.6.0//:bitflags", + "@cu__bumpalo-3.16.0//:bumpalo", "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__indexmap-1.9.3//:indexmap", + "@cu__hashbrown-0.14.5//:hashbrown", + "@cu__indexmap-2.3.0//:indexmap", "@cu__libc-0.2.155//:libc", + "@cu__libm-0.2.8//:libm", "@cu__log-0.4.22//:log", - "@cu__memfd-0.6.4//:memfd", - "@cu__memoffset-0.8.0//:memoffset", - "@cu__rand-0.8.5//:rand", - "@cu__wasmtime-asm-macros-9.0.4//:wasmtime_asm_macros", - "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", - "@cu__wasmtime-jit-debug-9.0.4//:wasmtime_jit_debug", - "@cu__wasmtime-runtime-9.0.4//:build_script_build", + "@cu__object-0.36.2//:object", + "@cu__once_cell-1.19.0//:once_cell", + "@cu__postcard-1.0.8//:postcard", + "@cu__serde-1.0.204//:serde", + "@cu__smallvec-1.13.2//:smallvec", + "@cu__sptr-0.3.2//:sptr", + "@cu__target-lexicon-0.12.16//:target_lexicon", + "@cu__wasmparser-0.215.0//:wasmparser", + "@cu__wasmtime-24.0.0//:build_script_build", + "@cu__wasmtime-asm-macros-24.0.0//:wasmtime_asm_macros", + "@cu__wasmtime-cranelift-24.0.0//:wasmtime_cranelift", + "@cu__wasmtime-environ-24.0.0//:wasmtime_environ", + "@cu__wasmtime-jit-icache-coherence-24.0.0//:wasmtime_jit_icache_coherence", + "@cu__wasmtime-slab-24.0.0//:wasmtime_slab", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__mach-0.3.2//:mach", # cfg(target_os = "macos") - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__mach2-0.4.2//:mach2", # cfg(target_os = "macos") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-fuchsia": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__mach-0.3.2//:mach", # cfg(target_os = "macos") - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__mach2-0.4.2//:mach2", # cfg(target_os = "macos") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__psm-0.1.21//:psm", # cfg(target_arch = "s390x") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@cu__mach-0.3.2//:mach", # cfg(target_os = "macos") - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__mach2-0.4.2//:mach2", # cfg(target_os = "macos") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-fuchsia": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__rustix-0.37.27//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") + "@cu__rustix-0.38.34//:rustix", # cfg(unix) ], "//conditions:default": [], }), ) cargo_build_script( - name = "wasmtime-runtime_bs", + name = "wasmtime_bs", srcs = glob( include = ["**/*.rs"], allow_empty = False, ), + crate_features = [ + "cranelift", + "gc", + "runtime", + "std", + ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( @@ -168,25 +203,28 @@ cargo_build_script( ], ), edition = "2021", + proc_macro_deps = [ + "@cu__wasmtime-versioned-export-macros-24.0.0//:wasmtime_versioned_export_macros", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=wasmtime-runtime", + "crate-name=wasmtime", "manual", "noclippy", "norustfmt", ], - version = "9.0.4", + version = "24.0.0", visibility = ["//visibility:private"], deps = [ - "@cu__cc-1.1.6//:cc", + "@cu__cc-1.1.7//:cc", ], ) alias( name = "build_script_build", - actual = ":wasmtime-runtime_bs", + actual = ":wasmtime_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel deleted file mode 100644 index c4ae22def..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-9.0.4.bazel +++ /dev/null @@ -1,128 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "wasmtime", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "cranelift", - ], - crate_root = "src/lib.rs", - edition = "2021", - proc_macro_deps = [ - "@cu__paste-1.0.15//:paste", - ], - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=wasmtime", - "manual", - "noclippy", - "norustfmt", - ], - version = "9.0.4", - deps = [ - "@cu__anyhow-1.0.86//:anyhow", - "@cu__bincode-1.3.3//:bincode", - "@cu__bumpalo-3.16.0//:bumpalo", - "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__fxprof-processed-profile-0.6.0//:fxprof_processed_profile", - "@cu__indexmap-1.9.3//:indexmap", - "@cu__libc-0.2.155//:libc", - "@cu__log-0.4.22//:log", - "@cu__object-0.30.4//:object", - "@cu__once_cell-1.19.0//:once_cell", - "@cu__psm-0.1.21//:psm", - "@cu__serde-1.0.204//:serde", - "@cu__serde_json-1.0.120//:serde_json", - "@cu__target-lexicon-0.12.15//:target_lexicon", - "@cu__wasmparser-0.103.0//:wasmparser", - "@cu__wasmtime-9.0.4//:build_script_build", - "@cu__wasmtime-cranelift-9.0.4//:wasmtime_cranelift", - "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", - "@cu__wasmtime-jit-9.0.4//:wasmtime_jit", - "@cu__wasmtime-runtime-9.0.4//:wasmtime_runtime", - ] + select({ - "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") - ], - "//conditions:default": [], - }), -) - -cargo_build_script( - name = "wasmtime_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_features = [ - "cranelift", - ], - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=wasmtime", - "manual", - "noclippy", - "norustfmt", - ], - version = "9.0.4", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":wasmtime_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-24.0.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-24.0.0.bazel index 0a6c533c4..d90c660db 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-24.0.0.bazel @@ -40,7 +40,7 @@ rust_library( "noclippy", "norustfmt", ], - version = "9.0.4", + version = "24.0.0", deps = [ "@cu__cfg-if-1.0.0//:cfg_if", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-24.0.0.bazel similarity index 98% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-24.0.0.bazel index f2f8f3489..735e52d30 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-0.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-24.0.0.bazel @@ -40,7 +40,7 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "0.0.0", + version = "24.0.0", deps = [ "@cu__proc-macro2-1.0.86//:proc_macro2", "@cu__quote-1.0.36//:quote", diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-macro-24.0.0.bazel similarity index 70% rename from bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-macro-24.0.0.bazel index bc6860693..5e50e4fc8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-1.9.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-macro-24.0.0.bazel @@ -7,12 +7,12 @@ ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) -rust_library( - name = "indexmap", +rust_proc_macro( + name = "wasmtime_component_macro", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -29,11 +29,6 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "serde", - "serde-1", - "std", - ], crate_root = "src/lib.rs", edition = "2021", rustc_flags = [ @@ -41,30 +36,30 @@ rust_library( ], tags = [ "cargo-bazel", - "crate-name=indexmap", + "crate-name=wasmtime-component-macro", "manual", "noclippy", "norustfmt", ], - version = "1.9.3", + version = "24.0.0", deps = [ - "@cu__hashbrown-0.12.3//:hashbrown", - "@cu__indexmap-1.9.3//:build_script_build", - "@cu__serde-1.0.204//:serde", + "@cu__anyhow-1.0.86//:anyhow", + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__syn-2.0.72//:syn", + "@cu__wasmtime-component-macro-24.0.0//:build_script_build", + "@cu__wasmtime-component-util-24.0.0//:wasmtime_component_util", + "@cu__wasmtime-wit-bindgen-24.0.0//:wasmtime_wit_bindgen", + "@cu__wit-parser-0.215.0//:wit_parser", ], ) cargo_build_script( - name = "indexmap_bs", + name = "wasmtime-component-macro_bs", srcs = glob( include = ["**/*.rs"], allow_empty = False, ), - crate_features = [ - "serde", - "serde-1", - "std", - ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( @@ -85,20 +80,17 @@ cargo_build_script( ], tags = [ "cargo-bazel", - "crate-name=indexmap", + "crate-name=wasmtime-component-macro", "manual", "noclippy", "norustfmt", ], - version = "1.9.3", + version = "24.0.0", visibility = ["//visibility:private"], - deps = [ - "@cu__autocfg-1.3.0//:autocfg", - ], ) alias( name = "build_script_build", - actual = ":indexmap_bs", + actual = ":wasmtime-component-macro_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-util-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-util-24.0.0.bazel new file mode 100644 index 000000000..9823cd36b --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-util-24.0.0.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "wasmtime_component_util", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-component-util", + "manual", + "noclippy", + "norustfmt", + ], + version = "24.0.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-24.0.0.bazel similarity index 60% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-24.0.0.bazel index 38458b9dc..4687bb7c8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-24.0.0.bazel @@ -28,8 +28,14 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "gc", + ], crate_root = "src/lib.rs", edition = "2021", + proc_macro_deps = [ + "@cu__wasmtime-versioned-export-macros-24.0.0//:wasmtime_versioned_export_macros", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -40,22 +46,22 @@ rust_library( "noclippy", "norustfmt", ], - version = "9.0.4", + version = "24.0.0", deps = [ "@cu__anyhow-1.0.86//:anyhow", - "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", - "@cu__cranelift-control-0.96.4//:cranelift_control", - "@cu__cranelift-entity-0.96.4//:cranelift_entity", - "@cu__cranelift-frontend-0.96.4//:cranelift_frontend", - "@cu__cranelift-native-0.96.4//:cranelift_native", - "@cu__cranelift-wasm-0.96.4//:cranelift_wasm", - "@cu__gimli-0.27.3//:gimli", + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__cranelift-codegen-0.111.0//:cranelift_codegen", + "@cu__cranelift-control-0.111.0//:cranelift_control", + "@cu__cranelift-entity-0.111.0//:cranelift_entity", + "@cu__cranelift-frontend-0.111.0//:cranelift_frontend", + "@cu__cranelift-native-0.111.0//:cranelift_native", + "@cu__cranelift-wasm-0.111.0//:cranelift_wasm", + "@cu__gimli-0.29.0//:gimli", "@cu__log-0.4.22//:log", - "@cu__object-0.30.4//:object", - "@cu__target-lexicon-0.12.15//:target_lexicon", + "@cu__object-0.36.2//:object", + "@cu__target-lexicon-0.12.16//:target_lexicon", "@cu__thiserror-1.0.63//:thiserror", - "@cu__wasmparser-0.103.0//:wasmparser", - "@cu__wasmtime-cranelift-shared-9.0.4//:wasmtime_cranelift_shared", - "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", + "@cu__wasmparser-0.215.0//:wasmparser", + "@cu__wasmtime-environ-24.0.0//:wasmtime_environ", ], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel deleted file mode 100644 index f588a1bb2..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-shared-9.0.4.bazel +++ /dev/null @@ -1,54 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "wasmtime_cranelift_shared", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=wasmtime-cranelift-shared", - "manual", - "noclippy", - "norustfmt", - ], - version = "9.0.4", - deps = [ - "@cu__anyhow-1.0.86//:anyhow", - "@cu__cranelift-codegen-0.96.4//:cranelift_codegen", - "@cu__cranelift-control-0.96.4//:cranelift_control", - "@cu__cranelift-native-0.96.4//:cranelift_native", - "@cu__gimli-0.27.3//:gimli", - "@cu__object-0.30.4//:object", - "@cu__target-lexicon-0.12.15//:target_lexicon", - "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-24.0.0.bazel new file mode 100644 index 000000000..879839848 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-24.0.0.bazel @@ -0,0 +1,68 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "wasmtime_environ", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "compile", + "gc", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__serde_derive-1.0.204//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-environ", + "manual", + "noclippy", + "norustfmt", + ], + version = "24.0.0", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__cranelift-bitset-0.111.0//:cranelift_bitset", + "@cu__cranelift-entity-0.111.0//:cranelift_entity", + "@cu__gimli-0.29.0//:gimli", + "@cu__indexmap-2.3.0//:indexmap", + "@cu__log-0.4.22//:log", + "@cu__object-0.36.2//:object", + "@cu__postcard-1.0.8//:postcard", + "@cu__serde-1.0.204//:serde", + "@cu__target-lexicon-0.12.16//:target_lexicon", + "@cu__wasm-encoder-0.215.0//:wasm_encoder", + "@cu__wasmparser-0.215.0//:wasmparser", + "@cu__wasmprinter-0.215.0//:wasmprinter", + "@cu__wasmtime-types-24.0.0//:wasmtime_types", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel deleted file mode 100644 index d8ad49538..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-9.0.4.bazel +++ /dev/null @@ -1,71 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "wasmtime_jit", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2021", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=wasmtime-jit", - "manual", - "noclippy", - "norustfmt", - ], - version = "9.0.4", - deps = [ - "@cu__addr2line-0.19.0//:addr2line", - "@cu__anyhow-1.0.86//:anyhow", - "@cu__bincode-1.3.3//:bincode", - "@cu__cfg-if-1.0.0//:cfg_if", - "@cu__cpp_demangle-0.3.5//:cpp_demangle", - "@cu__gimli-0.27.3//:gimli", - "@cu__log-0.4.22//:log", - "@cu__object-0.30.4//:object", - "@cu__rustc-demangle-0.1.24//:rustc_demangle", - "@cu__serde-1.0.204//:serde", - "@cu__target-lexicon-0.12.15//:target_lexicon", - "@cu__wasmtime-environ-9.0.4//:wasmtime_environ", - "@cu__wasmtime-jit-icache-coherence-9.0.4//:wasmtime_jit_icache_coherence", - "@cu__wasmtime-runtime-9.0.4//:wasmtime_runtime", - ] + select({ - "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel similarity index 95% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel index fe0d52a76..a1c3e8bdd 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel @@ -40,8 +40,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "9.0.4", + version = "24.0.0", deps = [ + "@cu__anyhow-1.0.86//:anyhow", "@cu__cfg-if-1.0.0//:cfg_if", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ @@ -51,7 +52,7 @@ rust_library( "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) ], "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) @@ -75,7 +76,7 @@ rust_library( "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) @@ -96,7 +97,7 @@ rust_library( "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows-sys-0.48.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ "@cu__libc-0.2.155//:libc", # cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android")) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-slab-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-slab-24.0.0.bazel new file mode 100644 index 000000000..6a2147b54 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-slab-24.0.0.bazel @@ -0,0 +1,44 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "wasmtime_slab", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-slab", + "manual", + "noclippy", + "norustfmt", + ], + version = "24.0.0", +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-24.0.0.bazel new file mode 100644 index 000000000..4305c4a59 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-24.0.0.bazel @@ -0,0 +1,57 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "wasmtime_types", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__serde_derive-1.0.204//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-types", + "manual", + "noclippy", + "norustfmt", + ], + version = "24.0.0", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__cranelift-entity-0.111.0//:cranelift_entity", + "@cu__serde-1.0.204//:serde", + "@cu__smallvec-1.13.2//:smallvec", + "@cu__wasmparser-0.215.0//:wasmparser", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-versioned-export-macros-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-versioned-export-macros-24.0.0.bazel new file mode 100644 index 000000000..27dcf699a --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-versioned-export-macros-24.0.0.bazel @@ -0,0 +1,49 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +rust_proc_macro( + name = "wasmtime_versioned_export_macros", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-versioned-export-macros", + "manual", + "noclippy", + "norustfmt", + ], + version = "24.0.0", + deps = [ + "@cu__proc-macro2-1.0.86//:proc_macro2", + "@cu__quote-1.0.36//:quote", + "@cu__syn-2.0.72//:syn", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-wit-bindgen-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-wit-bindgen-24.0.0.bazel new file mode 100644 index 000000000..53a8655c1 --- /dev/null +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-wit-bindgen-24.0.0.bazel @@ -0,0 +1,50 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//bazel/cargo/wasmtime:crates_vendor +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "wasmtime_wit_bindgen", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmtime-wit-bindgen", + "manual", + "noclippy", + "norustfmt", + ], + version = "24.0.0", + deps = [ + "@cu__anyhow-1.0.86//:anyhow", + "@cu__heck-0.4.1//:heck", + "@cu__indexmap-2.3.0//:indexmap", + "@cu__wit-parser-0.215.0//:wit_parser", + ], +) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel deleted file mode 100644 index 1b88e46d6..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.48.0.bazel +++ /dev/null @@ -1,62 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "windows_sys", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_features = [ - "Win32", - "Win32_Foundation", - "Win32_Security", - "Win32_Storage", - "Win32_Storage_FileSystem", - "Win32_System", - "Win32_System_Diagnostics", - "Win32_System_Diagnostics_Debug", - "Win32_System_Kernel", - "Win32_System_Memory", - "Win32_System_SystemInformation", - "Win32_System_Threading", - "default", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows-sys", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.0", - deps = [ - "@cu__windows-targets-0.48.5//:windows_targets", - ], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel index df8b32ead..eaa163139 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.windows-sys-0.52.0.bazel @@ -31,16 +31,15 @@ rust_library( crate_features = [ "Win32", "Win32_Foundation", - "Win32_NetworkManagement", - "Win32_NetworkManagement_IpHelper", - "Win32_Networking", - "Win32_Networking_WinSock", + "Win32_Security", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_Console", "Win32_System_Diagnostics", "Win32_System_Diagnostics_Debug", + "Win32_System_Kernel", + "Win32_System_Memory", "Win32_System_SystemInformation", "Win32_System_Threading", "default", diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel deleted file mode 100644 index 3d68ef606..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows-targets-0.48.5.bazel +++ /dev/null @@ -1,65 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "windows_targets", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows-targets", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - deps = select({ - "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows_aarch64_msvc-0.48.5//:windows_aarch64_msvc", # cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib))) - ], - "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows_i686_msvc-0.48.5//:windows_i686_msvc", # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib))) - ], - "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__windows_i686_gnu-0.48.5//:windows_i686_gnu", # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib))) - ], - "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows_x86_64_msvc-0.48.5//:windows_x86_64_msvc", # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib))) - ], - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__windows_x86_64_gnu-0.48.5//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) - ], - "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__windows_x86_64_gnu-0.48.5//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib))) - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel deleted file mode 100644 index 3ce452b92..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "windows_aarch64_gnullvm", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_aarch64_gnullvm", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - deps = [ - "@cu__windows_aarch64_gnullvm-0.48.5//:build_script_build", - ], -) - -cargo_build_script( - name = "windows_aarch64_gnullvm_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_aarch64_gnullvm", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":windows_aarch64_gnullvm_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel deleted file mode 100644 index ad39bf532..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "windows_aarch64_msvc", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_aarch64_msvc", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - deps = [ - "@cu__windows_aarch64_msvc-0.48.5//:build_script_build", - ], -) - -cargo_build_script( - name = "windows_aarch64_msvc_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_aarch64_msvc", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":windows_aarch64_msvc_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel deleted file mode 100644 index aab6efffc..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "windows_x86_64_gnu", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_x86_64_gnu", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - deps = [ - "@cu__windows_x86_64_gnu-0.48.5//:build_script_build", - ], -) - -cargo_build_script( - name = "windows_x86_64_gnu_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_x86_64_gnu", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":windows_x86_64_gnu_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel deleted file mode 100644 index a81216ee7..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "windows_x86_64_gnullvm", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_x86_64_gnullvm", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - deps = [ - "@cu__windows_x86_64_gnullvm-0.48.5//:build_script_build", - ], -) - -cargo_build_script( - name = "windows_x86_64_gnullvm_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_x86_64_gnullvm", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":windows_x86_64_gnullvm_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel deleted file mode 100644 index 8089f76b8..000000000 --- a/bazel/cargo/wasmtime/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel +++ /dev/null @@ -1,89 +0,0 @@ -############################################################################### -# @generated -# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To -# regenerate this file, run the following: -# -# bazel run @//bazel/cargo/wasmtime:crates_vendor -############################################################################### - -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "windows_x86_64_msvc", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - compile_data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_x86_64_msvc", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - deps = [ - "@cu__windows_x86_64_msvc-0.48.5//:build_script_build", - ], -) - -cargo_build_script( - name = "windows_x86_64_msvc_bs", - srcs = glob( - include = ["**/*.rs"], - allow_empty = False, - ), - crate_name = "build_script_build", - crate_root = "build.rs", - data = glob( - include = ["**"], - allow_empty = True, - exclude = [ - "**/* *", - ".tmp_git_root/**/*", - "BUILD", - "BUILD.bazel", - "WORKSPACE", - "WORKSPACE.bazel", - ], - ), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=windows_x86_64_msvc", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.48.5", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":windows_x86_64_msvc_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel b/bazel/cargo/wasmtime/remote/BUILD.wit-parser-0.215.0.bazel similarity index 71% rename from bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel rename to bazel/cargo/wasmtime/remote/BUILD.wit-parser-0.215.0.bazel index 933d5a71f..f2e6ad6a2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-9.0.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wit-parser-0.215.0.bazel @@ -11,7 +11,7 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) rust_library( - name = "wasmtime_environ", + name = "wit_parser", srcs = glob( include = ["**/*.rs"], allow_empty = False, @@ -30,28 +30,29 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + proc_macro_deps = [ + "@cu__serde_derive-1.0.204//:serde_derive", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=wasmtime-environ", + "crate-name=wit-parser", "manual", "noclippy", "norustfmt", ], - version = "9.0.4", + version = "0.215.0", deps = [ "@cu__anyhow-1.0.86//:anyhow", - "@cu__cranelift-entity-0.96.4//:cranelift_entity", - "@cu__gimli-0.27.3//:gimli", - "@cu__indexmap-1.9.3//:indexmap", + "@cu__id-arena-2.2.1//:id_arena", + "@cu__indexmap-2.3.0//:indexmap", "@cu__log-0.4.22//:log", - "@cu__object-0.30.4//:object", + "@cu__semver-1.0.23//:semver", "@cu__serde-1.0.204//:serde", - "@cu__target-lexicon-0.12.15//:target_lexicon", - "@cu__thiserror-1.0.63//:thiserror", - "@cu__wasmparser-0.103.0//:wasmparser", - "@cu__wasmtime-types-9.0.4//:wasmtime_types", + "@cu__serde_json-1.0.120//:serde_json", + "@cu__unicode-xid-0.2.4//:unicode_xid", + "@cu__wasmparser-0.215.0//:wasmparser", ], ) diff --git a/bazel/cargo/wasmtime/remote/defs.bzl b/bazel/cargo/wasmtime/remote/defs.bzl index fec029861..0f2656ce1 100644 --- a/bazel/cargo/wasmtime/remote/defs.bzl +++ b/bazel/cargo/wasmtime/remote/defs.bzl @@ -298,8 +298,10 @@ _NORMAL_DEPENDENCIES = { _COMMON_CONDITION: { "anyhow": Label("@cu__anyhow-1.0.86//:anyhow"), "env_logger": Label("@cu__env_logger-0.10.2//:env_logger"), + "log": Label("@cu__log-0.4.22//:log"), "once_cell": Label("@cu__once_cell-1.19.0//:once_cell"), - "wasmtime": Label("@cu__wasmtime-9.0.4//:wasmtime"), + "tracing": Label("@cu__tracing-0.1.40//:tracing"), + "wasmtime": Label("@cu__wasmtime-24.0.0//:wasmtime"), }, }, } @@ -324,7 +326,7 @@ _NORMAL_DEV_ALIASES = { _PROC_MACRO_DEPENDENCIES = { "bazel/cargo/wasmtime": { _COMMON_CONDITION: { - "wasmtime-c-api-macros": Label("@cu__wasmtime-c-api-macros-0.0.0//:wasmtime_c_api_macros"), + "wasmtime-c-api-macros": Label("@cu__wasmtime-c-api-macros-24.0.0//:wasmtime_c_api_macros"), }, }, } @@ -379,26 +381,22 @@ _CONDITIONS = { "armv7-linux-androideabi": ["@rules_rust//rust/platform:armv7-linux-androideabi"], "armv7-unknown-linux-gnueabi": ["@rules_rust//rust/platform:armv7-unknown-linux-gnueabi"], "cfg(all(any(target_arch = \"x86_64\", target_arch = \"arm64ec\"), target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], - "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"], "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"], - "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], - "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"], "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], - "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], - "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], "cfg(any())": [], "cfg(any(target_arch = \"s390x\", target_arch = \"riscv64\"))": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu"], "cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"freebsd\", target_os = \"android\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(any(target_os = \"macos\", target_os = \"ios\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios"], "cfg(any(unix, target_os = \"wasi\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(not(all(target_arch = \"arm\", target_os = \"none\")))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], - "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"], + "cfg(target_arch = \"s390x\")": ["@rules_rust//rust/platform:s390x-unknown-linux-gnu"], "cfg(target_os = \"hermit\")": [], + "cfg(target_os = \"linux\")": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], "cfg(target_os = \"macos\")": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-darwin"], "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"], "cfg(target_os = \"windows\")": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], @@ -438,16 +436,6 @@ def crate_repositories(): Returns: A list of repos visible to the module through the module extension. """ - maybe( - http_archive, - name = "cu__addr2line-0.19.0", - sha256 = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97", - type = "tar.gz", - urls = ["https://static.crates.io/crates/addr2line/0.19.0/download"], - strip_prefix = "addr2line-0.19.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.addr2line-0.19.0.bazel"), - ) - maybe( http_archive, name = "cu__ahash-0.8.11", @@ -488,36 +476,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.arbitrary-1.3.2.bazel"), ) - maybe( - http_archive, - name = "cu__autocfg-1.3.0", - sha256 = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0", - type = "tar.gz", - urls = ["https://static.crates.io/crates/autocfg/1.3.0/download"], - strip_prefix = "autocfg-1.3.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.autocfg-1.3.0.bazel"), - ) - - maybe( - http_archive, - name = "cu__bincode-1.3.3", - sha256 = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad", - type = "tar.gz", - urls = ["https://static.crates.io/crates/bincode/1.3.3/download"], - strip_prefix = "bincode-1.3.3", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bincode-1.3.3.bazel"), - ) - - maybe( - http_archive, - name = "cu__bitflags-1.3.2", - sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a", - type = "tar.gz", - urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"], - strip_prefix = "bitflags-1.3.2", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.bitflags-1.3.2.bazel"), - ) - maybe( http_archive, name = "cu__bitflags-2.6.0", @@ -540,22 +498,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__byteorder-1.5.0", - sha256 = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b", - type = "tar.gz", - urls = ["https://static.crates.io/crates/byteorder/1.5.0/download"], - strip_prefix = "byteorder-1.5.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.byteorder-1.5.0.bazel"), - ) - - maybe( - http_archive, - name = "cu__cc-1.1.6", - sha256 = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f", + name = "cu__cc-1.1.7", + sha256 = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc", type = "tar.gz", - urls = ["https://static.crates.io/crates/cc/1.1.6/download"], - strip_prefix = "cc-1.1.6", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cc-1.1.6.bazel"), + urls = ["https://static.crates.io/crates/cc/1.1.7/download"], + strip_prefix = "cc-1.1.7", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cc-1.1.7.bazel"), ) maybe( @@ -570,132 +518,132 @@ def crate_repositories(): maybe( http_archive, - name = "cu__cpp_demangle-0.3.5", - sha256 = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f", + name = "cu__cobs-0.2.3", + sha256 = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15", type = "tar.gz", - urls = ["https://static.crates.io/crates/cpp_demangle/0.3.5/download"], - strip_prefix = "cpp_demangle-0.3.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cpp_demangle-0.3.5.bazel"), + urls = ["https://static.crates.io/crates/cobs/0.2.3/download"], + strip_prefix = "cobs-0.2.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cobs-0.2.3.bazel"), ) maybe( http_archive, - name = "cu__cranelift-bforest-0.96.4", - sha256 = "182b82f78049f54d3aee5a19870d356ef754226665a695ce2fcdd5d55379718e", + name = "cu__cranelift-bforest-0.111.0", + sha256 = "b80c3a50b9c4c7e5b5f73c0ed746687774fc9e36ef652b110da8daebf0c6e0e6", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-bforest/0.96.4/download"], - strip_prefix = "cranelift-bforest-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-bforest/0.111.0/download"], + strip_prefix = "cranelift-bforest-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bforest-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-codegen-0.96.4", - sha256 = "e7c027bf04ecae5b048d3554deb888061bc26f426afff47bf06d6ac933dce0a6", + name = "cu__cranelift-bitset-0.111.0", + sha256 = "38778758c2ca918b05acb2199134e0c561fb577c50574259b26190b6c2d95ded", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-codegen/0.96.4/download"], - strip_prefix = "cranelift-codegen-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-bitset/0.111.0/download"], + strip_prefix = "cranelift-bitset-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-bitset-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-codegen-meta-0.96.4", - sha256 = "649f70038235e4c81dba5680d7e5ae83e1081f567232425ab98b55b03afd9904", + name = "cu__cranelift-codegen-0.111.0", + sha256 = "58258667ad10e468bfc13a8d620f50dfcd4bb35d668123e97defa2549b9ad397", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-codegen-meta/0.96.4/download"], - strip_prefix = "cranelift-codegen-meta-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-codegen/0.111.0/download"], + strip_prefix = "cranelift-codegen-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-codegen-shared-0.96.4", - sha256 = "7a1d1c5ee2611c6a0bdc8d42d5d3dc5ce8bf53a8040561e26e88b9b21f966417", + name = "cu__cranelift-codegen-meta-0.111.0", + sha256 = "043f0b702e529dcb07ff92bd7d40e7d5317b5493595172c5eb0983343751ee06", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-codegen-shared/0.96.4/download"], - strip_prefix = "cranelift-codegen-shared-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-codegen-meta/0.111.0/download"], + strip_prefix = "cranelift-codegen-meta-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-meta-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-control-0.96.4", - sha256 = "da66a68b1f48da863d1d53209b8ddb1a6236411d2d72a280ffa8c2f734f7219e", + name = "cu__cranelift-codegen-shared-0.111.0", + sha256 = "7763578888ab53eca5ce7da141953f828e82c2bfadcffc106d10d1866094ffbb", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-control/0.96.4/download"], - strip_prefix = "cranelift-control-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-control-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-codegen-shared/0.111.0/download"], + strip_prefix = "cranelift-codegen-shared-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-codegen-shared-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-entity-0.96.4", - sha256 = "9bd897422dbb66621fa558f4d9209875530c53e3c8f4b13b2849fbb667c431a6", + name = "cu__cranelift-control-0.111.0", + sha256 = "32db15f08c05df570f11e8ab33cb1ec449a64b37c8a3498377b77650bef33d8b", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-entity/0.96.4/download"], - strip_prefix = "cranelift-entity-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-control/0.111.0/download"], + strip_prefix = "cranelift-control-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-control-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-frontend-0.96.4", - sha256 = "05db883114c98cfcd6959f72278d2fec42e01ea6a6982cfe4f20e88eebe86653", + name = "cu__cranelift-entity-0.111.0", + sha256 = "5289cdb399381a27e7bbfa1b42185916007c3d49aeef70b1d01cb4caa8010130", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-frontend/0.96.4/download"], - strip_prefix = "cranelift-frontend-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-entity/0.111.0/download"], + strip_prefix = "cranelift-entity-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-entity-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-isle-0.96.4", - sha256 = "84559de86e2564152c87e299c8b2559f9107e9c6d274b24ebeb04fb0a5f4abf8", + name = "cu__cranelift-frontend-0.111.0", + sha256 = "31ba8ab24eb9470477e98ddfa3c799a649ac5a0d9a2042868c4c952133c234e8", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-isle/0.96.4/download"], - strip_prefix = "cranelift-isle-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-frontend/0.111.0/download"], + strip_prefix = "cranelift-frontend-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-frontend-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-native-0.96.4", - sha256 = "3f40b57f187f0fe1ffaf281df4adba2b4bc623a0f6651954da9f3c184be72761", + name = "cu__cranelift-isle-0.111.0", + sha256 = "2b72a3c5c166a70426dcb209bdd0bb71a787c1ea76023dc0974fbabca770e8f9", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-native/0.96.4/download"], - strip_prefix = "cranelift-native-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-isle/0.111.0/download"], + strip_prefix = "cranelift-isle-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-isle-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__cranelift-wasm-0.96.4", - sha256 = "f3eab6084cc789b9dd0b1316241efeb2968199fee709f4bb4fe0fb0923bb468b", + name = "cu__cranelift-native-0.111.0", + sha256 = "46a42424c956bbc31fc5c2706073df896156c5420ae8fa2a5d48dbc7b295d71b", type = "tar.gz", - urls = ["https://static.crates.io/crates/cranelift-wasm/0.96.4/download"], - strip_prefix = "cranelift-wasm-0.96.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.96.4.bazel"), + urls = ["https://static.crates.io/crates/cranelift-native/0.111.0/download"], + strip_prefix = "cranelift-native-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-native-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__crc32fast-1.4.2", - sha256 = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3", + name = "cu__cranelift-wasm-0.111.0", + sha256 = "49778df4289933d735b93c30a345513e030cf83101de0036e19b760f8aa09f68", type = "tar.gz", - urls = ["https://static.crates.io/crates/crc32fast/1.4.2/download"], - strip_prefix = "crc32fast-1.4.2", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.4.2.bazel"), + urls = ["https://static.crates.io/crates/cranelift-wasm/0.111.0/download"], + strip_prefix = "cranelift-wasm-0.111.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.cranelift-wasm-0.111.0.bazel"), ) maybe( http_archive, - name = "cu__debugid-0.8.0", - sha256 = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d", + name = "cu__crc32fast-1.4.2", + sha256 = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3", type = "tar.gz", - urls = ["https://static.crates.io/crates/debugid/0.8.0/download"], - strip_prefix = "debugid-0.8.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.debugid-0.8.0.bazel"), + urls = ["https://static.crates.io/crates/crc32fast/1.4.2/download"], + strip_prefix = "crc32fast-1.4.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.crc32fast-1.4.2.bazel"), ) maybe( @@ -710,102 +658,92 @@ def crate_repositories(): maybe( http_archive, - name = "cu__env_logger-0.10.2", - sha256 = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580", + name = "cu__embedded-io-0.4.0", + sha256 = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced", type = "tar.gz", - urls = ["https://static.crates.io/crates/env_logger/0.10.2/download"], - strip_prefix = "env_logger-0.10.2", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.10.2.bazel"), + urls = ["https://static.crates.io/crates/embedded-io/0.4.0/download"], + strip_prefix = "embedded-io-0.4.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.embedded-io-0.4.0.bazel"), ) maybe( http_archive, - name = "cu__errno-0.3.9", - sha256 = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba", - type = "tar.gz", - urls = ["https://static.crates.io/crates/errno/0.3.9/download"], - strip_prefix = "errno-0.3.9", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.errno-0.3.9.bazel"), - ) - - maybe( - http_archive, - name = "cu__fallible-iterator-0.2.0", - sha256 = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7", + name = "cu__env_logger-0.10.2", + sha256 = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580", type = "tar.gz", - urls = ["https://static.crates.io/crates/fallible-iterator/0.2.0/download"], - strip_prefix = "fallible-iterator-0.2.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.fallible-iterator-0.2.0.bazel"), + urls = ["https://static.crates.io/crates/env_logger/0.10.2/download"], + strip_prefix = "env_logger-0.10.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.env_logger-0.10.2.bazel"), ) maybe( http_archive, - name = "cu__form_urlencoded-1.2.1", - sha256 = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456", + name = "cu__equivalent-1.0.1", + sha256 = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5", type = "tar.gz", - urls = ["https://static.crates.io/crates/form_urlencoded/1.2.1/download"], - strip_prefix = "form_urlencoded-1.2.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.form_urlencoded-1.2.1.bazel"), + urls = ["https://static.crates.io/crates/equivalent/1.0.1/download"], + strip_prefix = "equivalent-1.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.equivalent-1.0.1.bazel"), ) maybe( http_archive, - name = "cu__fxhash-0.2.1", - sha256 = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c", + name = "cu__errno-0.3.9", + sha256 = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba", type = "tar.gz", - urls = ["https://static.crates.io/crates/fxhash/0.2.1/download"], - strip_prefix = "fxhash-0.2.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.fxhash-0.2.1.bazel"), + urls = ["https://static.crates.io/crates/errno/0.3.9/download"], + strip_prefix = "errno-0.3.9", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.errno-0.3.9.bazel"), ) maybe( http_archive, - name = "cu__fxprof-processed-profile-0.6.0", - sha256 = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd", + name = "cu__fallible-iterator-0.3.0", + sha256 = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649", type = "tar.gz", - urls = ["https://static.crates.io/crates/fxprof-processed-profile/0.6.0/download"], - strip_prefix = "fxprof-processed-profile-0.6.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.fxprof-processed-profile-0.6.0.bazel"), + urls = ["https://static.crates.io/crates/fallible-iterator/0.3.0/download"], + strip_prefix = "fallible-iterator-0.3.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.fallible-iterator-0.3.0.bazel"), ) maybe( http_archive, - name = "cu__getrandom-0.2.15", - sha256 = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7", + name = "cu__gimli-0.29.0", + sha256 = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd", type = "tar.gz", - urls = ["https://static.crates.io/crates/getrandom/0.2.15/download"], - strip_prefix = "getrandom-0.2.15", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.getrandom-0.2.15.bazel"), + urls = ["https://static.crates.io/crates/gimli/0.29.0/download"], + strip_prefix = "gimli-0.29.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.gimli-0.29.0.bazel"), ) maybe( http_archive, - name = "cu__gimli-0.27.3", - sha256 = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e", + name = "cu__hashbrown-0.13.2", + sha256 = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e", type = "tar.gz", - urls = ["https://static.crates.io/crates/gimli/0.27.3/download"], - strip_prefix = "gimli-0.27.3", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.gimli-0.27.3.bazel"), + urls = ["https://static.crates.io/crates/hashbrown/0.13.2/download"], + strip_prefix = "hashbrown-0.13.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.13.2.bazel"), ) maybe( http_archive, - name = "cu__hashbrown-0.12.3", - sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", + name = "cu__hashbrown-0.14.5", + sha256 = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1", type = "tar.gz", - urls = ["https://static.crates.io/crates/hashbrown/0.12.3/download"], - strip_prefix = "hashbrown-0.12.3", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.12.3.bazel"), + urls = ["https://static.crates.io/crates/hashbrown/0.14.5/download"], + strip_prefix = "hashbrown-0.14.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.14.5.bazel"), ) maybe( http_archive, - name = "cu__hashbrown-0.13.2", - sha256 = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e", + name = "cu__heck-0.4.1", + sha256 = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8", type = "tar.gz", - urls = ["https://static.crates.io/crates/hashbrown/0.13.2/download"], - strip_prefix = "hashbrown-0.13.2", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.hashbrown-0.13.2.bazel"), + urls = ["https://static.crates.io/crates/heck/0.4.1/download"], + strip_prefix = "heck-0.4.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.heck-0.4.1.bazel"), ) maybe( @@ -830,32 +768,22 @@ def crate_repositories(): maybe( http_archive, - name = "cu__idna-0.5.0", - sha256 = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6", + name = "cu__id-arena-2.2.1", + sha256 = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005", type = "tar.gz", - urls = ["https://static.crates.io/crates/idna/0.5.0/download"], - strip_prefix = "idna-0.5.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.idna-0.5.0.bazel"), + urls = ["https://static.crates.io/crates/id-arena/2.2.1/download"], + strip_prefix = "id-arena-2.2.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.id-arena-2.2.1.bazel"), ) maybe( http_archive, - name = "cu__indexmap-1.9.3", - sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99", + name = "cu__indexmap-2.3.0", + sha256 = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0", type = "tar.gz", - urls = ["https://static.crates.io/crates/indexmap/1.9.3/download"], - strip_prefix = "indexmap-1.9.3", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.indexmap-1.9.3.bazel"), - ) - - maybe( - http_archive, - name = "cu__io-lifetimes-1.0.11", - sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2", - type = "tar.gz", - urls = ["https://static.crates.io/crates/io-lifetimes/1.0.11/download"], - strip_prefix = "io-lifetimes-1.0.11", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.io-lifetimes-1.0.11.bazel"), + urls = ["https://static.crates.io/crates/indexmap/2.3.0/download"], + strip_prefix = "indexmap-2.3.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.indexmap-2.3.0.bazel"), ) maybe( @@ -870,12 +798,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__itertools-0.10.5", - sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473", + name = "cu__itertools-0.12.1", + sha256 = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569", type = "tar.gz", - urls = ["https://static.crates.io/crates/itertools/0.10.5/download"], - strip_prefix = "itertools-0.10.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.itertools-0.10.5.bazel"), + urls = ["https://static.crates.io/crates/itertools/0.12.1/download"], + strip_prefix = "itertools-0.12.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.itertools-0.12.1.bazel"), ) maybe( @@ -888,6 +816,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.itoa-1.0.11.bazel"), ) + maybe( + http_archive, + name = "cu__leb128-0.2.5", + sha256 = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67", + type = "tar.gz", + urls = ["https://static.crates.io/crates/leb128/0.2.5/download"], + strip_prefix = "leb128-0.2.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.leb128-0.2.5.bazel"), + ) + maybe( http_archive, name = "cu__libc-0.2.155", @@ -900,12 +838,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__linux-raw-sys-0.3.8", - sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519", + name = "cu__libm-0.2.8", + sha256 = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058", type = "tar.gz", - urls = ["https://static.crates.io/crates/linux-raw-sys/0.3.8/download"], - strip_prefix = "linux-raw-sys-0.3.8", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.linux-raw-sys-0.3.8.bazel"), + urls = ["https://static.crates.io/crates/libm/0.2.8/download"], + strip_prefix = "libm-0.2.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.libm-0.2.8.bazel"), ) maybe( @@ -930,12 +868,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__mach-0.3.2", - sha256 = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa", + name = "cu__mach2-0.4.2", + sha256 = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709", type = "tar.gz", - urls = ["https://static.crates.io/crates/mach/0.3.2/download"], - strip_prefix = "mach-0.3.2", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.mach-0.3.2.bazel"), + urls = ["https://static.crates.io/crates/mach2/0.4.2/download"], + strip_prefix = "mach2-0.4.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.mach2-0.4.2.bazel"), ) maybe( @@ -960,22 +898,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__memoffset-0.8.0", - sha256 = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1", + name = "cu__object-0.36.2", + sha256 = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e", type = "tar.gz", - urls = ["https://static.crates.io/crates/memoffset/0.8.0/download"], - strip_prefix = "memoffset-0.8.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.memoffset-0.8.0.bazel"), - ) - - maybe( - http_archive, - name = "cu__object-0.30.4", - sha256 = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385", - type = "tar.gz", - urls = ["https://static.crates.io/crates/object/0.30.4/download"], - strip_prefix = "object-0.30.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.object-0.30.4.bazel"), + urls = ["https://static.crates.io/crates/object/0.36.2/download"], + strip_prefix = "object-0.36.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.object-0.36.2.bazel"), ) maybe( @@ -1000,22 +928,22 @@ def crate_repositories(): maybe( http_archive, - name = "cu__percent-encoding-2.3.1", - sha256 = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e", + name = "cu__pin-project-lite-0.2.14", + sha256 = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02", type = "tar.gz", - urls = ["https://static.crates.io/crates/percent-encoding/2.3.1/download"], - strip_prefix = "percent-encoding-2.3.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.percent-encoding-2.3.1.bazel"), + urls = ["https://static.crates.io/crates/pin-project-lite/0.2.14/download"], + strip_prefix = "pin-project-lite-0.2.14", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.pin-project-lite-0.2.14.bazel"), ) maybe( http_archive, - name = "cu__ppv-lite86-0.2.17", - sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de", + name = "cu__postcard-1.0.8", + sha256 = "a55c51ee6c0db07e68448e336cf8ea4131a620edefebf9893e759b2d793420f8", type = "tar.gz", - urls = ["https://static.crates.io/crates/ppv-lite86/0.2.17/download"], - strip_prefix = "ppv-lite86-0.2.17", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.ppv-lite86-0.2.17.bazel"), + urls = ["https://static.crates.io/crates/postcard/1.0.8/download"], + strip_prefix = "postcard-1.0.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.postcard-1.0.8.bazel"), ) maybe( @@ -1050,42 +978,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__rand-0.8.5", - sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404", - type = "tar.gz", - urls = ["https://static.crates.io/crates/rand/0.8.5/download"], - strip_prefix = "rand-0.8.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rand-0.8.5.bazel"), - ) - - maybe( - http_archive, - name = "cu__rand_chacha-0.3.1", - sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88", - type = "tar.gz", - urls = ["https://static.crates.io/crates/rand_chacha/0.3.1/download"], - strip_prefix = "rand_chacha-0.3.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rand_chacha-0.3.1.bazel"), - ) - - maybe( - http_archive, - name = "cu__rand_core-0.6.4", - sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c", + name = "cu__regalloc2-0.9.3", + sha256 = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6", type = "tar.gz", - urls = ["https://static.crates.io/crates/rand_core/0.6.4/download"], - strip_prefix = "rand_core-0.6.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rand_core-0.6.4.bazel"), - ) - - maybe( - http_archive, - name = "cu__regalloc2-0.8.1", - sha256 = "d4a52e724646c6c0800fc456ec43b4165d2f91fba88ceaca06d9e0b400023478", - type = "tar.gz", - urls = ["https://static.crates.io/crates/regalloc2/0.8.1/download"], - strip_prefix = "regalloc2-0.8.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.8.1.bazel"), + urls = ["https://static.crates.io/crates/regalloc2/0.9.3/download"], + strip_prefix = "regalloc2-0.9.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regalloc2-0.9.3.bazel"), ) maybe( @@ -1118,16 +1016,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.regex-syntax-0.8.4.bazel"), ) - maybe( - http_archive, - name = "cu__rustc-demangle-0.1.24", - sha256 = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f", - type = "tar.gz", - urls = ["https://static.crates.io/crates/rustc-demangle/0.1.24/download"], - strip_prefix = "rustc-demangle-0.1.24", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustc-demangle-0.1.24.bazel"), - ) - maybe( http_archive, name = "cu__rustc-hash-1.1.0", @@ -1138,16 +1026,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustc-hash-1.1.0.bazel"), ) - maybe( - http_archive, - name = "cu__rustix-0.37.27", - sha256 = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2", - type = "tar.gz", - urls = ["https://static.crates.io/crates/rustix/0.37.27/download"], - strip_prefix = "rustix-0.37.27", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.rustix-0.37.27.bazel"), - ) - maybe( http_archive, name = "cu__rustix-0.38.34", @@ -1168,6 +1046,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.ryu-1.0.18.bazel"), ) + maybe( + http_archive, + name = "cu__semver-1.0.23", + sha256 = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/semver/1.0.23/download"], + strip_prefix = "semver-1.0.23", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.semver-1.0.23.bazel"), + ) + maybe( http_archive, name = "cu__serde-1.0.204", @@ -1218,6 +1106,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.smallvec-1.13.2.bazel"), ) + maybe( + http_archive, + name = "cu__sptr-0.3.2", + sha256 = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a", + type = "tar.gz", + urls = ["https://static.crates.io/crates/sptr/0.3.2/download"], + strip_prefix = "sptr-0.3.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.sptr-0.3.2.bazel"), + ) + maybe( http_archive, name = "cu__stable_deref_trait-1.2.0", @@ -1240,12 +1138,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__target-lexicon-0.12.15", - sha256 = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2", + name = "cu__target-lexicon-0.12.16", + sha256 = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1", type = "tar.gz", - urls = ["https://static.crates.io/crates/target-lexicon/0.12.15/download"], - strip_prefix = "target-lexicon-0.12.15", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.15.bazel"), + urls = ["https://static.crates.io/crates/target-lexicon/0.12.16/download"], + strip_prefix = "target-lexicon-0.12.16", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.target-lexicon-0.12.16.bazel"), ) maybe( @@ -1280,32 +1178,32 @@ def crate_repositories(): maybe( http_archive, - name = "cu__tinyvec-1.8.0", - sha256 = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938", + name = "cu__tracing-0.1.40", + sha256 = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef", type = "tar.gz", - urls = ["https://static.crates.io/crates/tinyvec/1.8.0/download"], - strip_prefix = "tinyvec-1.8.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tinyvec-1.8.0.bazel"), + urls = ["https://static.crates.io/crates/tracing/0.1.40/download"], + strip_prefix = "tracing-0.1.40", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tracing-0.1.40.bazel"), ) maybe( http_archive, - name = "cu__tinyvec_macros-0.1.1", - sha256 = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20", + name = "cu__tracing-attributes-0.1.27", + sha256 = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7", type = "tar.gz", - urls = ["https://static.crates.io/crates/tinyvec_macros/0.1.1/download"], - strip_prefix = "tinyvec_macros-0.1.1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tinyvec_macros-0.1.1.bazel"), + urls = ["https://static.crates.io/crates/tracing-attributes/0.1.27/download"], + strip_prefix = "tracing-attributes-0.1.27", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tracing-attributes-0.1.27.bazel"), ) maybe( http_archive, - name = "cu__unicode-bidi-0.3.15", - sha256 = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75", + name = "cu__tracing-core-0.1.32", + sha256 = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54", type = "tar.gz", - urls = ["https://static.crates.io/crates/unicode-bidi/0.3.15/download"], - strip_prefix = "unicode-bidi-0.3.15", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.unicode-bidi-0.3.15.bazel"), + urls = ["https://static.crates.io/crates/tracing-core/0.1.32/download"], + strip_prefix = "tracing-core-0.1.32", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.tracing-core-0.1.32.bazel"), ) maybe( @@ -1320,32 +1218,12 @@ def crate_repositories(): maybe( http_archive, - name = "cu__unicode-normalization-0.1.23", - sha256 = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5", - type = "tar.gz", - urls = ["https://static.crates.io/crates/unicode-normalization/0.1.23/download"], - strip_prefix = "unicode-normalization-0.1.23", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.unicode-normalization-0.1.23.bazel"), - ) - - maybe( - http_archive, - name = "cu__url-2.5.2", - sha256 = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c", + name = "cu__unicode-xid-0.2.4", + sha256 = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c", type = "tar.gz", - urls = ["https://static.crates.io/crates/url/2.5.2/download"], - strip_prefix = "url-2.5.2", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.url-2.5.2.bazel"), - ) - - maybe( - http_archive, - name = "cu__uuid-1.10.0", - sha256 = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314", - type = "tar.gz", - urls = ["https://static.crates.io/crates/uuid/1.10.0/download"], - strip_prefix = "uuid-1.10.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.uuid-1.10.0.bazel"), + urls = ["https://static.crates.io/crates/unicode-xid/0.2.4/download"], + strip_prefix = "unicode-xid-0.2.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.unicode-xid-0.2.4.bazel"), ) maybe( @@ -1360,152 +1238,162 @@ def crate_repositories(): maybe( http_archive, - name = "cu__wasi-0.11.0-wasi-snapshot-preview1", - sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", + name = "cu__wasm-encoder-0.215.0", + sha256 = "4fb56df3e06b8e6b77e37d2969a50ba51281029a9aeb3855e76b7f49b6418847", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasm-encoder/0.215.0/download"], + strip_prefix = "wasm-encoder-0.215.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasm-encoder-0.215.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmparser-0.215.0", + sha256 = "53fbde0881f24199b81cf49b6ff8f9c145ac8eb1b7fc439adb5c099734f7d90e", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasi/0.11.0+wasi-snapshot-preview1/download"], - strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"), + urls = ["https://static.crates.io/crates/wasmparser/0.215.0/download"], + strip_prefix = "wasmparser-0.215.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.215.0.bazel"), ) maybe( http_archive, - name = "cu__wasmparser-0.103.0", - sha256 = "2c437373cac5ea84f1113d648d51f71751ffbe3d90c00ae67618cf20d0b5ee7b", + name = "cu__wasmprinter-0.215.0", + sha256 = "d8e9a325d85053408209b3d2ce5eaddd0dd6864d1cff7a007147ba073157defc", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmparser/0.103.0/download"], - strip_prefix = "wasmparser-0.103.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmparser-0.103.0.bazel"), + urls = ["https://static.crates.io/crates/wasmprinter/0.215.0/download"], + strip_prefix = "wasmprinter-0.215.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmprinter-0.215.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-9.0.4", - sha256 = "634357e8668774b24c80b210552f3f194e2342a065d6d83845ba22c5817d0770", + name = "cu__wasmtime-24.0.0", + sha256 = "9a5883d64dfc8423c56e3d8df27cffc44db25336aa468e8e0724fddf30a333d7", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime/9.0.4/download"], - strip_prefix = "wasmtime-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime/24.0.0/download"], + strip_prefix = "wasmtime-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-asm-macros-9.0.4", - sha256 = "d33c73c24ce79b0483a3b091a9acf88871f4490b88998e8974b22236264d304c", + name = "cu__wasmtime-asm-macros-24.0.0", + sha256 = "1c4dc7e2a379c0dd6be5b55857d14c4b277f43a9c429a9e14403eb61776ae3be", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-asm-macros/9.0.4/download"], - strip_prefix = "wasmtime-asm-macros-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-asm-macros/24.0.0/download"], + strip_prefix = "wasmtime-asm-macros-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-asm-macros-24.0.0.bazel"), ) maybe( new_git_repository, - name = "cu__wasmtime-c-api-macros-0.0.0", - commit = "271b605e8d3d44c5d0a39bb4e65c3efb3869ff74", + name = "cu__wasmtime-c-api-macros-24.0.0", + commit = "6fc3d274c7994dad20c816ccc0739bf766b39a11", init_submodules = True, remote = "https://github.com/bytecodealliance/wasmtime", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-0.0.0.bazel"), - strip_prefix = "crates/c-api/macros", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-c-api-macros-24.0.0.bazel"), + strip_prefix = "crates/c-api-macros", ) maybe( http_archive, - name = "cu__wasmtime-cranelift-9.0.4", - sha256 = "5800616a28ed6bd5e8b99ea45646c956d798ae030494ac0689bc3e45d3b689c1", + name = "cu__wasmtime-component-macro-24.0.0", + sha256 = "4b07773d1c3dab5f014ec61316ee317aa424033e17e70a63abdf7c3a47e58fcf", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-cranelift/9.0.4/download"], - strip_prefix = "wasmtime-cranelift-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-component-macro/24.0.0/download"], + strip_prefix = "wasmtime-component-macro-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-component-macro-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-cranelift-shared-9.0.4", - sha256 = "27e4030b959ac5c5d6ee500078977e813f8768fa2b92fc12be01856cd0c76c55", + name = "cu__wasmtime-component-util-24.0.0", + sha256 = "e38d735320f4e83478369ce649ad8fe87c6b893220902e798547a225fc0c5874", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-cranelift-shared/9.0.4/download"], - strip_prefix = "wasmtime-cranelift-shared-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-shared-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-component-util/24.0.0/download"], + strip_prefix = "wasmtime-component-util-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-component-util-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-environ-9.0.4", - sha256 = "9ec815d01a8d38aceb7ed4678f9ba551ae6b8a568a63810ac3ad9293b0fd01c8", + name = "cu__wasmtime-cranelift-24.0.0", + sha256 = "e570d831d0785d93d7d8c722b1eb9a34e0d0c1534317666f65892818358a2da9", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-environ/9.0.4/download"], - strip_prefix = "wasmtime-environ-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-cranelift/24.0.0/download"], + strip_prefix = "wasmtime-cranelift-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-cranelift-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-jit-9.0.4", - sha256 = "2712eafe829778b426cad0e1769fef944898923dd29f0039e34e0d53ba72b234", + name = "cu__wasmtime-environ-24.0.0", + sha256 = "c5fe80dfbd81687431a7d4f25929fae1ae96894786d5c96b14ae41164ee97377", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-jit/9.0.4/download"], - strip_prefix = "wasmtime-jit-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-environ/24.0.0/download"], + strip_prefix = "wasmtime-environ-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-environ-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-jit-debug-9.0.4", - sha256 = "65fb78eacf4a6e47260d8ef8cc81ea8ddb91397b2e848b3fb01567adebfe89b5", + name = "cu__wasmtime-jit-icache-coherence-24.0.0", + sha256 = "d15de8429db996f0d17a4163a35eccc3f874cbfb50f29c379951ea1bbb39452e", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-jit-debug/9.0.4/download"], - strip_prefix = "wasmtime-jit-debug-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-debug-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-jit-icache-coherence/24.0.0/download"], + strip_prefix = "wasmtime-jit-icache-coherence-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-jit-icache-coherence-9.0.4", - sha256 = "d1364900b05f7d6008516121e8e62767ddb3e176bdf4c84dfa85da1734aeab79", + name = "cu__wasmtime-slab-24.0.0", + sha256 = "1f68d38fa6b30c5e1fc7d608263062997306f79e577ebd197ddcd6b0f55d87d1", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-jit-icache-coherence/9.0.4/download"], - strip_prefix = "wasmtime-jit-icache-coherence-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-jit-icache-coherence-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-slab/24.0.0/download"], + strip_prefix = "wasmtime-slab-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-slab-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-runtime-9.0.4", - sha256 = "4a16ffe4de9ac9669175c0ea5c6c51ffc596dfb49320aaa6f6c57eff58cef069", + name = "cu__wasmtime-types-24.0.0", + sha256 = "6634e7079d9c5cfc81af8610ed59b488cc5b7f9777a2f4c1667a2565c2e45249", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-runtime/9.0.4/download"], - strip_prefix = "wasmtime-runtime-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-runtime-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-types/24.0.0/download"], + strip_prefix = "wasmtime-types-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__wasmtime-types-9.0.4", - sha256 = "19961c9a3b04d5e766875a5c467f6f5d693f508b3e81f8dc4a1444aa94f041c9", + name = "cu__wasmtime-versioned-export-macros-24.0.0", + sha256 = "3850e3511d6c7f11a72d571890b0ed5f6204681f7f050b9de2690e7f13123fed", type = "tar.gz", - urls = ["https://static.crates.io/crates/wasmtime-types/9.0.4/download"], - strip_prefix = "wasmtime-types-9.0.4", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-types-9.0.4.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-versioned-export-macros/24.0.0/download"], + strip_prefix = "wasmtime-versioned-export-macros-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-versioned-export-macros-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__winapi-util-0.1.8", - sha256 = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b", + name = "cu__wasmtime-wit-bindgen-24.0.0", + sha256 = "3cb331ac7ed1d5ba49cddcdb6b11973752a857148858bb308777d2fc5584121f", type = "tar.gz", - urls = ["https://static.crates.io/crates/winapi-util/0.1.8/download"], - strip_prefix = "winapi-util-0.1.8", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.winapi-util-0.1.8.bazel"), + urls = ["https://static.crates.io/crates/wasmtime-wit-bindgen/24.0.0/download"], + strip_prefix = "wasmtime-wit-bindgen-24.0.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wasmtime-wit-bindgen-24.0.0.bazel"), ) maybe( http_archive, - name = "cu__windows-sys-0.48.0", - sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9", + name = "cu__winapi-util-0.1.8", + sha256 = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b", type = "tar.gz", - urls = ["https://static.crates.io/crates/windows-sys/0.48.0/download"], - strip_prefix = "windows-sys-0.48.0", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.48.0.bazel"), + urls = ["https://static.crates.io/crates/winapi-util/0.1.8/download"], + strip_prefix = "winapi-util-0.1.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.winapi-util-0.1.8.bazel"), ) maybe( @@ -1518,16 +1406,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-sys-0.52.0.bazel"), ) - maybe( - http_archive, - name = "cu__windows-targets-0.48.5", - sha256 = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows-targets/0.48.5/download"], - strip_prefix = "windows-targets-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows-targets-0.52.6", @@ -1538,16 +1416,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows-targets-0.52.6.bazel"), ) - maybe( - http_archive, - name = "cu__windows_aarch64_gnullvm-0.48.5", - sha256 = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows_aarch64_gnullvm/0.48.5/download"], - strip_prefix = "windows_aarch64_gnullvm-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows_aarch64_gnullvm-0.52.6", @@ -1558,16 +1426,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_gnullvm-0.52.6.bazel"), ) - maybe( - http_archive, - name = "cu__windows_aarch64_msvc-0.48.5", - sha256 = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows_aarch64_msvc/0.48.5/download"], - strip_prefix = "windows_aarch64_msvc-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows_aarch64_msvc-0.52.6", @@ -1578,16 +1436,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_aarch64_msvc-0.52.6.bazel"), ) - maybe( - http_archive, - name = "cu__windows_i686_gnu-0.48.5", - sha256 = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows_i686_gnu/0.48.5/download"], - strip_prefix = "windows_i686_gnu-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnu-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows_i686_gnu-0.52.6", @@ -1608,16 +1456,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_gnullvm-0.52.6.bazel"), ) - maybe( - http_archive, - name = "cu__windows_i686_msvc-0.48.5", - sha256 = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows_i686_msvc/0.48.5/download"], - strip_prefix = "windows_i686_msvc-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows_i686_msvc-0.52.6", @@ -1628,16 +1466,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_i686_msvc-0.52.6.bazel"), ) - maybe( - http_archive, - name = "cu__windows_x86_64_gnu-0.48.5", - sha256 = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows_x86_64_gnu/0.48.5/download"], - strip_prefix = "windows_x86_64_gnu-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows_x86_64_gnu-0.52.6", @@ -1648,16 +1476,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnu-0.52.6.bazel"), ) - maybe( - http_archive, - name = "cu__windows_x86_64_gnullvm-0.48.5", - sha256 = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows_x86_64_gnullvm/0.48.5/download"], - strip_prefix = "windows_x86_64_gnullvm-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows_x86_64_gnullvm-0.52.6", @@ -1668,16 +1486,6 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_gnullvm-0.52.6.bazel"), ) - maybe( - http_archive, - name = "cu__windows_x86_64_msvc-0.48.5", - sha256 = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538", - type = "tar.gz", - urls = ["https://static.crates.io/crates/windows_x86_64_msvc/0.48.5/download"], - strip_prefix = "windows_x86_64_msvc-0.48.5", - build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.48.5.bazel"), - ) - maybe( http_archive, name = "cu__windows_x86_64_msvc-0.52.6", @@ -1688,6 +1496,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.windows_x86_64_msvc-0.52.6.bazel"), ) + maybe( + http_archive, + name = "cu__wit-parser-0.215.0", + sha256 = "935a97eaffd57c3b413aa510f8f0b550a4a9fe7d59e79cd8b89a83dcb860321f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wit-parser/0.215.0/download"], + strip_prefix = "wit-parser-0.215.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:BUILD.wit-parser-0.215.0.bazel"), + ) + maybe( http_archive, name = "cu__zerocopy-0.7.35", @@ -1711,7 +1529,9 @@ def crate_repositories(): return [ struct(repo = "cu__anyhow-1.0.86", is_dev_dep = False), struct(repo = "cu__env_logger-0.10.2", is_dev_dep = False), + struct(repo = "cu__log-0.4.22", is_dev_dep = False), struct(repo = "cu__once_cell-1.19.0", is_dev_dep = False), - struct(repo = "cu__wasmtime-9.0.4", is_dev_dep = False), - struct(repo = "cu__wasmtime-c-api-macros-0.0.0", is_dev_dep = False), + struct(repo = "cu__tracing-0.1.40", is_dev_dep = False), + struct(repo = "cu__wasmtime-24.0.0", is_dev_dep = False), + struct(repo = "cu__wasmtime-c-api-macros-24.0.0", is_dev_dep = False), ] diff --git a/bazel/external/wasm-c-api.BUILD b/bazel/external/wasm-c-api.BUILD deleted file mode 100644 index 4946da7db..000000000 --- a/bazel/external/wasm-c-api.BUILD +++ /dev/null @@ -1,60 +0,0 @@ -load("@rules_cc//cc:defs.bzl", "cc_library") - -licenses(["notice"]) # Apache 2 - -package(default_visibility = ["//visibility:public"]) - -cc_library( - name = "wasmtime_lib", - hdrs = [ - "include/wasm.h", - ], - deps = [ - "@com_github_bytecodealliance_wasmtime//:rust_c_api", - ], -) - -genrule( - name = "prefixed_wasmtime_c_api_headers", - srcs = [ - "include/wasm.h", - ], - outs = [ - "include/prefixed_wasm.h", - ], - cmd = """ - sed -e 's/\\ wasm_/\\ wasmtime_wasm_/g' \ - -e 's/\\*wasm_/\\*wasmtime_wasm_/g' \ - -e 's/(wasm_/(wasmtime_wasm_/g' \ - $(<) >$@ - """, -) - -genrule( - name = "prefixed_wasmtime_c_api_lib", - srcs = [ - "@com_github_bytecodealliance_wasmtime//:rust_c_api", - ], - outs = [ - "prefixed_wasmtime_c_api.a", - ], - cmd = """ - for symbol in $$(nm -P $(<) 2>/dev/null | grep -E ^_?wasm_ | cut -d" " -f1); do - echo $$symbol | sed -r 's/^(_?)(wasm_[a-z_]+)$$/\\1\\2 \\1wasmtime_\\2/' >>prefixed - done - # This should be OBJCOPY, but bazel-zig-cc doesn't define it. - objcopy --redefine-syms=prefixed $(<) $@ - """, - toolchains = ["@bazel_tools//tools/cpp:current_cc_toolchain"], -) - -cc_library( - name = "prefixed_wasmtime_lib", - srcs = [ - ":prefixed_wasmtime_c_api_lib", - ], - hdrs = [ - ":prefixed_wasmtime_c_api_headers", - ], - linkstatic = 1, -) diff --git a/bazel/external/wasmtime.BUILD b/bazel/external/wasmtime.BUILD index 584366615..79a331f18 100644 --- a/bazel/external/wasmtime.BUILD +++ b/bazel/external/wasmtime.BUILD @@ -1,15 +1,71 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") load("@rules_rust//rust:defs.bzl", "rust_static_library") licenses(["notice"]) # Apache 2 package(default_visibility = ["//visibility:public"]) +cc_library( + name = "wasmtime_lib", + hdrs = [ + "crates/c-api/include/wasm.h", + ], + deps = [ + ":rust_c_api", + ], +) + +genrule( + name = "prefixed_wasmtime_c_api_headers", + srcs = [ + "crates/c-api/include/wasm.h", + ], + outs = [ + "include/prefixed_wasm.h", + ], + cmd = """ + sed -e 's/\\ wasm_/\\ wasmtime_wasm_/g' \ + -e 's/\\*wasm_/\\*wasmtime_wasm_/g' \ + -e 's/(wasm_/(wasmtime_wasm_/g' \ + $(<) >$@ + """, +) + +genrule( + name = "prefixed_wasmtime_c_api_lib", + srcs = [ + ":rust_c_api", + ], + outs = [ + "prefixed_wasmtime_c_api.a", + ], + cmd = """ + for symbol in $$(nm -P $(<) 2>/dev/null | grep -E ^_?wasm_ | cut -d" " -f1); do + echo $$symbol | sed -r 's/^(_?)(wasm_[a-z_]+)$$/\\1\\2 \\1wasmtime_\\2/' >>prefixed + done + # This should be OBJCOPY, but bazel-zig-cc doesn't define it. + objcopy --redefine-syms=prefixed $(<) $@ + """, + toolchains = ["@bazel_tools//tools/cpp:current_cc_toolchain"], +) + +cc_library( + name = "prefixed_wasmtime_lib", + srcs = [ + ":prefixed_wasmtime_c_api_lib", + ], + hdrs = [ + ":prefixed_wasmtime_c_api_headers", + ], + linkstatic = 1, +) + rust_static_library( name = "rust_c_api", srcs = glob(["crates/c-api/src/**/*.rs"]), - crate_features = [], + crate_features = ["cranelift"], crate_root = "crates/c-api/src/lib.rs", - edition = "2018", + edition = "2021", proc_macro_deps = [ "@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:wasmtime-c-api-macros", ], diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 2586ed21b..2665f24d5 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -240,28 +240,19 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasmtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD", - sha256 = "917da461249b11a3176a39573723f78c627259576d0ca10b00d6e7f7fa047081", - strip_prefix = "wasmtime-9.0.3", - url = "https://github.com/bytecodealliance/wasmtime/archive/v9.0.3.tar.gz", - ) - - maybe( - http_archive, - name = "com_github_webassembly_wasm_c_api", - build_file = "@proxy_wasm_cpp_host//bazel/external:wasm-c-api.BUILD", - sha256 = "c774044f51431429e878bd1b9e2a4e38932f861f9211df72f75e9427eb6b8d32", - strip_prefix = "wasm-c-api-c9d31284651b975f05ac27cee0bab1377560b87e", - url = "https://github.com/WebAssembly/wasm-c-api/archive/c9d31284651b975f05ac27cee0bab1377560b87e.tar.gz", + sha256 = "2ccb49bb3bfa4d86907ad4c80d1147aef6156c7b6e3f7f14ed02a39de9761155", + strip_prefix = "wasmtime-24.0.0", + url = "https://github.com/bytecodealliance/wasmtime/archive/v24.0.0.tar.gz", ) native.bind( name = "wasmtime", - actual = "@com_github_webassembly_wasm_c_api//:wasmtime_lib", + actual = "@com_github_bytecodealliance_wasmtime//:wasmtime_lib", ) native.bind( name = "prefixed_wasmtime", - actual = "@com_github_webassembly_wasm_c_api//:prefixed_wasmtime_lib", + actual = "@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib", ) # WAVM with dependencies. diff --git a/src/wasmtime/types.h b/src/wasmtime/types.h index 4ab725c04..14fe75053 100644 --- a/src/wasmtime/types.h +++ b/src/wasmtime/types.h @@ -13,7 +13,7 @@ // limitations under the License. #include "src/common/types.h" -#include "include/wasm.h" +#include "crates/c-api/include/wasm.h" namespace proxy_wasm::wasmtime { diff --git a/src/wasmtime/wasmtime.cc b/src/wasmtime/wasmtime.cc index 2cfc21888..c4a7646f0 100644 --- a/src/wasmtime/wasmtime.cc +++ b/src/wasmtime/wasmtime.cc @@ -26,7 +26,7 @@ #include "src/wasmtime/types.h" -#include "include/wasm.h" +#include "crates/c-api/include/wasm.h" namespace proxy_wasm { namespace wasmtime { @@ -215,8 +215,8 @@ static const char *printValKind(wasm_valkind_t kind) { return "f32"; case WASM_F64: return "f64"; - case WASM_ANYREF: - return "anyref"; + case WASM_EXTERNREF: + return "externref"; case WASM_FUNCREF: return "funcref"; default: From 7c975bb77a76c0f307564525246edabf85c6a32c Mon Sep 17 00:00:00 2001 From: martijneken Date: Tue, 10 Sep 2024 10:10:03 -0400 Subject: [PATCH 68/90] fix: Upgrade deprecated artifact upload/download handlers (#415) Seen on https://github.com/proxy-wasm/proxy-wasm-cpp-host/pull/380 CI: Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ Signed-off-by: Martijn Stevenson --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13264d48f..811c6a369 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,7 +75,7 @@ jobs: done - name: Upload test data - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: test_data path: bazel-bin/test/test_data/*.wasm @@ -306,7 +306,7 @@ jobs: ${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.engine }}-${{ steps.cache-key.outputs.uniq }}- - name: Download test data - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: test_data path: test/test_data/ From 0699c0515e354454f7c4b41bbd4e041459d33df2 Mon Sep 17 00:00:00 2001 From: "liang.he" Date: Wed, 11 Sep 2024 23:57:47 +0800 Subject: [PATCH 69/90] bump wamr to 2.1.1 and able to consume precompiled content (#380) - skip leading paddings in .aot section Signed-off-by: liang.he@intel.com --- bazel/external/wamr.BUILD | 21 ++++++++++++++++++--- bazel/repositories.bzl | 8 ++++---- src/wamr/wamr.cc | 33 ++++++++++++++++++++++++--------- 3 files changed, 46 insertions(+), 16 deletions(-) diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index 8c2955d57..dcf8d87ef 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -12,11 +12,24 @@ filegroup( cmake( name = "wamr_lib", generate_args = [ + # disable WASI "-DWAMR_BUILD_LIBC_WASI=0", - "-DWAMR_BUILD_MULTI_MODULE=0", + "-DWAMR_BUILD_LIBC_BUILTIN=0", + # MVP + "-DWAMR_BUILD_BULK_MEMORY=1", + "-DWAMR_BUILD_REF_TYPES=1", "-DWAMR_BUILD_TAIL_CALL=1", - "-DWAMR_DISABLE_HW_BOUND_CHECK=0", - "-DWAMR_DISABLE_STACK_HW_BOUND_CHECK=1", + # WAMR private features + "-DWAMR_BUILD_MULTI_MODULE=0", + # Some tests have indicated that the following three factors have + # a minimal impact on performance. + # - Get function names from name section + "-DWAMR_BUILD_CUSTOM_NAME_SECTION=1", + "-DWAMR_BUILD_LOAD_CUSTOM_SECTION=1", + # - Show Wasm call stack if met a trap + "-DWAMR_BUILD_DUMP_CALL_STACK=1", + # Cache module files + "-DWAMR_BUILD_WASM_CACHE=0", "-GNinja", ] + select({ "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": [ @@ -26,6 +39,8 @@ cmake( "-DWAMR_BUILD_INTERP=0", "-DWAMR_BUILD_JIT=1", "-DWAMR_BUILD_SIMD=1", + # linux perf. only for jit and aot + # "-DWAMR_BUILD_LINUX_PERF=1", ], "//conditions:default": [ "-DWAMR_BUILD_AOT=0", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 2665f24d5..0bede2208 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -198,10 +198,10 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasm_micro_runtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr.BUILD", - # WAMR-1.2.1 - sha256 = "7548d4bbea8dbb9b005e83bd571f93a12fb3f0b5e87a8b0130f004dd92df4b0b", - strip_prefix = "wasm-micro-runtime-WAMR-1.2.1", - url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-1.2.1.zip", + # WAMR-2.1.1 + sha256 = "a0824762abbcbb3dd6b7bb07530f198ece5d792a12a879bc2a99100590fdb151", + strip_prefix = "wasm-micro-runtime-WAMR-2.1.1", + url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-2.1.1.zip", ) native.bind( diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index ea3d140e7..482a59bf1 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -56,7 +56,8 @@ class Wamr : public WasmVm { Wamr() = default; std::string_view getEngineName() override { return "wamr"; } - std::string_view getPrecompiledSectionName() override { return ""; } + // must use the exact name given by test-tools/append-aot-to-wasm/append_aot_to_wasm.py + std::string_view getPrecompiledSectionName() override { return "wamr-aot"; } Cloneable cloneable() override { return Cloneable::CompiledBytecode; } std::unique_ptr clone() override; @@ -118,18 +119,32 @@ class Wamr : public WasmVm { std::unordered_map module_functions_; }; -bool Wamr::load(std::string_view bytecode, std::string_view /*precompiled*/, +bool Wamr::load(std::string_view bytecode, std::string_view precompiled, const std::unordered_map & /*function_names*/) { store_ = wasm_store_new(engine()); if (store_ == nullptr) { return false; } - wasm_byte_vec_t binary = {.size = bytecode.size(), - .data = (char *)bytecode.data(), - .num_elems = bytecode.size(), - .size_of_elem = sizeof(byte_t), - .lock = nullptr}; + wasm_byte_vec_t binary = {0}; + if (precompiled.empty()) { + binary.size = bytecode.size(); + binary.data = const_cast(bytecode.data()); + binary.num_elems = bytecode.size(); + binary.size_of_elem = sizeof(byte_t); + binary.lock = nullptr; + } else { + // skip leading paddings + auto padding_count = static_cast(precompiled[0]); + precompiled.remove_prefix(padding_count + 1); + + binary.size = precompiled.size(); + binary.data = const_cast(precompiled.data()); + binary.num_elems = precompiled.size(); + binary.size_of_elem = sizeof(byte_t); + binary.lock = nullptr; + } + module_ = wasm_module_new(store_.get(), &binary); if (module_ == nullptr) { return false; @@ -224,8 +239,8 @@ static const char *printValKind(wasm_valkind_t kind) { return "f32"; case WASM_F64: return "f64"; - case WASM_ANYREF: - return "anyref"; + case WASM_EXTERNREF: + return "externref"; case WASM_FUNCREF: return "funcref"; default: From 3212034ee6e75d54cbf91b65cc659772166442f4 Mon Sep 17 00:00:00 2001 From: code Date: Mon, 30 Sep 2024 03:08:03 +0800 Subject: [PATCH 70/90] compdb add the compdb support to the proxy_wasm_cpp_host (#419) * compdb add the compdb support to the proxy_wasm_cpp_host Signed-off-by: wangbaiping --- .gitignore | 3 ++ CONTRIBUTING.md | 4 ++ DEVELOPMENT.md | 11 +++++ README.md | 4 ++ bazel/repositories.bzl | 9 ++++ tools/gen_compilation_database.py | 79 +++++++++++++++++++++++++++++++ 6 files changed, 110 insertions(+) create mode 100644 DEVELOPMENT.md create mode 100755 tools/gen_compilation_database.py diff --git a/.gitignore b/.gitignore index a6ef824c1..54c8a3b00 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ /bazel-* +/external +/compile_commands.json +/.cache/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 654a07164..d3f60f57a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,3 +26,7 @@ information on using pull requests. This project follows [Google's Open Source Community Guidelines](https://opensource.google/conduct/). + +## Development + +See the [Development Guidelines](DEVELOPMENT.md). diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md new file mode 100644 index 000000000..791fe23a1 --- /dev/null +++ b/DEVELOPMENT.md @@ -0,0 +1,11 @@ +# Development guidelines + +## Generate compilation database + +[JSON Compilation Database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) files can be used by [clangd](https://clangd.llvm.org/) or similar tools to add source code cross-references and code completion functionality to editors. + +The following command can be used to generate the `compile_commands.json` file: + +``` +BAZEL_BUILD_OPTION_LIST="--define=engine=multi" ./tools/gen_compilation_database.py --include_all //test/... //:lib +``` diff --git a/README.md b/README.md index 8cb5694ee..bd198e723 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ # WebAssembly for Proxies (C++ host implementation) + +## How to Contribute + +See [CONTRIBUTING](CONTRIBUTING.md). diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 0bede2208..908ffe492 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -135,6 +135,15 @@ def proxy_wasm_cpp_host_repositories(): urls = ["https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/95bb82ce45c41d9100fd1ec15d2ffc67f7f3ceee.tar.gz"], ) + # Compile DB dependencies. + maybe( + http_archive, + name = "bazel_compdb", + sha256 = "acd2a9eaf49272bb1480c67d99b82662f005b596a8c11739046a4220ec73c4da", + strip_prefix = "bazel-compilation-database-40864791135333e1446a04553b63cbe744d358d0", + url = "https://github.com/grailbio/bazel-compilation-database/archive/40864791135333e1446a04553b63cbe744d358d0.tar.gz", + ) + # Test dependencies. maybe( diff --git a/tools/gen_compilation_database.py b/tools/gen_compilation_database.py new file mode 100755 index 000000000..bff3d82d5 --- /dev/null +++ b/tools/gen_compilation_database.py @@ -0,0 +1,79 @@ +#!/usr/bin/env python3 + +# Copyright 2016-2019 Envoy Project Authors +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import argparse +import json +import os +import shlex +import subprocess +from pathlib import Path + +# This is copied from https://github.com/envoyproxy/envoy and remove unnecessary code. + +# This method is equivalent to https://github.com/grailbio/bazel-compilation-database/blob/master/generate.py +def generate_compilation_database(args): + # We need to download all remote outputs for generated source code. This option lives here to override those + # specified in bazelrc. + bazel_startup_options = shlex.split(os.environ.get("BAZEL_STARTUP_OPTION_LIST", "")) + bazel_options = shlex.split(os.environ.get("BAZEL_BUILD_OPTION_LIST", "")) + [ + "--remote_download_outputs=all", + ] + + source_dir_targets = args.bazel_targets + + subprocess.check_call(["bazel", *bazel_startup_options, "build"] + bazel_options + [ + "--aspects=@bazel_compdb//:aspects.bzl%compilation_database_aspect", + "--output_groups=compdb_files,header_files" + ] + source_dir_targets) + + execroot = subprocess.check_output( + ["bazel", *bazel_startup_options, "info", *bazel_options, + "execution_root"]).decode().strip() + + db_entries = [] + for db in Path(execroot).glob('**/*.compile_commands.json'): + db_entries.extend(json.loads(db.read_text())) + + def replace_execroot_marker(db_entry): + if 'directory' in db_entry and db_entry['directory'] == '__EXEC_ROOT__': + db_entry['directory'] = execroot + if 'command' in db_entry: + db_entry['command'] = ( + db_entry['command'].replace('-isysroot __BAZEL_XCODE_SDKROOT__', '')) + return db_entry + + return list(map(replace_execroot_marker, db_entries)) + +if __name__ == "__main__": + parser = argparse.ArgumentParser(description='Generate JSON compilation database') + parser.add_argument('--include_external', action='https://github.com/store_true') + parser.add_argument('--include_genfiles', action='https://github.com/store_true') + parser.add_argument('--include_headers', action='https://github.com/store_true') + parser.add_argument('--include_all', action='https://github.com/store_true') + parser.add_argument( + '--system-clang', + action='https://github.com/store_true', + help= + 'Use `clang++` instead of the bazel wrapper for commands. This may help if `clangd` cannot find/run the tools.' + ) + parser.add_argument('bazel_targets', nargs='*', default=[]) + + args = parser.parse_args() + db = generate_compilation_database(args) + + with open("compile_commands.json", "w") as db_file: + json.dump(db, db_file, indent=2) From 63cb9c1a40d8e6382d3f302721e09b8c45466661 Mon Sep 17 00:00:00 2001 From: Keith Mattix II Date: Fri, 13 Dec 2024 13:01:25 -0600 Subject: [PATCH 71/90] Fix references to prefix_wasm_api (#420) Signed-off-by: Keith Mattix II --- bazel/external/wasmtime.BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/external/wasmtime.BUILD b/bazel/external/wasmtime.BUILD index 79a331f18..27da86e46 100644 --- a/bazel/external/wasmtime.BUILD +++ b/bazel/external/wasmtime.BUILD @@ -21,7 +21,7 @@ genrule( "crates/c-api/include/wasm.h", ], outs = [ - "include/prefixed_wasm.h", + "crates/c-api/include/prefixed_wasm.h", ], cmd = """ sed -e 's/\\ wasm_/\\ wasmtime_wasm_/g' \ From c4d7bb0fda912e24c64daf2aa749ec54cec99412 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Thu, 19 Dec 2024 13:59:36 -0500 Subject: [PATCH 72/90] feat(go-sdk): add wasi hostcalls used by the Go SDK (#427) The full Go sdk imports hostcalls not currently exported to the wasm module, making the wasm module fail on instantiation. Per discussion with the Go core maintainers, these functions do not need to be implemented, but they must be present. Signed-off-by: Matt Leon --- include/proxy-wasm/exports.h | 10 +++++++--- src/exports.cc | 25 +++++++++++++++++++++++++ src/wasm.cc | 5 ++++- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/include/proxy-wasm/exports.h b/include/proxy-wasm/exports.h index 376a4d3b6..91c51150c 100644 --- a/include/proxy-wasm/exports.h +++ b/include/proxy-wasm/exports.h @@ -139,10 +139,13 @@ Word wasi_unstable_fd_read(Word, Word, Word, Word); Word wasi_unstable_fd_seek(Word, int64_t, Word, Word); Word wasi_unstable_fd_close(Word); Word wasi_unstable_fd_fdstat_get(Word fd, Word statOut); +Word wasi_unstable_fd_fdstat_set_flags(Word fd, Word flags); Word wasi_unstable_environ_get(Word, Word); Word wasi_unstable_environ_sizes_get(Word count_ptr, Word buf_size_ptr); Word wasi_unstable_args_get(Word argc_ptr, Word argv_buf_size_ptr); Word wasi_unstable_args_sizes_get(Word argc_ptr, Word argv_buf_size_ptr); +Word wasi_unstable_sched_yield(); +Word wasi_unstable_poll_oneoff(Word in, Word out, Word nsubscriptions, Word nevents); void wasi_unstable_proc_exit(Word); Word wasi_unstable_clock_time_get(Word, uint64_t, Word); Word wasi_unstable_random_get(Word, Word); @@ -170,9 +173,10 @@ void emscripten_notify_memory_growth(Word); _f(continue_stream) _f(close_stream) _f(get_log_level) #define FOR_ALL_WASI_FUNCTIONS(_f) \ - _f(fd_write) _f(fd_read) _f(fd_seek) _f(fd_close) _f(fd_fdstat_get) _f(environ_get) \ - _f(environ_sizes_get) _f(args_get) _f(args_sizes_get) _f(clock_time_get) _f(random_get) \ - _f(proc_exit) _f(path_open) _f(fd_prestat_get) _f(fd_prestat_dir_name) + _f(fd_write) _f(fd_read) _f(fd_seek) _f(fd_close) _f(fd_fdstat_get) _f(fd_fdstat_set_flags) \ + _f(environ_get) _f(environ_sizes_get) _f(args_get) _f(args_sizes_get) _f(clock_time_get) \ + _f(random_get) _f(sched_yield) _f(poll_oneoff) _f(proc_exit) _f(path_open) \ + _f(fd_prestat_get) _f(fd_prestat_dir_name) // Helpers to generate a stub to pass to VM, in place of a restricted proxy-wasm capability. #define _CREATE_PROXY_WASM_STUB(_fn) \ diff --git a/src/exports.cc b/src/exports.cc index 0290dcf0f..25ca06c9d 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -646,6 +646,9 @@ Word grpc_send(Word token, Word message_ptr, Word message_size, Word end_stream) return context->grpcSend(token, message.value(), end_stream != 0U); } +// WASIp1 typings in comments sourced from +// https://github.com/WebAssembly/wasi-libc/blob/446cb3f1aa21f9b1a1eab372f82d65d19003e924/libc-bottom-half/headers/public/wasi/api.h + // __wasi_errno_t path_open(__wasi_fd_t fd, __wasi_lookupflags_t dirflags, const char *path, // size_t path_len, __wasi_oflags_t oflags, __wasi_rights_t fs_rights_base, __wasi_rights_t // fs_rights_inheriting, __wasi_fdflags_t fdflags, __wasi_fd_t *retptr0) @@ -776,6 +779,13 @@ Word wasi_unstable_fd_fdstat_get(Word fd, Word statOut) { return 0; // __WASI_ESUCCESS } +// __wasi_errno_t __wasi_fd_fdstat_set_flags(__wasi_fd_t fd, __wasi_fdflags_t flags) +Word wasi_unstable_fd_fdstat_set_flags(Word /*fd*/, Word /*flags*/) { + // Flags that can be specified: append, dsync, nonblock, rsync, and sync. Proxy-wasm only supports + // STDOUT and STDERR, but none of these flags have any effect in Proxy-Wasm. + return 52; // __WASI_ERRNO_ENOSYS +} + // __wasi_errno_t __wasi_environ_get(char **environ, char *environ_buf); Word wasi_unstable_environ_get(Word environ_array_ptr, Word environ_buf) { auto *context = contextOrEffectiveContext(); @@ -879,6 +889,21 @@ Word wasi_unstable_random_get(Word result_buf_ptr, Word buf_len) { return 0; // __WASI_ESUCCESS } +// __wasi_errno_t __wasi_sched_yield() +Word wasi_unstable_sched_yield() { + // Per POSIX man pages, it is valid to return success if the calling thread is the only thread in + // the highest priority list. This is vacuously true for wasm without threads. There are no valid + // error cases defined. + return 0; // __WASI_ESUCCESS +} + +// __wasi_errno_t __wasi_poll_oneoff(const __wasi_subscription_t *in, __wasi_event_t *out, +// __wasi_size_t nsubscriptions, __wasi_size_t *nevents) +Word wasi_unstable_poll_oneoff(Word /*in*/, Word /*out*/, Word /*nsubscriptions*/, + Word /*nevents_ptr*/) { + return 52; // __WASI_ERRNO_ENOSYS +} + // void __wasi_proc_exit(__wasi_exitcode_t rval); void wasi_unstable_proc_exit(Word /*exit_code*/) { auto *context = contextOrEffectiveContext(); diff --git a/src/wasm.cc b/src/wasm.cc index cb1dd9b3a..e8a7ce436 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -394,7 +394,10 @@ void WasmBase::startVm(ContextBase *root_context) { // time "wasi_unstable.clock_time_get", "wasi_snapshot_preview1.clock_time_get", // random - "wasi_unstable.random_get", "wasi_snapshot_preview1.random_get"}); + "wasi_unstable.random_get", "wasi_snapshot_preview1.random_get", + // Go runtime initialization + "wasi_unstable.fd_fdstat_get", "wasi_snapshot_preview1.fd_fdstat_get", + "wasi_unstable.fd_fdstat_set_flags", "wasi_snapshot_preview1.fd_fdstat_set_flags"}); if (_initialize_) { // WASI reactor. _initialize_(root_context); From 3095c6822328749f078f104d9b90cfd66eb80924 Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Sat, 12 Jul 2025 19:01:05 -0400 Subject: [PATCH 73/90] chore: workflow runner fixes (#436) Assorted changes to get workflows working again: - Update format workflows to use ubuntu-22.04 - Update windows-2019 to windows-2022 and add a missing include needed to build with that - Enable manual triggering of workflows Fixes #435 --------- Signed-off-by: Michael Warres --- .github/workflows/format.yml | 10 ++++++---- .github/workflows/test.yml | 4 +++- include/proxy-wasm/signature_util.h | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index de71b24cc..1004f123f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -31,6 +31,8 @@ on: schedule: - cron: '0 0 * * *' + workflow_dispatch: + concurrency: group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }} @@ -41,7 +43,7 @@ jobs: addlicense: name: verify licenses - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 @@ -61,7 +63,7 @@ jobs: buildifier: name: check format with buildifier - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 @@ -99,7 +101,7 @@ jobs: clang_format: name: check format with clang-format - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 @@ -115,7 +117,7 @@ jobs: clang_tidy: name: check format with clang-tidy - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 811c6a369..5a6dd8f49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,8 @@ on: schedule: - cron: '0 0 * * *' + workflow_dispatch: + concurrency: group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }} @@ -127,7 +129,7 @@ jobs: flags: --config=clang-tsan - name: 'NullVM on Windows/x86_64' engine: 'null' - os: windows-2019 + os: windows-2022 arch: x86_64 action: test targets: -//test/fuzz/... diff --git a/include/proxy-wasm/signature_util.h b/include/proxy-wasm/signature_util.h index 68579dcd1..a5c9c39df 100644 --- a/include/proxy-wasm/signature_util.h +++ b/include/proxy-wasm/signature_util.h @@ -14,6 +14,7 @@ #pragma once +#include #include namespace proxy_wasm { From 7a212bcaa2b68716e71bd6b8d7206acd53bb1ab1 Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Sat, 12 Jul 2025 23:58:32 -0400 Subject: [PATCH 74/90] feat: add knob to customise on{Request,Response}Headers StopIteration behavior (#434) Add protected ContextBase::allow_on_headers_stop_iteration_ field that can be used by host implementations to control whether or not ContextBase propagates FilterHeaderStatus::StopIteration returned by onRequestHeaders() or onResponseHeaders() without modification. Follow-on envoyproxy/envoy#40213 adds an option in Envoy WasmFilter PluginConfig that sets the value of this field. For details, see [Envoy Wasm / Proxy-Wasm support for FilterHeadersStatus::StopIteration](https://docs.google.com/document/d/1Whd1C0k-H2NHrPOmlAqqauFz6ObSTP017juJIYyciB0/edit?usp=sharing). This PR is one part of implementing [Option B: WasmFilter config knob](https://docs.google.com/document/d/1Whd1C0k-H2NHrPOmlAqqauFz6ObSTP017juJIYyciB0/edit?tab=t.0#bookmark=id.5wxldlapsp54). Note that default behavior of proxy-wasm-cpp-host and ContextBase is unchanged. --------- Signed-off-by: Michael Warres --- include/proxy-wasm/context.h | 7 +++ src/context.cc | 10 ++-- test/BUILD | 15 ++++++ test/stop_iteration_test.cc | 81 ++++++++++++++++++++++++++++++++ test/test_data/BUILD | 5 ++ test/test_data/stop_iteration.cc | 31 ++++++++++++ test/utility.h | 2 + 7 files changed, 147 insertions(+), 4 deletions(-) create mode 100644 test/stop_iteration_test.cc create mode 100644 test/test_data/stop_iteration.cc diff --git a/include/proxy-wasm/context.h b/include/proxy-wasm/context.h index 12937041f..7f675525c 100644 --- a/include/proxy-wasm/context.h +++ b/include/proxy-wasm/context.h @@ -397,6 +397,13 @@ class ContextBase : public RootInterface, bool destroyed_ = false; bool stream_failed_ = false; // Set true after failStream is called in case of VM failure. + // If true, convertVmCallResultToFilterHeadersStatus() propagates + // FilterHeadersStatus::StopIteration unmodified to callers. If false, it + // translates FilterHeaderStatus::StopIteration to + // FilterHeadersStatus::StopAllIterationAndWatermark, which is the default + // behavior for v0.2.* of the Proxy-Wasm ABI. + bool allow_on_headers_stop_iteration_ = false; + private: // helper functions FilterHeadersStatus convertVmCallResultToFilterHeadersStatus(uint64_t result); diff --git a/src/context.cc b/src/context.cc index 5353a52a5..d8dbc9a2a 100644 --- a/src/context.cc +++ b/src/context.cc @@ -493,10 +493,12 @@ FilterHeadersStatus ContextBase::convertVmCallResultToFilterHeadersStatus(uint64 result > static_cast(FilterHeadersStatus::StopAllIterationAndWatermark)) { return FilterHeadersStatus::StopAllIterationAndWatermark; } - if (result == static_cast(FilterHeadersStatus::StopIteration)) { - // Always convert StopIteration (pause processing headers, but continue processing body) - // to StopAllIterationAndWatermark (pause all processing), since the former breaks all - // assumptions about HTTP processing. + if (result == static_cast(FilterHeadersStatus::StopIteration) && + !allow_on_headers_stop_iteration_) { + // Default behavior for Proxy-Wasm 0.2.* ABI is to translate StopIteration + // (pause processing headers, but continue processing body) to + // StopAllIterationAndWatermark (pause all processing), as described in + // https://github.com/proxy-wasm/proxy-wasm-cpp-host/issues/143. return FilterHeadersStatus::StopAllIterationAndWatermark; } return static_cast(result); diff --git a/test/BUILD b/test/BUILD index 61973ce17..73787e4b0 100644 --- a/test/BUILD +++ b/test/BUILD @@ -132,6 +132,21 @@ cc_test( ], ) +cc_test( + name = "stop_iteration_test", + srcs = ["stop_iteration_test.cc"], + data = [ + "//test/test_data:stop_iteration.wasm", + ], + linkstatic = 1, + deps = [ + ":utility_lib", + "//:lib", + "@com_google_googletest//:gtest", + "@com_google_googletest//:gtest_main", + ], +) + cc_test( name = "security_test", srcs = ["security_test.cc"], diff --git a/test/stop_iteration_test.cc b/test/stop_iteration_test.cc new file mode 100644 index 000000000..9ff443f24 --- /dev/null +++ b/test/stop_iteration_test.cc @@ -0,0 +1,81 @@ +// Copyright 2025 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" +#include "include/proxy-wasm/wasm.h" +#include "test/utility.h" + +namespace proxy_wasm { + +INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines()), + [](const testing::TestParamInfo &info) { + return info.param; + }); + +// TestVm is parameterized for each engine and creates a VM on construction. +TEST_P(TestVm, AllowOnHeadersStopIteration) { + // Read the wasm source. + auto source = readTestWasmFile("stop_iteration.wasm"); + ASSERT_FALSE(source.empty()); + + // Create a WasmBase and load the plugin. + auto wasm = std::make_shared(std::move(vm_)); + ASSERT_TRUE(wasm->load(source, /*allow_precompiled=*/false)); + ASSERT_TRUE(wasm->initialize()); + + // Create a plugin. + const auto plugin = std::make_shared( + /*name=*/"test", /*root_id=*/"", /*vm_id=*/"", + /*engine=*/wasm->wasm_vm()->getEngineName(), /*plugin_config=*/"", + /*fail_open=*/false, /*key=*/""); + + // Create root context, call onStart() and onConfigure() + ContextBase *root_context = wasm->start(plugin); + ASSERT_TRUE(root_context != nullptr); + ASSERT_TRUE(wasm->configure(root_context, plugin)); + + auto wasm_handle = std::make_shared(wasm); + auto plugin_handle = std::make_shared(wasm_handle, plugin); + + // By default, stream context onRequestHeaders and onResponseHeaders + // translates FilterHeadersStatus::StopIteration to + // FilterHeadersStatus::StopAllIterationAndWatermark. + { + auto stream_context = TestContext(wasm.get(), root_context->id(), plugin_handle); + stream_context.onCreate(); + EXPECT_EQ(stream_context.onRequestHeaders(/*headers=*/0, /*end_of_stream=*/false), + FilterHeadersStatus::StopAllIterationAndWatermark); + EXPECT_EQ(stream_context.onResponseHeaders(/*headers=*/0, /*end_of_stream=*/false), + FilterHeadersStatus::StopAllIterationAndWatermark); + stream_context.onDone(); + stream_context.onDelete(); + } + ASSERT_FALSE(wasm->isFailed()); + + // Create a stream context that propagates FilterHeadersStatus::StopIteration. + { + auto stream_context = TestContext(wasm.get(), root_context->id(), plugin_handle); + stream_context.set_allow_on_headers_stop_iteration(true); + stream_context.onCreate(); + EXPECT_EQ(stream_context.onRequestHeaders(/*headers=*/0, /*end_of_stream=*/false), + FilterHeadersStatus::StopIteration); + EXPECT_EQ(stream_context.onResponseHeaders(/*headers=*/0, /*end_of_stream=*/false), + FilterHeadersStatus::StopIteration); + stream_context.onDone(); + stream_context.onDelete(); + } + ASSERT_FALSE(wasm->isFailed()); +} + +} // namespace proxy_wasm diff --git a/test/test_data/BUILD b/test/test_data/BUILD index bd70b8eb9..e5ecd439e 100644 --- a/test/test_data/BUILD +++ b/test/test_data/BUILD @@ -89,3 +89,8 @@ proxy_wasm_cc_binary( name = "http_logging.wasm", srcs = ["http_logging.cc"], ) + +proxy_wasm_cc_binary( + name = "stop_iteration.wasm", + srcs = ["stop_iteration.cc"], +) diff --git a/test/test_data/stop_iteration.cc b/test/test_data/stop_iteration.cc new file mode 100644 index 000000000..55594285f --- /dev/null +++ b/test/test_data/stop_iteration.cc @@ -0,0 +1,31 @@ +// Copyright 2025 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "proxy_wasm_intrinsics.h" + +class StopIterationContext : public Context { +public: + explicit StopIterationContext(uint32_t id, RootContext *root) : Context(id, root) {} + + FilterHeadersStatus onRequestHeaders(uint32_t headers, bool end_of_stream) override { + return FilterHeadersStatus::StopIteration; + } + + FilterHeadersStatus onResponseHeaders(uint32_t headers, bool end_of_stream) override { + return FilterHeadersStatus::StopIteration; + } +}; + +static RegisterContextFactory register_StaticContext(CONTEXT_FACTORY(StopIterationContext), + ROOT_FACTORY(RootContext)); diff --git a/test/utility.h b/test/utility.h index 27b3b0493..ccd2a59b6 100644 --- a/test/utility.h +++ b/test/utility.h @@ -133,6 +133,8 @@ class TestContext : public ContextBase { .count(); } + void set_allow_on_headers_stop_iteration(bool allow) { allow_on_headers_stop_iteration_ = allow; } + private: std::string log_; static std::string global_log_; From 65bb78fbf8beb6d3670701d35711e691c0c4c4ce Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Sat, 12 Jul 2025 23:59:47 -0400 Subject: [PATCH 75/90] add leonm1@ to CODEOWNERS (#437) Signed-off-by: Michael Warres --- CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index e0a504f38..e4190bb47 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* @PiotrSikora @martijneken @mpwarres +* @PiotrSikora @martijneken @mpwarres @leonm1 From ad8303f41070c1689ebdba69935ca360d17dba8a Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Tue, 15 Jul 2025 10:52:58 -0400 Subject: [PATCH 76/90] chore!:remove support for wavm (#438) * remove support for wavm Signed-off-by: Michael Warres * apply clang-format Signed-off-by: Michael Warres --------- Signed-off-by: Michael Warres Signed-off-by: Matt Leon --- .github/workflows/test.yml | 8 - BUILD | 31 --- bazel/BUILD | 5 - bazel/external/wavm.BUILD | 28 -- bazel/repositories.bzl | 27 -- bazel/select.bzl | 7 - include/proxy-wasm/wasm.h | 2 +- include/proxy-wasm/wasm_vm.h | 7 +- include/proxy-wasm/wavm.h | 26 -- src/wavm/wavm.cc | 492 ----------------------------------- test/runtime_test.cc | 24 +- test/utility.cc | 3 - test/utility.h | 7 - test/wasm_vm_test.cc | 6 - 14 files changed, 7 insertions(+), 666 deletions(-) delete mode 100644 bazel/external/wavm.BUILD delete mode 100644 include/proxy-wasm/wavm.h delete mode 100644 src/wavm/wavm.cc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a6dd8f49..5f33c3316 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -262,14 +262,6 @@ jobs: os: macos-13 arch: x86_64 action: test - - name: 'WAVM on Linux/x86_64' - engine: 'wavm' - repo: 'com_github_wavm_wavm' - os: ubuntu-22.04 - arch: x86_64 - action: test - flags: --config=clang - cache: true steps: - uses: actions/checkout@v2 diff --git a/BUILD b/BUILD index 215459eb2..6db5fd903 100644 --- a/BUILD +++ b/BUILD @@ -19,7 +19,6 @@ load( "proxy_wasm_select_engine_wamr", "proxy_wasm_select_engine_wasmedge", "proxy_wasm_select_engine_wasmtime", - "proxy_wasm_select_engine_wavm", ) load("@rules_cc//cc:defs.bzl", "cc_library") @@ -281,34 +280,6 @@ cc_library( ], ) -cc_library( - name = "wavm_lib", - srcs = [ - "src/wavm/wavm.cc", - ], - hdrs = ["include/proxy-wasm/wavm.h"], - copts = [ - "-DWAVM_API=", - "-Wno-non-virtual-dtor", - "-Wno-old-style-cast", - ], - defines = [ - "PROXY_WASM_HAS_RUNTIME_WAVM", - "PROXY_WASM_HOST_ENGINE_WAVM", - ], - linkopts = select({ - "@platforms//os:macos": [], - "@platforms//os:windows": [], - "//conditions:default": [ - "-ldl", - ], - }), - deps = [ - ":wasm_vm_headers", - "//external:wavm", - ], -) - cc_library( name = "lib", deps = [ @@ -324,7 +295,5 @@ cc_library( ) + proxy_wasm_select_engine_wasmtime( [":wasmtime_lib"], [":prefixed_wasmtime_lib"], - ) + proxy_wasm_select_engine_wavm( - [":wavm_lib"], ), ) diff --git a/bazel/BUILD b/bazel/BUILD index 650fa29d8..a3487f891 100644 --- a/bazel/BUILD +++ b/bazel/BUILD @@ -46,11 +46,6 @@ config_setting( values = {"define": "engine=wasmtime"}, ) -config_setting( - name = "engine_wavm", - values = {"define": "engine=wavm"}, -) - config_setting( name = "multiengine", values = {"define": "engine=multi"}, diff --git a/bazel/external/wavm.BUILD b/bazel/external/wavm.BUILD deleted file mode 100644 index b315efdea..000000000 --- a/bazel/external/wavm.BUILD +++ /dev/null @@ -1,28 +0,0 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") - -licenses(["notice"]) # Apache 2 - -package(default_visibility = ["//visibility:public"]) - -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -cmake( - name = "wavm_lib", - cache_entries = { - "LLVM_DIR": "$EXT_BUILD_DEPS/copy_llvm/llvm/lib/cmake/llvm", - "WAVM_ENABLE_STATIC_LINKING": "on", - "WAVM_ENABLE_RELEASE_ASSERTS": "on", - "WAVM_ENABLE_UNWIND": "on", - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", - }, - generate_args = ["-GNinja"], - lib_source = ":srcs", - out_static_libs = [ - "libWAVM.a", - "libWAVMUnwind.a", - ], - deps = ["@llvm//:llvm_lib"], -) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 908ffe492..38108bd81 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -263,30 +263,3 @@ def proxy_wasm_cpp_host_repositories(): name = "prefixed_wasmtime", actual = "@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib", ) - - # WAVM with dependencies. - - maybe( - http_archive, - name = "com_github_wavm_wavm", - build_file = "@proxy_wasm_cpp_host//bazel/external:wavm.BUILD", - sha256 = "7cfa3d7334c96f89553bb44eeee736a192826a78b4db114042d38d6882748f5b", - strip_prefix = "WAVM-nightly-2022-05-14", - url = "https://github.com/WAVM/WAVM/archive/refs/tags/nightly/2022-05-14.tar.gz", - ) - - native.bind( - name = "wavm", - actual = "@com_github_wavm_wavm//:wavm_lib", - ) - - maybe( - http_archive, - name = "llvm", - build_file = "@proxy_wasm_cpp_host//bazel/external:llvm.BUILD", - sha256 = "7d9a8405f557cefc5a21bf5672af73903b64749d9bc3a50322239f56f34ffddf", - strip_prefix = "llvm-12.0.1.src", - url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/llvm-12.0.1.src.tar.xz", - patches = ["@proxy_wasm_cpp_host//bazel/external:llvm.patch"], - patch_args = ["-p1"], - ) diff --git a/bazel/select.bzl b/bazel/select.bzl index 747aef33c..cc4da38d1 100644 --- a/bazel/select.bzl +++ b/bazel/select.bzl @@ -47,10 +47,3 @@ def proxy_wasm_select_engine_wasmedge(xs): "@proxy_wasm_cpp_host//bazel:multiengine": xs, "//conditions:default": [], }) - -def proxy_wasm_select_engine_wavm(xs): - return select({ - "@proxy_wasm_cpp_host//bazel:engine_wavm": xs, - "@proxy_wasm_cpp_host//bazel:multiengine": xs, - "//conditions:default": [], - }) diff --git a/include/proxy-wasm/wasm.h b/include/proxy-wasm/wasm.h index 9fa2bda1f..3ab64b243 100644 --- a/include/proxy-wasm/wasm.h +++ b/include/proxy-wasm/wasm.h @@ -373,7 +373,7 @@ class PluginHandleBase : public std::enable_shared_from_this { using PluginHandleFactory = std::function( std::shared_ptr base_wasm, std::shared_ptr plugin)>; -// Get an existing ThreadLocal VM matching 'vm_id' or create one using 'base_wavm' by cloning or by +// Get an existing ThreadLocal VM matching 'vm_id' or create one using 'base_wasm' by cloning or by // using it it as a template. std::shared_ptr getOrCreateThreadLocalPlugin( const std::shared_ptr &base_handle, const std::shared_ptr &plugin, diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index a573212e0..db54ebd86 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -189,10 +189,9 @@ class WasmVm { /** * Whether or not the VM implementation supports cloning. Cloning is VM system dependent. * When a VM is configured a single VM is instantiated to check that the .wasm file is valid and - * to do VM system specific initialization. In the case of WAVM this is potentially ahead-of-time - * compilation. Then, if cloning is supported, we clone that VM for each worker, potentially - * copying and sharing the initialized data structures for efficiency. Otherwise we create an new - * VM from scratch for each worker. + * to do VM system specific initialization. Then, if cloning is supported, we clone that VM for + * each worker, potentially copying and sharing the initialized data structures for efficiency. + * Otherwise we create an new VM from scratch for each worker. * @return one of enum Cloneable with the VMs cloneability. */ virtual Cloneable cloneable() = 0; diff --git a/include/proxy-wasm/wavm.h b/include/proxy-wasm/wavm.h deleted file mode 100644 index 1ebbe8397..000000000 --- a/include/proxy-wasm/wavm.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2016-2019 Envoy Project Authors -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#pragma once - -#include - -#include "include/proxy-wasm/wasm_vm.h" - -namespace proxy_wasm { - -std::unique_ptr createWavmVm(); - -} // namespace proxy_wasm diff --git a/src/wavm/wavm.cc b/src/wavm/wavm.cc deleted file mode 100644 index 670eb7c41..000000000 --- a/src/wavm/wavm.cc +++ /dev/null @@ -1,492 +0,0 @@ -// Copyright 2016-2019 Envoy Project Authors -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "include/proxy-wasm/wavm.h" -#include "include/proxy-wasm/wasm_vm.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "WAVM/IR/Module.h" -#include "WAVM/IR/Operators.h" -#include "WAVM/IR/Types.h" -#include "WAVM/IR/Validate.h" -#include "WAVM/IR/Value.h" -#include "WAVM/Inline/Assert.h" -#include "WAVM/Inline/BasicTypes.h" -#include "WAVM/Inline/Errors.h" -#include "WAVM/Inline/Hash.h" -#include "WAVM/Inline/HashMap.h" -#include "WAVM/Inline/IndexMap.h" -#include "WAVM/Inline/IntrusiveSharedPtr.h" -#include "WAVM/Platform/Mutex.h" -#include "WAVM/Platform/Thread.h" -#include "WAVM/Runtime/Intrinsics.h" -#include "WAVM/Runtime/Linker.h" -#include "WAVM/Runtime/Runtime.h" -#include "WAVM/RuntimeABI/RuntimeABI.h" -#include "WAVM/WASM/WASM.h" -#include "WAVM/WASTParse/WASTParse.h" - -#ifdef NDEBUG -#define ASSERT(_x) _x -#else -#define ASSERT(_x) \ - do { \ - if (!_x) \ - ::exit(1); \ - } while (0) -#endif - -using namespace WAVM; -using namespace WAVM::IR; - -namespace WAVM::IR { -template <> constexpr ValueType inferValueType() { return ValueType::i32; } -} // namespace WAVM::IR - -namespace proxy_wasm { - -// Forward declarations. -template -void getFunctionWavm(WasmVm *vm, std::string_view function_name, - std::function *function); -template -void getFunctionWavm(WasmVm *vm, std::string_view function_name, - std::function *function); -template -void registerCallbackWavm(WasmVm *vm, std::string_view module_name, std::string_view function_name, - R (*function)(Args...)); - -namespace Wavm { - -struct Wavm; - -namespace { - -#define CALL_WITH_CONTEXT(_x, _context, _wavm) \ - do { \ - try { \ - SaveRestoreContext _saved_context(static_cast(_context)); \ - WAVM::Runtime::catchRuntimeExceptions( \ - [&] { _x; }, \ - [&](WAVM::Runtime::Exception *exception) { \ - _wavm->fail(FailState::RuntimeError, getFailMessage(function_name, exception)); \ - throw std::exception(); \ - }); \ - } catch (...) { \ - } \ - } while (0) - -std::string getFailMessage(std::string_view function_name, WAVM::Runtime::Exception *exception) { - std::string message = "Function: " + std::string(function_name) + - " failed: " + WAVM::Runtime::describeExceptionType(exception->type) + - "\nProxy-Wasm plugin in-VM backtrace:\n"; - std::vector callstack_descriptions = - WAVM::Runtime::describeCallStack(exception->callStack); - - // Since the first frame is on host and useless for developers, e.g.: `host!envoy+112901013` - // we start with index 1 here - for (size_t i = 1; i < callstack_descriptions.size(); i++) { - std::ostringstream oss; - std::string description = callstack_descriptions[i]; - if (description.find("wasm!") == std::string::npos) { - // end of WASM's call stack - break; - } - oss << std::setw(3) << std::setfill(' ') << std::to_string(i); - message += oss.str() + ": " + description + "\n"; - } - - WAVM::Runtime::destroyException(exception); - return message; -} - -struct WasmUntaggedValue : public WAVM::IR::UntaggedValue { - WasmUntaggedValue() = default; - WasmUntaggedValue(I32 inI32) { i32 = inI32; } - WasmUntaggedValue(I64 inI64) { i64 = inI64; } - WasmUntaggedValue(U32 inU32) { u32 = inU32; } - WasmUntaggedValue(Word w) { u32 = static_cast(w.u64_); } - WasmUntaggedValue(U64 inU64) { u64 = inU64; } - WasmUntaggedValue(F32 inF32) { f32 = inF32; } - WasmUntaggedValue(F64 inF64) { f64 = inF64; } -}; - -class RootResolver : public WAVM::Runtime::Resolver { -public: - RootResolver(WAVM::Runtime::Compartment * /*compartment*/, WasmVm *vm) : vm_(vm) {} - - ~RootResolver() override { module_name_to_instance_map_.clear(); } - - bool resolve(const std::string &module_name, const std::string &export_name, ExternType type, - WAVM::Runtime::Object *&out_object) override { - auto *named_instance = module_name_to_instance_map_.get(module_name); - if (named_instance != nullptr) { - out_object = getInstanceExport(*named_instance, export_name); - if (out_object != nullptr) { - if (!isA(out_object, type)) { - vm_->fail(FailState::UnableToInitializeCode, - "Failed to load WASM module due to a type mismatch in an import: " + - std::string(module_name) + "." + export_name + " " + - asString(WAVM::Runtime::getExternType(out_object)) + - " but was expecting type: " + asString(type)); - return false; - } - return true; - } - } - for (auto *r : resolvers_) { - if (r->resolve(module_name, export_name, type, out_object)) { - return true; - } - } - vm_->fail(FailState::MissingFunction, - "Failed to load Wasm module due to a missing import: " + std::string(module_name) + - "." + std::string(export_name) + " " + asString(type)); - return false; - } - - HashMap &moduleNameToInstanceMap() { - return module_name_to_instance_map_; - } - - void addResolver(WAVM::Runtime::Resolver *r) { resolvers_.push_back(r); } - -private: - WasmVm *vm_; - HashMap module_name_to_instance_map_{}; - std::vector resolvers_{}; -}; - -const uint64_t WasmPageSize = 1 << 16; - -} // namespace - -template struct NativeWord { using type = T; }; -template <> struct NativeWord { using type = uint32_t; }; - -template typename NativeWord::type ToNative(const T &t) { return t; } -template <> typename NativeWord::type ToNative(const Word &t) { return t.u32(); } - -struct PairHash { - template std::size_t operator()(const std::pair &x) const { - return std::hash()(x.first) + std::hash()(x.second); - } -}; - -struct Wavm : public WasmVm { - Wavm() = default; - ~Wavm() override; - - // WasmVm - std::string_view getEngineName() override { return "wavm"; } - Cloneable cloneable() override { return Cloneable::InstantiatedModule; }; - std::unique_ptr clone() override; - bool load(std::string_view bytecode, std::string_view precompiled, - const std::unordered_map &function_names) override; - bool link(std::string_view debug_name) override; - uint64_t getMemorySize() override; - std::optional getMemory(uint64_t pointer, uint64_t size) override; - bool setMemory(uint64_t pointer, uint64_t size, const void *data) override; - bool getWord(uint64_t pointer, Word *data) override; - bool setWord(uint64_t pointer, Word data) override; - size_t getWordSize() override { return sizeof(uint32_t); }; - std::string_view getPrecompiledSectionName() override; - -#define _GET_FUNCTION(_T) \ - void getFunction(std::string_view function_name, _T *f) override { \ - getFunctionWavm(this, function_name, f); \ - }; - FOR_ALL_WASM_VM_EXPORTS(_GET_FUNCTION) -#undef _GET_FUNCTION - -#define _REGISTER_CALLBACK(_T) \ - void registerCallback(std::string_view module_name, std::string_view function_name, _T, \ - typename ConvertFunctionTypeWordToUint32<_T>::type f) override { \ - registerCallbackWavm(this, module_name, function_name, f); \ - }; - FOR_ALL_WASM_VM_IMPORTS(_REGISTER_CALLBACK) -#undef _REGISTER_CALLBACK - - void terminate() override {} - bool usesWasmByteOrder() override { return true; } - - IR::Module ir_module_; - WAVM::Runtime::ModuleRef module_ = nullptr; - WAVM::Runtime::GCPointer module_instance_; - WAVM::Runtime::Memory *memory_{}; - WAVM::Runtime::GCPointer compartment_; - WAVM::Runtime::GCPointer context_; - std::map intrinsic_modules_{}; - std::map> - intrinsic_module_instances_{}; - std::vector> host_functions_{}; - uint8_t *memory_base_ = nullptr; -}; - -Wavm::~Wavm() { - module_instance_ = nullptr; - context_ = nullptr; - intrinsic_module_instances_.clear(); - intrinsic_modules_.clear(); - host_functions_.clear(); - if (compartment_ != nullptr) { - ASSERT(tryCollectCompartment(std::move(compartment_))); - } -} - -std::unique_ptr Wavm::clone() { - auto wavm = std::make_unique(); - if (wavm == nullptr) { - return nullptr; - } - - wavm->compartment_ = WAVM::Runtime::cloneCompartment(compartment_); - if (wavm->compartment_ == nullptr) { - return nullptr; - } - - wavm->context_ = WAVM::Runtime::cloneContext(context_, wavm->compartment_); - if (wavm->context_ == nullptr) { - return nullptr; - } - - wavm->memory_ = WAVM::Runtime::remapToClonedCompartment(memory_, wavm->compartment_); - wavm->memory_base_ = WAVM::Runtime::getMemoryBaseAddress(wavm->memory_); - wavm->module_instance_ = - WAVM::Runtime::remapToClonedCompartment(module_instance_, wavm->compartment_); - - for (auto &p : intrinsic_module_instances_) { - wavm->intrinsic_module_instances_.emplace( - p.first, WAVM::Runtime::remapToClonedCompartment(p.second, wavm->compartment_)); - } - - auto *integration_clone = integration()->clone(); - if (integration_clone == nullptr) { - return nullptr; - } - wavm->integration().reset(integration_clone); - - return wavm; -} - -bool Wavm::load(std::string_view bytecode, std::string_view precompiled, - const std::unordered_map & /*function_names*/) { - compartment_ = WAVM::Runtime::createCompartment(); - if (compartment_ == nullptr) { - return false; - } - - context_ = WAVM::Runtime::createContext(compartment_); - if (context_ == nullptr) { - return false; - } - - if (!WASM::loadBinaryModule(reinterpret_cast(bytecode.data()), - bytecode.size(), ir_module_)) { - return false; - } - - if (!precompiled.empty()) { - module_ = WAVM::Runtime::loadPrecompiledModule( - ir_module_, {precompiled.data(), precompiled.data() + precompiled.size()}); - if (module_ == nullptr) { - return false; - } - - } else { - module_ = WAVM::Runtime::compileModule(ir_module_); - if (module_ == nullptr) { - return false; - } - } - - return true; -} - -bool Wavm::link(std::string_view debug_name) { - RootResolver rootResolver(compartment_, this); - for (auto &p : intrinsic_modules_) { - auto *instance = Intrinsics::instantiateModule(compartment_, {&intrinsic_modules_[p.first]}, - std::string(p.first)); - if (instance == nullptr) { - return false; - } - intrinsic_module_instances_.emplace(p.first, instance); - rootResolver.moduleNameToInstanceMap().set(p.first, instance); - } - - WAVM::Runtime::LinkResult link_result = linkModule(ir_module_, rootResolver); - if (!link_result.missingImports.empty()) { - for (auto &i : link_result.missingImports) { - integration()->error("Missing Wasm import " + i.moduleName + " " + i.exportName); - } - fail(FailState::MissingFunction, "Failed to load Wasm module due to a missing import(s)"); - return false; - } - - module_instance_ = instantiateModule( - compartment_, module_, std::move(link_result.resolvedImports), std::string(debug_name)); - if (module_instance_ == nullptr) { - return false; - } - - memory_ = getDefaultMemory(module_instance_); - if (memory_ == nullptr) { - return false; - } - - memory_base_ = WAVM::Runtime::getMemoryBaseAddress(memory_); - - return true; -} - -uint64_t Wavm::getMemorySize() { return WAVM::Runtime::getMemoryNumPages(memory_) * WasmPageSize; } - -std::optional Wavm::getMemory(uint64_t pointer, uint64_t size) { - auto memory_num_bytes = WAVM::Runtime::getMemoryNumPages(memory_) * WasmPageSize; - if (pointer + size > memory_num_bytes) { - return std::nullopt; - } - return std::string_view(reinterpret_cast(memory_base_ + pointer), size); -} - -bool Wavm::setMemory(uint64_t pointer, uint64_t size, const void *data) { - auto memory_num_bytes = WAVM::Runtime::getMemoryNumPages(memory_) * WasmPageSize; - if (pointer + size > memory_num_bytes) { - return false; - } - auto *p = reinterpret_cast(memory_base_ + pointer); - memcpy(p, data, size); - return true; -} - -bool Wavm::getWord(uint64_t pointer, Word *data) { - auto memory_num_bytes = WAVM::Runtime::getMemoryNumPages(memory_) * WasmPageSize; - if (pointer + sizeof(uint32_t) > memory_num_bytes) { - return false; - } - auto *p = reinterpret_cast(memory_base_ + pointer); - uint32_t data32; - memcpy(&data32, p, sizeof(uint32_t)); - data->u64_ = wasmtoh(data32, true); - return true; -} - -bool Wavm::setWord(uint64_t pointer, Word data) { - uint32_t data32 = htowasm(data.u32(), true); - return setMemory(pointer, sizeof(uint32_t), &data32); -} - -std::string_view Wavm::getPrecompiledSectionName() { return "wavm.precompiled_object"; } - -} // namespace Wavm - -std::unique_ptr createWavmVm() { return std::make_unique(); } - -template -IR::FunctionType inferHostFunctionType(R (*/*func*/)(Args...)) { - return IR::FunctionType(IR::inferResultType(), IR::TypeTuple({IR::inferValueType()...}), - IR::CallingConvention::c); -} - -using namespace Wavm; - -template -void registerCallbackWavm(WasmVm *vm, std::string_view module_name, std::string_view function_name, - R (*f)(Args...)) { - auto *wavm = dynamic_cast(vm); - wavm->host_functions_.emplace_back(new Intrinsics::Function( - &wavm->intrinsic_modules_[std::string(module_name)], function_name.data(), - reinterpret_cast(f), inferHostFunctionType(f))); -} - -template -IR::FunctionType inferStdFunctionType(std::function * /*func*/) { - return IR::FunctionType(IR::inferResultType(), IR::TypeTuple({IR::inferValueType()...})); -} - -static bool checkFunctionType(WAVM::Runtime::Function *f, IR::FunctionType t) { - return getFunctionType(f) == t; -} - -template -void getFunctionWavm(WasmVm *vm, std::string_view function_name, - std::function *function) { - auto *wavm = dynamic_cast(vm); - auto *f = - asFunctionNullable(getInstanceExport(wavm->module_instance_, std::string(function_name))); - if (!f) { - f = asFunctionNullable(getInstanceExport(wavm->module_instance_, std::string(function_name))); - } - if (!f) { - *function = nullptr; - return; - } - if (!checkFunctionType(f, inferStdFunctionType(function))) { - *function = nullptr; - wavm->fail(FailState::UnableToInitializeCode, - "Bad function signature for: " + std::string(function_name)); - return; - } - *function = [wavm, f, function_name](ContextBase *context, Args... args) -> R { - WasmUntaggedValue values[] = {args...}; - WasmUntaggedValue return_value; - CALL_WITH_CONTEXT( - invokeFunction(wavm->context_, f, getFunctionType(f), &values[0], &return_value), context, - wavm); - if (wavm->isFailed()) { - return 0; - } - return static_cast(return_value.i32); - }; -} - -template -void getFunctionWavm(WasmVm *vm, std::string_view function_name, - std::function *function) { - auto *wavm = dynamic_cast(vm); - auto *f = - asFunctionNullable(getInstanceExport(wavm->module_instance_, std::string(function_name))); - if (!f) { - f = asFunctionNullable(getInstanceExport(wavm->module_instance_, std::string(function_name))); - } - if (!f) { - *function = nullptr; - return; - } - if (!checkFunctionType(f, inferStdFunctionType(function))) { - *function = nullptr; - wavm->fail(FailState::UnableToInitializeCode, - "Bad function signature for: " + std::string(function_name)); - return; - } - *function = [wavm, f, function_name](ContextBase *context, Args... args) { - WasmUntaggedValue values[] = {args...}; - CALL_WITH_CONTEXT(invokeFunction(wavm->context_, f, getFunctionType(f), &values[0]), context, - wavm); - }; -} - -} // namespace proxy_wasm diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 16b4f763a..41e3946f1 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -53,12 +53,6 @@ TEST_P(TestVm, BadSignature) { } TEST_P(TestVm, StraceLogLevel) { - if (engine_ == "wavm") { - // TODO(mathetake): strace is yet to be implemented for WAVM. - // See https://github.com/proxy-wasm/proxy-wasm-cpp-host/issues/120. - return; - } - auto source = readTestWasmFile("clock.wasm"); ASSERT_FALSE(source.empty()); auto wasm = TestWasm(std::move(vm_)); @@ -134,11 +128,7 @@ TEST_P(TestVm, WasmMemoryLimit) { auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: infinite_memory failed")); // Trap message - if (engine_ == "wavm") { - EXPECT_TRUE(host->isErrorLogged("wavm.reachedUnreachable")); - } else { - EXPECT_TRUE(host->isErrorLogged("unreachable")); - } + EXPECT_TRUE(host->isErrorLogged("unreachable")); // Backtrace if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); @@ -163,11 +153,7 @@ TEST_P(TestVm, Trap) { auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: trigger failed")); // Trap message - if (engine_ == "wavm") { - EXPECT_TRUE(host->isErrorLogged("wavm.reachedUnreachable")); - } else { - EXPECT_TRUE(host->isErrorLogged("unreachable")); - } + EXPECT_TRUE(host->isErrorLogged("unreachable")); // Backtrace if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); @@ -192,11 +178,7 @@ TEST_P(TestVm, Trap2) { auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: trigger2 failed")); // Trap message - if (engine_ == "wavm") { - EXPECT_TRUE(host->isErrorLogged("wavm.reachedUnreachable")); - } else { - EXPECT_TRUE(host->isErrorLogged("unreachable")); - } + EXPECT_TRUE(host->isErrorLogged("unreachable")); // Backtrace if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); diff --git a/test/utility.cc b/test/utility.cc index ee6f2b951..b4c10053f 100644 --- a/test/utility.cc +++ b/test/utility.cc @@ -31,9 +31,6 @@ std::vector getWasmEngines() { #endif #if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) "wasmtime", -#endif -#if defined(PROXY_WASM_HOST_ENGINE_WAVM) - "wavm", #endif "" }; diff --git a/test/utility.h b/test/utility.h index ccd2a59b6..eaaaa3197 100644 --- a/test/utility.h +++ b/test/utility.h @@ -27,9 +27,6 @@ #if defined(PROXY_WASM_HOST_ENGINE_V8) #include "include/proxy-wasm/v8.h" #endif -#if defined(PROXY_WASM_HOST_ENGINE_WAVM) -#include "include/proxy-wasm/wavm.h" -#endif #if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) #include "include/proxy-wasm/wasmtime.h" #endif @@ -172,10 +169,6 @@ class TestVm : public testing::TestWithParam { } else if (engine == "v8") { vm = proxy_wasm::createV8Vm(); #endif -#if defined(PROXY_WASM_HOST_ENGINE_WAVM) - } else if (engine == "wavm") { - vm = proxy_wasm::createWavmVm(); -#endif #if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) } else if (engine == "wasmtime") { vm = proxy_wasm::createWasmtimeVm(); diff --git a/test/wasm_vm_test.cc b/test/wasm_vm_test.cc index 6b4ece60f..d6f9d280a 100644 --- a/test/wasm_vm_test.cc +++ b/test/wasm_vm_test.cc @@ -35,8 +35,6 @@ TEST_P(TestVm, Basic) { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::NotCloneable); } else if (engine_ == "wasmtime" || engine_ == "v8" || engine_ == "wamr") { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::CompiledBytecode); - } else if (engine_ == "wavm") { - EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::InstantiatedModule); } else { FAIL(); } @@ -95,10 +93,6 @@ TEST_P(TestVm, CloneUntilOutOfMemory) { if (vm_->cloneable() == proxy_wasm::Cloneable::NotCloneable) { return; } - if (engine_ == "wavm") { - // TODO(PiotrSikora): Figure out why this fails on the CI. - return; - } auto source = readTestWasmFile("abi_export.wasm"); ASSERT_TRUE(vm_->load(source, {}, {})); From 497e4ef09659a9ffe2e88c28a053528c8b9e0fd7 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Thu, 17 Jul 2025 09:29:11 -0400 Subject: [PATCH 77/90] build: compile with C++20 (#441) * build using c++20 std=c++20 is used by both v8 and Envoy. Switching to use it is necessary to build with more recent versions of v8, and will also reduce overall build surprises when importing proxy-wasm-cpp-host into Envoy. Signed-off-by: Michael Warres * change --config=clang-asan-strict to --config=clang-asan Signed-off-by: Michael Warres * chore: support clang-18 and ubuntu-24.04 These changes make Proxy-Wasm build cleanly with clang-18 and pass clang-tidy-18 checks. Signed-off-by: Matt Leon * chore: ignore c++20 + clang-18 + gcc-14 findings Signed-off-by: Matt Leon --------- Signed-off-by: Michael Warres Signed-off-by: Matt Leon Co-authored-by: Michael Warres --- .bazelrc | 9 ++++--- .clang-tidy | 15 +++++++++++ .github/workflows/format.yml | 14 +++++----- .github/workflows/test.yml | 38 +++++++++++++-------------- bazel/external/bazel_clang_tidy.patch | 11 -------- bazel/external/v8.patch | 5 +++- bazel/external/wasmedge.BUILD | 3 +++ bazel/repositories.bzl | 14 +++++----- src/null/null_plugin.cc | 1 - src/wasmedge/wasmedge.cc | 1 + test/utility.cc | 11 ++++---- test/utility.h | 3 +++ 12 files changed, 68 insertions(+), 57 deletions(-) diff --git a/.bazelrc b/.bazelrc index ab9a27f84..97009c8a9 100644 --- a/.bazelrc +++ b/.bazelrc @@ -10,6 +10,7 @@ build --action_env=PATH build:clang --action_env=BAZEL_COMPILER=clang build:clang --action_env=CC=clang build:clang --action_env=CXX=clang++ +build:clang --copt -Wno-pragma-once-outside-header --cxxopt -Wno-pragma-once-outside-header # Common flags for Clang sanitizers. build:clang-xsan --config=clang @@ -80,10 +81,10 @@ build:zig-cc-linux-aarch64 --test_env=QEMU_LD_PREFIX=/usr/aarch64-linux-gnu/ build --enable_platform_specific_config -# Use C++17. -build:linux --cxxopt=-std=c++17 -build:macos --cxxopt=-std=c++17 -build:windows --cxxopt="/std:c++17" +# Use C++20. +build:linux --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 +build:macos --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 +build:windows --cxxopt="/std:c++20" --host_cxxopt="/std:c++20" # Enable symlinks and runfiles on Windows (enabled by default on other platforms). startup --windows_enable_symlinks diff --git a/.clang-tidy b/.clang-tidy index ceab9ad4a..df9f5c944 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,17 +1,28 @@ Checks: clang-*, + -clang-analyzer-core.CallAndMessage, -clang-analyzer-optin.portability.UnixAPI, -clang-analyzer-unix.Malloc, -clang-diagnostic-pragma-once-outside-header, + -clang-diagnostic-builtin-macro-redefined, cppcoreguidelines-pro-type-member-init, cppcoreguidelines-pro-type-static-cast-downcast, misc-*, -misc-non-private-member-variables-in-classes, + -misc-use-anonymous-namespace, + -misc-const-correctness, + -misc-include-cleaner, + -misc-unused-parameters, modernize-*, -modernize-avoid-c-arrays, -modernize-use-trailing-return-type, + -modernize-return-braced-init-list, + -modernize-use-default-member-init, + -modernize-type-traits, + -modernize-use-emplace, llvm-include-order, performance-*, -performance-no-int-to-ptr, + -performance-avoid-endl, portability-*, readability-*, -readability-convert-member-functions-to-static, @@ -19,5 +30,9 @@ Checks: clang-*, -readability-magic-numbers, -readability-make-member-function-const, -readability-simplify-boolean-expr, + -readability-identifier-length, + -readability-container-data-pointer, + -readability-redundant-casting, + -readability-avoid-return-with-void-value, WarningsAsErrors: '*' diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 1004f123f..fa4ba153c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -43,7 +43,7 @@ jobs: addlicense: name: verify licenses - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v2 @@ -63,7 +63,7 @@ jobs: buildifier: name: check format with buildifier - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v2 @@ -101,29 +101,29 @@ jobs: clang_format: name: check format with clang-format - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v2 - name: Install dependencies (Linux) - run: sudo apt update -y && sudo apt install -y clang-format-12 + run: sudo apt update -y && sudo apt install -y clang-format-18 - name: Format (clang-format) run: | - find . -name "*.h" -o -name "*.cc" -o -name "*.proto" | grep -v ".pb." | xargs -n1 clang-format-12 -i + find . -name "*.h" -o -name "*.cc" -o -name "*.proto" | grep -v ".pb." | xargs -n1 clang-format-18 -i git diff --exit-code clang_tidy: name: check format with clang-tidy - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v2 - name: Install dependencies (Linux) - run: sudo apt update -y && sudo apt install -y clang-tidy-12 lld-12 && sudo ln -sf /usr/bin/lld-12 /usr/bin/lld + run: sudo apt update -y && sudo apt install -y clang-tidy-18 lld-18 && sudo ln -sf /usr/bin/lld-18 /usr/bin/lld - name: Bazel cache uses: PiotrSikora/cache@v2.1.7-with-skip-cache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f33c3316..dbb3eed27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: test_data: name: build test data - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v2 @@ -111,19 +111,19 @@ jobs: include: - name: 'NullVM on Linux/x86_64' engine: 'null' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=gcc - name: 'NullVM on Linux/x86_64 with ASan' engine: 'null' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test - flags: --config=clang-asan-strict --define=crypto=system + flags: --config=clang-asan --define=crypto=system - name: 'NullVM on Linux/x86_64 with TSan' engine: 'null' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang-tsan @@ -136,7 +136,7 @@ jobs: - name: 'V8 on Linux/x86_64' engine: 'v8' repo: 'v8' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang --define=crypto=system @@ -144,7 +144,7 @@ jobs: - name: 'V8 on Linux/x86_64 with ASan' engine: 'v8' repo: 'v8' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang-asan @@ -152,7 +152,7 @@ jobs: - name: 'V8 on Linux/x86_64 with TSan' engine: 'v8' repo: 'v8' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang-tsan @@ -160,7 +160,7 @@ jobs: - name: 'V8 on Linux/x86_64 with GCC' engine: 'v8' repo: 'v8' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=gcc @@ -168,7 +168,7 @@ jobs: - name: 'V8 on Linux/aarch64' engine: 'v8' repo: 'v8' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: aarch64 action: test targets: -//test/fuzz/... @@ -185,7 +185,7 @@ jobs: - name: 'WAMR interp on Linux/x86_64' engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang @@ -198,11 +198,11 @@ jobs: - name: 'WAMR jit on Linux/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang - deps: lld-12 + deps: lld-18 cache: true - name: 'WAMR jit on macOS/x86_64' engine: 'wamr-jit' @@ -214,7 +214,7 @@ jobs: - name: 'WasmEdge on Linux/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang @@ -227,21 +227,21 @@ jobs: - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=clang -c opt - name: 'Wasmtime on Linux/x86_64 with ASan' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: x86_64 action: test - flags: --config=clang-asan-strict --define=crypto=system + flags: --config=clang-asan --define=crypto=system - name: 'Wasmtime on Linux/aarch64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: aarch64 action: build flags: --config=zig-cc-linux-aarch64 @@ -249,7 +249,7 @@ jobs: - name: 'Wasmtime on Linux/s390x' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-22.04 + os: ubuntu-24.04 arch: s390x action: test flags: --config=clang --test_timeout=1800 diff --git a/bazel/external/bazel_clang_tidy.patch b/bazel/external/bazel_clang_tidy.patch index 9c84b3c7f..82711d83e 100644 --- a/bazel/external/bazel_clang_tidy.patch +++ b/bazel/external/bazel_clang_tidy.patch @@ -1,5 +1,4 @@ # 1. Treat .h files as C++ headers. -# 2. Hardcode clang-tidy-12. diff --git a/clang_tidy/clang_tidy.bzl b/clang_tidy/clang_tidy.bzl index 3a5ed07..5db5c6c 100644 @@ -15,13 +14,3 @@ index 3a5ed07..5db5c6c 100644 # start args passed to the compiler args.add("--") -diff --git a/clang_tidy/run_clang_tidy.sh b/clang_tidy/run_clang_tidy.sh -index 582bab1..b9ebb94 100755 ---- a/clang_tidy/run_clang_tidy.sh -+++ b/clang_tidy/run_clang_tidy.sh -@@ -11,4 +11,4 @@ shift - touch $OUTPUT - truncate -s 0 $OUTPUT - --clang-tidy "$@" -+clang-tidy-12 "$@" diff --git a/bazel/external/v8.patch b/bazel/external/v8.patch index 58e7f9ba0..ba1ae19dd 100644 --- a/bazel/external/v8.patch +++ b/bazel/external/v8.patch @@ -20,11 +20,14 @@ diff --git a/bazel/defs.bzl b/bazel/defs.bzl index e957c0fad3..063627b72b 100644 --- a/bazel/defs.bzl +++ b/bazel/defs.bzl -@@ -131,6 +131,7 @@ def _default_args(): +@@ -131,6 +131,10 @@ def _default_args(): "-Wno-redundant-move", "-Wno-return-type", "-Wno-stringop-overflow", + "-Wno-nonnull", ++ "-Wno-error=pessimizing-move", ++ "-Wno-error=dangling-reference", ++ "-Wno-error=dangling-pointer=", # Use GNU dialect, because GCC doesn't allow using # ##__VA_ARGS__ when in standards-conforming mode. "-std=gnu++17", diff --git a/bazel/external/wasmedge.BUILD b/bazel/external/wasmedge.BUILD index 1869bf969..2c6e89204 100644 --- a/bazel/external/wasmedge.BUILD +++ b/bazel/external/wasmedge.BUILD @@ -18,6 +18,9 @@ cmake( "WASMEDGE_BUILD_TOOLS": "Off", "WASMEDGE_FORCE_DISABLE_LTO": "On", }, + env = { + "CXXFLAGS": "-Wno-error=dangling-reference -Wno-error=maybe-uninitialized -Wno-error=array-bounds= -Wno-error=deprecated-declarations -std=c++20", + }, generate_args = ["-GNinja"], lib_source = ":srcs", out_static_libs = ["libwasmedge.a"], diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 38108bd81..94e9fc5f3 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -130,9 +130,9 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "proxy_wasm_cpp_sdk", - sha256 = "89792fc1abca331f29f99870476a04146de5e82ff903bdffca90e6729c1f2470", - strip_prefix = "proxy-wasm-cpp-sdk-95bb82ce45c41d9100fd1ec15d2ffc67f7f3ceee", - urls = ["https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/95bb82ce45c41d9100fd1ec15d2ffc67f7f3ceee.tar.gz"], + sha256 = "26c4c0f9f645de7e789dc92f113d7352ee54ac43bb93ae3a8a22945f1ce71590", + strip_prefix = "proxy-wasm-cpp-sdk-7465dee8b2953beebff99f6dc3720ad0c79bab99", + urls = ["https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/7465dee8b2953beebff99f6dc3720ad0c79bab99.tar.gz"], ) # Compile DB dependencies. @@ -149,11 +149,9 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "com_google_googletest", - sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", - strip_prefix = "googletest-release-1.10.0", - urls = ["https://github.com/google/googletest/archive/release-1.10.0.tar.gz"], - patches = ["@proxy_wasm_cpp_host//bazel/external:googletest.patch"], - patch_args = ["-p1"], + sha256 = "65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c", + strip_prefix = "googletest-1.17.0", + urls = ["https://github.com/google/googletest/releases/download/v1.17.0/googletest-1.17.0.tar.gz"], ) # NullVM dependencies. diff --git a/src/null/null_plugin.cc b/src/null/null_plugin.cc index 0f74496a2..689225687 100644 --- a/src/null/null_plugin.cc +++ b/src/null/null_plugin.cc @@ -26,7 +26,6 @@ #include #include -#include "include/proxy-wasm/null_plugin.h" #include "include/proxy-wasm/null_vm.h" #include "include/proxy-wasm/wasm.h" diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc index 38b8a9c9c..596af0c9e 100644 --- a/src/wasmedge/wasmedge.cc +++ b/src/wasmedge/wasmedge.cc @@ -19,6 +19,7 @@ #include "wasmedge/wasmedge.h" +#include #include #include #include diff --git a/test/utility.cc b/test/utility.cc index b4c10053f..7bdf9d2ad 100644 --- a/test/utility.cc +++ b/test/utility.cc @@ -21,19 +21,18 @@ std::string TestContext::global_log_; std::vector getWasmEngines() { std::vector engines = { #if defined(PROXY_WASM_HOST_ENGINE_V8) - "v8", + "v8", #endif #if defined(PROXY_WASM_HOST_ENGINE_WAMR) - "wamr", + "wamr", #endif #if defined(PROXY_WASM_HOST_ENGINE_WASMEDGE) - "wasmedge", + "wasmedge", #endif #if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) - "wasmtime", + "wasmtime", #endif - "" - }; + ""}; engines.pop_back(); return engines; } diff --git a/test/utility.h b/test/utility.h index eaaaa3197..0eb743037 100644 --- a/test/utility.h +++ b/test/utility.h @@ -192,4 +192,7 @@ class TestVm : public testing::TestWithParam { std::string engine_; }; +// TODO: remove when #412 is fixed. +GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(TestVm); + } // namespace proxy_wasm From 1000bc25c77aee28383fc66648dad00b31e460aa Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Sat, 26 Jul 2025 12:56:23 -0400 Subject: [PATCH 78/90] chore: update V8 to 13.8.258.26 (#442) * update V8 to 13.8.258.26 Signed-off-by: Michael Warres * add missing files to v8.patch Signed-off-by: Michael Warres * chore: Update v8 to use 13.8 interface Signed-off-by: Matt Leon * chore: use bazel repos for missing v8 dependencies Signed-off-by: Matt Leon * chore: fix test expectation Signed-off-by: Matt Leon * chore: disable failing test This test fails with the new V8 version Signed-off-by: Matt Leon * chore: fix sed to work on darwin BSD sed requires an extension to create a backup file when used with in-place editing. Signed-off-by: Matt Leon * fix: remove racy call to isolate->IsExecutionTerminating() Signed-off-by: Matt Leon * fix: remove V8's libatomic dependency Signed-off-by: Matt Leon * chore: use toolchains_llvm with clang 19.1.0 Fixes macos build Signed-off-by: Matt Leon * chore: update aarch64 build to run on native aarch64 runner Signed-off-by: Matt Leon * chore: update hermetic-llvm to be platform-agnostic and use in CI Signed-off-by: Matt Leon * chore: Silence tsan warnings inside V8 These warnings flag a Join() function protected by a mutex. Such a function marks that the racy operation has ended. Signed-off-by: Matt Leon --------- Signed-off-by: Michael Warres Signed-off-by: Matt Leon Co-authored-by: Michael Warres --- .bazelrc | 19 +- .github/workflows/test.yml | 17 +- bazel/BUILD | 2 + bazel/cc_defs.bzl | 22 ++ bazel/dependencies.bzl | 45 +++- bazel/dependencies_import.bzl | 3 + bazel/external/dragonbox.BUILD | 12 + bazel/external/fp16.BUILD | 15 ++ bazel/external/intel_ittapi.BUILD | 21 ++ bazel/external/simdutf.BUILD | 11 + bazel/external/v8.patch | 355 ++++++++++++++++++++++++++---- bazel/external/v8_include.patch | 41 ---- bazel/repositories.bzl | 101 +++++++-- bazel/tsan_suppressions.txt | 3 + src/v8/v8.cc | 87 ++++---- test/BUILD | 3 +- test/fuzz/BUILD | 2 +- test/runtime_test.cc | 2 +- test/wasm_vm_test.cc | 2 +- 19 files changed, 586 insertions(+), 177 deletions(-) create mode 100644 bazel/cc_defs.bzl create mode 100644 bazel/external/dragonbox.BUILD create mode 100644 bazel/external/fp16.BUILD create mode 100644 bazel/external/intel_ittapi.BUILD create mode 100644 bazel/external/simdutf.BUILD delete mode 100644 bazel/external/v8_include.patch create mode 100644 bazel/tsan_suppressions.txt diff --git a/.bazelrc b/.bazelrc index 97009c8a9..5a0373356 100644 --- a/.bazelrc +++ b/.bazelrc @@ -55,6 +55,7 @@ build:clang-tsan --config=clang-xsan build:clang-tsan --copt -DTHREAD_SANITIZER=1 build:clang-tsan --copt -fsanitize=thread build:clang-tsan --linkopt -fsanitize=thread +build:clang-tsan --test_env=TSAN_OPTIONS=suppressions=bazel/tsan_suppressions.txt # Use Clang-Tidy tool. build:clang-tidy --config=clang @@ -67,17 +68,14 @@ build:gcc --action_env=BAZEL_COMPILER=gcc build:gcc --action_env=CC=gcc build:gcc --action_env=CXX=g++ -# Use Zig C/C++ compiler. -build:zig-cc --incompatible_enable_cc_toolchain_resolution -build:zig-cc --extra_toolchains @zig_sdk//:aarch64-linux-gnu.2.28_toolchain -build:zig-cc --extra_toolchains @zig_sdk//:x86_64-linux-gnu.2.28_toolchain -build:zig-cc --host_copt=-fno-sanitize=undefined +build:hermetic-llvm --incompatible_enable_cc_toolchain_resolution +build:hermetic-llvm --action_env BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 +build:hermetic-llvm --extra_toolchains @emsdk//emscripten_toolchain:cc-toolchain-wasm -# Use Zig C/C++ compiler (cross-compile to Linux/aarch64). -build:zig-cc-linux-aarch64 --config=zig-cc -build:zig-cc-linux-aarch64 --platforms @zig_sdk//:linux_aarch64_platform -build:zig-cc-linux-aarch64 --run_under=qemu-aarch64-static -build:zig-cc-linux-aarch64 --test_env=QEMU_LD_PREFIX=/usr/aarch64-linux-gnu/ +build:hermetic-llvm-macos --config=hermetic-llvm +# Below flags mitigate https://github.com/bazel-contrib/toolchains_llvm/pull/229. +build:hermetic-llvm-macos --features=-libtool +build:hermetic-llvm-macos --features=-supports_dynamic_linker build --enable_platform_specific_config @@ -86,6 +84,7 @@ build:linux --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 build:macos --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 build:windows --cxxopt="/std:c++20" --host_cxxopt="/std:c++20" + # Enable symlinks and runfiles on Windows (enabled by default on other platforms). startup --windows_enable_symlinks build:windows --enable_runfiles diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbb3eed27..7cb78e3b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -139,7 +139,7 @@ jobs: os: ubuntu-24.04 arch: x86_64 action: test - flags: --config=clang --define=crypto=system + flags: --config=hermetic-llvm --define=crypto=system cache: true - name: 'V8 on Linux/x86_64 with ASan' engine: 'v8' @@ -147,7 +147,7 @@ jobs: os: ubuntu-24.04 arch: x86_64 action: test - flags: --config=clang-asan + flags: --config=hermetic-llvm --config=clang-asan cache: true - name: 'V8 on Linux/x86_64 with TSan' engine: 'v8' @@ -155,7 +155,7 @@ jobs: os: ubuntu-24.04 arch: x86_64 action: test - flags: --config=clang-tsan + flags: --config=hermetic-llvm --config=clang-tsan cache: true - name: 'V8 on Linux/x86_64 with GCC' engine: 'v8' @@ -168,12 +168,11 @@ jobs: - name: 'V8 on Linux/aarch64' engine: 'v8' repo: 'v8' - os: ubuntu-24.04 + os: ubuntu-24.04-arm arch: aarch64 action: test targets: -//test/fuzz/... - flags: --config=zig-cc-linux-aarch64 --@v8//bazel/config:v8_target_cpu=arm64 - deps: qemu-user-static libc6-arm64-cross + flags: --config=hermetic-llvm --@v8//bazel/config:v8_target_cpu=arm64 cache: true - name: 'V8 on macOS/x86_64' engine: 'v8' @@ -181,6 +180,7 @@ jobs: os: macos-13 arch: x86_64 action: test + flags: --config=hermetic-llvm-macos cache: true - name: 'WAMR interp on Linux/x86_64' engine: 'wamr-interp' @@ -241,11 +241,10 @@ jobs: - name: 'Wasmtime on Linux/aarch64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-24.04 + os: ubuntu-24.04-arm arch: aarch64 action: build - flags: --config=zig-cc-linux-aarch64 - deps: qemu-user-static libc6-arm64-cross + flags: --config=hermetic-llvm - name: 'Wasmtime on Linux/s390x' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' diff --git a/bazel/BUILD b/bazel/BUILD index a3487f891..15f323fa7 100644 --- a/bazel/BUILD +++ b/bazel/BUILD @@ -68,3 +68,5 @@ selects.config_setting_group( ":linux_s390x", ], ) + +exports_files(["tsan_suppressions.txt"]) diff --git a/bazel/cc_defs.bzl b/bazel/cc_defs.bzl new file mode 100644 index 000000000..5951de438 --- /dev/null +++ b/bazel/cc_defs.bzl @@ -0,0 +1,22 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +load("@rules_cc//cc:defs.bzl", _cc_test = "cc_test") +load("@rules_fuzzing//fuzzing:cc_defs.bzl", _cc_fuzz_test = "cc_fuzz_test") + +def cc_test(data = [], **kwargs): + _cc_test(data = data + ["//bazel:tsan_suppressions.txt"], **kwargs) + +def cc_fuzz_test(data = [], **kwargs): + _cc_fuzz_test(data = data + ["//bazel:tsan_suppressions.txt"], **kwargs) diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 7b5c5fcbd..683fb9964 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -12,13 +12,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@bazel-zig-cc//toolchain:defs.bzl", zig_register_toolchains = "register_toolchains") load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") +load("@envoy_toolshed//sysroot:sysroot.bzl", "setup_sysroots") load("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:crates.bzl", wasmsign_crate_repositories = "crate_repositories") load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:crates.bzl", wasmtime_crate_repositories = "crate_repositories") load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains") load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") load("@rules_rust//rust:repositories.bzl", "rust_repositories", "rust_repository_set") +load("@toolchains_llvm//toolchain:deps.bzl", "bazel_toolchain_dependencies") +load("@toolchains_llvm//toolchain:rules.bzl", "llvm_toolchain") def proxy_wasm_cpp_host_dependencies(): # Bazel extensions. @@ -52,14 +54,39 @@ def proxy_wasm_cpp_host_dependencies(): ) crate_universe_dependencies(bootstrap = True) - zig_register_toolchains( - version = "0.9.1", - url_format = "https://ziglang.org/download/%7Bversion%7D/zig-%7Bhost_platform%7D-%7Bversion%7D.tar.xz", - host_platform_sha256 = { - "linux-aarch64": "5d99a39cded1870a3fa95d4de4ce68ac2610cca440336cfd252ffdddc2b90e66", - "linux-x86_64": "be8da632c1d3273f766b69244d80669fe4f5e27798654681d77c992f17c237d7", - "macos-aarch64": "8c473082b4f0f819f1da05de2dbd0c1e891dff7d85d2c12b6ee876887d438287", - "macos-x86_64": "2d94984972d67292b55c1eb1c00de46580e9916575d083003546e9a01166754c", + setup_sysroots() + bazel_toolchain_dependencies() + llvm_toolchain( + name = "llvm_toolchain", + llvm_version = "19.1.0", + sha256 = { + "linux-x86_64": "cee77d641690466a193d9b88c89705de1c02bbad46bde6a3b126793c0a0f2923", + "linux-aarch64": "7bb54afd330fe1a1c2d4c593fa1e2dbe2abd9bf34fb3597994ff41e443cf144b", + "darwin-aarch64": "9da86f64a99f5ce9b679caf54e938736ca269c5e069d0c94ad08b995c5f25c16", + "darwin-x86_64": "264f2f1e8b67f066749349ae8b4943d346cd44e099464164ef21b42a57663540", + }, + strip_prefix = { + "linux-x86_64": "LLVM-19.1.0-Linux-X64", + "linux-aarch64": "clang+llvm-19.1.0-aarch64-linux-gnu", + "darwin-aarch64": "LLVM-19.1.0-macOS-ARM64", + "darwin-x86_64": "LLVM-19.1.0-macOS-X64", + }, + urls = { + "linux-x86_64": ["https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/LLVM-19.1.0-Linux-X64.tar.xz"], + "linux-aarch64": ["https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/clang+llvm-19.1.0-aarch64-linux-gnu.tar.xz"], + "darwin-aarch64": ["https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/LLVM-19.1.0-macOS-ARM64.tar.xz"], + "darwin-x86_64": ["https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/LLVM-19.1.0-macOS-X64.tar.xz"], + }, + ) + + llvm_toolchain( + name = "llvm_aarch64", + llvm_version = "19.1.0", + toolchain_roots = { + "": "@llvm_toolchain_llvm//", + }, + sysroot = { + "linux-aarch64": "@sysroot_linux_arm64//:sysroot", }, ) diff --git a/bazel/dependencies_import.bzl b/bazel/dependencies_import.bzl index 1f23f7d0b..e4cf5e879 100644 --- a/bazel/dependencies_import.bzl +++ b/bazel/dependencies_import.bzl @@ -13,11 +13,14 @@ # limitations under the License. load("@fuzzing_py_deps//:requirements.bzl", pip_fuzzing_dependencies = "install_deps") +load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains") load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") load("@v8_python_deps//:requirements.bzl", pip_v8_dependencies = "install_deps") def proxy_wasm_cpp_host_dependencies_import(): + llvm_register_toolchains() + rules_foreign_cc_dependencies() rules_fuzzing_dependencies() diff --git a/bazel/external/dragonbox.BUILD b/bazel/external/dragonbox.BUILD new file mode 100644 index 000000000..d0bdf231e --- /dev/null +++ b/bazel/external/dragonbox.BUILD @@ -0,0 +1,12 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +licenses(["notice"]) # Apache 2 + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "dragonbox", + srcs = [], + hdrs = ["include/dragonbox/dragonbox.h"], + includes = ["include/"], +) diff --git a/bazel/external/fp16.BUILD b/bazel/external/fp16.BUILD new file mode 100644 index 000000000..f3fbfda1f --- /dev/null +++ b/bazel/external/fp16.BUILD @@ -0,0 +1,15 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +licenses(["notice"]) # MIT + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "FP16", + hdrs = [ + "include/fp16.h", + "include/fp16/bitcasts.h", + "include/fp16/fp16.h", + ], + includes = ["include/"], +) diff --git a/bazel/external/intel_ittapi.BUILD b/bazel/external/intel_ittapi.BUILD new file mode 100644 index 000000000..13351d38a --- /dev/null +++ b/bazel/external/intel_ittapi.BUILD @@ -0,0 +1,21 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +licenses(["notice"]) + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "lib_ittapi", + srcs = [ + "include/ittnotify.h", + "include/jitprofiling.h", + "src/ittnotify/ittnotify_config.h", + "src/ittnotify/jitprofiling.c", + ], + hdrs = [ + "include/ittnotify.h", + "src/ittnotify/ittnotify_types.h", + ], + includes = ["include/"], + visibility = ["//visibility:public"], +) diff --git a/bazel/external/simdutf.BUILD b/bazel/external/simdutf.BUILD new file mode 100644 index 000000000..ee4896494 --- /dev/null +++ b/bazel/external/simdutf.BUILD @@ -0,0 +1,11 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +licenses(["notice"]) # Apache 2 + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "simdutf", + srcs = ["simdutf.cpp"], + hdrs = ["simdutf.h"], +) diff --git a/bazel/external/v8.patch b/bazel/external/v8.patch index ba1ae19dd..a124cf9a5 100644 --- a/bazel/external/v8.patch +++ b/bazel/external/v8.patch @@ -1,13 +1,20 @@ -# 1. Disable pointer compression (limits the maximum number of WasmVMs). -# 2. Don't expose Wasm C API (only Wasm C++ API). -# 3. Fix gcc build error by disabling nonnull warning. -# 4. Allow compiling v8 on macOS 10.15 to 13.0. TODO(dio): Will remove this patch when https://bugs.chromium.org/p/v8/issues/detail?id=13428 is fixed. +From bc2a85e39fd55879b9baed51429c08b27d5514c8 Mon Sep 17 00:00:00 2001 +From: Matt Leon +Date: Wed, 16 Jul 2025 16:55:02 -0400 +Subject: [PATCH 1/7] Disable pointer compression + +Pointer compression limits the maximum number of WasmVMs. + +Signed-off-by: Matt Leon +--- + BUILD.bazel | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel -index 4e89f90e7e..3fcb38b3f3 100644 +index 3f5a87d054e..0a693b7ee10 100644 --- a/BUILD.bazel +++ b/BUILD.bazel -@@ -157,7 +157,7 @@ v8_int( +@@ -292,7 +292,7 @@ v8_int( # If no explicit value for v8_enable_pointer_compression, we set it to 'none'. v8_string( name = "v8_enable_pointer_compression", @@ -16,45 +23,80 @@ index 4e89f90e7e..3fcb38b3f3 100644 ) # Default setting for v8_enable_pointer_compression. +-- +2.50.0.727.gbf7dc18ff4-goog + + +From 61898e9a63ac89a37261c081b84714cfc400a4b1 Mon Sep 17 00:00:00 2001 +From: Matt Leon +Date: Wed, 16 Jul 2025 16:56:31 -0400 +Subject: [PATCH 2/7] Restore _allowlist_function_transition + +Reverts v8 commit b26554ec368e9553782012c96aa5e99b163eaff2, which removed use of +_allowlist_function_transition from v8 bazel/defs.bzl, since it is still required +by the version of Bazel we currently use (6.5.0). + +Signed-off-by: Matt Leon +--- + bazel/defs.bzl | 3 +++ + bazel/v8-non-pointer-compression.bzl | 11 +++++++++++ + 2 files changed, 14 insertions(+) + diff --git a/bazel/defs.bzl b/bazel/defs.bzl -index e957c0fad3..063627b72b 100644 +index 0539ea176ac..14d7ace5e59 100644 --- a/bazel/defs.bzl +++ b/bazel/defs.bzl -@@ -131,6 +131,10 @@ def _default_args(): - "-Wno-redundant-move", - "-Wno-return-type", - "-Wno-stringop-overflow", -+ "-Wno-nonnull", -+ "-Wno-error=pessimizing-move", -+ "-Wno-error=dangling-reference", -+ "-Wno-error=dangling-pointer=", - # Use GNU dialect, because GCC doesn't allow using - # ##__VA_ARGS__ when in standards-conforming mode. - "-std=gnu++17", -@@ -151,6 +152,18 @@ def _default_args(): - "-fno-integrated-as", - ], - "//conditions:default": [], -+ }) + select({ -+ "@v8//bazel/config:is_macos": [ -+ # The clang available on macOS catalina has a warning that isn't clean on v8 code. -+ "-Wno-range-loop-analysis", -+ -+ # To supress warning on deprecated declaration on v8 code. For example: -+ # external/v8/src/base/platform/platform-darwin.cc:56:22: 'getsectdatafromheader_64' -+ # is deprecated: first deprecated in macOS 13.0. -+ # https://bugs.chromium.org/p/v8/issues/detail?id=13428. -+ "-Wno-deprecated-declarations", -+ ], -+ "//conditions:default": [], - }), - includes = ["include"], - linkopts = select({ +@@ -485,6 +485,9 @@ _v8_mksnapshot = rule( + cfg = "exec", + ), + "target_os": attr.string(mandatory = True), ++ "_allowlist_function_transition": attr.label( ++ default = "@bazel_tools//tools/allowlists/function_transition_allowlist", ++ ), + "prefix": attr.string(mandatory = True), + "suffix": attr.string(mandatory = True), + }, +diff --git a/bazel/v8-non-pointer-compression.bzl b/bazel/v8-non-pointer-compression.bzl +index 8c929454840..57336154cf7 100644 +--- a/bazel/v8-non-pointer-compression.bzl ++++ b/bazel/v8-non-pointer-compression.bzl +@@ -47,6 +47,17 @@ v8_binary_non_pointer_compression = rule( + # Note specificaly how it's configured with v8_target_cpu_transition, which + # ensures that setting propagates down the graph. + "binary": attr.label(cfg = v8_disable_pointer_compression), ++ # This is a stock Bazel requirement for any rule that uses Starlark ++ # transitions. It's okay to copy the below verbatim for all such rules. ++ # ++ # The purpose of this requirement is to give the ability to restrict ++ # which packages can invoke these rules, since Starlark transitions ++ # make much larger graphs possible that can have memory and performance ++ # consequences for your build. The whitelist defaults to "everything". ++ # But you can redefine it more strictly if you feel that's prudent. ++ "_allowlist_function_transition": attr.label( ++ default = "@bazel_tools//tools/allowlists/function_transition_allowlist", ++ ), + }, + # Making this executable means it works with "$ bazel run". + executable = True, +-- +2.50.0.727.gbf7dc18ff4-goog + + +From 4a6e7158fd4ca48c75c8e33ea15760c9beea1d2f Mon Sep 17 00:00:00 2001 +From: Matt Leon +Date: Wed, 16 Jul 2025 16:56:52 -0400 +Subject: [PATCH 3/7] Don't expose Wasm C API (only Wasm C++ API). + +Signed-off-by: Matt Leon +--- + src/wasm/c-api.cc | 4 ++++ + 1 file changed, 4 insertions(+) + diff --git a/src/wasm/c-api.cc b/src/wasm/c-api.cc -index 4473e205c0..65a6ec7e1d 100644 +index 05e4029f183..d705be96a16 100644 --- a/src/wasm/c-api.cc +++ b/src/wasm/c-api.cc -@@ -2247,6 +2247,8 @@ auto Instance::exports() const -> ownvec { +@@ -2472,6 +2472,8 @@ WASM_EXPORT auto Instance::exports() const -> ownvec { } // namespace wasm @@ -63,9 +105,242 @@ index 4473e205c0..65a6ec7e1d 100644 // BEGIN FILE wasm-c.cc extern "C" { -@@ -3274,3 +3276,5 @@ wasm_instance_t* wasm_frame_instance(const wasm_frame_t* frame) { +@@ -3518,3 +3520,5 @@ wasm_instance_t* wasm_frame_instance(const wasm_frame_t* frame) { #undef WASM_DEFINE_SHARABLE_REF } // extern "C" + +#endif +-- +2.50.0.727.gbf7dc18ff4-goog + + +From 7b593eb8086dcfe9012d4fa694d622f21dadb731 Mon Sep 17 00:00:00 2001 +From: Matt Leon +Date: Wed, 16 Jul 2025 16:58:02 -0400 +Subject: [PATCH 4/7] Stub out fast_float for bazel-supplied version + +Signed-off-by: Matt Leon +--- + BUILD.bazel | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/BUILD.bazel b/BUILD.bazel +index 0a693b7ee10..eafd9dad20c 100644 +--- a/BUILD.bazel ++++ b/BUILD.bazel +@@ -4438,7 +4438,7 @@ v8_library( + ], + deps = [ + ":lib_dragonbox", +- "//third_party/fast_float/src:fast_float", ++ "@fast_float//:fast_float", + ":lib_fp16", + ":simdutf", + ":v8_libbase", +-- +2.50.0.727.gbf7dc18ff4-goog + + +From b442d34b12dd513946f509d9db86839ce8aa4d7f Mon Sep 17 00:00:00 2001 +From: Matt Leon +Date: Wed, 16 Jul 2025 20:04:05 -0400 +Subject: [PATCH 5/7] Stub out vendored dependencies for bazel-sourced versions + +Signed-off-by: Matt Leon +--- + BUILD.bazel | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/BUILD.bazel b/BUILD.bazel +index eafd9dad20c..ce36666e36e 100644 +--- a/BUILD.bazel ++++ b/BUILD.bazel +@@ -4437,10 +4437,10 @@ v8_library( + ":noicu/generated_torque_definitions", + ], + deps = [ +- ":lib_dragonbox", ++ "@dragonbox//:dragonbox", + "@fast_float//:fast_float", +- ":lib_fp16", +- ":simdutf", ++ "@fp16//:FP16", ++ "@simdutf//:simdutf", + ":v8_libbase", + "@abseil-cpp//absl/container:btree", + "@abseil-cpp//absl/container:flat_hash_map", +-- +2.50.0.727.gbf7dc18ff4-goog + + +From e0b8f32cc057a3c0875437d5d54d012cabcab458 Mon Sep 17 00:00:00 2001 +From: Matt Leon +Date: Wed, 16 Jul 2025 20:29:10 -0400 +Subject: [PATCH 6/7] Add build flags to make V8 compile with GCC + +Signed-off-by: Matt Leon +--- + bazel/defs.bzl | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/bazel/defs.bzl b/bazel/defs.bzl +index 14d7ace5e59..c7a48d4e805 100644 +--- a/bazel/defs.bzl ++++ b/bazel/defs.bzl +@@ -117,6 +117,9 @@ def _default_args(): + "-Wno-implicit-int-float-conversion", + "-Wno-deprecated-copy", + "-Wno-non-virtual-dtor", ++ "-Wno-invalid-offsetof", ++ "-Wno-dangling-pointer", ++ "-Wno-dangling-reference", + "-isystem .", + ], + "//conditions:default": [], +-- +2.50.0.727.gbf7dc18ff4-goog + + +From 7ce2d6bd14b338ab91a8636a8694b9ef180b2f90 Mon Sep 17 00:00:00 2001 +From: Matt Leon +Date: Fri, 18 Jul 2025 17:28:42 -0400 +Subject: [PATCH 7/7] Hack out atomic simd support in V8. + +Atomic simdutf requires __cpp_lib_atomic_ref >= 201806, which is only +supported in clang libc++ 19+. The version of LLVM used in Envoy as of +2025-07-18 is libc++ 18, so this is not supported. + +The simdutf documentation indicates this atomic form is not tested and +is not recommended for use: +https://github.com/simdutf/simdutf/blob/5d1b6248f29a8ed0eb90f79be268be41730e39f8/include/simdutf/implementation.h#L3066-L3068 + +In addition, this is in the implementation of a JS array buffer. Since +proxy-wasm-cpp-host does not make use of JS array buffers or shared +memory between web workers, we're stubbing it out. + +Mostly reverts +https://github.com/v8/v8/commit/6d6c1e680c7b8ea5f62a76e9c3d88d3fb0a88df0. + +Signed-off-by: Matt Leon +--- + bazel/defs.bzl | 2 +- + src/builtins/builtins-typed-array.cc | 8 ++++++++ + src/objects/simd.cc | 10 ++++++++++ + 3 files changed, 19 insertions(+), 1 deletion(-) + +diff --git a/bazel/defs.bzl b/bazel/defs.bzl +index c7a48d4e805..a73b3812882 100644 +--- a/bazel/defs.bzl ++++ b/bazel/defs.bzl +@@ -180,7 +180,7 @@ def _default_args(): + "Advapi32.lib", + ], + "@v8//bazel/config:is_macos": ["-pthread"], +- "//conditions:default": ["-Wl,--no-as-needed -ldl -latomic -pthread"], ++ "//conditions:default": ["-Wl,--no-as-needed -ldl -pthread"], + }) + select({ + ":should_add_rdynamic": ["-rdynamic"], + "//conditions:default": [], +diff --git a/src/builtins/builtins-typed-array.cc b/src/builtins/builtins-typed-array.cc +index 918cb873481..bc933e8dc1d 100644 +--- a/src/builtins/builtins-typed-array.cc ++++ b/src/builtins/builtins-typed-array.cc +@@ -520,17 +520,21 @@ simdutf::result ArrayBufferSetFromBase64( + DirectHandle typed_array, size_t& output_length) { + output_length = array_length; + simdutf::result simd_result; ++#ifdef WANT_ATOMIC_REF + if (typed_array->buffer()->is_shared()) { + simd_result = simdutf::atomic_base64_to_binary_safe( + reinterpret_cast(input_vector), input_length, + reinterpret_cast(typed_array->DataPtr()), output_length, + alphabet, last_chunk_handling, /*decode_up_to_bad_char*/ true); + } else { ++#endif + simd_result = simdutf::base64_to_binary_safe( + reinterpret_cast(input_vector), input_length, + reinterpret_cast(typed_array->DataPtr()), output_length, + alphabet, last_chunk_handling, /*decode_up_to_bad_char*/ true); ++#ifdef WANT_ATOMIC_REF + } ++#endif + + return simd_result; + } +@@ -833,15 +837,19 @@ BUILTIN(Uint8ArrayPrototypeToBase64) { + // 11. Return CodePointsToString(outAscii). + + size_t simd_result_size; ++#ifdef WANT_ATOMIC_REF + if (uint8array->buffer()->is_shared()) { + simd_result_size = simdutf::atomic_binary_to_base64( + std::bit_cast(uint8array->DataPtr()), length, + reinterpret_cast(output->GetChars(no_gc)), alphabet); + } else { ++#endif + simd_result_size = simdutf::binary_to_base64( + std::bit_cast(uint8array->DataPtr()), length, + reinterpret_cast(output->GetChars(no_gc)), alphabet); ++#ifdef WANT_ATOMIC_REF + } ++#endif + DCHECK_EQ(simd_result_size, output_length); + USE(simd_result_size); + } +diff --git a/src/objects/simd.cc b/src/objects/simd.cc +index 0ef570ceb7d..9217fa76072 100644 +--- a/src/objects/simd.cc ++++ b/src/objects/simd.cc +@@ -477,6 +477,7 @@ void Uint8ArrayToHexSlow(const char* bytes, size_t length, + } + } + ++#ifdef WANT_ATOMIC_REF + void AtomicUint8ArrayToHexSlow(const char* bytes, size_t length, + DirectHandle string_output) { + int index = 0; +@@ -492,6 +493,7 @@ void AtomicUint8ArrayToHexSlow(const char* bytes, size_t length, + index += 2; + } + } ++#endif + + inline uint16_t ByteToHex(uint8_t byte) { + const uint16_t correction = (('a' - '0' - 10) << 8) + ('a' - '0' - 10); +@@ -645,11 +647,15 @@ Tagged Uint8ArrayToHex(const char* bytes, size_t length, bool is_shared, + } + #endif + ++#ifdef WANT_ATOMIC_REF + if (is_shared) { + AtomicUint8ArrayToHexSlow(bytes, length, string_output); + } else { ++#endif + Uint8ArrayToHexSlow(bytes, length, string_output); ++#ifdef WANT_ATOMIC_REF + } ++#endif + return *string_output; + } + +@@ -1082,12 +1088,16 @@ bool ArrayBufferFromHex(const base::Vector& input_vector, bool is_shared, + for (uint32_t i = 0; i < output_length * 2; i += 2) { + result = HandleRemainingHexValues(input_vector, i); + if (result.has_value()) { ++#ifdef WANT_ATOMIC_REF + if (is_shared) { + std::atomic_ref(buffer[index++]) + .store(result.value(), std::memory_order_relaxed); + } else { ++#endif + buffer[index++] = result.value(); ++#ifdef WANT_ATOMIC_REF + } ++#endif + } else { + return false; + } +-- +2.50.0.727.gbf7dc18ff4-goog + diff --git a/bazel/external/v8_include.patch b/bazel/external/v8_include.patch deleted file mode 100644 index 0d0fe210c..000000000 --- a/bazel/external/v8_include.patch +++ /dev/null @@ -1,41 +0,0 @@ -# fix include types for late clang (15.0.7) / gcc (13.2.1) -# for Arch linux / Fedora, like in -# In file included from external/v8/src/torque/torque.cc:5: -# In file included from external/v8/src/torque/source-positions.h:10: -# In file included from external/v8/src/torque/contextual.h:10: -# In file included from external/v8/src/base/macros.h:12: -# external/v8/src/base/logging.h:154:26: error: use of undeclared identifier 'uint16_t' - -diff --git a/src/base/logging.h b/src/base/logging.h ---- a/src/base/logging.h -+++ b/src/base/logging.h -@@ -5,6 +5,7 @@ - #ifndef V8_BASE_LOGGING_H_ - #define V8_BASE_LOGGING_H_ - -+#include - #include - #include - #include -diff --git a/src/base/macros.h b/src/base/macros.h ---- a/src/base/macros.h -+++ b/src/base/macros.h -@@ -5,6 +5,7 @@ - #ifndef V8_BASE_MACROS_H_ - #define V8_BASE_MACROS_H_ - -+#include - #include - #include - -diff --git a/src/inspector/v8-string-conversions.h b/src/inspector/v8-string-conversions.h ---- a/src/inspector/v8-string-conversions.h -+++ b/src/inspector/v8-string-conversions.h -@@ -5,6 +5,7 @@ - #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ - #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ - -+#include - #include - - // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 94e9fc5f3..159244263 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -60,10 +60,18 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, - name = "bazel-zig-cc", - sha256 = "ff89e0220c72cdc774e451a35e5c3b9f1593d0df71341844b2108c181ac0eef9", - strip_prefix = "hermetic_cc_toolchain-0.4.4", - url = "https://github.com/uber/hermetic_cc_toolchain/archive/refs/tags/v0.4.4.tar.gz", + name = "envoy_toolshed", + sha256 = "e2252e46e64417d5cedd9f1eb34a622bce5e13b43837e5fe051c83066b0a400b", + strip_prefix = "toolshed-bazel-bins-v0.1.13/bazel", + url = "https://github.com/envoyproxy/toolshed/archive/refs/tags/bazel-bins-v0.1.13.tar.gz", + ) + maybe( + http_archive, + name = "toolchains_llvm", + sha256 = "b7cd301ef7b0ece28d20d3e778697a5e3b81828393150bed04838c0c52963a01", + strip_prefix = "toolchains_llvm-0.10.3", + canonical_id = "v0.10.3", + url = "https://github.com/grailbio/bazel-toolchain/releases/download/0.10.3/toolchains_llvm-0.10.3.tar.gz", ) maybe( @@ -169,34 +177,89 @@ def proxy_wasm_cpp_host_repositories(): maybe( git_repository, name = "v8", - # 10.7.193.13 - commit = "6c8b357a84847a479cd329478522feefc1c3195a", + # 13.8.258.26 + commit = "de9d0f8b56ae61896e4d2ac577fc589efb14f87d", remote = "https://chromium.googlesource.com/v8/v8", - shallow_since = "1664374400 +0000", + shallow_since = "1752074621 -0400", patches = [ "@proxy_wasm_cpp_host//bazel/external:v8.patch", - "@proxy_wasm_cpp_host//bazel/external:v8_include.patch", ], patch_args = ["-p1"], + patch_cmds = [ + "find ./src ./include -type f -exec sed -i.bak -e 's!#include \"third_party/simdutf/simdutf.h\"!#include \"simdutf.h\"!' {} \\;", + "find ./src ./include -type f -exec sed -i.bak -e 's!#include \"third_party/fp16/src/include/fp16.h\"!#include \"fp16.h\"!' {} \\;", + "find ./src ./include -type f -exec sed -i.bak -e 's!#include \"third_party/dragonbox/src/include/dragonbox/dragonbox.h\"!#include \"dragonbox/dragonbox.h\"!' {} \\;", + "find ./src ./include -type f -exec sed -i.bak -e 's!#include \"third_party/fast_float/src/include/fast_float/!#include \"fast_float/!' {} \\;", + ], + repo_mapping = { + "@abseil-cpp": "@com_google_absl", + }, ) - native.bind( - name = "wee8", - actual = "@v8//:wee8", + maybe( + http_archive, + name = "highway", + sha256 = "7e0be78b8318e8bdbf6fa545d2ecb4c90f947df03f7aadc42c1967f019e63343", + urls = [ + "https://github.com/google/highway/archive/refs/tags/1.2.0.tar.gz", + ], + strip_prefix = "highway-1.2.0", + ) + + maybe( + http_archive, + name = "fast_float", + sha256 = "d2a08e722f461fe699ba61392cd29e6b23be013d0f56e50c7786d0954bffcb17", + urls = [ + "https://github.com/fastfloat/fast_float/archive/refs/tags/v7.0.0.tar.gz", + ], + strip_prefix = "fast_float-7.0.0", + ) + + maybe( + http_archive, + name = "dragonbox", + urls = [ + "https://github.com/jk-jeon/dragonbox/archive/6c7c925b571d54486b9ffae8d9d18a822801cbda.zip", + ], + strip_prefix = "dragonbox-6c7c925b571d54486b9ffae8d9d18a822801cbda", + sha256 = "2f10448d665355b41f599e869ac78803f82f13b070ce7ef5ae7b5cceb8a178f3", + build_file = "@proxy_wasm_cpp_host//bazel/external:dragonbox.BUILD", ) maybe( - new_git_repository, - name = "com_googlesource_chromium_base_trace_event_common", - build_file = "@v8//:bazel/BUILD.trace_event_common", - commit = "521ac34ebd795939c7e16b37d9d3ddb40e8ed556", - remote = "https://chromium.googlesource.com/chromium/src/base/trace_event/common.git", - shallow_since = "1662508800 +0000", + http_archive, + name = "fp16", + urls = [ + "https://github.com/Maratyszcza/FP16/archive/0a92994d729ff76a58f692d3028ca1b64b145d91.zip", + ], + strip_prefix = "FP16-0a92994d729ff76a58f692d3028ca1b64b145d91", + sha256 = "e66e65515fa09927b348d3d584c68be4215cfe664100d01c9dbc7655a5716d70", + build_file = "@proxy_wasm_cpp_host//bazel/external:fp16.BUILD", + ) + + maybe( + http_archive, + name = "simdutf", + sha256 = "512374f8291d3daf102ccd0ad223b1a8318358f7c1295efd4d9a3abbb8e4b6ff", + urls = [ + "https://github.com/simdutf/simdutf/releases/download/v7.3.0/singleheader.zip", + ], + build_file = "@proxy_wasm_cpp_host//bazel/external:simdutf.BUILD", + ) + + maybe( + http_archive, + name = "intel_ittapi", + strip_prefix = "ittapi-a3911fff01a775023a06af8754f9ec1e5977dd97", + sha256 = "1d0dddfc5abb786f2340565c82c6edd1cff10c917616a18ce62ee0b94dbc2ed4", + urls = ["https://github.com/intel/ittapi/archive/a3911fff01a775023a06af8754f9ec1e5977dd97.tar.gz"], + build_file = "@proxy_wasm_cpp_host//bazel/external:intel_ittapi.BUILD", ) native.bind( - name = "base_trace_event_common", - actual = "@com_googlesource_chromium_base_trace_event_common//:trace_event_common", + name = "wee8", + actual = "@v8//:wee8", ) # WAMR with dependencies. diff --git a/bazel/tsan_suppressions.txt b/bazel/tsan_suppressions.txt new file mode 100644 index 000000000..8754c04f3 --- /dev/null +++ b/bazel/tsan_suppressions.txt @@ -0,0 +1,3 @@ +# False positive in V8 worker shutdown +race:v8::platform::DefaultJobHandle::Join +race:v8::platform::DefaultJobHandle::Cancel diff --git a/src/v8/v8.cc b/src/v8/v8.cc index 61779c1d5..bc5b82850 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -140,20 +140,20 @@ class V8 : public WasmVm { static std::string printValue(const wasm::Val &value) { switch (value.kind()) { - case wasm::I32: + case wasm::ValKind::I32: return std::to_string(value.get()); - case wasm::I64: + case wasm::ValKind::I64: return std::to_string(value.get()); - case wasm::F32: + case wasm::ValKind::F32: return std::to_string(value.get()); - case wasm::F64: + case wasm::ValKind::F64: return std::to_string(value.get()); default: return "unknown"; } } -static std::string printValues(const wasm::Val values[], size_t size) { +static std::string printValues(const wasm::vec &values, size_t size) { if (size == 0) { return ""; } @@ -170,17 +170,17 @@ static std::string printValues(const wasm::Val values[], size_t size) { static const char *printValKind(wasm::ValKind kind) { switch (kind) { - case wasm::I32: + case wasm::ValKind::I32: return "i32"; - case wasm::I64: + case wasm::ValKind::I64: return "i64"; - case wasm::F32: + case wasm::ValKind::F32: return "f32"; - case wasm::F64: + case wasm::ValKind::F64: return "f64"; - case wasm::ANYREF: - return "anyref"; - case wasm::FUNCREF: + case wasm::ValKind::EXTERNREF: + return "externref"; + case wasm::ValKind::FUNCREF: return "funcref"; default: return "unknown"; @@ -229,11 +229,11 @@ template wasm::Val makeVal(T t) { return wasm::Val::make(t); } template <> wasm::Val makeVal(Word t) { return wasm::Val::make(static_cast(t.u64_)); } template constexpr auto convertArgToValKind(); -template <> constexpr auto convertArgToValKind() { return wasm::I32; }; -template <> constexpr auto convertArgToValKind() { return wasm::I32; }; -template <> constexpr auto convertArgToValKind() { return wasm::I64; }; -template <> constexpr auto convertArgToValKind() { return wasm::I64; }; -template <> constexpr auto convertArgToValKind() { return wasm::F64; }; +template <> constexpr auto convertArgToValKind() { return wasm::ValKind::I32; }; +template <> constexpr auto convertArgToValKind() { return wasm::ValKind::I32; }; +template <> constexpr auto convertArgToValKind() { return wasm::ValKind::I64; }; +template <> constexpr auto convertArgToValKind() { return wasm::ValKind::I64; }; +template <> constexpr auto convertArgToValKind() { return wasm::ValKind::F64; }; template constexpr auto convertArgsTupleToValTypesImpl(std::index_sequence /*comptime*/) { @@ -343,7 +343,8 @@ bool V8::link(std::string_view /*debug_name*/) { assert(module_ != nullptr); const auto import_types = module_.get()->imports(); - std::vector imports; + wasm::vec imports = + wasm::vec::make_uninitialized(import_types.size()); for (size_t i = 0; i < import_types.size(); i++) { std::string_view module(import_types[i]->module().get(), import_types[i]->module().size()); @@ -352,7 +353,7 @@ bool V8::link(std::string_view /*debug_name*/) { switch (import_type->kind()) { - case wasm::EXTERN_FUNC: { + case wasm::ExternKind::FUNC: { auto it = host_functions_.find(std::string(module) + "." + std::string(name)); if (it == host_functions_.end()) { fail(FailState::UnableToInitializeCode, @@ -372,10 +373,10 @@ bool V8::link(std::string_view /*debug_name*/) { printValTypes(func->type()->results())); return false; } - imports.push_back(func); + imports[i] = func; } break; - case wasm::EXTERN_GLOBAL: { + case wasm::ExternKind::GLOBAL: { // TODO(PiotrSikora): add support when/if needed. fail(FailState::UnableToInitializeCode, "Failed to load Wasm module due to a missing import: " + std::string(module) + "." + @@ -383,7 +384,7 @@ bool V8::link(std::string_view /*debug_name*/) { return false; } break; - case wasm::EXTERN_MEMORY: { + case wasm::ExternKind::MEMORY: { assert(memory_ == nullptr); auto type = wasm::MemoryType::make(import_type->memory()->limits()); if (type == nullptr) { @@ -393,10 +394,10 @@ bool V8::link(std::string_view /*debug_name*/) { if (memory_ == nullptr) { return false; } - imports.push_back(memory_.get()); + imports[i] = memory_.get(); } break; - case wasm::EXTERN_TABLE: { + case wasm::ExternKind::TABLE: { assert(table_ == nullptr); auto type = wasm::TableType::make(wasm::ValType::make(import_type->table()->element()->kind()), @@ -408,16 +409,12 @@ bool V8::link(std::string_view /*debug_name*/) { if (table_ == nullptr) { return false; } - imports.push_back(table_.get()); + imports[i] = table_.get(); } break; } } - if (import_types.size() != imports.size()) { - return false; - } - - instance_ = wasm::Instance::make(store_.get(), module_.get(), imports.data()); + instance_ = wasm::Instance::make(store_.get(), module_.get(), imports); if (instance_ == nullptr) { fail(FailState::UnableToInitializeCode, "Failed to create new Wasm instance"); return false; @@ -435,16 +432,16 @@ bool V8::link(std::string_view /*debug_name*/) { switch (export_type->kind()) { - case wasm::EXTERN_FUNC: { + case wasm::ExternKind::FUNC: { assert(export_item->func() != nullptr); module_functions_.insert_or_assign(std::string(name), export_item->func()->copy()); } break; - case wasm::EXTERN_GLOBAL: { + case wasm::ExternKind::GLOBAL: { // TODO(PiotrSikora): add support when/if needed. } break; - case wasm::EXTERN_MEMORY: { + case wasm::ExternKind::MEMORY: { assert(export_item->memory() != nullptr); assert(memory_ == nullptr); memory_ = exports[i]->memory()->copy(); @@ -453,7 +450,7 @@ bool V8::link(std::string_view /*debug_name*/) { } } break; - case wasm::EXTERN_TABLE: { + case wasm::ExternKind::TABLE: { // TODO(PiotrSikora): add support when/if needed. } break; } @@ -531,7 +528,8 @@ void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view convertArgsTupleToValTypes>()); auto func = wasm::Func::make( store_.get(), type.get(), - [](void *data, const wasm::Val params[], wasm::Val /*results*/[]) -> wasm::own { + [](void *data, const wasm::vec ¶ms, + wasm::vec & /*results*/) -> wasm::own { auto *func_data = reinterpret_cast(data); const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace); if (log) { @@ -567,7 +565,8 @@ void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view convertArgsTupleToValTypes>()); auto func = wasm::Func::make( store_.get(), type.get(), - [](void *data, const wasm::Val params[], wasm::Val results[]) -> wasm::own { + [](void *data, const wasm::vec ¶ms, + wasm::vec &results) -> wasm::own { auto *func_data = reinterpret_cast(data); const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace); if (log) { @@ -621,20 +620,21 @@ void V8::getModuleFunctionImpl(std::string_view function_name, const bool log = cmpLogLevel(LogLevel::trace); SaveRestoreContext saved_context(context); wasm::own trap = nullptr; + wasm::vec results = wasm::vec::make_uninitialized(); // Workaround for MSVC++ not supporting zero-sized arrays. if constexpr (sizeof...(args) > 0) { - wasm::Val params[] = {makeVal(args)...}; + wasm::vec params = wasm::vec::make(makeVal(args)...); if (log) { integration()->trace("[host->vm] " + std::string(function_name) + "(" + printValues(params, sizeof...(Args)) + ")"); } - trap = func->call(params, nullptr); + trap = func->call(params, results); } else { if (log) { integration()->trace("[host->vm] " + std::string(function_name) + "()"); } - trap = func->call(nullptr, nullptr); + trap = func->call(wasm::vec::make_uninitialized(), results); } if (trap) { @@ -671,12 +671,12 @@ void V8::getModuleFunctionImpl(std::string_view function_name, *function = [func, function_name, this](ContextBase *context, Args... args) -> R { const bool log = cmpLogLevel(LogLevel::trace); SaveRestoreContext saved_context(context); - wasm::Val results[1]; + wasm::vec results = wasm::vec::make_uninitialized(1); wasm::own trap = nullptr; // Workaround for MSVC++ not supporting zero-sized arrays. if constexpr (sizeof...(args) > 0) { - wasm::Val params[] = {makeVal(args)...}; + wasm::vec params = wasm::vec::make(makeVal(args)...); if (log) { integration()->trace("[host->vm] " + std::string(function_name) + "(" + printValues(params, sizeof...(Args)) + ")"); @@ -686,7 +686,7 @@ void V8::getModuleFunctionImpl(std::string_view function_name, if (log) { integration()->trace("[host->vm] " + std::string(function_name) + "()"); } - trap = func->call(nullptr, results); + trap = func->call(wasm::vec::make_uninitialized(), results); } if (trap) { @@ -706,9 +706,6 @@ void V8::terminate() { auto *store_impl = reinterpret_cast(store_.get()); auto *isolate = store_impl->isolate(); isolate->TerminateExecution(); - while (isolate->IsExecutionTerminating()) { - std::this_thread::yield(); - } } std::string V8::getFailMessage(std::string_view function_name, wasm::own trap) { diff --git a/test/BUILD b/test/BUILD index 73787e4b0..97e70558a 100644 --- a/test/BUILD +++ b/test/BUILD @@ -13,7 +13,8 @@ # limitations under the License. load("@proxy_wasm_cpp_host//bazel:select.bzl", "proxy_wasm_select_engine_null") -load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") +load("@rules_cc//cc:defs.bzl", "cc_library") +load("//bazel:cc_defs.bzl", "cc_test") licenses(["notice"]) # Apache 2 diff --git a/test/fuzz/BUILD b/test/fuzz/BUILD index 71b099007..2221f6367 100644 --- a/test/fuzz/BUILD +++ b/test/fuzz/BUILD @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test") +load("//bazel:cc_defs.bzl", "cc_fuzz_test") licenses(["notice"]) # Apache 2 diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 41e3946f1..2e9080978 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -102,7 +102,7 @@ TEST_P(TestVm, TerminateExecution) { // Check integration logs. auto *host = dynamic_cast(wasm.wasm_vm()->integration().get()); EXPECT_TRUE(host->isErrorLogged("Function: infinite_loop failed")); - EXPECT_TRUE(host->isErrorLogged("termination_exception")); + EXPECT_TRUE(host->isErrorLogged("TerminationException")); } TEST_P(TestVm, WasmMemoryLimit) { diff --git a/test/wasm_vm_test.cc b/test/wasm_vm_test.cc index d6f9d280a..4d084cc75 100644 --- a/test/wasm_vm_test.cc +++ b/test/wasm_vm_test.cc @@ -89,7 +89,7 @@ TEST_P(TestVm, Clone) { #if defined(__linux__) && defined(__x86_64__) -TEST_P(TestVm, CloneUntilOutOfMemory) { +TEST_P(TestVm, DISABLED_CloneUntilOutOfMemory) { if (vm_->cloneable() == proxy_wasm::Cloneable::NotCloneable) { return; } From 74f8572f45633cccb48239c5ecaca10d16490729 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Tue, 29 Jul 2025 15:51:01 -0400 Subject: [PATCH 79/90] chore: fix github bazel cache (#445) GitHub's actions cache appears to be empty, even with recent pushes to main. This config has been working well in Google's github.com/GoogleCloudPlatform/service-extensions repo, which should be building all the same things as this repo. Using --disk_cache avoids putting a bunch of junk in the cache that the previous xdg cache dir entry had to manually strip out. Signed-off-by: Matt Leon --- .github/workflows/format.yml | 63 +++++++++---------- .github/workflows/test.yml | 114 ++++++++++++++++------------------- 2 files changed, 80 insertions(+), 97 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index fa4ba153c..051459d7c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -125,49 +125,40 @@ jobs: - name: Install dependencies (Linux) run: sudo apt update -y && sudo apt install -y clang-tidy-18 lld-18 && sudo ln -sf /usr/bin/lld-18 /usr/bin/lld - - name: Bazel cache - uses: PiotrSikora/cache@v2.1.7-with-skip-cache + - name: set cache name + id: vars + # The cache tag consists of the following parts: + # * clang-tidy- prefix + # * matrix.name, which separates the cache for each build type. + # * hash of WORKSPACE, .bazelrc, and .bazelversion, which is + # purely to differentiate caches for substantial changes in bazel. + # * github.sha, which is the commit hash of the commit used to generate + # the cache entry. + run: echo "CACHE_TAG=clang-tidy-${{ matrix.name }}-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion') }}" >> "$GITHUB_OUTPUT" + + - name: bazel cache + uses: actions/cache/restore@v3 with: - path: | - ~/.cache/bazel - key: clang_tidy-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'bazel/dependencies.bzl', 'bazel/repositories.bzl', 'bazel/cargo/wasmsign/remote/crates.bzl') }} + path: /tmp/bazel/cache + key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} + restore-keys: | + ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} + ${{ steps.vars.outputs.CACHE_TAG }}- + clang-tidy-${{ matrix.name }}- + clang-tidy- - name: Bazel build run: > bazel build --config clang-tidy --define engine=multi + --disk_cache /tmp/bazel/cache --copt=-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -b9-)\" //... - - name: Skip Bazel cache update - if: ${{ github.ref != 'refs/heads/main' }} - run: echo "CACHE_SKIP_SAVE=true" >> $GITHUB_ENV - - - name: Cleanup Bazel cache - if: ${{ github.ref == 'refs/heads/main' }} - run: | - export OUTPUT=$(${{ matrix.run_under }} bazel info output_base) - echo "===== BEFORE =====" - du -s ${OUTPUT}/external/* $(dirname ${OUTPUT})/* | sort -rn | head -20 - # BoringSSL's test data (90 MiB). - rm -rf ${OUTPUT}/external/boringssl/crypto_test_data.cc - rm -rf ${OUTPUT}/external/boringssl/src/crypto/*/test/ - rm -rf ${OUTPUT}/external/boringssl/src/third_party/wycheproof_testvectors/ - # LLVM's tests (500 MiB). - rm -rf ${OUTPUT}/external/llvm*/test/ - # V8's tests (100 MiB). - if [ -d "${OUTPUT}/external/v8/test/torque" ]; then - mv ${OUTPUT}/external/v8/test/torque ${OUTPUT}/external/v8/test_torque - rm -rf ${OUTPUT}/external/v8/test/* - mv ${OUTPUT}/external/v8/test_torque ${OUTPUT}/external/v8/test/torque - fi - # Unnecessary CMake tools (65 MiB). - rm -rf ${OUTPUT}/external/cmake-*/bin/{ccmake,cmake-gui,cpack,ctest} - # Distfiles for Rust toolchains (350 MiB). - rm -rf ${OUTPUT}/external/rust_*/*.tar.gz - # Bazel's repository cache (650-800 MiB) and install base (155 MiB). - rm -rf ${OUTPUT}/../cache - rm -rf ${OUTPUT}/../install - echo "===== AFTER =====" - du -s ${OUTPUT}/external/* $(dirname ${OUTPUT})/* | sort -rn | head -20 + - name: save bazel cache + uses: actions/cache/save@v3 + if: always() + with: + path: /tmp/bazel/cache + key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7cb78e3b5..9ec572f34 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,12 +48,26 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Bazel cache - uses: PiotrSikora/cache@v2.1.7-with-skip-cache + - name: set cache name + id: vars + # The cache tag consists of the following parts: + # * test-deps-bazel-cache- prefix + # * hash of WORKSPACE, .bazelrc, and .bazelversion, which is + # purely to differentiate caches for substantial changes in bazel. + # * github.sha, which is the commit hash of the commit used to generate + # the cache entry. + run: echo "CACHE_TAG=test-deps-bazel-cache-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion') }}" >> "$GITHUB_OUTPUT" + + - name: bazel cache + uses: actions/cache/restore@v3 with: - path: | - ~/.cache/bazel - key: test_data-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'bazel/dependencies.bzl', 'bazel/repositories.bzl', 'bazel/cargo/wasmsign/crates.bzl') }} + path: /tmp/bazel/cache + key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} + restore-keys: | + ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} + ${{ steps.vars.outputs.CACHE_TAG }}- + test-deps-bazel-cache-${{ matrix.name }}- + test-deps-bazel-cache- - name: Bazel build run: > @@ -61,6 +75,7 @@ jobs: --verbose_failures --test_output=errors --config=clang + --disk_cache /tmp/bazel/cache -c opt $(bazel query 'kind(was.*_rust_binary, //test/test_data/...)') $(bazel query 'kind(_optimized_wasm_cc_binary, //test/test_data/...)') @@ -84,19 +99,12 @@ jobs: if-no-files-found: error retention-days: 3 - - name: Skip Bazel cache update - if: ${{ github.ref != 'refs/heads/main' }} - run: echo "CACHE_SKIP_SAVE=true" >> $GITHUB_ENV - - - name: Cleanup Bazel cache - if: ${{ github.ref == 'refs/heads/main' }} - run: | - export OUTPUT=$(bazel info output_base) - # Distfiles for Rust toolchains (350 MiB). - rm -rf ${OUTPUT}/external/rust_*/*.tar.gz - # Bazel's repository cache (650-800 MiB) and install base (155 MiB). - rm -rf $(bazel info repository_cache) - rm -rf $(bazel info install_base) + - name: save bazel cache + uses: actions/cache/save@v3 + if: always() + with: + path: /tmp/bazel/cache + key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} build: name: ${{ matrix.action }} with ${{ matrix.name }} @@ -282,21 +290,27 @@ jobs: if: startsWith(matrix.run_under, 'docker') run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - name: Set cache key - if: ${{ matrix.cache }} - run: echo "::set-output name=uniq::$(bazel query --output build //external:${{ matrix.repo }} | grep -E 'sha256|commit' | cut -d\" -f2)-$(echo ${{ matrix.flags }} | sha256sum)" - id: cache-key - - - name: Bazel cache - if: ${{ matrix.cache }} - uses: PiotrSikora/cache@v2.1.7-with-skip-cache + - name: set cache name + id: vars + # The cache tag consists of the following parts: + # * bazel-cache- prefix + # * matrix.name, which separates the cache for each build type. + # * hash of WORKSPACE, .bazelrc, and .bazelversion, which is + # purely to differentiate caches for substantial changes in bazel. + # * github.sha, which is the commit hash of the commit used to generate + # the cache entry. + run: echo "CACHE_TAG=bazel-cache-${{ matrix.name }}-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion') }}" >> "$GITHUB_OUTPUT" + + - name: bazel cache + uses: actions/cache/restore@v3 with: - path: | - ~/.cache/bazel - /private/var/tmp/_bazel_runner/ - key: ${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.engine }}-${{ steps.cache-key.outputs.uniq }}-${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'bazel/dependencies.bzl', 'bazel/repositories.bzl') }} + path: /tmp/bazel/cache + key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} restore-keys: | - ${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.engine }}-${{ steps.cache-key.outputs.uniq }}- + ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} + ${{ steps.vars.outputs.CACHE_TAG }}- + bazel-cache-${{ matrix.name }}- + bazel-cache- - name: Download test data uses: actions/download-artifact@v4 @@ -321,6 +335,7 @@ jobs: --verbose_failures --test_output=errors --define engine=${{ matrix.engine }} + --disk_cache /tmp/bazel/cache ${{ matrix.flags }} -- //test/... ${{ matrix.targets }} @@ -332,38 +347,15 @@ jobs: --verbose_failures --test_output=errors --define engine=${{ matrix.engine }} + --disk_cache /tmp/bazel/cache ${{ matrix.flags }} --per_file_copt=src/signature_util.cc,test/signature_util_test.cc@-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -b9-)\" //test:signature_util_test - - name: Skip Bazel cache update - if: ${{ matrix.cache && github.ref != 'refs/heads/main' }} - run: echo "CACHE_SKIP_SAVE=true" >> $GITHUB_ENV + - name: save bazel cache + uses: actions/cache/save@v3 + if: always() + with: + path: /tmp/bazel/cache + key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} - - name: Cleanup Bazel cache - if: ${{ matrix.cache && github.ref == 'refs/heads/main' }} - run: | - export OUTPUT=$(${{ matrix.run_under }} bazel info output_base) - echo "===== BEFORE =====" - du -s ${OUTPUT}/external/* $(dirname ${OUTPUT})/* | sort -rn | head -20 - # BoringSSL's test data (90 MiB). - rm -rf ${OUTPUT}/external/boringssl/crypto_test_data.cc - rm -rf ${OUTPUT}/external/boringssl/src/crypto/*/test/ - rm -rf ${OUTPUT}/external/boringssl/src/third_party/wycheproof_testvectors/ - # LLVM's tests (500 MiB). - rm -rf ${OUTPUT}/external/llvm*/test/ - # V8's tests (100 MiB). - if [ -d "${OUTPUT}/external/v8/test/torque" ]; then - mv ${OUTPUT}/external/v8/test/torque ${OUTPUT}/external/v8/test_torque - rm -rf ${OUTPUT}/external/v8/test/* - mv ${OUTPUT}/external/v8/test_torque ${OUTPUT}/external/v8/test/torque - fi - # Unnecessary CMake tools (65 MiB). - rm -rf ${OUTPUT}/external/cmake-*/bin/{ccmake,cmake-gui,cpack,ctest} - # Distfiles for Rust toolchains (350 MiB). - rm -rf ${OUTPUT}/external/rust_*/*.tar.gz - # Bazel's repository cache (650-800 MiB) and install base (155 MiB). - rm -rf ${OUTPUT}/../cache - rm -rf ${OUTPUT}/../install - echo "===== AFTER =====" - du -s ${OUTPUT}/external/* $(dirname ${OUTPUT})/* | sort -rn | head -20 From a374efd1f0295c6da6825f55795dab6495215035 Mon Sep 17 00:00:00 2001 From: rachgreen33 Date: Thu, 31 Jul 2025 13:43:05 -0400 Subject: [PATCH 80/90] Feat: Add additional virtual keywords to wasm base. (#444) * Feat: Add additional virtual keywords to wasm base. Signed-off-by: Rachel Green --- include/proxy-wasm/context.h | 8 ++++---- include/proxy-wasm/wasm.h | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/include/proxy-wasm/context.h b/include/proxy-wasm/context.h index 7f675525c..208633acc 100644 --- a/include/proxy-wasm/context.h +++ b/include/proxy-wasm/context.h @@ -150,14 +150,14 @@ class ContextBase : public RootInterface, const std::shared_ptr &plugin_handle); // Stream context. virtual ~ContextBase(); - WasmBase *wasm() const { return wasm_; } + virtual WasmBase *wasm() const { return wasm_; } uint32_t id() const { return id_; } // The VM Context used for calling "malloc" has an id_ == 0. bool isVmContext() const { return id_ == 0; } // Root Contexts have the VM Context as a parent. bool isRootContext() const { return parent_context_id_ == 0; } - ContextBase *parent_context() const { return parent_context_; } - ContextBase *root_context() const { + virtual ContextBase *parent_context() const { return parent_context_; } + virtual ContextBase *root_context() const { const ContextBase *previous = this; ContextBase *parent = parent_context_; while (parent != previous) { @@ -170,7 +170,7 @@ class ContextBase : public RootInterface, std::string_view log_prefix() const { return isRootContext() ? root_log_prefix_ : plugin_->log_prefix(); } - WasmVm *wasmVm() const; + virtual WasmVm *wasmVm() const; // Called before deleting the context. virtual void destroy(); diff --git a/include/proxy-wasm/wasm.h b/include/proxy-wasm/wasm.h index 3ab64b243..9b85710bd 100644 --- a/include/proxy-wasm/wasm.h +++ b/include/proxy-wasm/wasm.h @@ -54,18 +54,18 @@ class WasmBase : public std::enable_shared_from_this { WasmBase(const std::shared_ptr &base_wasm_handle, const WasmVmFactory &factory); virtual ~WasmBase(); - bool load(const std::string &code, bool allow_precompiled = false); - bool initialize(); - void startVm(ContextBase *root_context); - bool configure(ContextBase *root_context, std::shared_ptr plugin); + virtual bool load(const std::string &code, bool allow_precompiled = false); + virtual bool initialize(); + virtual void startVm(ContextBase *root_context); + virtual bool configure(ContextBase *root_context, std::shared_ptr plugin); // Returns the root ContextBase or nullptr if onStart returns false. - ContextBase *start(const std::shared_ptr &plugin); + virtual ContextBase *start(const std::shared_ptr &plugin); std::string_view vm_id() const { return vm_id_; } std::string_view vm_key() const { return vm_key_; } WasmVm *wasm_vm() const { return wasm_vm_.get(); } - ContextBase *vm_context() const { return vm_context_.get(); } - ContextBase *getRootContext(const std::shared_ptr &plugin, bool allow_closed); + virtual ContextBase *vm_context() const { return vm_context_.get(); } + virtual ContextBase *getRootContext(const std::shared_ptr &plugin, bool allow_closed); ContextBase *getContext(uint32_t id) { auto it = contexts_.find(id); if (it != contexts_.end()) @@ -321,14 +321,14 @@ using WasmHandleCloneFactory = class WasmHandleBase : public std::enable_shared_from_this { public: explicit WasmHandleBase(std::shared_ptr wasm_base) : wasm_base_(wasm_base) {} - ~WasmHandleBase() { + virtual ~WasmHandleBase() { if (wasm_base_) { wasm_base_->startShutdown(); } } - bool canary(const std::shared_ptr &plugin, - const WasmHandleCloneFactory &clone_factory); + virtual bool canary(const std::shared_ptr &plugin, + const WasmHandleCloneFactory &clone_factory); void kill() { wasm_base_ = nullptr; } @@ -356,7 +356,7 @@ class PluginHandleBase : public std::enable_shared_from_this { explicit PluginHandleBase(std::shared_ptr wasm_handle, std::shared_ptr plugin) : plugin_(plugin), wasm_handle_(wasm_handle) {} - ~PluginHandleBase() { + virtual ~PluginHandleBase() { if (wasm_handle_) { wasm_handle_->wasm()->startShutdown(plugin_->key()); } From 4fbf3127cafe2038546f6a65e5624ab297e007d7 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Fri, 22 Aug 2025 15:36:25 -0400 Subject: [PATCH 81/90] chore: Add license headers to BUILD files (#451) addlicense v1.2.0 supports linting .BUILD files, so the verify licenses check will fail for all future PRs without this commit. https://github.com/google/addlicense/releases/tag/v1.2.0 Signed-off-by: Matt Leon --- bazel/cargo/wasmsign/Cargo.toml | 14 ++++++++++++++ bazel/cargo/wasmtime/Cargo.toml | 14 ++++++++++++++ bazel/external/Dockerfile.bazel | 14 ++++++++++++++ bazel/external/dragonbox.BUILD | 14 ++++++++++++++ bazel/external/fp16.BUILD | 14 ++++++++++++++ bazel/external/intel_ittapi.BUILD | 14 ++++++++++++++ bazel/external/llvm.BUILD | 14 ++++++++++++++ bazel/external/simdutf.BUILD | 14 ++++++++++++++ bazel/external/wamr.BUILD | 14 ++++++++++++++ bazel/external/wamr_llvm.BUILD | 14 ++++++++++++++ bazel/external/wasmedge.BUILD | 14 ++++++++++++++ bazel/external/wasmtime.BUILD | 14 ++++++++++++++ 12 files changed, 168 insertions(+) diff --git a/bazel/cargo/wasmsign/Cargo.toml b/bazel/cargo/wasmsign/Cargo.toml index 815f8b03a..5267cb2d1 100644 --- a/bazel/cargo/wasmsign/Cargo.toml +++ b/bazel/cargo/wasmsign/Cargo.toml @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + [package] edition = "2018" name = "wasmsign-bazel" diff --git a/bazel/cargo/wasmtime/Cargo.toml b/bazel/cargo/wasmtime/Cargo.toml index 8abf88812..b038be7fd 100644 --- a/bazel/cargo/wasmtime/Cargo.toml +++ b/bazel/cargo/wasmtime/Cargo.toml @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + [package] edition = "2021" name = "wasmtime-c-api-bazel" diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 2c4bfbbfa..9b16abeb3 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -1,4 +1,18 @@ # syntax=docker/dockerfile:1 +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Prep: # docker run --rm --privileged tonistiigi/binfmt --install all diff --git a/bazel/external/dragonbox.BUILD b/bazel/external/dragonbox.BUILD index d0bdf231e..00f3ee074 100644 --- a/bazel/external/dragonbox.BUILD +++ b/bazel/external/dragonbox.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # Apache 2 diff --git a/bazel/external/fp16.BUILD b/bazel/external/fp16.BUILD index f3fbfda1f..f82146cff 100644 --- a/bazel/external/fp16.BUILD +++ b/bazel/external/fp16.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # MIT diff --git a/bazel/external/intel_ittapi.BUILD b/bazel/external/intel_ittapi.BUILD index 13351d38a..cc867842f 100644 --- a/bazel/external/intel_ittapi.BUILD +++ b/bazel/external/intel_ittapi.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/llvm.BUILD b/bazel/external/llvm.BUILD index 38909ee9a..9dccf5c98 100644 --- a/bazel/external/llvm.BUILD +++ b/bazel/external/llvm.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") licenses(["notice"]) # Apache 2 diff --git a/bazel/external/simdutf.BUILD b/bazel/external/simdutf.BUILD index ee4896494..834467e35 100644 --- a/bazel/external/simdutf.BUILD +++ b/bazel/external/simdutf.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # Apache 2 diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index dcf8d87ef..d0f10b226 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") licenses(["notice"]) # Apache 2 diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 789e5a442..6fe496145 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") licenses(["notice"]) # Apache 2 diff --git a/bazel/external/wasmedge.BUILD b/bazel/external/wasmedge.BUILD index 2c6e89204..e8fba783e 100644 --- a/bazel/external/wasmedge.BUILD +++ b/bazel/external/wasmedge.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") licenses(["notice"]) # Apache 2 diff --git a/bazel/external/wasmtime.BUILD b/bazel/external/wasmtime.BUILD index 27da86e46..f359d9361 100644 --- a/bazel/external/wasmtime.BUILD +++ b/bazel/external/wasmtime.BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@rules_cc//cc:defs.bzl", "cc_library") load("@rules_rust//rust:defs.bzl", "rust_static_library") From cbc2dd9924fd05abcdc14b7a325f7630858a8eea Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Fri, 22 Aug 2025 15:38:32 -0400 Subject: [PATCH 82/90] workflows: remove unaccessed files from cache before saving (#452) Caches are growing organically (started around 400MiB, now at 2+GiB). This strategy is used by github.com/GoogleCloudPlatform/service-extensions to evict unneeded cached entries. Signed-off-by: Matt Leon --- .github/workflows/test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ec572f34..8c42a546e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,6 +99,15 @@ jobs: if-no-files-found: error retention-days: 3 + - name: remove unaccessed files from cache + shell: bash + run: > + find /tmp/bazel/cache + -type f + -name '*' + -amin +360 + -exec rm {} \; + - name: save bazel cache uses: actions/cache/save@v3 if: always() @@ -352,6 +361,15 @@ jobs: --per_file_copt=src/signature_util.cc,test/signature_util_test.cc@-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -b9-)\" //test:signature_util_test + - name: remove unaccessed files from cache + shell: bash + run: > + find /tmp/bazel/cache + -type f + -name '*' + -amin +360 + -exec rm {} \; + - name: save bazel cache uses: actions/cache/save@v3 if: always() From ee4dfe6204f1e0b9d93fcd7ae3a817806ea8ab7b Mon Sep 17 00:00:00 2001 From: rachgreen33 Date: Sat, 30 Aug 2025 13:53:58 -0400 Subject: [PATCH 83/90] Feat: Support creating warmed VM in the proxy wasm V8 VM API. (#447) * Support creating warmed VM in the proxy wasm V8 VM API. Signed-off-by: Rachel Green --- include/proxy-wasm/null_vm.h | 2 ++ include/proxy-wasm/v8.h | 1 + include/proxy-wasm/wamr.h | 1 + include/proxy-wasm/wasm_vm.h | 5 ++++ include/proxy-wasm/wasmtime.h | 1 + src/v8/v8.cc | 18 ++++++++++++- src/wamr/wamr.cc | 18 ++++++++++++- src/wasmedge/wasmedge.cc | 19 +++++++++++--- src/wasmtime/wasmtime.cc | 19 +++++++++++++- test/wasm_vm_test.cc | 48 +++++++++++++++++++++++++++++++++++ 10 files changed, 126 insertions(+), 6 deletions(-) diff --git a/include/proxy-wasm/null_vm.h b/include/proxy-wasm/null_vm.h index a0a3798ff..703266df3 100644 --- a/include/proxy-wasm/null_vm.h +++ b/include/proxy-wasm/null_vm.h @@ -63,6 +63,8 @@ struct NullVm : public WasmVm { void terminate() override {} bool usesWasmByteOrder() override { return false; } + void warm() override {} + std::string plugin_name_; std::unique_ptr plugin_; }; diff --git a/include/proxy-wasm/v8.h b/include/proxy-wasm/v8.h index 73c91b956..5531f52cb 100644 --- a/include/proxy-wasm/v8.h +++ b/include/proxy-wasm/v8.h @@ -21,6 +21,7 @@ namespace proxy_wasm { +bool initV8Engine(); std::unique_ptr createV8Vm(); } // namespace proxy_wasm diff --git a/include/proxy-wasm/wamr.h b/include/proxy-wasm/wamr.h index 98ff72e31..32a05e94a 100644 --- a/include/proxy-wasm/wamr.h +++ b/include/proxy-wasm/wamr.h @@ -21,6 +21,7 @@ namespace proxy_wasm { +bool initWamrEngine(); std::unique_ptr createWamrVm(); } // namespace proxy_wasm diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index db54ebd86..c14624ac0 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -308,6 +308,11 @@ class WasmVm { */ virtual bool usesWasmByteOrder() = 0; + /** + * Warm the VM such as engine and runtime. + */ + virtual void warm() = 0; + bool isFailed() { return failed_ != FailState::Ok; } void fail(FailState fail_state, std::string_view message) { integration()->error(message); diff --git a/include/proxy-wasm/wasmtime.h b/include/proxy-wasm/wasmtime.h index e3fe4b48c..11c4ae7a3 100644 --- a/include/proxy-wasm/wasmtime.h +++ b/include/proxy-wasm/wasmtime.h @@ -18,6 +18,7 @@ namespace proxy_wasm { +bool initWasmtimeEngine(); std::unique_ptr createWasmtimeVm(); } // namespace proxy_wasm diff --git a/src/v8/v8.cc b/src/v8/v8.cc index bc5b82850..9e184f292 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -103,6 +103,8 @@ class V8 : public WasmVm { void terminate() override; bool usesWasmByteOrder() override { return true; } + void warm() override; + private: wasm::own trap(std::string message); @@ -124,6 +126,9 @@ class V8 : public WasmVm { void getModuleFunctionImpl(std::string_view function_name, std::function *function); + // Initialize the V8 engine and store if necessary. + void initStore(); + wasm::own store_; wasm::own module_; wasm::own> shared_module_; @@ -260,9 +265,16 @@ template constexpr T convertValTypesToArgsTuple(const U // V8 implementation. +void V8::initStore() { + if (store_ != nullptr) { + return; + } + store_ = wasm::Store::make(engine()); +} + bool V8::load(std::string_view bytecode, std::string_view precompiled, const std::unordered_map &function_names) { - store_ = wasm::Store::make(engine()); + initStore(); if (store_ == nullptr) { return false; } @@ -708,6 +720,8 @@ void V8::terminate() { isolate->TerminateExecution(); } +void V8::warm() { initStore(); } + std::string V8::getFailMessage(std::string_view function_name, wasm::own trap) { auto message = "Function: " + std::string(function_name) + " failed: "; message += std::string(trap->message().get(), trap->message().size()); @@ -741,6 +755,8 @@ std::string V8::getFailMessage(std::string_view function_name, wasm::own createV8Vm() { return std::make_unique(); } } // namespace proxy_wasm diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index 482a59bf1..88dc9f007 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -90,6 +90,8 @@ class Wamr : public WasmVm { void terminate() override {} bool usesWasmByteOrder() override { return true; } + void warm() override; + private: template void registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, @@ -107,6 +109,9 @@ class Wamr : public WasmVm { void getModuleFunctionImpl(std::string_view function_name, std::function *function); + // Initialize the Wamr store if necessary. + void initStore(); + WasmStorePtr store_; WasmModulePtr module_; WasmSharedModulePtr shared_module_; @@ -119,9 +124,16 @@ class Wamr : public WasmVm { std::unordered_map module_functions_; }; +void Wamr::initStore() { + if (store_ != nullptr) { + return; + } + store_ = wasm_store_new(engine()); +} + bool Wamr::load(std::string_view bytecode, std::string_view precompiled, const std::unordered_map & /*function_names*/) { - store_ = wasm_store_new(engine()); + initStore(); if (store_ == nullptr) { return false; } @@ -697,8 +709,12 @@ void Wamr::getModuleFunctionImpl(std::string_view function_name, }; }; +void Wamr::warm() { initStore(); } + } // namespace wamr +bool initWamrEngine() { return wamr::engine() != nullptr; } + std::unique_ptr createWamrVm() { return std::make_unique(); } } // namespace proxy_wasm diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc index 596af0c9e..263ed1883 100644 --- a/src/wasmedge/wasmedge.cc +++ b/src/wasmedge/wasmedge.cc @@ -264,6 +264,9 @@ class WasmEdge : public WasmVm { }; FOR_ALL_WASM_VM_EXPORTS(_GET_MODULE_FUNCTION) #undef _GET_MODULE_FUNCTION + + void warm() override; + private: template void registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, @@ -284,6 +287,9 @@ class WasmEdge : public WasmVm { void terminate() override {} bool usesWasmByteOrder() override { return true; } + // Initialize the WasmEdge store if necessary. + void initStore(); + WasmEdgeLoaderPtr loader_; WasmEdgeValidatorPtr validator_; WasmEdgeExecutorPtr executor_; @@ -314,13 +320,18 @@ bool WasmEdge::load(std::string_view bytecode, std::string_view /*precompiled*/, return true; } +void WasmEdge::initStore() { + if (store_ != nullptr) { + return; + } + store_ = WasmEdge_StoreCreate(); +} + bool WasmEdge::link(std::string_view /*debug_name*/) { assert(ast_module_ != nullptr); // Create store and register imports. - if (store_ == nullptr) { - store_ = WasmEdge_StoreCreate(); - } + initStore(); if (store_ == nullptr) { return false; } @@ -609,6 +620,8 @@ void WasmEdge::getModuleFunctionImpl(std::string_view function_name, }; } +void WasmEdge::warm() { initStore(); } + } // namespace WasmEdge std::unique_ptr createWasmEdgeVm() { return std::make_unique(); } diff --git a/src/wasmtime/wasmtime.cc b/src/wasmtime/wasmtime.cc index c4a7646f0..ac0361623 100644 --- a/src/wasmtime/wasmtime.cc +++ b/src/wasmtime/wasmtime.cc @@ -80,6 +80,9 @@ class Wasmtime : public WasmVm { }; FOR_ALL_WASM_VM_EXPORTS(_GET_MODULE_FUNCTION) #undef _GET_MODULE_FUNCTION + + void warm() override; + private: template void registerHostFunctionImpl(std::string_view module_name, std::string_view function_name, @@ -100,6 +103,9 @@ class Wasmtime : public WasmVm { void terminate() override {} bool usesWasmByteOrder() override { return true; } + // Initialize the Wasmtime store if necessary. + void initStore(); + WasmStorePtr store_; WasmModulePtr module_; WasmSharedModulePtr shared_module_; @@ -111,9 +117,16 @@ class Wasmtime : public WasmVm { std::unordered_map module_functions_; }; +void Wasmtime::initStore() { + if (store_ != nullptr) { + return; + } + store_ = wasm_store_new(engine()); +} + bool Wasmtime::load(std::string_view bytecode, std::string_view /*precompiled*/, const std::unordered_map & /*function_names*/) { - store_ = wasm_store_new(engine()); + initStore(); if (store_ == nullptr) { return false; } @@ -693,8 +706,12 @@ void Wasmtime::getModuleFunctionImpl(std::string_view function_name, }; }; +void Wasmtime::warm() { initStore(); } + } // namespace wasmtime +bool initWasmtimeEngine() { return wasmtime::engine() != nullptr; } + std::unique_ptr createWasmtimeVm() { return std::make_unique(); } } // namespace proxy_wasm diff --git a/test/wasm_vm_test.cc b/test/wasm_vm_test.cc index 4d084cc75..bb2bab193 100644 --- a/test/wasm_vm_test.cc +++ b/test/wasm_vm_test.cc @@ -30,6 +30,54 @@ INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines() return info.param; }); +TEST_P(TestVm, Init) { + std::chrono::time_point time2; + + auto time1 = std::chrono::steady_clock::now(); + if (engine_ == "v8") { +#if defined(PROXY_WASM_HOST_ENGINE_V8) + EXPECT_TRUE(proxy_wasm::initV8Engine()); + time2 = std::chrono::steady_clock::now(); + EXPECT_TRUE(proxy_wasm::initV8Engine()); +#endif + } else if (engine_ == "wamr") { +#if defined(PROXY_WASM_HOST_ENGINE_WAMR) + EXPECT_TRUE(proxy_wasm::initWamrEngine()); + time2 = std::chrono::steady_clock::now(); + EXPECT_TRUE(proxy_wasm::initWamrEngine()); +#endif + } else if (engine_ == "wasmtime") { +#if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) + EXPECT_TRUE(proxy_wasm::initWasmtimeEngine()); + time2 = std::chrono::steady_clock::now(); + EXPECT_TRUE(proxy_wasm::initWasmtimeEngine()); +#endif + } else { + return; + } + auto time3 = std::chrono::steady_clock::now(); + + auto cold = std::chrono::duration_cast(time2 - time1).count(); + auto warm = std::chrono::duration_cast(time3 - time2).count(); + + std::cout << "\"cold\" engine time: " << cold << "ns" << std::endl; + std::cout << "\"warm\" engine time: " << warm << "ns" << std::endl; + + // Default warm time in nanoseconds. + int warm_time_ns_limit = 10000; + +#if defined(__linux__) && defined(__s390x__) + // Linux 390x is significantly slower, so we use a more lenient limit. + warm_time_ns_limit = 75000; +#endif + + // Verify that getting a "warm" engine takes less than 10us. + EXPECT_LE(warm, warm_time_ns_limit); + + // Verify that getting a "warm" engine takes at least 50x less time than getting a "cold" one. + EXPECT_LE(warm * 50, cold); +} + TEST_P(TestVm, Basic) { if (engine_ == "wasmedge") { EXPECT_EQ(vm_->cloneable(), proxy_wasm::Cloneable::NotCloneable); From 26969ea51f5f6cc7652f18c26d95ff5feb465f9f Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Thu, 4 Sep 2025 09:32:28 -0400 Subject: [PATCH 84/90] chore: update WAMR to 2.4.1 (#453) Signed-off-by: Michael Warres --- bazel/external/wamr.BUILD | 2 +- bazel/repositories.bzl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index d0f10b226..a3375e2cb 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -69,7 +69,7 @@ cmake( "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["-ldl"], "//conditions:default": [], }), - out_static_libs = ["libvmlib.a"], + out_static_libs = ["libiwasm.a"], deps = select({ "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["@llvm-15_0_7//:llvm_wamr_lib"], "//conditions:default": [], diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 159244263..09939a706 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -268,10 +268,10 @@ def proxy_wasm_cpp_host_repositories(): http_archive, name = "com_github_bytecodealliance_wasm_micro_runtime", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr.BUILD", - # WAMR-2.1.1 - sha256 = "a0824762abbcbb3dd6b7bb07530f198ece5d792a12a879bc2a99100590fdb151", - strip_prefix = "wasm-micro-runtime-WAMR-2.1.1", - url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-2.1.1.zip", + # WAMR-2.4.1 + sha256 = "ca18bbf304f47287bf43707564db63b8908dd6d0d6ac40bb39271a7144def4cc", + strip_prefix = "wasm-micro-runtime-WAMR-2.4.1", + url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-2.4.1.zip", ) native.bind( From 8b2e6535d929ed7092693e429f6bb81575a818a5 Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Sun, 14 Sep 2025 23:09:07 -0400 Subject: [PATCH 85/90] fix: avoid potential unaligned loads, found by fuzzer (#456) Signed-off-by: Michael Warres --- src/pairs_util.cc | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/src/pairs_util.cc b/src/pairs_util.cc index d21135788..b8121882f 100644 --- a/src/pairs_util.cc +++ b/src/pairs_util.cc @@ -15,6 +15,7 @@ #include "include/proxy-wasm/pairs_util.h" +#include #include #include #include @@ -25,6 +26,23 @@ namespace proxy_wasm { +namespace { + +// Read trivially copyable type from char buffer and return value. Does not +// check if char buffer is large enough to contain instance of `T`. +template inline T unalignedLoad(const char *buffer) { + // Checking for undefined behaviour wrt std::memcpy. + static_assert(std::is_trivially_copyable_v, + "type must be trivially copyable to use std::memcpy"); + T result; + // Use std::memcpy to get around strict type aliasing rules. + std::memcpy(&result, buffer, sizeof(T)); + + return result; +} + +} // namespace + using Sizes = std::vector>; size_t PairsUtil::pairsSize(const Pairs &pairs) { @@ -113,10 +131,13 @@ Pairs PairsUtil::toPairs(std::string_view buffer) { if (pos + sizeof(uint32_t) > end) { return {}; } - uint32_t num_pairs = wasmtoh(*reinterpret_cast(pos), - contextOrEffectiveContext() != nullptr - ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() - : false); + + // clang complains that this is unused when the wasmtoh macro drops its + // second argument on non-big-endian platforms. + [[maybe_unused]] const bool uses_wasm_byte_order = + contextOrEffectiveContext() != nullptr && + contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder(); + uint32_t num_pairs = wasmtoh(unalignedLoad(pos), uses_wasm_byte_order); pos += sizeof(uint32_t); // Check if we're not going to exceed the limit. @@ -135,20 +156,14 @@ Pairs PairsUtil::toPairs(std::string_view buffer) { if (pos + sizeof(uint32_t) > end) { return {}; } - s.first = wasmtoh(*reinterpret_cast(pos), - contextOrEffectiveContext() != nullptr - ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() - : false); + s.first = wasmtoh(unalignedLoad(pos), uses_wasm_byte_order); pos += sizeof(uint32_t); // Read value length. if (pos + sizeof(uint32_t) > end) { return {}; } - s.second = wasmtoh(*reinterpret_cast(pos), - contextOrEffectiveContext() != nullptr - ? contextOrEffectiveContext()->wasmVm()->usesWasmByteOrder() - : false); + s.second = wasmtoh(unalignedLoad(pos), uses_wasm_byte_order); pos += sizeof(uint32_t); } From 3025566375cd8d7f8cc6e2d6899fa9d6da03aca8 Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Mon, 6 Oct 2025 22:51:30 -0400 Subject: [PATCH 86/90] Execute proxy-wasm-cpp-host ubuntu-24.04 actions on larger runner (#460) Signed-off-by: Michael Warres --- .github/workflows/format.yml | 8 ++++---- .github/workflows/test.yml | 28 ++++++++++++++-------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 051459d7c..8f61d3582 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -43,7 +43,7 @@ jobs: addlicense: name: verify licenses - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-16core steps: - uses: actions/checkout@v2 @@ -63,7 +63,7 @@ jobs: buildifier: name: check format with buildifier - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-16core steps: - uses: actions/checkout@v2 @@ -101,7 +101,7 @@ jobs: clang_format: name: check format with clang-format - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-16core steps: - uses: actions/checkout@v2 @@ -117,7 +117,7 @@ jobs: clang_tidy: name: check format with clang-tidy - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-16core steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c42a546e..cc6ddbc5f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: test_data: name: build test data - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-16core steps: - uses: actions/checkout@v2 @@ -128,19 +128,19 @@ jobs: include: - name: 'NullVM on Linux/x86_64' engine: 'null' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=gcc - name: 'NullVM on Linux/x86_64 with ASan' engine: 'null' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=clang-asan --define=crypto=system - name: 'NullVM on Linux/x86_64 with TSan' engine: 'null' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=clang-tsan @@ -153,7 +153,7 @@ jobs: - name: 'V8 on Linux/x86_64' engine: 'v8' repo: 'v8' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=hermetic-llvm --define=crypto=system @@ -161,7 +161,7 @@ jobs: - name: 'V8 on Linux/x86_64 with ASan' engine: 'v8' repo: 'v8' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=hermetic-llvm --config=clang-asan @@ -169,7 +169,7 @@ jobs: - name: 'V8 on Linux/x86_64 with TSan' engine: 'v8' repo: 'v8' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=hermetic-llvm --config=clang-tsan @@ -177,7 +177,7 @@ jobs: - name: 'V8 on Linux/x86_64 with GCC' engine: 'v8' repo: 'v8' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=gcc @@ -202,7 +202,7 @@ jobs: - name: 'WAMR interp on Linux/x86_64' engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=clang @@ -215,7 +215,7 @@ jobs: - name: 'WAMR jit on Linux/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=clang @@ -231,7 +231,7 @@ jobs: - name: 'WasmEdge on Linux/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=clang @@ -244,14 +244,14 @@ jobs: - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=clang -c opt - name: 'Wasmtime on Linux/x86_64 with ASan' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: x86_64 action: test flags: --config=clang-asan --define=crypto=system @@ -265,7 +265,7 @@ jobs: - name: 'Wasmtime on Linux/s390x' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-24.04 + os: ubuntu-24.04-16core arch: s390x action: test flags: --config=clang --test_timeout=1800 From f3f9969a3f52bb512b5f1d20120ddd33871150c3 Mon Sep 17 00:00:00 2001 From: rachgreen33 Date: Mon, 20 Oct 2025 15:00:04 -0400 Subject: [PATCH 87/90] chore: Update V8 flag initialization to use V8 API (#458) * Set flags via the v8 API, instead of directly modifying them --------- Signed-off-by: Rachel Green --- src/v8/v8.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/v8/v8.cc b/src/v8/v8.cc index 9e184f292..932a60043 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -28,9 +28,10 @@ #include "include/proxy-wasm/limits.h" +#include "absl/strings/str_format.h" +#include "include/v8-initialization.h" #include "include/v8-version.h" #include "include/v8.h" -#include "src/flags/flags.h" #include "src/wasm/c-api.h" #include "wasm-api/wasm.hh" @@ -42,10 +43,13 @@ wasm::Engine *engine() { static wasm::own engine; std::call_once(init, []() { - ::v8::internal::v8_flags.liftoff = false; - ::v8::internal::v8_flags.wasm_max_mem_pages = - PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES / PROXY_WASM_HOST_WASM_MEMORY_PAGE_SIZE_BYTES; + // Disable the Liftoff compiler to force optimized JIT up-front. + std::string args = absl::StrFormat("--wasm_max_mem_pages=%u --no-liftoff", + PROXY_WASM_HOST_MAX_WASM_MEMORY_SIZE_BYTES / + PROXY_WASM_HOST_WASM_MEMORY_PAGE_SIZE_BYTES); + ::v8::V8::SetFlagsFromString(args.c_str(), args.size()); ::v8::V8::EnableWebAssemblyTrapHandler(true); + engine = wasm::Engine::make(); }); From 14fa83a43bddadef6da8a37135f1dee57f8b29a3 Mon Sep 17 00:00:00 2001 From: rachgreen33 Date: Thu, 20 Nov 2025 14:30:27 -0500 Subject: [PATCH 88/90] Feat: Allow invocation of the emscripten_notify_memory_growth hostcall. (#461) * Feat: Allow invocation of the emscripten_notify_memory_growth hostcall. Signed-off-by: Rachel Green --- src/wasm.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wasm.cc b/src/wasm.cc index e8a7ce436..a1b4c1836 100644 --- a/src/wasm.cc +++ b/src/wasm.cc @@ -378,7 +378,9 @@ ContextBase *WasmBase::getRootContext(const std::shared_ptr &plugin, void WasmBase::startVm(ContextBase *root_context) { // wasi_snapshot_preview1.clock_time_get wasm_vm_->setRestrictedCallback( - true, {// logging (Proxy-Wasm) + true, {// emscripten + "env.emscripten_notify_memory_growth", + // logging (Proxy-Wasm) "env.proxy_log", // logging (stdout/stderr) "wasi_unstable.fd_write", "wasi_snapshot_preview1.fd_write", From 44be7b18175b362f81bc821e6e23882518d7295a Mon Sep 17 00:00:00 2001 From: rachgreen33 Date: Fri, 21 Nov 2025 14:03:50 -0500 Subject: [PATCH 89/90] Chore: Remove the initEngine methods, and update Warm test. (#459) * Remove the init*engine methods from runtimes, and update warm() test. Signed-off-by: Rachel Green --- include/proxy-wasm/v8.h | 1 - include/proxy-wasm/wamr.h | 1 - include/proxy-wasm/wasmtime.h | 1 - src/v8/v8.cc | 2 -- src/wamr/wamr.cc | 2 -- src/wasmedge/wasmedge.cc | 7 ++++--- src/wasmtime/wasmtime.cc | 2 -- test/wasm_vm_test.cc | 35 ++++++++++------------------------- 8 files changed, 14 insertions(+), 37 deletions(-) diff --git a/include/proxy-wasm/v8.h b/include/proxy-wasm/v8.h index 5531f52cb..73c91b956 100644 --- a/include/proxy-wasm/v8.h +++ b/include/proxy-wasm/v8.h @@ -21,7 +21,6 @@ namespace proxy_wasm { -bool initV8Engine(); std::unique_ptr createV8Vm(); } // namespace proxy_wasm diff --git a/include/proxy-wasm/wamr.h b/include/proxy-wasm/wamr.h index 32a05e94a..98ff72e31 100644 --- a/include/proxy-wasm/wamr.h +++ b/include/proxy-wasm/wamr.h @@ -21,7 +21,6 @@ namespace proxy_wasm { -bool initWamrEngine(); std::unique_ptr createWamrVm(); } // namespace proxy_wasm diff --git a/include/proxy-wasm/wasmtime.h b/include/proxy-wasm/wasmtime.h index 11c4ae7a3..e3fe4b48c 100644 --- a/include/proxy-wasm/wasmtime.h +++ b/include/proxy-wasm/wasmtime.h @@ -18,7 +18,6 @@ namespace proxy_wasm { -bool initWasmtimeEngine(); std::unique_ptr createWasmtimeVm(); } // namespace proxy_wasm diff --git a/src/v8/v8.cc b/src/v8/v8.cc index 932a60043..f5a73b130 100644 --- a/src/v8/v8.cc +++ b/src/v8/v8.cc @@ -759,8 +759,6 @@ std::string V8::getFailMessage(std::string_view function_name, wasm::own createV8Vm() { return std::make_unique(); } } // namespace proxy_wasm diff --git a/src/wamr/wamr.cc b/src/wamr/wamr.cc index 88dc9f007..8eef73590 100644 --- a/src/wamr/wamr.cc +++ b/src/wamr/wamr.cc @@ -713,8 +713,6 @@ void Wamr::warm() { initStore(); } } // namespace wamr -bool initWamrEngine() { return wamr::engine() != nullptr; } - std::unique_ptr createWamrVm() { return std::make_unique(); } } // namespace proxy_wasm diff --git a/src/wasmedge/wasmedge.cc b/src/wasmedge/wasmedge.cc index 263ed1883..30fe78f5e 100644 --- a/src/wasmedge/wasmedge.cc +++ b/src/wasmedge/wasmedge.cc @@ -225,9 +225,6 @@ using HostModuleDataPtr = std::unique_ptr; class WasmEdge : public WasmVm { public: WasmEdge() { - loader_ = WasmEdge_LoaderCreate(nullptr); - validator_ = WasmEdge_ValidatorCreate(nullptr); - executor_ = WasmEdge_ExecutorCreate(nullptr, nullptr); store_ = nullptr; ast_module_ = nullptr; module_ = nullptr; @@ -305,6 +302,7 @@ class WasmEdge : public WasmVm { bool WasmEdge::load(std::string_view bytecode, std::string_view /*precompiled*/, const std::unordered_map & /*function_names*/) { + initStore(); WasmEdge_ASTModuleContext *mod = nullptr; WasmEdge_Result res = WasmEdge_LoaderParseFromBuffer( loader_.get(), &mod, reinterpret_cast(bytecode.data()), bytecode.size()); @@ -324,6 +322,9 @@ void WasmEdge::initStore() { if (store_ != nullptr) { return; } + loader_ = WasmEdge_LoaderCreate(nullptr); + validator_ = WasmEdge_ValidatorCreate(nullptr); + executor_ = WasmEdge_ExecutorCreate(nullptr, nullptr); store_ = WasmEdge_StoreCreate(); } diff --git a/src/wasmtime/wasmtime.cc b/src/wasmtime/wasmtime.cc index ac0361623..a72a0361d 100644 --- a/src/wasmtime/wasmtime.cc +++ b/src/wasmtime/wasmtime.cc @@ -710,8 +710,6 @@ void Wasmtime::warm() { initStore(); } } // namespace wasmtime -bool initWasmtimeEngine() { return wasmtime::engine() != nullptr; } - std::unique_ptr createWasmtimeVm() { return std::make_unique(); } } // namespace proxy_wasm diff --git a/test/wasm_vm_test.cc b/test/wasm_vm_test.cc index bb2bab193..346fe2a07 100644 --- a/test/wasm_vm_test.cc +++ b/test/wasm_vm_test.cc @@ -31,37 +31,17 @@ INSTANTIATE_TEST_SUITE_P(WasmEngines, TestVm, testing::ValuesIn(getWasmEngines() }); TEST_P(TestVm, Init) { - std::chrono::time_point time2; - auto time1 = std::chrono::steady_clock::now(); - if (engine_ == "v8") { -#if defined(PROXY_WASM_HOST_ENGINE_V8) - EXPECT_TRUE(proxy_wasm::initV8Engine()); - time2 = std::chrono::steady_clock::now(); - EXPECT_TRUE(proxy_wasm::initV8Engine()); -#endif - } else if (engine_ == "wamr") { -#if defined(PROXY_WASM_HOST_ENGINE_WAMR) - EXPECT_TRUE(proxy_wasm::initWamrEngine()); - time2 = std::chrono::steady_clock::now(); - EXPECT_TRUE(proxy_wasm::initWamrEngine()); -#endif - } else if (engine_ == "wasmtime") { -#if defined(PROXY_WASM_HOST_ENGINE_WASMTIME) - EXPECT_TRUE(proxy_wasm::initWasmtimeEngine()); - time2 = std::chrono::steady_clock::now(); - EXPECT_TRUE(proxy_wasm::initWasmtimeEngine()); -#endif - } else { - return; - } + vm_->warm(); + auto time2 = std::chrono::steady_clock::now(); + vm_->warm(); auto time3 = std::chrono::steady_clock::now(); auto cold = std::chrono::duration_cast(time2 - time1).count(); auto warm = std::chrono::duration_cast(time3 - time2).count(); - std::cout << "\"cold\" engine time: " << cold << "ns" << std::endl; - std::cout << "\"warm\" engine time: " << warm << "ns" << std::endl; + std::cout << "[" << engine_ << "] \"cold\" engine time: " << cold << "ns" << std::endl; + std::cout << "[" << engine_ << "] \"warm\" engine time: " << warm << "ns" << std::endl; // Default warm time in nanoseconds. int warm_time_ns_limit = 10000; @@ -75,6 +55,11 @@ TEST_P(TestVm, Init) { EXPECT_LE(warm, warm_time_ns_limit); // Verify that getting a "warm" engine takes at least 50x less time than getting a "cold" one. + // We skip NullVM because warm() is a noop. + if (engine_ == "null") { + std::cout << "Skipping warm() performance assertions for NullVM." << std::endl; + return; + } EXPECT_LE(warm * 50, cold); } From c8868da77499d414f3dcd07e4fbe584dc9a1c30d Mon Sep 17 00:00:00 2001 From: rachgreen33 Date: Mon, 24 Nov 2025 11:13:10 -0500 Subject: [PATCH 90/90] feat: pass FailState value to WasmVmIntegration::error() (#450) * pass FailState value to WasmVmIntegration::error() Signed-off-by: Rachel Green --- include/proxy-wasm/wasm_vm.h | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index c14624ac0..9a2f0a6a0 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -143,12 +143,25 @@ enum class AbiVersion { ProxyWasm_0_1_0, ProxyWasm_0_2_0, ProxyWasm_0_2_1, Unkno class NullPlugin; +enum class FailState : int { + Ok = 0, + UnableToCreateVm = 1, + UnableToCloneVm = 2, + MissingFunction = 3, + UnableToInitializeCode = 4, + StartFailed = 5, + ConfigureFailed = 6, + RuntimeError = 7, +}; + // Integrator specific WasmVm operations. struct WasmVmIntegration { virtual ~WasmVmIntegration() {} virtual WasmVmIntegration *clone() = 0; virtual proxy_wasm::LogLevel getLogLevel() = 0; virtual void error(std::string_view message) = 0; + // Allow integrations to handle specific FailStates differently. + virtual void error(FailState fail_state, std::string_view message) { error(message); } virtual void trace(std::string_view message) = 0; // Get a NullVm implementation of a function. // @param function_name is the name of the function with the implementation specific prefix. @@ -165,17 +178,6 @@ struct WasmVmIntegration { void *ptr_to_function_return) = 0; }; -enum class FailState : int { - Ok = 0, - UnableToCreateVm = 1, - UnableToCloneVm = 2, - MissingFunction = 3, - UnableToInitializeCode = 4, - StartFailed = 5, - ConfigureFailed = 6, - RuntimeError = 7, -}; - // Wasm VM instance. Provides the low level WASM interface. class WasmVm { public: @@ -308,14 +310,11 @@ class WasmVm { */ virtual bool usesWasmByteOrder() = 0; - /** - * Warm the VM such as engine and runtime. - */ - virtual void warm() = 0; + virtual void warm() {} bool isFailed() { return failed_ != FailState::Ok; } void fail(FailState fail_state, std::string_view message) { - integration()->error(message); + integration()->error(fail_state, message); failed_ = fail_state; for (auto &callback : fail_callbacks_) { callback(fail_state);