From 284cd0ba952e0e0cf60f250c7e732a797afbbe4d Mon Sep 17 00:00:00 2001 From: Michael Warres Date: Fri, 26 Apr 2024 19:28:11 -0400 Subject: [PATCH 01/36] 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 02/36] 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 03/36] 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 04/36] 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 05/36] 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 06/36] 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 07/36] 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 08/36] 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 09/36] 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 10/36] 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 11/36] 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 12/36] 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 13/36] 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 14/36] 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 15/36] 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 16/36] 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 17/36] 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 18/36] 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 19/36] 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 20/36] 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 21/36] 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 22/36] 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 23/36] 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 24/36] 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 25/36] 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 26/36] 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 27/36] 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 28/36] 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 29/36] 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 30/36] 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 31/36] 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 32/36] 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 33/36] 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 34/36] 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 35/36] 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 36/36] 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);