From aca92489287dddf14fc16e90a834f8f5664a5e62 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 15 Dec 2025 20:18:36 +0100 Subject: [PATCH 01/49] Upgrade to Bazel 7.7.1 with modern clang-tidy integration and bzlmod-ready dependencies Signed-off-by: Matthieu MOREL --- .bazelrc | 6 +-- .bazelversion | 2 +- .github/workflows/test.yml | 10 ++--- BUILD | 10 ++--- WORKSPACE | 5 +++ bazel/dependencies.bzl | 11 ++++- bazel/repositories.bzl | 83 +++++++++++++++++++++----------------- bazel/setup_features.bzl | 21 ++++++++++ tools/lint/BUILD | 30 ++++++++++++++ tools/lint/linters.bzl | 23 +++++++++++ 10 files changed, 147 insertions(+), 54 deletions(-) create mode 100644 bazel/setup_features.bzl create mode 100644 tools/lint/BUILD create mode 100644 tools/lint/linters.bzl diff --git a/.bazelrc b/.bazelrc index 5a0373356..0f1f1511b 100644 --- a/.bazelrc +++ b/.bazelrc @@ -58,10 +58,8 @@ 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 -build:clang-tidy --aspects @bazel_clang_tidy//clang_tidy:clang_tidy.bzl%clang_tidy_aspect -build:clang-tidy --@bazel_clang_tidy//:clang_tidy_config=@proxy_wasm_cpp_host//:clang_tidy_config -build:clang-tidy --output_groups=report +build:clang-tidy --aspects //tools/lint:linters.bzl%clang_tidy +build:clang-tidy --output_groups=rules_lint_report # Use GCC compiler. build:gcc --action_env=BAZEL_COMPILER=gcc diff --git a/.bazelversion b/.bazelversion index f22d756da..5942a0d3a 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.5.0 +7.7.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc6ddbc5f..ef042ad1c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -194,7 +194,7 @@ jobs: - name: 'V8 on macOS/x86_64' engine: 'v8' repo: 'v8' - os: macos-13 + os: macos-15 arch: x86_64 action: test flags: --config=hermetic-llvm-macos @@ -209,7 +209,7 @@ jobs: - name: 'WAMR interp on macOS/x86_64' engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: macos-13 + os: macos-15 arch: x86_64 action: test - name: 'WAMR jit on Linux/x86_64' @@ -224,7 +224,7 @@ jobs: - name: 'WAMR jit on macOS/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: macos-13 + os: macos-15 arch: x86_64 action: test cache: true @@ -238,7 +238,7 @@ jobs: - name: 'WasmEdge on macOS/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' - os: macos-13 + os: macos-15 arch: x86_64 action: test - name: 'Wasmtime on Linux/x86_64' @@ -275,7 +275,7 @@ jobs: - name: 'Wasmtime on macOS/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: macos-13 + os: macos-15 arch: x86_64 action: test diff --git a/BUILD b/BUILD index 6db5fd903..119830487 100644 --- a/BUILD +++ b/BUILD @@ -133,7 +133,7 @@ cc_library( ], deps = [ ":wasm_vm_headers", - "//external:wee8", + "@v8//:wee8", ], ) @@ -151,7 +151,7 @@ cc_library( ], deps = [ ":wasm_vm_headers", - "//external:wamr", + "@com_github_bytecodealliance_wasm_micro_runtime//:wamr_lib", ], ) @@ -178,7 +178,7 @@ cc_library( }), deps = [ ":wasm_vm_headers", - "//external:wasmedge", + "@com_github_wasmedge_wasmedge//:wasmedge_lib", ], ) @@ -217,7 +217,7 @@ cc_library( }), deps = [ ":wasm_vm_headers", - "//external:wasmtime", + "@com_github_bytecodealliance_wasmtime//:wasmtime_lib", ], ) @@ -276,7 +276,7 @@ cc_library( }), deps = [ ":wasm_vm_headers", - "//external:prefixed_wasmtime", + "@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib", ], ) diff --git a/WORKSPACE b/WORKSPACE index dad42c2f8..0a5f45e59 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -8,6 +8,11 @@ load("@proxy_wasm_cpp_host//bazel:dependencies.bzl", "proxy_wasm_cpp_host_depend proxy_wasm_cpp_host_dependencies() +# Setup bazel_features internal repos (required for aspect_rules_lint) +load("@proxy_wasm_cpp_host//bazel:setup_features.bzl", "setup_bazel_features") + +setup_bazel_features() + load("@proxy_wasm_cpp_host//bazel:dependencies_python.bzl", "proxy_wasm_cpp_host_dependencies_python") proxy_wasm_cpp_host_dependencies_python() diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 683fb9964..41ccb81bd 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@aspect_rules_lint//format:repositories.bzl", "rules_lint_dependencies") +load("@bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_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") @@ -25,6 +27,11 @@ load("@toolchains_llvm//toolchain:rules.bzl", "llvm_toolchain") def proxy_wasm_cpp_host_dependencies(): # Bazel extensions. + rules_lint_dependencies() + + bazel_lib_dependencies() + bazel_lib_register_toolchains() + py_repositories() python_register_toolchains( name = "python_3_9", @@ -41,7 +48,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", # TODO: Change to wasm32-wasip1 once https://github.com/bazelbuild/rules_rust/issues/2782 is fixed ], - version = "1.77.2", + versions = ["1.77.2"], ) rust_repository_set( name = "rust_linux_s390x", @@ -50,7 +57,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.77.2", + versions = ["1.77.2"], ) crate_universe_dependencies(bootstrap = True) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 8e6e3c88f..5bafd0077 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -19,15 +19,23 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") def proxy_wasm_cpp_host_repositories(): # Bazel extensions. + maybe( + http_archive, + name = "bazel_features", + sha256 = "af3d4fb1cf4f25942cb4a933b1ad93a0ea9fe9ee70c2af7f369fb72a67c266e5", + strip_prefix = "bazel_features-1.21.0", + urls = ["https://github.com/bazel-contrib/bazel_features/releases/download/v1.21.0/bazel_features-v1.21.0.tar.gz"], + ) + # 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", + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/1.0.0/platforms-1.0.0.tar.gz", + "https://github.com/bazelbuild/platforms/releases/download/1.0.0/platforms-1.0.0.tar.gz", ], - sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", + sha256 = "3384eb1c30762704fbe38e440204e114154086c8fc8a8c2e3e28441028c019a8", ) maybe( @@ -48,14 +56,42 @@ def proxy_wasm_cpp_host_repositories(): urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"], ) + # aspect_rules_lint v1.12.0 for modern clang-tidy integration maybe( http_archive, - name = "bazel_clang_tidy", - sha256 = "6ed23cbff9423a30ef10becf57210a26d54fe198a211f4037d931c06f843c023", - strip_prefix = "bazel_clang_tidy-c2fe98cfec0430e78bff4169e9ca0a43123e4c99", - url = "https://github.com/erenon/bazel_clang_tidy/archive/c2fe98cfec0430e78bff4169e9ca0a43123e4c99.tar.gz", - patches = ["@proxy_wasm_cpp_host//bazel/external:bazel_clang_tidy.patch"], - patch_args = ["-p1"], + name = "aspect_rules_lint", + sha256 = "a8a63bd071a39bd5be1f99d9f258eac674673c98505f9fc5b4c76587f67278cd", + strip_prefix = "rules_lint-1.12.0", + url = "https://github.com/aspect-build/rules_lint/releases/download/v1.12.0/rules_lint-v1.12.0.tar.gz", + ) + + # bazel_lib v3.0.1 required by aspect_rules_lint v1.12.0 + maybe( + http_archive, + name = "bazel_lib", + sha256 = "8b074b1a2731d29f6b95defdca95297354dc424492caf7019cf6b9f36afba54f", + strip_prefix = "bazel-lib-3.0.1", + url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.0.1/bazel-lib-v3.0.1.tar.gz", + ) + + # aspect_bazel_lib alias for aspect_rules_js v2.1.2 compatibility + # aspect_rules_js expects @aspect_bazel_lib while aspect_rules_lint expects @bazel_lib + # Both repos reference the same bazel-lib v3.0.1 release to maintain consistency + maybe( + http_archive, + name = "aspect_bazel_lib", + sha256 = "8b074b1a2731d29f6b95defdca95297354dc424492caf7019cf6b9f36afba54f", + strip_prefix = "bazel-lib-3.0.1", + url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.0.1/bazel-lib-v3.0.1.tar.gz", + ) + + # aspect_rules_js is required by aspect_rules_lint + maybe( + http_archive, + name = "aspect_rules_js", + sha256 = "fbc34d815a0cc52183a1a26732fc0329e26774a51abbe0f26fc9fd2dab6133b4", + strip_prefix = "rules_js-2.1.2", + url = "https://github.com/aspect-build/rules_js/releases/download/v2.1.2/rules_js-v2.1.2.tar.gz", ) maybe( @@ -98,8 +134,6 @@ 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", @@ -180,7 +214,7 @@ def proxy_wasm_cpp_host_repositories(): # 13.8.258.26 commit = "de9d0f8b56ae61896e4d2ac577fc589efb14f87d", remote = "https://chromium.googlesource.com/v8/v8", - shallow_since = "1752074621 -0400", + shallow_since = "1752074621 -0700", patches = [ "@proxy_wasm_cpp_host//bazel/external:v8.patch", ], @@ -257,11 +291,6 @@ def proxy_wasm_cpp_host_repositories(): build_file = "@proxy_wasm_cpp_host//bazel/external:intel_ittapi.BUILD", ) - native.bind( - name = "wee8", - actual = "@v8//:wee8", - ) - # WAMR with dependencies. maybe( @@ -274,11 +303,6 @@ def proxy_wasm_cpp_host_repositories(): url = "https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-2.4.1.zip", ) - native.bind( - name = "wamr", - actual = "@com_github_bytecodealliance_wasm_micro_runtime//:wamr_lib", - ) - maybe( http_archive, name = "llvm-15_0_7", @@ -299,11 +323,6 @@ def proxy_wasm_cpp_host_repositories(): url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/proxy-wasm/0.13.1.tar.gz", ) - native.bind( - name = "wasmedge", - actual = "@com_github_wasmedge_wasmedge//:wasmedge_lib", - ) - # Wasmtime with dependencies. maybe( @@ -314,13 +333,3 @@ def proxy_wasm_cpp_host_repositories(): 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_bytecodealliance_wasmtime//:wasmtime_lib", - ) - - native.bind( - name = "prefixed_wasmtime", - actual = "@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib", - ) diff --git a/bazel/setup_features.bzl b/bazel/setup_features.bzl new file mode 100644 index 000000000..2c8474335 --- /dev/null +++ b/bazel/setup_features.bzl @@ -0,0 +1,21 @@ +# 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. + +"""Setup bazel_features internal repositories.""" + +load("@bazel_features//private:repos.bzl", "bazel_features_repos") + +def setup_bazel_features(): + """Initialize bazel_features internal repos (needed for WORKSPACE compat).""" + bazel_features_repos() diff --git a/tools/lint/BUILD b/tools/lint/BUILD new file mode 100644 index 000000000..13b2b460d --- /dev/null +++ b/tools/lint/BUILD @@ -0,0 +1,30 @@ +# 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("@bazel_skylib//rules:native_binary.bzl", "native_binary") + +# Make hermetic clang-tidy available as a binary for aspect_rules_lint +native_binary( + name = "clang_tidy", + src = select( + { + "@bazel_tools//src/conditions:linux_x86_64": "@llvm_toolchain_llvm//:bin/clang-tidy", + "@bazel_tools//src/conditions:linux_aarch64": "@llvm_toolchain_llvm//:bin/clang-tidy", + "@bazel_tools//src/conditions:darwin_x86_64": "@llvm_toolchain_llvm//:bin/clang-tidy", + "@bazel_tools//src/conditions:darwin_arm64": "@llvm_toolchain_llvm//:bin/clang-tidy", + }, + ), + out = "clang_tidy", + visibility = ["//visibility:public"], +) diff --git a/tools/lint/linters.bzl b/tools/lint/linters.bzl new file mode 100644 index 000000000..bb2f2ead3 --- /dev/null +++ b/tools/lint/linters.bzl @@ -0,0 +1,23 @@ +# 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. + +"""Linter configurations for the project.""" + +load("@aspect_rules_lint//lint:clang_tidy.bzl", "lint_clang_tidy_aspect") + +# Configure clang-tidy to use the hermetic LLVM toolchain +clang_tidy = lint_clang_tidy_aspect( + binary = "@@//tools/lint:clang_tidy", + configs = ["@@//:.clang-tidy"], +) From 2bb7737033a02e255085e0a976ac80ece351ef73 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Fri, 19 Dec 2025 15:59:55 -0500 Subject: [PATCH 02/49] Update toolchains for bazel 7 * rules_python -> 1.6.1, * rust toolchain -> 1.91, * python toolchain -> 3.11, * rules_cc -> 0.1.5, * rules_foreign_cc -> 0.15.1, * rules_rust -> 0.68.1 Signed-off-by: Matt Leon --- .bazelrc | 1 + .github/workflows/format.yml | 4 +--- .github/workflows/test.yml | 19 ++++++++++------- bazel/dependencies.bzl | 26 ++++++++++++++--------- bazel/dependencies_import.bzl | 12 ++++++++++- bazel/external/rules_rust.patch | 10 ++++----- bazel/external/wamr.patch | 26 +++++++++++++++++++++++ bazel/external/wamr_llvm.BUILD | 3 --- bazel/repositories.bzl | 37 ++++++++++++++++++++------------- bazel/wasm.bzl | 2 +- test/runtime_test.cc | 2 +- 11 files changed, 96 insertions(+), 46 deletions(-) create mode 100644 bazel/external/wamr.patch diff --git a/.bazelrc b/.bazelrc index 0f1f1511b..5722b8148 100644 --- a/.bazelrc +++ b/.bazelrc @@ -60,6 +60,7 @@ build:clang-tsan --test_env=TSAN_OPTIONS=suppressions=bazel/tsan_suppressions.tx # Use Clang-Tidy tool. build:clang-tidy --aspects //tools/lint:linters.bzl%clang_tidy build:clang-tidy --output_groups=rules_lint_report +build:clang-tidy --config=hermetic-llvm # Use GCC compiler. build:gcc --action_env=BAZEL_COMPILER=gcc diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 8f61d3582..f48866a1d 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -122,9 +122,6 @@ jobs: steps: - uses: actions/checkout@v2 - - 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: set cache name id: vars # The cache tag consists of the following parts: @@ -150,6 +147,7 @@ jobs: - name: Bazel build run: > bazel build + --config=hermetic-llvm --config clang-tidy --define engine=multi --disk_cache /tmp/bazel/cache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef042ad1c..5d95edd07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -76,6 +76,7 @@ jobs: --test_output=errors --config=clang --disk_cache /tmp/bazel/cache + --config=hermetic-llvm -c opt $(bazel query 'kind(was.*_rust_binary, //test/test_data/...)') $(bazel query 'kind(_optimized_wasm_cc_binary, //test/test_data/...)') @@ -137,13 +138,13 @@ jobs: os: ubuntu-24.04-16core arch: x86_64 action: test - flags: --config=clang-asan --define=crypto=system + flags: --config=hermetic-llvm --config=clang-asan --define=crypto=system - name: 'NullVM on Linux/x86_64 with TSan' engine: 'null' os: ubuntu-24.04-16core arch: x86_64 action: test - flags: --config=clang-tsan + flags: --config=hermetic-llvm --config=clang-tsan - name: 'NullVM on Windows/x86_64' engine: 'null' os: windows-2022 @@ -205,20 +206,21 @@ jobs: os: ubuntu-24.04-16core arch: x86_64 action: test - flags: --config=clang + flags: --config=hermetic-llvm - name: 'WAMR interp on macOS/x86_64' engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' os: macos-15 arch: x86_64 action: test + flags: --config=hermetic-llvm-macos - name: 'WAMR jit on Linux/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' os: ubuntu-24.04-16core arch: x86_64 action: test - flags: --config=clang + flags: --config=hermetic-llvm deps: lld-18 cache: true - name: 'WAMR jit on macOS/x86_64' @@ -228,33 +230,35 @@ jobs: arch: x86_64 action: test cache: true + flags: --config=hermetic-llvm-macos - name: 'WasmEdge on Linux/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' os: ubuntu-24.04-16core arch: x86_64 action: test - flags: --config=clang + flags: --config=hermetic-llvm - name: 'WasmEdge on macOS/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' os: macos-15 arch: x86_64 action: test + flags: --config=hermetic-llvm - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' os: ubuntu-24.04-16core arch: x86_64 action: test - flags: --config=clang -c opt + flags: --config=hermetic-llvm -c opt - name: 'Wasmtime on Linux/x86_64 with ASan' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' os: ubuntu-24.04-16core arch: x86_64 action: test - flags: --config=clang-asan --define=crypto=system + flags: --config=hermetic-llvm --config=clang-asan --define=crypto=system - name: 'Wasmtime on Linux/aarch64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' @@ -278,6 +282,7 @@ jobs: os: macos-15 arch: x86_64 action: test + flags: --config=hermetic-llvm-macos steps: - uses: actions/checkout@v2 diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 41ccb81bd..96076d9e4 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -18,14 +18,18 @@ 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_python//python:repositories.bzl", "py_repositories" ) 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") +load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") +load("@com_google_googletest//:googletest_deps.bzl", "googletest_deps") def proxy_wasm_cpp_host_dependencies(): # Bazel extensions. + googletest_deps() + rules_foreign_cc_dependencies() rules_lint_dependencies() @@ -33,11 +37,6 @@ def proxy_wasm_cpp_host_dependencies(): bazel_lib_register_toolchains() py_repositories() - python_register_toolchains( - name = "python_3_9", - python_version = "3.9", - ignore_root_user_error = True, # for docker run - ) rust_repositories() rust_repository_set( @@ -46,18 +45,25 @@ def proxy_wasm_cpp_host_dependencies(): extra_target_triples = [ "aarch64-unknown-linux-gnu", "wasm32-unknown-unknown", - "wasm32-wasi", # TODO: Change to wasm32-wasip1 once https://github.com/bazelbuild/rules_rust/issues/2782 is fixed + "wasm32-wasip1", ], - versions = ["1.77.2"], + versions = ["1.91.0"], + sha256s = { + "rustc-1.91.0-x86_64-unknown-linux-gnu.tar.xz": "a7169e8cb6174af2f45717703370363d8de82ce55f6ccba185893045b9370874", + "clippy-1.91.0-x86_64-unknown-linux-gnu.tar.xz": "0087c3d58d2fdeafa89830c299b1026c9f981b49835db89c922b3c6a299b3225", + "cargo-1.91.0-x86_64-unknown-linux-gnu.tar.xz": "7103c03fb8abe85b23307005a9dfe4f01c826a89945d84b96fa2d03fd4d2d138", + "llvm-tools-1.91.0-x86_64-unknown-linux-gnu.tar.xz": "3d7756e0ce1ee18d20399aef770f09c55a4134f5a0f18e4e3c018aa1b3919a70", + "rust-std-1.91.0-x86_64-unknown-linux-gnu.tar.xz": "89e6520b16c12b43526440298d2da0dcb70747c5cc2d0b8e47d39b5da9aeef49", + }, ) rust_repository_set( name = "rust_linux_s390x", exec_triple = "s390x-unknown-linux-gnu", extra_target_triples = [ "wasm32-unknown-unknown", - "wasm32-wasi", + "wasm32-wasip1", ], - versions = ["1.77.2"], + versions = ["1.91.0"], ) crate_universe_dependencies(bootstrap = True) diff --git a/bazel/dependencies_import.bzl b/bazel/dependencies_import.bzl index e4cf5e879..47e87a670 100644 --- a/bazel/dependencies_import.bzl +++ b/bazel/dependencies_import.bzl @@ -17,11 +17,21 @@ 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") +load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") +load("@bazel_features//:deps.bzl", "bazel_features_deps") +load("@rules_python//python:repositories.bzl", "python_register_toolchains") def proxy_wasm_cpp_host_dependencies_import(): + python_register_toolchains( + name = "python_3_11", + python_version = "3.11", + ignore_root_user_error = True, # for docker run + ) + bazel_skylib_workspace() + bazel_features_deps() + llvm_register_toolchains() - rules_foreign_cc_dependencies() rules_fuzzing_dependencies() pip_fuzzing_dependencies() diff --git a/bazel/external/rules_rust.patch b/bazel/external/rules_rust.patch index a9a57c931..cae9965bf 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 bfd96ed9..d7e38658 100644 +index f2fe58c2c..6e55c2c35 100644 --- a/rust/private/rustc.bzl +++ b/rust/private/rustc.bzl -@@ -1507,7 +1507,7 @@ def rustc_compile_action( - }) - crate_info = rust_common.create_crate_info(**crate_info_dict) - +@@ -1634,7 +1634,7 @@ def rustc_compile_action( + **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/external/wamr.patch b/bazel/external/wamr.patch new file mode 100644 index 000000000..3220f52e8 --- /dev/null +++ b/bazel/external/wamr.patch @@ -0,0 +1,26 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c33b211e..d04d0cc8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -178,8 +178,6 @@ set (WAMR_PUBLIC_HEADERS + ) + set_target_properties (vmlib PROPERTIES PUBLIC_HEADER "${WAMR_PUBLIC_HEADERS}") + +-set_version_info (vmlib) +- + install (TARGETS vmlib + EXPORT iwasmTargets + LIBRARY DESTINATION lib +diff --git a/build-scripts/config_common.cmake b/build-scripts/config_common.cmake +index cb15b8b0..b71cf077 100644 +--- a/build-scripts/config_common.cmake ++++ b/build-scripts/config_common.cmake +@@ -140,7 +140,7 @@ else () + endif () + + # Version +-include (${WAMR_ROOT_DIR}/build-scripts/version.cmake) ++# include (${WAMR_ROOT_DIR}/build-scripts/version.cmake) + + # Package + include (${WAMR_ROOT_DIR}/build-scripts/package.cmake) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 6fe496145..4cd7426f1 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -59,9 +59,6 @@ cmake( }), lib_source = ":srcs", out_data_dirs = [ - "bin", - "include", - "lib", "libexec", "share", ], diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 5bafd0077..786379176 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -51,9 +51,9 @@ def proxy_wasm_cpp_host_repositories(): 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"], + sha256 = "b8b918a85f9144c01f6cfe0f45e4f2838c7413961a8ff23bc0c6cdf8bb07a3b6", + strip_prefix = "rules_cc-0.1.5", + url = "https://github.com/bazelbuild/rules_cc/releases/download/0.1.5/rules_cc-0.1.5.tar.gz", ) # aspect_rules_lint v1.12.0 for modern clang-tidy integration @@ -113,9 +113,9 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_foreign_cc", - sha256 = "bcd0c5f46a49b85b384906daae41d277b3dc0ff27c7c752cc51e43048a58ec83", - strip_prefix = "rules_foreign_cc-0.7.1", - url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.7.1.tar.gz", + sha256 = "32759728913c376ba45b0116869b71b68b1c2ebf8f2bcf7b41222bc07b773d73", + strip_prefix = "rules_foreign_cc-0.15.1", + url = "https://github.com/bazel-contrib/rules_foreign_cc/releases/download/0.15.1/rules_foreign_cc-0.15.1.tar.gz", ) maybe( @@ -129,17 +129,16 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_python", - 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", + sha256 = "f2e80f97f9c0b82e2489e61e725df1e6bdaf16c4dacf5e26b95668787164baff", + strip_prefix = "rules_python-1.6.1", + url = "https://github.com/bazel-contrib/rules_python/releases/download/1.6.1/rules_python-1.6.1.tar.gz", ) maybe( http_archive, name = "rules_rust", - integrity = "sha256-JLN47ZcAbx9wEr5Jiib4HduZATGLiDgK7oUi/fvotzU=", - # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/releases/download/0.42.1/rules_rust-v0.42.1.tar.gz", + integrity = "sha256-yKqAbPYGZnmsI0YyQe6ArWkiZdrQRl9RERy74wuJA1I=", + urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.68.1/rules_rust-0.68.1.tar.gz"], patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], patch_args = ["-p1"], ) @@ -194,6 +193,9 @@ def proxy_wasm_cpp_host_repositories(): 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"], + repo_mapping = { + "@abseil-cpp": "@com_google_absl", + }, ) # NullVM dependencies. @@ -201,9 +203,12 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "com_google_protobuf", - sha256 = "77ad26d3f65222fd96ccc18b055632b0bfedf295cb748b712a98ba1ac0b704b2", - strip_prefix = "protobuf-3.17.3", - url = "https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protobuf-all-3.17.3.tar.gz", + sha256 = "3d32940e975c4ad9b8ba69640e78f5527075bae33ca2890275bf26b853c0962c", + strip_prefix = "protobuf-29.1", + url = "https://github.com/protocolbuffers/protobuf/releases/download/v29.1/protobuf-29.1.tar.gz", + repo_mapping = { + "@abseil-cpp": "@com_google_absl", + }, ) # V8 with dependencies. @@ -301,6 +306,8 @@ def proxy_wasm_cpp_host_repositories(): 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", + patches = ["@proxy_wasm_cpp_host//bazel/external:wamr.patch"], + patch_args = ["-p1"], ) maybe( diff --git a/bazel/wasm.bzl b/bazel/wasm.bzl index 192823047..ead788115 100644 --- a/bazel/wasm.bzl +++ b/bazel/wasm.bzl @@ -64,7 +64,7 @@ def _wasm_attrs(transition): "binary": attr.label(mandatory = True, cfg = transition), "signing_key": attr.label_list(allow_files = True), "_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"), + "_allowlist_function_transition": attr.label(default = "@bazel_tools//tools/allowlists/function_transition_allowlist"), } wasm_rust_binary_rule = rule( diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 2e9080978..84e76320e 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -158,7 +158,7 @@ TEST_P(TestVm, Trap) { if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); EXPECT_TRUE(host->isErrorLogged(" - std::panicking::begin_panic")); - EXPECT_TRUE(host->isErrorLogged(" - trigger")); + EXPECT_TRUE(host->isErrorLogged(" - _wasm_trap_wasm::one")); } } From 5a0e8f776ecefb4a509351a21d90f3110d663417 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Fri, 19 Dec 2025 16:24:37 -0500 Subject: [PATCH 03/49] Update to wasmsign2 Signed-off-by: Matt Leon --- bazel/cargo/wasmsign/Cargo.Bazel.lock | 1231 ++++++++++++-- bazel/cargo/wasmsign/Cargo.toml | 6 +- .../wasmsign/remote/BUILD.adler2-2.0.1.bazel | 53 + .../remote/BUILD.aho-corasick-1.1.4.bazel | 60 + ....0.86.bazel => BUILD.anyhow-1.0.100.bazel} | 45 +- ...0.11.0.bazel => BUILD.autocfg-1.5.0.bazel} | 20 +- ...1.0.36.bazel => BUILD.base64-0.22.1.bazel} | 23 +- .../wasmsign/remote/BUILD.base64-0.9.3.bazel | 57 + bazel/cargo/wasmsign/remote/BUILD.bazel | 20 +- .../remote/BUILD.bitflags-1.3.2.bazel | 11 +- .../remote/BUILD.bitflags-2.10.0.bazel | 56 + ....1.13.bazel => BUILD.bumpalo-3.19.1.bazel} | 17 +- .../remote/BUILD.byteorder-1.5.0.bazel | 11 +- .../wasmsign/remote/BUILD.cc-1.2.50.bazel | 57 + .../wasmsign/remote/BUILD.cfg-if-1.0.0.bazel | 11 +- .../wasmsign/remote/BUILD.clap-2.34.0.bazel | 156 -- .../wasmsign/remote/BUILD.clap-3.2.25.bazel | 124 ++ .../remote/BUILD.clap_lex-0.2.4.bazel | 56 + .../remote/BUILD.crc32fast-1.5.0.bazel | 127 ++ ....1.1.bazel => BUILD.ct-codecs-1.1.6.bazel} | 13 +- .../remote/BUILD.displaydoc-0.2.5.bazel | 58 + ...azel => BUILD.ed25519-compact-2.2.0.bazel} | 17 +- .../remote/BUILD.env_filter-0.1.4.bazel | 56 + .../remote/BUILD.env_logger-0.11.8.bazel | 61 + .../wasmsign/remote/BUILD.errno-0.3.14.bazel | 209 +++ .../remote/BUILD.find-msvc-tools-0.1.5.bazel | 53 + .../wasmsign/remote/BUILD.flate2-1.1.5.bazel | 63 + .../remote/BUILD.form_urlencoded-1.2.2.bazel | 60 + .../remote/BUILD.getrandom-0.2.15.bazel | 90 +- .../remote/BUILD.getrandom-0.3.4.bazel | 211 +++ .../remote/BUILD.hashbrown-0.12.3.bazel | 56 + ....19.bazel => BUILD.hermit-abi-0.3.9.bazel} | 18 +- .../remote/BUILD.hmac-sha256-1.1.12.bazel | 56 + .../remote/BUILD.icu_collections-2.1.1.bazel | 62 + .../remote/BUILD.icu_locale_core-2.1.1.bazel | 65 + .../remote/BUILD.icu_normalizer-2.1.1.bazel | 63 + .../BUILD.icu_normalizer_data-2.1.1.bazel | 118 ++ .../remote/BUILD.icu_properties-2.1.2.bazel | 64 + .../BUILD.icu_properties_data-2.1.2.bazel | 118 ++ .../remote/BUILD.icu_provider-2.1.1.bazel | 67 + .../wasmsign/remote/BUILD.idna-1.1.0.bazel | 63 + .../remote/BUILD.idna_adapter-1.2.1.bazel | 60 + .../remote/BUILD.indexmap-1.9.3.bazel | 128 ++ .../remote/BUILD.io-lifetimes-1.0.11.bazel | 131 ++ ...m-0.12.1.bazel => BUILD.jiff-0.2.16.bazel} | 34 +- .../remote/BUILD.jiff-static-0.2.16.bazel | 58 + .../wasmsign/remote/BUILD.js-sys-0.3.83.bazel | 61 + ...0.2.155.bazel => BUILD.libc-0.2.178.bazel} | 59 +- .../remote/BUILD.linux-raw-sys-0.11.0.bazel | 100 ++ .../remote/BUILD.linux-raw-sys-0.3.8.bazel | 84 + .../wasmsign/remote/BUILD.litemap-0.8.1.bazel | 53 + .../wasmsign/remote/BUILD.log-0.4.29.bazel | 56 + .../wasmsign/remote/BUILD.memchr-2.7.6.bazel | 57 + .../remote/BUILD.miniz_oxide-0.8.9.bazel | 62 + .../remote/BUILD.once_cell-1.21.3.bazel | 59 + .../remote/BUILD.os_str_bytes-6.6.1.bazel | 56 + .../remote/BUILD.percent-encoding-2.3.2.bazel | 57 + .../remote/BUILD.portable-atomic-1.12.0.bazel | 124 ++ .../BUILD.portable-atomic-util-0.2.4.bazel | 125 ++ .../remote/BUILD.potential_utf-0.1.4.bazel | 59 + ....bazel => BUILD.proc-macro2-1.0.103.bazel} | 45 +- ....0.bazel => BUILD.quick-error-1.2.3.bazel} | 17 +- .../wasmsign/remote/BUILD.quote-1.0.42.bazel | 127 ++ ...12-1.1.5.bazel => BUILD.r-efi-5.3.0.bazel} | 21 +- .../wasmsign/remote/BUILD.regex-1.12.2.bazel | 78 + .../remote/BUILD.regex-automata-0.4.13.bazel | 82 + .../remote/BUILD.regex-syntax-0.8.8.bazel | 65 + .../wasmsign/remote/BUILD.ring-0.17.14.bazel | 167 ++ .../remote/BUILD.rustix-0.37.28.bazel | 367 ++++ .../wasmsign/remote/BUILD.rustix-1.1.2.bazel | 386 +++++ .../remote/BUILD.rustls-0.23.35.bazel | 145 ++ .../BUILD.rustls-pki-types-1.13.2.bazel | 61 + .../remote/BUILD.rustls-webpki-0.103.8.bazel | 66 + .../remote/BUILD.rustversion-1.0.22.bazel | 118 ++ .../wasmsign/remote/BUILD.safemem-0.3.3.bazel | 57 + .../wasmsign/remote/BUILD.serde-1.0.228.bazel | 132 ++ .../remote/BUILD.serde_core-1.0.228.bazel | 126 ++ .../remote/BUILD.serde_derive-1.0.228.bazel | 61 + .../wasmsign/remote/BUILD.shlex-1.3.0.bazel | 57 + .../remote/BUILD.simd-adler32-0.3.8.bazel | 53 + .../remote/BUILD.smallvec-1.15.1.bazel | 56 + .../remote/BUILD.ssh-keys-0.1.4.bazel | 58 + ...l => BUILD.stable_deref_trait-1.2.1.bazel} | 17 +- ...-0.42.2.bazel => BUILD.subtle-2.6.1.bazel} | 21 +- .../wasmsign/remote/BUILD.syn-2.0.111.bazel | 71 + .../remote/BUILD.synstructure-0.13.2.bazel | 62 + .../remote/BUILD.terminal_size-0.2.6.bazel | 176 ++ ....bazel => BUILD.terminal_size-0.4.3.bazel} | 87 +- .../remote/BUILD.textwrap-0.16.2.bazel | 59 + .../remote/BUILD.thiserror-2.0.17.bazel | 129 ++ ...azel => BUILD.thiserror-impl-2.0.17.bazel} | 19 +- .../wasmsign/remote/BUILD.tinystr-0.8.2.bazel | 62 + .../remote/BUILD.unicode-ident-1.0.12.bazel | 11 +- .../remote/BUILD.untrusted-0.9.0.bazel | 53 + .../wasmsign/remote/BUILD.ureq-2.12.1.bazel | 68 + .../remote/BUILD.uri_encode-1.0.4.bazel | 53 + .../wasmsign/remote/BUILD.url-2.5.7.bazel | 64 + .../remote/BUILD.utf8_iter-1.0.4.bazel | 53 + ...D.wasi-0.11.0+wasi-snapshot-preview1.bazel | 11 +- .../BUILD.wasip2-1.0.1+wasi-0.2.4.bazel | 56 + .../remote/BUILD.wasm-bindgen-0.2.106.bazel | 139 ++ .../BUILD.wasm-bindgen-macro-0.2.106.bazel | 57 + ...D.wasm-bindgen-macro-support-0.2.106.bazel | 60 + .../BUILD.wasm-bindgen-shared-0.2.106.bazel | 120 ++ .../remote/BUILD.wasmsign2-0.2.6.bazel | 64 + ....bazel => BUILD.wasmsign2-cli-0.2.6.bazel} | 62 +- .../remote/BUILD.webpki-roots-0.26.11.bazel | 59 + .../remote/BUILD.webpki-roots-1.0.4.bazel | 59 + ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 89 - ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 89 - .../remote/BUILD.windows-link-0.2.1.bazel | 53 + .../remote/BUILD.windows-sys-0.48.0.bazel | 63 + .../remote/BUILD.windows-sys-0.52.0.bazel | 63 + .../remote/BUILD.windows-sys-0.60.2.bazel | 63 + .../remote/BUILD.windows-sys-0.61.2.bazel | 56 + .../remote/BUILD.windows-targets-0.48.5.bazel | 74 + .../remote/BUILD.windows-targets-0.52.6.bazel | 74 + .../remote/BUILD.windows-targets-0.53.5.bazel | 74 + ...BUILD.windows_aarch64_gnullvm-0.48.5.bazel | 118 ++ ...BUILD.windows_aarch64_gnullvm-0.52.6.bazel | 118 ++ ...BUILD.windows_aarch64_gnullvm-0.53.1.bazel | 118 ++ .../BUILD.windows_aarch64_msvc-0.48.5.bazel | 118 ++ .../BUILD.windows_aarch64_msvc-0.52.6.bazel | 118 ++ .../BUILD.windows_aarch64_msvc-0.53.1.bazel | 118 ++ ...el => BUILD.windows_i686_gnu-0.48.5.bazel} | 69 +- .../BUILD.windows_i686_gnu-0.52.6.bazel | 118 ++ .../BUILD.windows_i686_gnu-0.53.1.bazel | 118 ++ .../BUILD.windows_i686_gnullvm-0.52.6.bazel | 118 ++ .../BUILD.windows_i686_gnullvm-0.53.1.bazel | 118 ++ .../BUILD.windows_i686_msvc-0.48.5.bazel | 118 ++ .../BUILD.windows_i686_msvc-0.52.6.bazel | 118 ++ .../BUILD.windows_i686_msvc-0.53.1.bazel | 118 ++ .../BUILD.windows_x86_64_gnu-0.48.5.bazel | 118 ++ .../BUILD.windows_x86_64_gnu-0.52.6.bazel | 118 ++ .../BUILD.windows_x86_64_gnu-0.53.1.bazel | 118 ++ .../BUILD.windows_x86_64_gnullvm-0.48.5.bazel | 118 ++ .../BUILD.windows_x86_64_gnullvm-0.52.6.bazel | 118 ++ .../BUILD.windows_x86_64_gnullvm-0.53.1.bazel | 118 ++ .../BUILD.windows_x86_64_msvc-0.48.5.bazel | 118 ++ .../BUILD.windows_x86_64_msvc-0.52.6.bazel | 118 ++ .../BUILD.windows_x86_64_msvc-0.53.1.bazel | 118 ++ ...3.bazel => BUILD.wit-bindgen-0.46.0.bazel} | 52 +- .../remote/BUILD.writeable-0.6.2.bazel | 53 + .../wasmsign/remote/BUILD.yoke-0.8.1.bazel | 64 + .../remote/BUILD.yoke-derive-0.8.1.bazel | 59 + .../remote/BUILD.zerofrom-0.1.6.bazel | 59 + .../remote/BUILD.zerofrom-derive-0.1.6.bazel | 59 + ...2.0.72.bazel => BUILD.zeroize-1.8.2.bazel} | 28 +- .../remote/BUILD.zerotrie-0.2.3.bazel | 64 + .../remote/BUILD.zerovec-0.11.5.bazel | 64 + .../remote/BUILD.zerovec-derive-0.11.2.bazel | 58 + bazel/cargo/wasmsign/remote/defs.bzl | 1471 +++++++++++++++-- bazel/dependencies.bzl | 6 +- bazel/dependencies_import.bzl | 6 +- bazel/wasm.bzl | 4 +- src/signature_util.cc | 2 +- test/test_data/signature_key1.key | Bin 68 -> 65 bytes test/test_data/signature_key1.pub | Bin 36 -> 33 bytes test/test_data/signature_key2.key | Bin 68 -> 65 bytes test/test_data/signature_key2.pub | Bin 36 -> 33 bytes 160 files changed, 13815 insertions(+), 839 deletions(-) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.adler2-2.0.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.aho-corasick-1.1.4.bazel rename bazel/cargo/wasmsign/remote/{BUILD.anyhow-1.0.86.bazel => BUILD.anyhow-1.0.100.bazel} (70%) rename bazel/cargo/wasmsign/remote/{BUILD.textwrap-0.11.0.bazel => BUILD.autocfg-1.5.0.bazel} (77%) rename bazel/cargo/wasmsign/remote/{BUILD.quote-1.0.36.bazel => BUILD.base64-0.22.1.bazel} (76%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.base64-0.9.3.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.bitflags-2.10.0.bazel rename bazel/cargo/wasmsign/remote/{BUILD.unicode-width-0.1.13.bazel => BUILD.bumpalo-3.19.1.bazel} (77%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.cc-1.2.50.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.clap-3.2.25.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.clap_lex-0.2.4.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.crc32fast-1.5.0.bazel rename bazel/cargo/wasmsign/remote/{BUILD.ct-codecs-1.1.1.bazel => BUILD.ct-codecs-1.1.6.bazel} (81%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.displaydoc-0.2.5.bazel rename bazel/cargo/wasmsign/remote/{BUILD.ed25519-compact-1.0.16.bazel => BUILD.ed25519-compact-2.2.0.bazel} (78%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.env_filter-0.1.4.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.env_logger-0.11.8.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.errno-0.3.14.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.find-msvc-tools-0.1.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.flate2-1.1.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.form_urlencoded-1.2.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.getrandom-0.3.4.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.hashbrown-0.12.3.bazel rename bazel/cargo/wasmsign/remote/{BUILD.hermit-abi-0.1.19.bazel => BUILD.hermit-abi-0.3.9.bazel} (79%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.hmac-sha256-1.1.12.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.icu_collections-2.1.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.icu_locale_core-2.1.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.icu_normalizer-2.1.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.icu_normalizer_data-2.1.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.icu_properties-2.1.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.icu_properties_data-2.1.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.icu_provider-2.1.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.idna-1.1.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.idna_adapter-1.2.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.indexmap-1.9.3.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.io-lifetimes-1.0.11.bazel rename bazel/cargo/wasmsign/remote/{BUILD.ansi_term-0.12.1.bazel => BUILD.jiff-0.2.16.bazel} (61%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.jiff-static-0.2.16.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.js-sys-0.3.83.bazel rename bazel/cargo/wasmsign/remote/{BUILD.libc-0.2.155.bazel => BUILD.libc-0.2.178.bazel} (62%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.11.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.3.8.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.litemap-0.8.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.log-0.4.29.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.memchr-2.7.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.miniz_oxide-0.8.9.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.once_cell-1.21.3.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.os_str_bytes-6.6.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.percent-encoding-2.3.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.portable-atomic-1.12.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.portable-atomic-util-0.2.4.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.potential_utf-0.1.4.bazel rename bazel/cargo/wasmsign/remote/{BUILD.proc-macro2-1.0.86.bazel => BUILD.proc-macro2-1.0.103.bazel} (70%) rename bazel/cargo/wasmsign/remote/{BUILD.strsim-0.8.0.bazel => BUILD.quick-error-1.2.3.bazel} (76%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.quote-1.0.42.bazel rename bazel/cargo/wasmsign/remote/{BUILD.hmac-sha512-1.1.5.bazel => BUILD.r-efi-5.3.0.bazel} (77%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.regex-1.12.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.regex-automata-0.4.13.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.regex-syntax-0.8.8.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.ring-0.17.14.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.rustix-0.37.28.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.rustix-1.1.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.rustls-0.23.35.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.rustls-pki-types-1.13.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.rustls-webpki-0.103.8.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.rustversion-1.0.22.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.safemem-0.3.3.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.serde-1.0.228.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.serde_core-1.0.228.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.serde_derive-1.0.228.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.shlex-1.3.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.simd-adler32-0.3.8.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.smallvec-1.15.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.ssh-keys-0.1.4.bazel rename bazel/cargo/wasmsign/remote/{BUILD.vec_map-0.8.2.bazel => BUILD.stable_deref_trait-1.2.1.bazel} (75%) rename bazel/cargo/wasmsign/remote/{BUILD.parity-wasm-0.42.2.bazel => BUILD.subtle-2.6.1.bazel} (77%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.syn-2.0.111.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.synstructure-0.13.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.terminal_size-0.2.6.bazel rename bazel/cargo/wasmsign/remote/{BUILD.atty-0.2.14.bazel => BUILD.terminal_size-0.4.3.bazel} (56%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.textwrap-0.16.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.thiserror-2.0.17.bazel rename bazel/cargo/wasmsign/remote/{BUILD.thiserror-impl-1.0.63.bazel => BUILD.thiserror-impl-2.0.17.bazel} (74%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.tinystr-0.8.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.untrusted-0.9.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.ureq-2.12.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.uri_encode-1.0.4.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.url-2.5.7.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.utf8_iter-1.0.4.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasip2-1.0.1+wasi-0.2.4.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-0.2.106.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-0.2.106.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-support-0.2.106.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-shared-0.2.106.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.wasmsign2-0.2.6.bazel rename bazel/cargo/wasmsign/remote/{BUILD.wasmsign-0.1.2.bazel => BUILD.wasmsign2-cli-0.2.6.bazel} (58%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.webpki-roots-0.26.11.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.webpki-roots-1.0.4.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel delete mode 100644 bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-link-0.2.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.48.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.52.0.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.60.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.61.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.48.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.53.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.53.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.53.1.bazel rename bazel/cargo/wasmsign/remote/{BUILD.winapi-0.3.9.bazel => BUILD.windows_i686_gnu-0.48.5.bazel} (63%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.53.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.53.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.48.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.53.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.53.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.53.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.53.1.bazel rename bazel/cargo/wasmsign/remote/{BUILD.thiserror-1.0.63.bazel => BUILD.wit-bindgen-0.46.0.bazel} (65%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.writeable-0.6.2.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.yoke-0.8.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.yoke-derive-0.8.1.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.zerofrom-0.1.6.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.zerofrom-derive-0.1.6.bazel rename bazel/cargo/wasmsign/remote/{BUILD.syn-2.0.72.bazel => BUILD.zeroize-1.8.2.bazel} (75%) create mode 100644 bazel/cargo/wasmsign/remote/BUILD.zerotrie-0.2.3.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.zerovec-0.11.5.bazel create mode 100644 bazel/cargo/wasmsign/remote/BUILD.zerovec-derive-0.11.2.bazel diff --git a/bazel/cargo/wasmsign/Cargo.Bazel.lock b/bazel/cargo/wasmsign/Cargo.Bazel.lock index b9a45d0b5..5009062ec 100644 --- a/bazel/cargo/wasmsign/Cargo.Bazel.lock +++ b/bazel/cargo/wasmsign/Cargo.Bazel.lock @@ -1,45 +1,84 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] -name = "ansi_term" -version = "0.12.1" +name = "adler2" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ - "winapi", + "memchr", ] [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.100" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" + +[[package]] +name = "autocfg" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] -name = "atty" -version = "0.2.14" +name = "base64" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +checksum = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643" dependencies = [ - "hermit-abi", - "libc", - "winapi", + "byteorder", + "safemem", ] +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + [[package]] name = "bitflags" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" + +[[package]] +name = "bumpalo" +version = "3.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" + [[package]] name = "byteorder" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +[[package]] +name = "cc" +version = "1.2.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f50d563227a1c37cc0a263f64eca3334388c01c5e4c4861a9def205c614383c" +dependencies = [ + "find-msvc-tools", + "shlex", +] + [[package]] name = "cfg-if" version = "1.0.0" @@ -48,33 +87,116 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "2.34.0" +version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" +checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ - "ansi_term", - "atty", - "bitflags", - "strsim", + "bitflags 1.3.2", + "clap_lex", + "indexmap", + "once_cell", + "terminal_size 0.2.6", "textwrap", - "unicode-width", - "vec_map", +] + +[[package]] +name = "clap_lex" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" +dependencies = [ + "os_str_bytes", +] + +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", ] [[package]] name = "ct-codecs" -version = "1.1.1" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b10589d1a5e400d61f9f38f12f884cfd080ff345de8f17efda36fe0e4a02aa8" + +[[package]] +name = "displaydoc" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3b7eb4404b8195a9abb6356f4ac07d8ba267045c8d6d220ac4dc992e6cc75df" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] name = "ed25519-compact" -version = "1.0.16" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e18997d4604542d0736fae2c5ad6de987f0a50530cbcc14a7ce5a685328a252d" +checksum = "33ce99a9e19c84beb4cc35ece85374335ccc398240712114c85038319ed709bd" dependencies = [ "ct-codecs", - "getrandom", + "getrandom 0.3.4", +] + +[[package]] +name = "env_filter" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" +dependencies = [ + "log", +] + +[[package]] +name = "env_logger" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" +dependencies = [ + "env_filter", + "jiff", + "log", +] + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + +[[package]] +name = "flate2" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", ] [[package]] @@ -84,164 +206,1075 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "wasip2", + "wasm-bindgen", ] +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + [[package]] name = "hermit-abi" -version = "0.1.19" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hmac-sha256" +version = "1.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad6880c8d4a9ebf39c6e8b77007ce223f646a4d21ce29d99f70cb16420545425" + +[[package]] +name = "icu_collections" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" +dependencies = [ + "displaydoc", + "potential_utf", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" + +[[package]] +name = "icu_properties" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" + +[[package]] +name = "icu_provider" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown", +] + +[[package]] +name = "io-lifetimes" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ + "hermit-abi", "libc", + "windows-sys 0.48.0", ] [[package]] -name = "hmac-sha512" -version = "1.1.5" +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "js-sys" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ce1f4656bae589a3fab938f9f09bf58645b7ed01a2c5f8a3c238e01a4ef78a" +checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" +dependencies = [ + "once_cell", + "wasm-bindgen", +] [[package]] name = "libc" -version = "0.2.155" +version = "0.2.178" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" + +[[package]] +name = "linux-raw-sys" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" + +[[package]] +name = "litemap" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" + +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + +[[package]] +name = "memchr" +version = "2.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "once_cell" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "os_str_bytes" +version = "6.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "portable-atomic" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f59e70c4aef1e55797c2e8fd94a4f2a973fc972cfde0e0b05f683667b0cd39dd" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] [[package]] -name = "parity-wasm" -version = "0.42.2" +name = "potential_utf" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + [[package]] name = "quote" -version = "1.0.36" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] [[package]] -name = "strsim" -version = "0.8.0" +name = "r-efi" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] -name = "syn" -version = "2.0.72" +name = "regex" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", ] [[package]] -name = "textwrap" -version = "0.11.0" +name = "regex-automata" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ - "unicode-width", + "aho-corasick", + "memchr", + "regex-syntax", ] [[package]] -name = "thiserror" -version = "1.0.63" +name = "regex-syntax" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" + +[[package]] +name = "ring" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ - "thiserror-impl", + "cc", + "cfg-if", + "getrandom 0.2.15", + "libc", + "untrusted", + "windows-sys 0.52.0", ] [[package]] -name = "thiserror-impl" -version = "1.0.63" +name = "rustix" +version = "0.37.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" +checksum = "519165d378b97752ca44bbe15047d5d3409e875f39327546b42ac81d7e18c1b6" dependencies = [ - "proc-macro2", - "quote", - "syn", + "bitflags 1.3.2", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", ] [[package]] -name = "unicode-ident" -version = "1.0.12" +name = "rustix" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" +dependencies = [ + "bitflags 2.10.0", + "errno", + "libc", + "linux-raw-sys 0.11.0", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.23.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] [[package]] -name = "unicode-width" -version = "0.1.13" +name = "rustls-pki-types" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" +checksum = "21e6f2ab2928ca4291b86736a8bd920a277a399bba1589409d72154ff87c1282" +dependencies = [ + "zeroize", +] [[package]] -name = "vec_map" -version = "0.8.2" +name = "rustls-webpki" +version = "0.103.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +name = "safemem" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" [[package]] -name = "wasmsign" -version = "0.1.2" -source = "git+https://github.com/jedisct1/wasmsign#6a6ef1c6f99063a5bd4ef9efc2ee41c5ea8f4f96" +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ - "anyhow", - "byteorder", - "clap", - "ed25519-compact", - "hmac-sha512", - "parity-wasm", - "thiserror", + "serde_core", + "serde_derive", ] [[package]] -name = "wasmsign-bazel" -version = "0.1.2" +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ - "wasmsign", + "serde_derive", ] [[package]] -name = "winapi" -version = "0.3.9" +name = "serde_derive" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "simd-adler32" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" +name = "smallvec" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" + +[[package]] +name = "ssh-keys" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2555f9858fe3b961c98100b8be77cbd6a81527bf20d40e7a11dafb8810298e95" +dependencies = [ + "base64 0.9.3", + "byteorder", + "quick-error", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.111" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "terminal_size" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" +dependencies = [ + "rustix 0.37.28", + "windows-sys 0.48.0", +] + +[[package]] +name = "terminal_size" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" +dependencies = [ + "rustix 1.1.2", + "windows-sys 0.60.2", +] + +[[package]] +name = "textwrap" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057" +dependencies = [ + "terminal_size 0.4.3", +] + +[[package]] +name = "thiserror" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tinystr" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "ureq" +version = "2.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" +dependencies = [ + "base64 0.22.1", + "flate2", + "log", + "once_cell", + "rustls", + "rustls-pki-types", + "url", + "webpki-roots 0.26.11", +] + +[[package]] +name = "uri_encode" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9666edb2c10ee91354ec062e9e2d84896c2437378484c566d3523f9b8daf0129" + +[[package]] +name = "url" +version = "2.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasip2" +version = "1.0.1+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasmsign-bazel" +version = "0.1.2" +dependencies = [ + "wasmsign2-cli", +] + +[[package]] +name = "wasmsign2" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "827c62c48f459aa88568300b00f01f3740b7a11ca887a6aeb7e8cc0e196fc0de" +dependencies = [ + "anyhow", + "ct-codecs", + "ed25519-compact", + "getrandom 0.2.15", + "hmac-sha256", + "log", + "regex", + "ssh-keys", + "thiserror", +] + +[[package]] +name = "wasmsign2-cli" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d57fbd834cb8d480bc49b10ed82e114bf8f052198bf39ad0e47b9a225e850101" +dependencies = [ + "clap", + "env_logger", + "regex", + "ureq", + "uri_encode", + "wasmsign2", +] + +[[package]] +name = "webpki-roots" +version = "0.26.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" +dependencies = [ + "webpki-roots 1.0.4", +] + +[[package]] +name = "webpki-roots" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[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", +] + +[[package]] +name = "windows-sys" +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-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[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", +] + +[[package]] +name = "windows-targets" +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_i686_gnullvm 0.52.6", + "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-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + +[[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_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + +[[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_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + +[[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_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + +[[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_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +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 = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" + +[[package]] +name = "writeable" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" + +[[package]] +name = "yoke" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "zerofrom" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] diff --git a/bazel/cargo/wasmsign/Cargo.toml b/bazel/cargo/wasmsign/Cargo.toml index 5267cb2d1..0d486b8c5 100644 --- a/bazel/cargo/wasmsign/Cargo.toml +++ b/bazel/cargo/wasmsign/Cargo.toml @@ -21,8 +21,4 @@ version = "0.1.2" path = "fake_lib.rs" [dependencies] -wasmsign = {git = "https://github.com/jedisct1/wasmsign", revision = "fa4d5598f778390df09be94232972b5b865a56b8"} - -# 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"} +wasmsign2-cli = "0.2.6" diff --git a/bazel/cargo/wasmsign/remote/BUILD.adler2-2.0.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.adler2-2.0.1.bazel new file mode 100644 index 000000000..080a11413 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.adler2-2.0.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "adler2", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=adler2", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.0.1", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.aho-corasick-1.1.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.aho-corasick-1.1.4.bazel new file mode 100644 index 000000000..1d51cd92b --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.aho-corasick-1.1.4.bazel @@ -0,0 +1,60 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "aho_corasick", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "perf-literal", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=aho-corasick", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.4", + deps = [ + "@cu__memchr-2.7.6//:memchr", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.100.bazel similarity index 70% rename from bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel rename to bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.100.bazel index 6c6cb4127..c05362d64 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.86.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.anyhow-1.0.100.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "anyhow", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +44,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -45,17 +57,30 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.0.86", + version = "1.0.100", deps = [ - "@cu__anyhow-1.0.86//:build_script_build", + "@cu__anyhow-1.0.100//:build_script_build", ], ) cargo_build_script( - name = "anyhow_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -76,6 +101,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "anyhow", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -86,12 +115,12 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "1.0.86", + version = "1.0.100", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":anyhow_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.autocfg-1.5.0.bazel similarity index 77% rename from bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel rename to bazel/cargo/wasmsign/remote/BUILD.autocfg-1.5.0.bazel index 49e49e09e..db5cce0fd 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.11.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.autocfg-1.5.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "textwrap", + name = "autocfg", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,18 +36,18 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=textwrap", + "crate-name=autocfg", "manual", "noclippy", "norustfmt", ], - version = "0.11.0", - deps = [ - "@cu__unicode-width-0.1.13//:unicode_width", - ], + version = "1.5.0", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel b/bazel/cargo/wasmsign/remote/BUILD.base64-0.22.1.bazel similarity index 76% rename from bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel rename to bazel/cargo/wasmsign/remote/BUILD.base64-0.22.1.bazel index 554f71a78..e878fb889 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.36.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.base64-0.22.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "quote", + name = "base64", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -29,23 +35,24 @@ rust_library( ], ), crate_features = [ + "alloc", "default", - "proc-macro", + "std", ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=quote", + "crate-name=base64", "manual", "noclippy", "norustfmt", ], - version = "1.0.36", - deps = [ - "@cu__proc-macro2-1.0.86//:proc_macro2", - ], + version = "0.22.1", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.base64-0.9.3.bazel b/bazel/cargo/wasmsign/remote/BUILD.base64-0.9.3.bazel new file mode 100644 index 000000000..b9f2bcd40 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.base64-0.9.3.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "base64", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=base64", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.9.3", + deps = [ + "@cu__byteorder-1.5.0//:byteorder", + "@cu__safemem-0.3.3//:safemem", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.bazel b/bazel/cargo/wasmsign/remote/BUILD.bazel index 87eba7241..c376a5f39 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bazel @@ -32,14 +32,26 @@ filegroup( # Workspace Member Dependencies alias( - name = "wasmsign", - actual = "@cu__wasmsign-0.1.2//:wasmsign", + name = "wasmsign2-cli-0.2.6", + actual = "@cu__wasmsign2-cli-0.2.6//:wasmsign2_cli", + tags = ["manual"], +) + +alias( + name = "wasmsign2-cli", + actual = "@cu__wasmsign2-cli-0.2.6//:wasmsign2_cli", tags = ["manual"], ) # Binaries alias( - name = "wasmsign__wasmsign", - actual = "@cu__wasmsign-0.1.2//:wasmsign__bin", + name = "clap__stdio-fixture", + actual = "@cu__clap-3.2.25//:stdio-fixture__bin", + tags = ["manual"], +) + +alias( + name = "wasmsign2-cli__wasmsign2", + actual = "@cu__wasmsign2-cli-0.2.6//:wasmsign2__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 653792564..a48080c9f 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bitflags-1.3.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "bitflags", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmsign/remote/BUILD.bitflags-2.10.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.bitflags-2.10.0.bazel new file mode 100644 index 000000000..27e1e4c1f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.bitflags-2.10.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "bitflags", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=bitflags", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.10.0", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel b/bazel/cargo/wasmsign/remote/BUILD.bumpalo-3.19.1.bazel similarity index 77% rename from bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel rename to bazel/cargo/wasmsign/remote/BUILD.bumpalo-3.19.1.bazel index 449da1a99..c9a0c561d 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.unicode-width-0.1.13.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.bumpalo-3.19.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "unicode_width", + name = "bumpalo", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,15 +39,18 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=unicode-width", + "crate-name=bumpalo", "manual", "noclippy", "norustfmt", ], - version = "0.1.13", + version = "3.19.1", ) 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 fd6870278..c1a575e37 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.byteorder-1.5.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "byteorder", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmsign/remote/BUILD.cc-1.2.50.bazel b/bazel/cargo/wasmsign/remote/BUILD.cc-1.2.50.bazel new file mode 100644 index 000000000..db9ffc88d --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.cc-1.2.50.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "cc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=cc", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.2.50", + deps = [ + "@cu__find-msvc-tools-0.1.5//:find_msvc_tools", + "@cu__shlex-1.3.0//:shlex", + ], +) 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 e7c34e5d4..7fdabe564 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cfg_if", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel deleted file mode 100644 index ed355234f..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.clap-2.34.0.bazel +++ /dev/null @@ -1,156 +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/wasmsign:crates_vendor -############################################################################### - -load("@rules_rust//rust:defs.bzl", "rust_library") - -package(default_visibility = ["//visibility:public"]) - -rust_library( - name = "clap", - 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 = [ - "ansi_term", - "atty", - "color", - "default", - "strsim", - "suggestions", - "vec_map", - ], - crate_root = "src/lib.rs", - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=clap", - "manual", - "noclippy", - "norustfmt", - ], - version = "2.34.0", - deps = [ - "@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: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)) - ], - "@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-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)) - ], - "//conditions:default": [], - }), -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.clap-3.2.25.bazel b/bazel/cargo/wasmsign/remote/BUILD.clap-3.2.25.bazel new file mode 100644 index 000000000..c03bd2f0f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.clap-3.2.25.bazel @@ -0,0 +1,124 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", +) + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "clap", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "cargo", + "once_cell", + "std", + "terminal_size", + "wrap_help", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=clap", + "manual", + "noclippy", + "norustfmt", + ], + version = "3.2.25", + deps = [ + "@cu__bitflags-1.3.2//:bitflags", + "@cu__clap_lex-0.2.4//:clap_lex", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__once_cell-1.21.3//:once_cell", + "@cu__terminal_size-0.2.6//:terminal_size", + "@cu__textwrap-0.16.2//:textwrap", + ], +) + +rust_binary( + name = "stdio-fixture__bin", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "cargo", + "once_cell", + "std", + "terminal_size", + "wrap_help", + ], + crate_root = "src/bin/stdio-fixture.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=clap", + "manual", + "noclippy", + "norustfmt", + ], + version = "3.2.25", + deps = [ + ":clap", + "@cu__bitflags-1.3.2//:bitflags", + "@cu__clap_lex-0.2.4//:clap_lex", + "@cu__indexmap-1.9.3//:indexmap", + "@cu__once_cell-1.21.3//:once_cell", + "@cu__terminal_size-0.2.6//:terminal_size", + "@cu__textwrap-0.16.2//:textwrap", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.clap_lex-0.2.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.clap_lex-0.2.4.bazel new file mode 100644 index 000000000..4491ef50f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.clap_lex-0.2.4.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "clap_lex", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=clap_lex", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.4", + deps = [ + "@cu__os_str_bytes-6.6.1//:os_str_bytes", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.crc32fast-1.5.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.crc32fast-1.5.0.bazel new file mode 100644 index 000000000..bad02c655 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.crc32fast-1.5.0.bazel @@ -0,0 +1,127 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "crc32fast", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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 = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=crc32fast", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.5.0", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__crc32fast-1.5.0//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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 = "2021", + pkg_name = "crc32fast", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=crc32fast", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.5.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.6.bazel similarity index 81% rename from bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel rename to bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.6.bazel index a0cbb9f65..2498309da 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ct-codecs-1.1.6.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "ct_codecs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -44,5 +53,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.1.1", + version = "1.1.6", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.displaydoc-0.2.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.displaydoc-0.2.5.bazel new file mode 100644 index 000000000..d3e02c844 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.displaydoc-0.2.5.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "displaydoc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=displaydoc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.5", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-2.2.0.bazel similarity index 78% rename from bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel rename to bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-2.2.0.bazel index f0da91e4f..8349116f0 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-1.0.16.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.ed25519-compact-2.2.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "ed25519_compact", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -39,6 +45,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -49,9 +58,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.0.16", + version = "2.2.0", deps = [ - "@cu__ct-codecs-1.1.1//:ct_codecs", - "@cu__getrandom-0.2.15//:getrandom", + "@cu__ct-codecs-1.1.6//:ct_codecs", + "@cu__getrandom-0.3.4//:getrandom", ], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.env_filter-0.1.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.env_filter-0.1.4.bazel new file mode 100644 index 000000000..ef12d4912 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.env_filter-0.1.4.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "env_filter", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=env_filter", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.4", + deps = [ + "@cu__log-0.4.29//:log", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.env_logger-0.11.8.bazel b/bazel/cargo/wasmsign/remote/BUILD.env_logger-0.11.8.bazel new file mode 100644 index 000000000..605e9ff60 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.env_logger-0.11.8.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "env_logger", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "humantime", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=env_logger", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.8", + deps = [ + "@cu__env_filter-0.1.4//:env_filter", + "@cu__jiff-0.2.16//:jiff", + "@cu__log-0.4.29//:log", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.errno-0.3.14.bazel b/bazel/cargo/wasmsign/remote/BUILD.errno-0.3.14.bazel new file mode 100644 index 000000000..4c31f0452 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.errno-0.3.14.bazel @@ -0,0 +1,209 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "errno", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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-linux-android": [ + "std", # aarch64-linux-android + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "std", # aarch64-unknown-fuchsia + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "std", # aarch64-unknown-nto-qnx710 + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "std", # armv7-linux-androideabi + ], + "@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: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:wasm32-unknown-emscripten": [ + "std", # wasm32-unknown-emscripten + ], + "@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-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-fuchsia": [ + "std", # x86_64-unknown-fuchsia + ], + "//conditions:default": [], + }), + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=errno", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.14", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasip1": [ + "@cu__libc-0.2.178//:libc", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:wasm32-wasip1-threads": [ + "@cu__libc-0.2.178//:libc", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:wasm32-wasip2": [ + "@cu__libc-0.2.178//:libc", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.find-msvc-tools-0.1.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.find-msvc-tools-0.1.5.bazel new file mode 100644 index 000000000..2c03f4224 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.find-msvc-tools-0.1.5.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "find_msvc_tools", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=find-msvc-tools", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.5", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.flate2-1.1.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.flate2-1.1.5.bazel new file mode 100644 index 000000000..84245b454 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.flate2-1.1.5.bazel @@ -0,0 +1,63 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "flate2", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "any_impl", + "default", + "miniz_oxide", + "rust_backend", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=flate2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.5", + deps = [ + "@cu__crc32fast-1.5.0//:crc32fast", + "@cu__miniz_oxide-0.8.9//:miniz_oxide", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.form_urlencoded-1.2.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.form_urlencoded-1.2.2.bazel new file mode 100644 index 000000000..9131751fa --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.form_urlencoded-1.2.2.bazel @@ -0,0 +1,60 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "form_urlencoded", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=form_urlencoded", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.2.2", + deps = [ + "@cu__percent-encoding-2.3.2//:percent_encoding", + ], +) 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 619a612bd..386fa449c 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.2.15.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "getrandom", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,8 +34,16 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "js", + "js-sys", + "wasm-bindgen", + ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -45,79 +59,95 @@ rust_library( "@cu__cfg-if-1.0.0//:cfg_if", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//: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) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], - "@rules_rust//rust/platform:wasm32-wasi": [ + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__js-sys-0.3.83//:js_sys", # wasm32-unknown-unknown + "@cu__wasm-bindgen-0.2.106//:wasm_bindgen", # wasm32-unknown-unknown + ], + "@rules_rust//rust/platform:wasm32-wasip1": [ + "@cu__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:wasm32-wasip1-threads": [ + "@cu__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:wasm32-wasip2": [ "@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) + "@cu__libc-0.2.178//: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) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__libc-0.2.178//:libc", # cfg(unix) ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.3.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.3.4.bazel new file mode 100644 index 000000000..612098f53 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.getrandom-0.3.4.bazel @@ -0,0 +1,211 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "getrandom", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = select({ + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "wasm_js", # wasm32-unknown-unknown + ], + "//conditions:default": [], + }), + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=getrandom", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.4", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__getrandom-0.3.4//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "macos", target_os = "openbsd", target_os = "vita", target_os = "emscripten")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "ios", target_os = "visionos", target_os = "watchos", target_os = "tvos")) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "ios", target_os = "visionos", target_os = "watchos", target_os = "tvos")) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "haiku", target_os = "redox", target_os = "nto", target_os = "aix")) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "macos", target_os = "openbsd", target_os = "vita", target_os = "emscripten")) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "hurd", target_os = "illumos", target_os = "cygwin", all(target_os = "horizon", target_arch = "arm"))) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "macos", target_os = "openbsd", target_os = "vita", target_os = "emscripten")) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__wasm-bindgen-0.2.106//:wasm_bindgen", # wasm32-unknown-unknown + ], + "@rules_rust//rust/platform:wasm32-wasip2": [ + "@cu__wasip2-1.0.1-wasi-0.2.4//:wasip2", # cfg(all(target_arch = "wasm32", target_os = "wasi", target_env = "p2")) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "macos", target_os = "openbsd", target_os = "vita", target_os = "emscripten")) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "ios", target_os = "visionos", target_os = "watchos", target_os = "tvos")) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__libc-0.2.178//:libc", # cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "hurd", target_os = "illumos", target_os = "cygwin", all(target_os = "horizon", target_arch = "arm"))) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr")))) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = select({ + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "wasm_js", # wasm32-unknown-unknown + ], + "//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", + "WORKSPACE.bazel", + ], + ), + edition = "2021", + pkg_name = "getrandom", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=getrandom", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.4", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.hashbrown-0.12.3.bazel b/bazel/cargo/wasmsign/remote/BUILD.hashbrown-0.12.3.bazel new file mode 100644 index 000000000..3b8b80304 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.hashbrown-0.12.3.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "hashbrown", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "raw", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=hashbrown", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.12.3", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.3.9.bazel similarity index 79% rename from bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel rename to bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.3.9.bazel index 2be88f2ce..2ff5d556e 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.1.19.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.hermit-abi-0.3.9.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "hermit_abi", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -29,7 +35,10 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2018", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -40,8 +49,5 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.1.19", - deps = [ - "@cu__libc-0.2.155//:libc", - ], + version = "0.3.9", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha256-1.1.12.bazel b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha256-1.1.12.bazel new file mode 100644 index 000000000..eaefce493 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.hmac-sha256-1.1.12.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "hmac_sha256", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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 = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=hmac-sha256", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.12", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.icu_collections-2.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.icu_collections-2.1.1.bazel new file mode 100644 index 000000000..bcc45c178 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.icu_collections-2.1.1.bazel @@ -0,0 +1,62 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "icu_collections", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__displaydoc-0.2.5//:displaydoc", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_collections", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.1", + deps = [ + "@cu__potential_utf-0.1.4//:potential_utf", + "@cu__yoke-0.8.1//:yoke", + "@cu__zerofrom-0.1.6//:zerofrom", + "@cu__zerovec-0.11.5//:zerovec", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.icu_locale_core-2.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.icu_locale_core-2.1.1.bazel new file mode 100644 index 000000000..83c0dfd45 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.icu_locale_core-2.1.1.bazel @@ -0,0 +1,65 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "icu_locale_core", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "zerovec", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__displaydoc-0.2.5//:displaydoc", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_locale_core", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.1", + deps = [ + "@cu__litemap-0.8.1//:litemap", + "@cu__tinystr-0.8.2//:tinystr", + "@cu__writeable-0.6.2//:writeable", + "@cu__zerovec-0.11.5//:zerovec", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.icu_normalizer-2.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.icu_normalizer-2.1.1.bazel new file mode 100644 index 000000000..795b30202 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.icu_normalizer-2.1.1.bazel @@ -0,0 +1,63 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "icu_normalizer", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "compiled_data", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_normalizer", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.1", + deps = [ + "@cu__icu_collections-2.1.1//:icu_collections", + "@cu__icu_normalizer_data-2.1.1//:icu_normalizer_data", + "@cu__icu_provider-2.1.1//:icu_provider", + "@cu__smallvec-1.15.1//:smallvec", + "@cu__zerovec-0.11.5//:zerovec", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.icu_normalizer_data-2.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.icu_normalizer_data-2.1.1.bazel new file mode 100644 index 000000000..0c06ff4ce --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.icu_normalizer_data-2.1.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "icu_normalizer_data", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_normalizer_data", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.1", + deps = [ + "@cu__icu_normalizer_data-2.1.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "icu_normalizer_data", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_normalizer_data", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.icu_properties-2.1.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.icu_properties-2.1.2.bazel new file mode 100644 index 000000000..d7a99fe83 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.icu_properties-2.1.2.bazel @@ -0,0 +1,64 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "icu_properties", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "compiled_data", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_properties", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.2", + deps = [ + "@cu__icu_collections-2.1.1//:icu_collections", + "@cu__icu_locale_core-2.1.1//:icu_locale_core", + "@cu__icu_properties_data-2.1.2//:icu_properties_data", + "@cu__icu_provider-2.1.1//:icu_provider", + "@cu__zerotrie-0.2.3//:zerotrie", + "@cu__zerovec-0.11.5//:zerovec", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.icu_properties_data-2.1.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.icu_properties_data-2.1.2.bazel new file mode 100644 index 000000000..3b655cb2c --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.icu_properties_data-2.1.2.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "icu_properties_data", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_properties_data", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.2", + deps = [ + "@cu__icu_properties_data-2.1.2//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "icu_properties_data", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_properties_data", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.icu_provider-2.1.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.icu_provider-2.1.1.bazel new file mode 100644 index 000000000..64782af68 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.icu_provider-2.1.1.bazel @@ -0,0 +1,67 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "icu_provider", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "baked", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__displaydoc-0.2.5//:displaydoc", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=icu_provider", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.1.1", + deps = [ + "@cu__icu_locale_core-2.1.1//:icu_locale_core", + "@cu__writeable-0.6.2//:writeable", + "@cu__yoke-0.8.1//:yoke", + "@cu__zerofrom-0.1.6//:zerofrom", + "@cu__zerotrie-0.2.3//:zerotrie", + "@cu__zerovec-0.11.5//:zerovec", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.idna-1.1.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.idna-1.1.0.bazel new file mode 100644 index 000000000..0c783aa93 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.idna-1.1.0.bazel @@ -0,0 +1,63 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "idna", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "compiled_data", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=idna", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.0", + deps = [ + "@cu__idna_adapter-1.2.1//:idna_adapter", + "@cu__smallvec-1.15.1//:smallvec", + "@cu__utf8_iter-1.0.4//:utf8_iter", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.idna_adapter-1.2.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.idna_adapter-1.2.1.bazel new file mode 100644 index 000000000..0824a4589 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.idna_adapter-1.2.1.bazel @@ -0,0 +1,60 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "idna_adapter", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "compiled_data", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=idna_adapter", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.2.1", + deps = [ + "@cu__icu_normalizer-2.1.1//:icu_normalizer", + "@cu__icu_properties-2.1.2//:icu_properties", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.indexmap-1.9.3.bazel b/bazel/cargo/wasmsign/remote/BUILD.indexmap-1.9.3.bazel new file mode 100644 index 000000000..ca4d8623d --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.indexmap-1.9.3.bazel @@ -0,0 +1,128 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "indexmap", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=indexmap", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.9.3", + deps = [ + "@cu__hashbrown-0.12.3//:hashbrown", + "@cu__indexmap-1.9.3//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "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 = "2021", + pkg_name = "indexmap", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=indexmap", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.9.3", + visibility = ["//visibility:private"], + deps = [ + "@cu__autocfg-1.5.0//:autocfg", + ], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.io-lifetimes-1.0.11.bazel b/bazel/cargo/wasmsign/remote/BUILD.io-lifetimes-1.0.11.bazel new file mode 100644 index 000000000..840e93952 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.io-lifetimes-1.0.11.bazel @@ -0,0 +1,131 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "io_lifetimes", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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", + "@cu__libc-0.2.178//:libc", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "io-lifetimes", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.jiff-0.2.16.bazel similarity index 61% rename from bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel rename to bazel/cargo/wasmsign/remote/BUILD.jiff-0.2.16.bazel index c9b94b758..19caf7fc5 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.ansi_term-0.12.1.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.jiff-0.2.16.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "ansi_term", + name = "jiff", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,28 +34,30 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "alloc", + "std", + ], crate_root = "src/lib.rs", - edition = "2015", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=ansi_term", + "crate-name=jiff", "manual", "noclippy", "norustfmt", ], - version = "0.12.1", + version = "0.2.16", 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") + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "@cu__portable-atomic-1.12.0//:portable_atomic", # cfg(not(target_has_atomic = "ptr")) + "@cu__portable-atomic-util-0.2.4//:portable_atomic_util", # cfg(not(target_has_atomic = "ptr")) ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmsign/remote/BUILD.jiff-static-0.2.16.bazel b/bazel/cargo/wasmsign/remote/BUILD.jiff-static-0.2.16.bazel new file mode 100644 index 000000000..adb28cbb3 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.jiff-static-0.2.16.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "jiff_static", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=jiff-static", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.16", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.js-sys-0.3.83.bazel b/bazel/cargo/wasmsign/remote/BUILD.js-sys-0.3.83.bazel new file mode 100644 index 000000000..6ae8f69f1 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.js-sys-0.3.83.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "js_sys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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 = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=js-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.83", + deps = [ + "@cu__once_cell-1.21.3//:once_cell", + "@cu__wasm-bindgen-0.2.106//:wasm_bindgen", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.178.bazel similarity index 62% rename from bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel rename to bazel/cargo/wasmsign/remote/BUILD.libc-0.2.178.bazel index 61bb833b9..983e06d07 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.155.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.libc-0.2.178.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "libc", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -29,8 +38,16 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + "extra_traits", + "std", + ], crate_root = "src/lib.rs", - edition = "2015", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -41,18 +58,36 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.2.155", + version = "0.2.178", deps = [ - "@cu__libc-0.2.155//:build_script_build", + "@cu__libc-0.2.178//:build_script_build", ], ) cargo_build_script( - name = "libc_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "extra_traits", + "std", + ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( @@ -67,7 +102,11 @@ cargo_build_script( "WORKSPACE.bazel", ], ), - edition = "2015", + edition = "2021", + pkg_name = "libc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -78,12 +117,12 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "0.2.155", + version = "0.2.178", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":libc_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.11.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.11.0.bazel new file mode 100644 index 000000000..6502037d0 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.11.0.bazel @@ -0,0 +1,100 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "linux_raw_sys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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": [ + "auxvec", # aarch64-unknown-linux-gnu + "elf", # aarch64-unknown-linux-gnu + "errno", # aarch64-unknown-linux-gnu + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "auxvec", # aarch64-unknown-nixos-gnu + "elf", # aarch64-unknown-nixos-gnu + "errno", # aarch64-unknown-nixos-gnu + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "auxvec", # arm-unknown-linux-gnueabi + "elf", # arm-unknown-linux-gnueabi + "errno", # arm-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "auxvec", # armv7-unknown-linux-gnueabi + "elf", # armv7-unknown-linux-gnueabi + "errno", # armv7-unknown-linux-gnueabi + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "auxvec", # i686-unknown-linux-gnu + "elf", # i686-unknown-linux-gnu + "errno", # i686-unknown-linux-gnu + ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "auxvec", # riscv64gc-unknown-linux-gnu + "elf", # riscv64gc-unknown-linux-gnu + "errno", # riscv64gc-unknown-linux-gnu + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "auxvec", # 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": [ + "auxvec", # 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=linux-raw-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.0", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.3.8.bazel b/bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.3.8.bazel new file mode 100644 index 000000000..28e67a94d --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.linux-raw-sys-0.3.8.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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "linux_raw_sys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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:riscv64gc-unknown-linux-gnu": [ + "errno", # riscv64gc-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_env_files = [ + ":cargo_toml_env_vars", + ], + 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/wasmsign/remote/BUILD.litemap-0.8.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.litemap-0.8.1.bazel new file mode 100644 index 000000000..79998674d --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.litemap-0.8.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "litemap", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=litemap", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.1", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.log-0.4.29.bazel b/bazel/cargo/wasmsign/remote/BUILD.log-0.4.29.bazel new file mode 100644 index 000000000..77bcec738 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.log-0.4.29.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "log", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=log", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.29", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.memchr-2.7.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.memchr-2.7.6.bazel new file mode 100644 index 000000000..332ac6dfe --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.memchr-2.7.6.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "memchr", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=memchr", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.7.6", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.miniz_oxide-0.8.9.bazel b/bazel/cargo/wasmsign/remote/BUILD.miniz_oxide-0.8.9.bazel new file mode 100644 index 000000000..97a7228f0 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.miniz_oxide-0.8.9.bazel @@ -0,0 +1,62 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "miniz_oxide", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "simd", + "simd-adler32", + "with-alloc", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=miniz_oxide", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.9", + deps = [ + "@cu__adler2-2.0.1//:adler2", + "@cu__simd-adler32-0.3.8//:simd_adler32", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.once_cell-1.21.3.bazel b/bazel/cargo/wasmsign/remote/BUILD.once_cell-1.21.3.bazel new file mode 100644 index 000000000..c1f20350f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.once_cell-1.21.3.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "once_cell", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "race", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=once_cell", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.21.3", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.os_str_bytes-6.6.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.os_str_bytes-6.6.1.bazel new file mode 100644 index 000000000..f44832628 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.os_str_bytes-6.6.1.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "os_str_bytes", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "raw_os_str", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=os_str_bytes", + "manual", + "noclippy", + "norustfmt", + ], + version = "6.6.1", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.percent-encoding-2.3.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.percent-encoding-2.3.2.bazel new file mode 100644 index 000000000..62c81a3c2 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.percent-encoding-2.3.2.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "percent_encoding", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=percent-encoding", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.3.2", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.portable-atomic-1.12.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.portable-atomic-1.12.0.bazel new file mode 100644 index 000000000..2f9bc872f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.portable-atomic-1.12.0.bazel @@ -0,0 +1,124 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "portable_atomic", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "require-cas", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=portable-atomic", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.12.0", + deps = [ + "@cu__portable-atomic-1.12.0//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "require-cas", + ], + 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", + pkg_name = "portable-atomic", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=portable-atomic", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.12.0", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.portable-atomic-util-0.2.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.portable-atomic-util-0.2.4.bazel new file mode 100644 index 000000000..b886af4f1 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.portable-atomic-util-0.2.4.bazel @@ -0,0 +1,125 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "portable_atomic_util", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=portable-atomic-util", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.4", + deps = [ + "@cu__portable-atomic-1.12.0//:portable_atomic", + "@cu__portable-atomic-util-0.2.4//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + ], + 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", + pkg_name = "portable-atomic-util", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=portable-atomic-util", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.4", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.potential_utf-0.1.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.potential_utf-0.1.4.bazel new file mode 100644 index 000000000..a96f7801f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.potential_utf-0.1.4.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "potential_utf", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "zerovec", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=potential_utf", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.4", + deps = [ + "@cu__zerovec-0.11.5//:zerovec", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.103.bazel similarity index 70% rename from bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel rename to bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.103.bazel index 072a238b8..2d2bcef0a 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.86.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.proc-macro2-1.0.103.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "proc_macro2", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +44,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -45,18 +57,31 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.0.86", + version = "1.0.103", deps = [ - "@cu__proc-macro2-1.0.86//:build_script_build", + "@cu__proc-macro2-1.0.103//:build_script_build", "@cu__unicode-ident-1.0.12//:unicode_ident", ], ) cargo_build_script( - name = "proc-macro2_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -77,6 +102,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "proc-macro2", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -87,12 +116,12 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "1.0.86", + version = "1.0.103", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":proc-macro2_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.quick-error-1.2.3.bazel similarity index 76% rename from bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel rename to bazel/cargo/wasmsign/remote/BUILD.quick-error-1.2.3.bazel index 928090c3d..b3ecb8730 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.strsim-0.8.0.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.quick-error-1.2.3.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "strsim", + name = "quick_error", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,15 +36,18 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=strsim", + "crate-name=quick-error", "manual", "noclippy", "norustfmt", ], - version = "0.8.0", + version = "1.2.3", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.42.bazel b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.42.bazel new file mode 100644 index 000000000..4d521e328 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.quote-1.0.42.bazel @@ -0,0 +1,127 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "quote", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=quote", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.42", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + 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", + pkg_name = "quote", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=quote", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.42", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.r-efi-5.3.0.bazel similarity index 77% rename from bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel rename to bazel/cargo/wasmsign/remote/BUILD.r-efi-5.3.0.bazel index c6f58d5ae..7629e1959 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.hmac-sha512-1.1.5.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.r-efi-5.3.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "hmac_sha512", + name = "r_efi", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,21 +34,20 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "default", - "sha384", - ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=hmac-sha512", + "crate-name=r-efi", "manual", "noclippy", "norustfmt", ], - version = "1.1.5", + version = "5.3.0", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.regex-1.12.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.regex-1.12.2.bazel new file mode 100644 index 000000000..f68426c74 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.regex-1.12.2.bazel @@ -0,0 +1,78 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "regex", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "perf", + "perf-backtrack", + "perf-cache", + "perf-dfa", + "perf-inline", + "perf-literal", + "perf-onepass", + "std", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=regex", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.12.2", + deps = [ + "@cu__aho-corasick-1.1.4//:aho_corasick", + "@cu__memchr-2.7.6//:memchr", + "@cu__regex-automata-0.4.13//:regex_automata", + "@cu__regex-syntax-0.8.8//:regex_syntax", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.regex-automata-0.4.13.bazel b/bazel/cargo/wasmsign/remote/BUILD.regex-automata-0.4.13.bazel new file mode 100644 index 000000000..72f016c86 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.regex-automata-0.4.13.bazel @@ -0,0 +1,82 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "regex_automata", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "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", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", + "unicode-word-boundary", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=regex-automata", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.4.13", + deps = [ + "@cu__aho-corasick-1.1.4//:aho_corasick", + "@cu__memchr-2.7.6//:memchr", + "@cu__regex-syntax-0.8.8//:regex_syntax", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.regex-syntax-0.8.8.bazel b/bazel/cargo/wasmsign/remote/BUILD.regex-syntax-0.8.8.bazel new file mode 100644 index 000000000..7f66ae237 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.regex-syntax-0.8.8.bazel @@ -0,0 +1,65 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "regex_syntax", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=regex-syntax", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.8", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ring-0.17.14.bazel b/bazel/cargo/wasmsign/remote/BUILD.ring-0.17.14.bazel new file mode 100644 index 000000000..e55cb9949 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.ring-0.17.14.bazel @@ -0,0 +1,167 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "ring", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=ring", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.17.14", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__getrandom-0.2.15//:getrandom", + "@cu__ring-0.17.14//:build_script_build", + "@cu__untrusted-0.9.0//:untrusted", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__libc-0.2.178//:libc", # cfg(all(all(target_arch = "aarch64", target_endian = "little"), target_vendor = "apple", any(target_os = "ios", target_os = "macos", target_os = "tvos", target_os = "visionos", target_os = "watchos"))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__libc-0.2.178//:libc", # cfg(all(all(target_arch = "aarch64", target_endian = "little"), target_vendor = "apple", any(target_os = "ios", target_os = "macos", target_os = "tvos", target_os = "visionos", target_os = "watchos"))) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__libc-0.2.178//:libc", # cfg(all(all(target_arch = "aarch64", target_endian = "little"), target_vendor = "apple", any(target_os = "ios", target_os = "macos", target_os = "tvos", target_os = "visionos", target_os = "watchos"))) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(all(target_arch = "aarch64", target_endian = "little"), all(target_arch = "arm", target_endian = "little")), any(target_os = "android", target_os = "linux"))) + ], + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows-sys-0.52.0//:windows_sys", # cfg(all(all(target_arch = "aarch64", target_endian = "little"), target_os = "windows")) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(all(target_arch = "aarch64", target_endian = "little"), all(target_arch = "arm", target_endian = "little")), any(target_os = "android", target_os = "linux"))) + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(all(target_arch = "aarch64", target_endian = "little"), all(target_arch = "arm", target_endian = "little")), any(target_os = "android", target_os = "linux"))) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(all(target_arch = "aarch64", target_endian = "little"), all(target_arch = "arm", target_endian = "little")), any(target_os = "android", target_os = "linux"))) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(all(target_arch = "aarch64", target_endian = "little"), all(target_arch = "arm", target_endian = "little")), any(target_os = "android", target_os = "linux"))) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__libc-0.2.178//:libc", # cfg(all(any(all(target_arch = "aarch64", target_endian = "little"), all(target_arch = "arm", target_endian = "little")), any(target_os = "android", target_os = "linux"))) + ], + "//conditions:default": [], + }), +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + ], + 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", + links = "ring_core_0_17_14_", + pkg_name = "ring", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=ring", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.17.14", + visibility = ["//visibility:private"], + deps = [ + "@cu__cc-1.2.50//:cc", + ], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.rustix-0.37.28.bazel b/bazel/cargo/wasmsign/remote/BUILD.rustix-0.37.28.bazel new file mode 100644 index 000000000..4cd396849 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.rustix-0.37.28.bazel @@ -0,0 +1,367 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "rustix", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": { + "@cu__errno-0.3.14//: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.14//: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.14//: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.14//: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.14//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": { + "@cu__errno-0.3.14//: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-unknown-nto-qnx710": { + "@cu__errno-0.3.14//: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-unknown-uefi": { + "@cu__errno-0.3.14//: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.14//: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.14//: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.14//: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.14//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:i686-unknown-freebsd": { + "@cu__errno-0.3.14//: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.14//: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.14//: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.14//: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.14//: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.14//: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.14//: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-emscripten": { + "@cu__errno-0.3.14//: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.14//: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-wasip1": { + "@cu__errno-0.3.14//: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-wasip1-threads": { + "@cu__errno-0.3.14//: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-wasip2": { + "@cu__errno-0.3.14//: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.14//: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.14//: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.14//: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.14//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:x86_64-unknown-freebsd": { + "@cu__errno-0.3.14//: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-fuchsia": { + "@cu__errno-0.3.14//: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.14//: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-uefi": { + "@cu__errno-0.3.14//: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", + "std", + "termios", + "use-libc-auxv", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.37.28", + deps = [ + "@cu__bitflags-1.3.2//:bitflags", + "@cu__io-lifetimes-1.0.11//:io_lifetimes", + "@cu__libc-0.2.178//:libc", + "@cu__rustix-0.37.28//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__errno-0.3.14//: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.14//: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.14//: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.14//: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__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.14//:errno", # cfg(windows) + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "@cu__errno-0.3.14//: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-unknown-linux-gnu": [ + "@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__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.14//: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-unknown-uefi": [ + "@cu__errno-0.3.14//: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:arm-unknown-linux-gnueabi": [ + "@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.14//: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__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__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.14//: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.14//: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__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.14//:errno", # cfg(windows) + "@cu__windows-sys-0.48.0//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__errno-0.3.14//: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-unknown-linux-gnu": [ + "@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.14//: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__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.14//: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-linux-gnu": [ + "@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:riscv64gc-unknown-none-elf": [ + "@cu__errno-0.3.14//: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.14//: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__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.14//: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.14//: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-emscripten": [ + "@cu__errno-0.3.14//: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.14//: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-wasip1": [ + "@cu__errno-0.3.14//: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-wasip1-threads": [ + "@cu__errno-0.3.14//: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-wasip2": [ + "@cu__errno-0.3.14//: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.14//: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.14//: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.14//: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__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.14//: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.14//: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-fuchsia": [ + "@cu__errno-0.3.14//: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-linux-gnu": [ + "@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__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.14//: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-uefi": [ + "@cu__errno-0.3.14//: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": [], + }), +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "io-lifetimes", + "libc", + "std", + "termios", + "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", + pkg_name = "rustix", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.37.28", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.rustix-1.1.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.rustix-1.1.2.bazel new file mode 100644 index 000000000..611398855 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.rustix-1.1.2.bazel @@ -0,0 +1,386 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "rustix", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": { + "@cu__errno-0.3.14//:errno": "libc_errno", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # aarch64-apple-ios, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # aarch64-apple-ios-sim, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # aarch64-linux-android, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": { + "@cu__errno-0.3.14//:errno": "libc_errno", # aarch64-unknown-fuchsia, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # aarch64-unknown-nto-qnx710, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-uefi": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # armv7-linux-androideabi, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-apple-darwin + }, + "@rules_rust//rust/platform:i686-linux-android": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-linux-android + }, + "@rules_rust//rust/platform:i686-pc-windows-msvc": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:i686-unknown-freebsd": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-unknown-freebsd + }, + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), powerpc-unknown-linux-gnu + }, + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), s390x-unknown-linux-gnu + }, + "@rules_rust//rust/platform:thumbv7em-none-eabi": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-emscripten": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), wasm32-unknown-emscripten + }, + "@rules_rust//rust/platform:wasm32-unknown-unknown": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-wasip1": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-wasip1-threads": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-wasip2": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-apple-darwin + }, + "@rules_rust//rust/platform:x86_64-apple-ios": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-apple-ios + }, + "@rules_rust//rust/platform:x86_64-linux-android": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-linux-android + }, + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(windows) + }, + "@rules_rust//rust/platform:x86_64-unknown-freebsd": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-unknown-freebsd + }, + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-unknown-fuchsia + }, + "@rules_rust//rust/platform:x86_64-unknown-none": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-uefi": { + "@cu__errno-0.3.14//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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 = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + "termios", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.2", + deps = [ + "@cu__bitflags-2.10.0//:bitflags", + "@cu__rustix-1.1.2//:build_script_build", + ] + select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__errno-0.3.14//:errno", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # aarch64-apple-ios, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # aarch64-apple-ios, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # aarch64-apple-ios-sim, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # aarch64-apple-ios-sim, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # aarch64-linux-android, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # aarch64-linux-android, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "@cu__errno-0.3.14//:errno", # aarch64-unknown-fuchsia, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # aarch64-unknown-fuchsia, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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": [ + "@cu__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # aarch64-unknown-nto-qnx710, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # aarch64-unknown-nto-qnx710, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-uefi": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # armv7-linux-androideabi, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # armv7-linux-androideabi, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-apple-darwin + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-apple-darwin + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-linux-android + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-linux-android + ], + "@rules_rust//rust/platform:i686-pc-windows-msvc": [ + "@cu__errno-0.3.14//:errno", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:i686-unknown-freebsd": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-unknown-freebsd + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), i686-unknown-freebsd + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), powerpc-unknown-linux-gnu + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), powerpc-unknown-linux-gnu + "@cu__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(any(target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-linux-gnu": [ + "@cu__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), s390x-unknown-linux-gnu + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), s390x-unknown-linux-gnu + "@cu__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(any(target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-emscripten": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), wasm32-unknown-emscripten + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), wasm32-unknown-emscripten + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-wasip1": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-wasip1-threads": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-wasip2": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-apple-darwin + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-apple-darwin + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-apple-ios + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-apple-ios + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-linux-android + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-linux-android + ], + "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ + "@cu__errno-0.3.14//:errno", # cfg(windows) + "@cu__windows-sys-0.61.2//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-unknown-freebsd + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-unknown-freebsd + ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-unknown-fuchsia + "@cu__libc-0.2.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))))), x86_64-unknown-fuchsia + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__linux-raw-sys-0.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.11.0//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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-uefi": [ + "@cu__errno-0.3.14//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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.178//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "default", + "std", + "termios", + ], + 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", + pkg_name = "rustix", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustix", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.1.2", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.rustls-0.23.35.bazel b/bazel/cargo/wasmsign/remote/BUILD.rustls-0.23.35.bazel new file mode 100644 index 000000000..7781881d6 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.rustls-0.23.35.bazel @@ -0,0 +1,145 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "rustls", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = { + "@cu__rustls-pki-types-1.13.2//:rustls_pki_types": "pki_types", + }, + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "log", + "logging", + "ring", + "std", + "tls12", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustls", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.23.35", + deps = [ + "@cu__log-0.4.29//:log", + "@cu__once_cell-1.21.3//:once_cell", + "@cu__ring-0.17.14//:ring", + "@cu__rustls-0.23.35//:build_script_build", + "@cu__rustls-pki-types-1.13.2//:rustls_pki_types", + "@cu__rustls-webpki-0.103.8//:webpki", + "@cu__subtle-2.6.1//:subtle", + "@cu__zeroize-1.8.2//:zeroize", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "log", + "logging", + "ring", + "std", + "tls12", + ], + 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", + link_deps = [ + "@cu__ring-0.17.14//:ring", + ], + pkg_name = "rustls", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustls", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.23.35", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.rustls-pki-types-1.13.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.rustls-pki-types-1.13.2.bazel new file mode 100644 index 000000000..1959f4ffb --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.rustls-pki-types-1.13.2.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "rustls_pki_types", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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 = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustls-pki-types", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.13.2", + deps = [ + "@cu__zeroize-1.8.2//:zeroize", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.rustls-webpki-0.103.8.bazel b/bazel/cargo/wasmsign/remote/BUILD.rustls-webpki-0.103.8.bazel new file mode 100644 index 000000000..c1902927b --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.rustls-webpki-0.103.8.bazel @@ -0,0 +1,66 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "webpki", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = { + "@cu__rustls-pki-types-1.13.2//:rustls_pki_types": "pki_types", + }, + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "alloc", + "ring", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustls-webpki", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.103.8", + deps = [ + "@cu__ring-0.17.14//:ring", + "@cu__rustls-pki-types-1.13.2//:rustls_pki_types", + "@cu__untrusted-0.9.0//:untrusted", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.rustversion-1.0.22.bazel b/bazel/cargo/wasmsign/remote/BUILD.rustversion-1.0.22.bazel new file mode 100644 index 000000000..6c4835b72 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.rustversion-1.0.22.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "rustversion", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustversion", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.22", + deps = [ + "@cu__rustversion-1.0.22//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_name = "build_script_build", + crate_root = "build/build.rs", + data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2018", + pkg_name = "rustversion", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=rustversion", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.22", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.safemem-0.3.3.bazel b/bazel/cargo/wasmsign/remote/BUILD.safemem-0.3.3.bazel new file mode 100644 index 000000000..7bea63035 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.safemem-0.3.3.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "safemem", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=safemem", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.3", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.serde-1.0.228.bazel b/bazel/cargo/wasmsign/remote/BUILD.serde-1.0.228.bazel new file mode 100644 index 000000000..0d3885f5a --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.serde-1.0.228.bazel @@ -0,0 +1,132 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "serde", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "derive", + "serde_derive", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__serde_derive-1.0.228//:serde_derive", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.228", + deps = [ + "@cu__serde-1.0.228//:build_script_build", + "@cu__serde_core-1.0.228//:serde_core", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "derive", + "serde_derive", + "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 = "2021", + pkg_name = "serde", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.228", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.serde_core-1.0.228.bazel b/bazel/cargo/wasmsign/remote/BUILD.serde_core-1.0.228.bazel new file mode 100644 index 000000000..82c67d742 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.serde_core-1.0.228.bazel @@ -0,0 +1,126 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "serde_core", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "result", + "std", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde_core", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.228", + deps = [ + "@cu__serde_core-1.0.228//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "result", + "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 = "2021", + pkg_name = "serde_core", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde_core", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.228", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.serde_derive-1.0.228.bazel b/bazel/cargo/wasmsign/remote/BUILD.serde_derive-1.0.228.bazel new file mode 100644 index 000000000..eff0d5843 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.serde_derive-1.0.228.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "serde_derive", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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 = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=serde_derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.228", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.shlex-1.3.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.shlex-1.3.0.bazel new file mode 100644 index 000000000..55d502b95 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.shlex-1.3.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "shlex", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=shlex", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.3.0", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.simd-adler32-0.3.8.bazel b/bazel/cargo/wasmsign/remote/BUILD.simd-adler32-0.3.8.bazel new file mode 100644 index 000000000..998117c78 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.simd-adler32-0.3.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "simd_adler32", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=simd-adler32", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.3.8", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.smallvec-1.15.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.smallvec-1.15.1.bazel new file mode 100644 index 000000000..9db137e6f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.smallvec-1.15.1.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "smallvec", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "const_generics", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=smallvec", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.15.1", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ssh-keys-0.1.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.ssh-keys-0.1.4.bazel new file mode 100644 index 000000000..378b2bbd9 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.ssh-keys-0.1.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "ssh_keys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=ssh-keys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.4", + deps = [ + "@cu__base64-0.9.3//:base64", + "@cu__byteorder-1.5.0//:byteorder", + "@cu__quick-error-1.2.3//:quick_error", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.stable_deref_trait-1.2.1.bazel similarity index 75% rename from bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel rename to bazel/cargo/wasmsign/remote/BUILD.stable_deref_trait-1.2.1.bazel index 21fe8eee8..26bb56518 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.vec_map-0.8.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.stable_deref_trait-1.2.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "vec_map", + name = "stable_deref_trait", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,15 +36,18 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=vec_map", + "crate-name=stable_deref_trait", "manual", "noclippy", "norustfmt", ], - version = "0.8.2", + version = "1.2.1", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.subtle-2.6.1.bazel similarity index 77% rename from bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel rename to bazel/cargo/wasmsign/remote/BUILD.subtle-2.6.1.bazel index ad79a67a5..d3e68e1cd 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.parity-wasm-0.42.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.subtle-2.6.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "parity_wasm", + name = "subtle", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,21 +34,20 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "default", - "std", - ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=parity-wasm", + "crate-name=subtle", "manual", "noclippy", "norustfmt", ], - version = "0.42.2", + version = "2.6.1", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.111.bazel b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.111.bazel new file mode 100644 index 000000000..2c0010ed5 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.111.bazel @@ -0,0 +1,71 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "syn", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "fold", + "full", + "parsing", + "printing", + "proc-macro", + "visit", + "visit-mut", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=syn", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.0.111", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__unicode-ident-1.0.12//:unicode_ident", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.synstructure-0.13.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.synstructure-0.13.2.bazel new file mode 100644 index 000000000..94b7b466b --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.synstructure-0.13.2.bazel @@ -0,0 +1,62 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "synstructure", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "proc-macro", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=synstructure", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.13.2", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.terminal_size-0.2.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.terminal_size-0.2.6.bazel new file mode 100644 index 000000000..42dab55a3 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.terminal_size-0.2.6.bazel @@ -0,0 +1,176 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "terminal_size", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=terminal_size", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.6", + deps = select({ + "@rules_rust//rust/platform:aarch64-apple-darwin": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-linux-android": [ + "@cu__rustix-0.37.28//:rustix", # 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-fuchsia": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:aarch64-unknown-uefi": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-linux-androideabi": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-apple-darwin": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-linux-android": [ + "@cu__rustix-0.37.28//:rustix", # 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__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:thumbv7em-none-eabi": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-unknown-unknown": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-wasip1": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-wasip1-threads": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:wasm32-wasip2": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-linux-android": [ + "@cu__rustix-0.37.28//:rustix", # 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__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-none": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "@rules_rust//rust/platform:x86_64-unknown-uefi": [ + "@cu__rustix-0.37.28//:rustix", # cfg(not(windows)) + ], + "//conditions:default": [], + }), +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/wasmsign/remote/BUILD.terminal_size-0.4.3.bazel similarity index 56% rename from bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel rename to bazel/cargo/wasmsign/remote/BUILD.terminal_size-0.4.3.bazel index 041f36f9e..1e7e96e01 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.terminal_size-0.4.3.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "atty", + name = "terminal_size", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -29,99 +35,108 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2015", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=atty", + "crate-name=terminal_size", "manual", "noclippy", "norustfmt", ], - version = "0.2.14", + version = "0.4.3", deps = select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # 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) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__winapi-0.3.9//:winapi", # cfg(windows) + "@cu__windows-sys-0.60.2//:windows_sys", # cfg(windows) + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__winapi-0.3.9//:winapi", # cfg(windows) + "@cu__windows-sys-0.60.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # 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) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__winapi-0.3.9//:winapi", # cfg(windows) + "@cu__windows-sys-0.60.2//:windows_sys", # cfg(windows) ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) + ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__libc-0.2.155//:libc", # cfg(unix) + "@cu__rustix-1.1.2//:rustix", # cfg(unix) ], "//conditions:default": [], }), diff --git a/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.16.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.16.2.bazel new file mode 100644 index 000000000..a017c2264 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.textwrap-0.16.2.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "textwrap", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "terminal_size", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=textwrap", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.16.2", + deps = [ + "@cu__terminal_size-0.4.3//:terminal_size", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-2.0.17.bazel b/bazel/cargo/wasmsign/remote/BUILD.thiserror-2.0.17.bazel new file mode 100644 index 000000000..2976662fb --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-2.0.17.bazel @@ -0,0 +1,129 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "thiserror", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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 = "2021", + proc_macro_deps = [ + "@cu__thiserror-impl-2.0.17//:thiserror_impl", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=thiserror", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.0.17", + deps = [ + "@cu__thiserror-2.0.17//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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 = "2021", + pkg_name = "thiserror", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=thiserror", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.0.17", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_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-2.0.17.bazel similarity index 74% rename from bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel rename to bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-2.0.17.bazel index fc2cf7141..590cdc7b5 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-1.0.63.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.thiserror-impl-2.0.17.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "thiserror_impl", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -40,10 +49,10 @@ rust_proc_macro( "noclippy", "norustfmt", ], - version = "1.0.63", + version = "2.0.17", deps = [ - "@cu__proc-macro2-1.0.86//:proc_macro2", - "@cu__quote-1.0.36//:quote", - "@cu__syn-2.0.72//:syn", + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", ], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.tinystr-0.8.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.tinystr-0.8.2.bazel new file mode 100644 index 000000000..a553ba36b --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.tinystr-0.8.2.bazel @@ -0,0 +1,62 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "tinystr", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "zerovec", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__displaydoc-0.2.5//:displaydoc", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=tinystr", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.2", + deps = [ + "@cu__zerovec-0.11.5//:zerovec", + ], +) 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 caed93c98..efa988ffb 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "unicode_ident", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmsign/remote/BUILD.untrusted-0.9.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.untrusted-0.9.0.bazel new file mode 100644 index 000000000..0089441e0 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.untrusted-0.9.0.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "untrusted", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=untrusted", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.9.0", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.ureq-2.12.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.ureq-2.12.1.bazel new file mode 100644 index 000000000..fda0b04c1 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.ureq-2.12.1.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "ureq", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "gzip", + "tls", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=ureq", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.12.1", + deps = [ + "@cu__base64-0.22.1//:base64", + "@cu__flate2-1.1.5//:flate2", + "@cu__log-0.4.29//:log", + "@cu__once_cell-1.21.3//:once_cell", + "@cu__rustls-0.23.35//:rustls", + "@cu__rustls-pki-types-1.13.2//:rustls_pki_types", + "@cu__url-2.5.7//:url", + "@cu__webpki-roots-0.26.11//:webpki_roots", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.uri_encode-1.0.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.uri_encode-1.0.4.bazel new file mode 100644 index 000000000..8315512ba --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.uri_encode-1.0.4.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "uri_encode", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=uri_encode", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.4", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.url-2.5.7.bazel b/bazel/cargo/wasmsign/remote/BUILD.url-2.5.7.bazel new file mode 100644 index 000000000..6e7a6aab5 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.url-2.5.7.bazel @@ -0,0 +1,64 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "url", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "serde", + "std", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=url", + "manual", + "noclippy", + "norustfmt", + ], + version = "2.5.7", + deps = [ + "@cu__form_urlencoded-1.2.2//:form_urlencoded", + "@cu__idna-1.1.0//:idna", + "@cu__percent-encoding-2.3.2//:percent_encoding", + "@cu__serde-1.0.228//:serde", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.utf8_iter-1.0.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.utf8_iter-1.0.4.bazel new file mode 100644 index 000000000..b4b24032d --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.utf8_iter-1.0.4.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "utf8_iter", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=utf8_iter", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.4", +) 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 b5ff1e516..dc316d634 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasi", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasip2-1.0.1+wasi-0.2.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasip2-1.0.1+wasi-0.2.4.bazel new file mode 100644 index 000000000..18876ce35 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.wasip2-1.0.1+wasi-0.2.4.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "wasip2", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasip2", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.1+wasi-0.2.4", + deps = [ + "@cu__wit-bindgen-0.46.0//:wit_bindgen", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-0.2.106.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-0.2.106.bazel new file mode 100644 index 000000000..000cd870a --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-0.2.106.bazel @@ -0,0 +1,139 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "wasm_bindgen", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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__wasm-bindgen-macro-0.2.106//:wasm_bindgen_macro", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasm-bindgen", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.106", + deps = [ + "@cu__cfg-if-1.0.0//:cfg_if", + "@cu__once_cell-1.21.3//:once_cell", + "@cu__wasm-bindgen-0.2.106//:build_script_build", + "@cu__wasm-bindgen-shared-0.2.106//:wasm_bindgen_shared", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = { + "@cu__rustversion-1.0.22//:rustversion": "rustversion_compat", + }, + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "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 = "2021", + link_deps = [ + "@cu__wasm-bindgen-shared-0.2.106//:wasm_bindgen_shared", + ], + pkg_name = "wasm-bindgen", + proc_macro_deps = [ + "@cu__rustversion-1.0.22//:rustversion", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasm-bindgen", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.106", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-0.2.106.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-0.2.106.bazel new file mode 100644 index 000000000..10dba1825 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-0.2.106.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "wasm_bindgen_macro", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasm-bindgen-macro", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.106", + deps = [ + "@cu__quote-1.0.42//:quote", + "@cu__wasm-bindgen-macro-support-0.2.106//:wasm_bindgen_macro_support", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-support-0.2.106.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-support-0.2.106.bazel new file mode 100644 index 000000000..3374e4451 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-macro-support-0.2.106.bazel @@ -0,0 +1,60 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "wasm_bindgen_macro_support", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasm-bindgen-macro-support", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.106", + deps = [ + "@cu__bumpalo-3.19.1//:bumpalo", + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + "@cu__wasm-bindgen-shared-0.2.106//:wasm_bindgen_shared", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-shared-0.2.106.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-shared-0.2.106.bazel new file mode 100644 index 000000000..45442e007 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.wasm-bindgen-shared-0.2.106.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/wasmsign:crates_vendor +############################################################################### + +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "wasm_bindgen_shared", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasm-bindgen-shared", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.106", + deps = [ + "@cu__unicode-ident-1.0.12//:unicode_ident", + "@cu__wasm-bindgen-shared-0.2.106//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + links = "wasm_bindgen", + pkg_name = "wasm-bindgen-shared", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasm-bindgen-shared", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.106", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasmsign2-0.2.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasmsign2-0.2.6.bazel new file mode 100644 index 000000000..f75eeb03a --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.wasmsign2-0.2.6.bazel @@ -0,0 +1,64 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "wasmsign2", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=wasmsign2", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.6", + deps = [ + "@cu__anyhow-1.0.100//:anyhow", + "@cu__ct-codecs-1.1.6//:ct_codecs", + "@cu__ed25519-compact-2.2.0//:ed25519_compact", + "@cu__getrandom-0.2.15//:getrandom", + "@cu__hmac-sha256-1.1.12//:hmac_sha256", + "@cu__log-0.4.29//:log", + "@cu__regex-1.12.2//:regex", + "@cu__ssh-keys-0.1.4//:ssh_keys", + "@cu__thiserror-2.0.17//:thiserror", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.wasmsign2-cli-0.2.6.bazel similarity index 58% rename from bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel rename to bazel/cargo/wasmsign/remote/BUILD.wasmsign2-cli-0.2.6.bazel index 07b49f69b..2187c6205 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.wasmsign-0.1.2.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.wasmsign2-cli-0.2.6.bazel @@ -6,6 +6,7 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load( "@rules_rust//rust:defs.bzl", "rust_binary", @@ -14,11 +15,16 @@ load( package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "wasmsign", + name = "wasmsign2_cli", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,34 +39,36 @@ rust_library( ], ), crate_root = "src/lib.rs", - edition = "2018", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=wasmsign", + "crate-name=wasmsign2-cli", "manual", "noclippy", "norustfmt", ], - version = "0.1.2", + version = "0.2.6", deps = [ - "@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", + "@cu__clap-3.2.25//:clap", + "@cu__env_logger-0.11.8//:env_logger", + "@cu__regex-1.12.2//:regex", + "@cu__ureq-2.12.1//:ureq", + "@cu__uri_encode-1.0.4//:uri_encode", + "@cu__wasmsign2-0.2.6//:wasmsign2", ], ) rust_binary( - name = "wasmsign__bin", + name = "wasmsign2__bin", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -74,27 +82,29 @@ rust_binary( "WORKSPACE.bazel", ], ), - crate_root = "src/bin/wasmsign.rs", - edition = "2018", + crate_root = "src/cli/main.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=wasmsign", + "crate-name=wasmsign2-cli", "manual", "noclippy", "norustfmt", ], - version = "0.1.2", + version = "0.2.6", deps = [ - ":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", + ":wasmsign2_cli", + "@cu__clap-3.2.25//:clap", + "@cu__env_logger-0.11.8//:env_logger", + "@cu__regex-1.12.2//:regex", + "@cu__ureq-2.12.1//:ureq", + "@cu__uri_encode-1.0.4//:uri_encode", + "@cu__wasmsign2-0.2.6//:wasmsign2", ], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.webpki-roots-0.26.11.bazel b/bazel/cargo/wasmsign/remote/BUILD.webpki-roots-0.26.11.bazel new file mode 100644 index 000000000..d916671ba --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.webpki-roots-0.26.11.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "webpki_roots", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = { + "@cu__webpki-roots-1.0.4//:webpki_roots": "parent", + }, + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=webpki-roots", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.26.11", + deps = [ + "@cu__webpki-roots-1.0.4//:webpki_roots", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.webpki-roots-1.0.4.bazel b/bazel/cargo/wasmsign/remote/BUILD.webpki-roots-1.0.4.bazel new file mode 100644 index 000000000..bfb41a420 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.webpki-roots-1.0.4.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "webpki_roots", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + aliases = { + "@cu__rustls-pki-types-1.13.2//:rustls_pki_types": "pki_types", + }, + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=webpki-roots", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.4", + deps = [ + "@cu__rustls-pki-types-1.13.2//:rustls_pki_types", + ], +) 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 deleted file mode 100644 index c1fb3c90b..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.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/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"]) - -rust_library( - name = "winapi_i686_pc_windows_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 = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=winapi-i686-pc-windows-gnu", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.4.0", - deps = [ - "@cu__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build", - ], -) - -cargo_build_script( - 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", - "WORKSPACE.bazel", - ], - ), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=winapi-i686-pc-windows-gnu", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.4.0", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - 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 deleted file mode 100644 index 3468dd114..000000000 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.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/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"]) - -rust_library( - name = "winapi_x86_64_pc_windows_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 = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=winapi-x86_64-pc-windows-gnu", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.4.0", - deps = [ - "@cu__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build", - ], -) - -cargo_build_script( - 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", - "WORKSPACE.bazel", - ], - ), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-bazel", - "crate-name=winapi-x86_64-pc-windows-gnu", - "manual", - "noclippy", - "norustfmt", - ], - version = "0.4.0", - visibility = ["//visibility:private"], -) - -alias( - name = "build_script_build", - actual = ":winapi-x86_64-pc-windows-gnu_bs", - tags = ["manual"], -) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows-link-0.2.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-link-0.2.1.bazel new file mode 100644 index 000000000..bc53234e3 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-link-0.2.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_link", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows-link", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.1", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.48.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.48.0.bazel new file mode 100644 index 000000000..5978b3418 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.48.0.bazel @@ -0,0 +1,63 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_sys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_System", + "Win32_System_Console", + "default", + ], + crate_root = "src/lib.rs", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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/wasmsign/remote/BUILD.windows-sys-0.52.0.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.52.0.bazel new file mode 100644 index 000000000..d47ee528f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.52.0.bazel @@ -0,0 +1,63 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_sys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_System", + "Win32_System_Threading", + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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/wasmsign/remote/BUILD.windows-sys-0.60.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.60.2.bazel new file mode 100644 index 000000000..cec5b0fe2 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.60.2.bazel @@ -0,0 +1,63 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_sys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Win32", + "Win32_Foundation", + "Win32_System", + "Win32_System_Console", + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.60.2", + deps = [ + "@cu__windows-targets-0.53.5//:windows_targets", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.61.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.61.2.bazel new file mode 100644 index 000000000..68272236b --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-sys-0.61.2.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_sys", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows-sys", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.61.2", + deps = [ + "@cu__windows-link-0.2.1//:windows_link", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.48.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.48.5.bazel new file mode 100644 index 000000000..122b39038 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.48.5.bazel @@ -0,0 +1,74 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_targets", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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/wasmsign/remote/BUILD.windows-targets-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.52.6.bazel new file mode 100644 index 000000000..5ee53ac41 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.52.6.bazel @@ -0,0 +1,74 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_targets", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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))) + ], + "@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/wasmsign/remote/BUILD.windows-targets-0.53.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.53.5.bazel new file mode 100644 index 000000000..7a8ee3f30 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows-targets-0.53.5.bazel @@ -0,0 +1,74 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_targets", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows-targets", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.5", + deps = select({ + "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ + "@cu__windows_aarch64_msvc-0.53.1//: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.53.1//: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.53.1//: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.53.1//: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.53.1//: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.53.1//: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/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel new file mode 100644 index 000000000..26d1d0169 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.48.5.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_aarch64_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_aarch64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel new file mode 100644 index 000000000..cdd9f1b03 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_aarch64_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_aarch64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.53.1.bazel new file mode 100644 index 000000000..6e1c5dc0a --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_gnullvm-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_aarch64_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_aarch64_gnullvm-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_aarch64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel new file mode 100644 index 000000000..6509845ae --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.48.5.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_aarch64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel new file mode 100644 index 000000000..667574f43 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_aarch64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.53.1.bazel new file mode 100644 index 000000000..b96a9434a --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_aarch64_msvc-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_aarch64_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_aarch64_msvc-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_aarch64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_aarch64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.48.5.bazel similarity index 63% rename from bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel rename to bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.48.5.bazel index 02f57bf83..9694feb13 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.48.5.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "winapi", + name = "windows_i686_gnu", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -29,44 +38,46 @@ rust_library( "WORKSPACE.bazel", ], ), - crate_features = [ - "consoleapi", - "minwinbase", - "minwindef", - "processenv", - "winbase", - ], crate_root = "src/lib.rs", - edition = "2015", + edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=winapi", + "crate-name=windows_i686_gnu", "manual", "noclippy", "norustfmt", ], - version = "0.3.9", + version = "0.48.5", deps = [ - "@cu__winapi-0.3.9//:build_script_build", + "@cu__windows_i686_gnu-0.48.5//:build_script_build", ], ) cargo_build_script( - name = "winapi_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), - crate_features = [ - "consoleapi", - "minwinbase", - "minwindef", - "processenv", - "winbase", - ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( @@ -81,23 +92,27 @@ cargo_build_script( "WORKSPACE.bazel", ], ), - edition = "2015", + edition = "2018", + pkg_name = "windows_i686_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=winapi", + "crate-name=windows_i686_gnu", "manual", "noclippy", "norustfmt", ], - version = "0.3.9", + version = "0.48.5", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":winapi_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.52.6.bazel new file mode 100644 index 000000000..90a38d30f --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_i686_gnu", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_i686_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.53.1.bazel new file mode 100644 index 000000000..8701b89d9 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnu-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_i686_gnu", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_i686_gnu-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_i686_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel new file mode 100644 index 000000000..8be6c4ec6 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_i686_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_i686_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.53.1.bazel new file mode 100644 index 000000000..b73d97f82 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_gnullvm-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_i686_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_i686_gnullvm-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_i686_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.48.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.48.5.bazel new file mode 100644 index 000000000..277429598 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.48.5.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_i686_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_i686_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.52.6.bazel new file mode 100644 index 000000000..0b415c5d3 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_i686_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_i686_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.53.1.bazel new file mode 100644 index 000000000..723e95604 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_i686_msvc-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_i686_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_i686_msvc-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_i686_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_i686_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel new file mode 100644 index 000000000..d5b069f26 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.48.5.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel new file mode 100644 index 000000000..90b9bb09e --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.53.1.bazel new file mode 100644 index 000000000..22083bcb1 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnu-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_gnu", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_x86_64_gnu-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnu", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel new file mode 100644 index 000000000..0245001ee --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.48.5.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel new file mode 100644 index 000000000..ae9686bf0 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.53.1.bazel new file mode 100644 index 000000000..82d12349c --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_gnullvm-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_gnullvm", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_x86_64_gnullvm-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_gnullvm", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel new file mode 100644 index 000000000..ebceb478e --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.48.5.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel new file mode 100644 index 000000000..99967a6b6 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.52.6.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + 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 = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.53.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.53.1.bazel new file mode 100644 index 000000000..63b8e6fa2 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.windows_x86_64_msvc-0.53.1.bazel @@ -0,0 +1,118 @@ +############################################################################### +# @generated +# 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", + "cargo_toml_env_vars", +) +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "windows_x86_64_msvc", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + deps = [ + "@cu__windows_x86_64_msvc-0.53.1//:build_script_build", + ], +) + +cargo_build_script( + name = "_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + 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", + pkg_name = "windows_x86_64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=windows_x86_64_msvc", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.53.1", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = ":_bs", + tags = ["manual"], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel b/bazel/cargo/wasmsign/remote/BUILD.wit-bindgen-0.46.0.bazel similarity index 65% rename from bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel rename to bazel/cargo/wasmsign/remote/BUILD.wit-bindgen-0.46.0.bazel index 588c5d5c2..f7c0e1aea 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.thiserror-1.0.63.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.wit-bindgen-0.46.0.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "thiserror", + name = "wit_bindgen", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,30 +40,43 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", - proc_macro_deps = [ - "@cu__thiserror-impl-1.0.63//:thiserror_impl", + rustc_env_files = [ + ":cargo_toml_env_vars", ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=thiserror", + "crate-name=wit-bindgen", "manual", "noclippy", "norustfmt", ], - version = "1.0.63", + version = "0.46.0", deps = [ - "@cu__thiserror-1.0.63//:build_script_build", + "@cu__wit-bindgen-0.46.0//:build_script_build", ], ) cargo_build_script( - name = "thiserror_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -71,22 +93,26 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "wit-bindgen", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=thiserror", + "crate-name=wit-bindgen", "manual", "noclippy", "norustfmt", ], - version = "1.0.63", + version = "0.46.0", visibility = ["//visibility:private"], ) alias( name = "build_script_build", - actual = ":thiserror_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.writeable-0.6.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.writeable-0.6.2.bazel new file mode 100644 index 000000000..388b58f1a --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.writeable-0.6.2.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "writeable", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=writeable", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.6.2", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.yoke-0.8.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.yoke-0.8.1.bazel new file mode 100644 index 000000000..0287171a0 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.yoke-0.8.1.bazel @@ -0,0 +1,64 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "yoke", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "derive", + "zerofrom", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__yoke-derive-0.8.1//:yoke_derive", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=yoke", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.1", + deps = [ + "@cu__stable_deref_trait-1.2.1//:stable_deref_trait", + "@cu__zerofrom-0.1.6//:zerofrom", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.yoke-derive-0.8.1.bazel b/bazel/cargo/wasmsign/remote/BUILD.yoke-derive-0.8.1.bazel new file mode 100644 index 000000000..453c0c13b --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.yoke-derive-0.8.1.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "yoke_derive", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=yoke-derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.8.1", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + "@cu__synstructure-0.13.2//:synstructure", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.zerofrom-0.1.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.zerofrom-0.1.6.bazel new file mode 100644 index 000000000..bebc226b5 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.zerofrom-0.1.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "zerofrom", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "derive", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__zerofrom-derive-0.1.6//:zerofrom_derive", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=zerofrom", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.6", +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.zerofrom-derive-0.1.6.bazel b/bazel/cargo/wasmsign/remote/BUILD.zerofrom-derive-0.1.6.bazel new file mode 100644 index 000000000..566445e16 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.zerofrom-derive-0.1.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "zerofrom_derive", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=zerofrom-derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.1.6", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + "@cu__synstructure-0.13.2//:synstructure", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel b/bazel/cargo/wasmsign/remote/BUILD.zeroize-1.8.2.bazel similarity index 75% rename from bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel rename to bazel/cargo/wasmsign/remote/BUILD.zeroize-1.8.2.bazel index 0ac5ed93c..f13fffee7 100644 --- a/bazel/cargo/wasmsign/remote/BUILD.syn-2.0.72.bazel +++ b/bazel/cargo/wasmsign/remote/BUILD.zeroize-1.8.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmsign:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( - name = "syn", + name = "zeroize", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -29,29 +35,23 @@ rust_library( ], ), crate_features = [ - "clone-impls", + "alloc", "default", - "derive", - "parsing", - "printing", - "proc-macro", ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], tags = [ "cargo-bazel", - "crate-name=syn", + "crate-name=zeroize", "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", - ], + version = "1.8.2", ) diff --git a/bazel/cargo/wasmsign/remote/BUILD.zerotrie-0.2.3.bazel b/bazel/cargo/wasmsign/remote/BUILD.zerotrie-0.2.3.bazel new file mode 100644 index 000000000..8b515667e --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.zerotrie-0.2.3.bazel @@ -0,0 +1,64 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "zerotrie", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "yoke", + "zerofrom", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__displaydoc-0.2.5//:displaydoc", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=zerotrie", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.2.3", + deps = [ + "@cu__yoke-0.8.1//:yoke", + "@cu__zerofrom-0.1.6//:zerofrom", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.zerovec-0.11.5.bazel b/bazel/cargo/wasmsign/remote/BUILD.zerovec-0.11.5.bazel new file mode 100644 index 000000000..328cb165c --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.zerovec-0.11.5.bazel @@ -0,0 +1,64 @@ +############################################################################### +# @generated +# 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_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_library( + name = "zerovec", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "derive", + "yoke", + ], + crate_root = "src/lib.rs", + edition = "2021", + proc_macro_deps = [ + "@cu__zerovec-derive-0.11.2//:zerovec_derive", + ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=zerovec", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.5", + deps = [ + "@cu__yoke-0.8.1//:yoke", + "@cu__zerofrom-0.1.6//:zerofrom", + ], +) diff --git a/bazel/cargo/wasmsign/remote/BUILD.zerovec-derive-0.11.2.bazel b/bazel/cargo/wasmsign/remote/BUILD.zerovec-derive-0.11.2.bazel new file mode 100644 index 000000000..3ff716385 --- /dev/null +++ b/bazel/cargo/wasmsign/remote/BUILD.zerovec-derive-0.11.2.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/wasmsign:crates_vendor +############################################################################### + +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") +load("@rules_rust//rust:defs.bzl", "rust_proc_macro") + +package(default_visibility = ["//visibility:public"]) + +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + +rust_proc_macro( + name = "zerovec_derive", + srcs = glob( + include = ["**/*.rs"], + allow_empty = True, + ), + 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_env_files = [ + ":cargo_toml_env_vars", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=zerovec-derive", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.11.2", + deps = [ + "@cu__proc-macro2-1.0.103//:proc_macro2", + "@cu__quote-1.0.42//:quote", + "@cu__syn-2.0.111//:syn", + ], +) diff --git a/bazel/cargo/wasmsign/remote/defs.bzl b/bazel/cargo/wasmsign/remote/defs.bzl index 57a80662e..f1bb3c2b5 100644 --- a/bazel/cargo/wasmsign/remote/defs.bzl +++ b/bazel/cargo/wasmsign/remote/defs.bzl @@ -16,7 +16,6 @@ """ 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") @@ -296,7 +295,7 @@ def aliases( _NORMAL_DEPENDENCIES = { "bazel/cargo/wasmsign": { _COMMON_CONDITION: { - "wasmsign": Label("@cu__wasmsign-0.1.2//:wasmsign"), + "wasmsign2-cli": Label("@cu//:wasmsign2-cli-0.2.6"), }, }, } @@ -362,45 +361,80 @@ _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-fuchsia": ["@rules_rust//rust/platform:aarch64-unknown-fuchsia"], "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"], + "aarch64-unknown-uefi": ["@rules_rust//rust/platform:aarch64-unknown-uefi"], "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(all(all(target_arch = \"aarch64\", target_endian = \"little\"), target_os = \"windows\"))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], + "cfg(all(all(target_arch = \"aarch64\", target_endian = \"little\"), target_vendor = \"apple\", any(target_os = \"ios\", target_os = \"macos\", target_os = \"tvos\", target_os = \"visionos\", target_os = \"watchos\")))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim"], + "cfg(all(any(all(target_arch = \"aarch64\", target_endian = \"little\"), all(target_arch = \"arm\", target_endian = \"little\")), any(target_os = \"android\", target_os = \"linux\")))": ["@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"], + "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 = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_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", "@rules_rust//rust/platform:s390x-unknown-linux-gnu"], + "cfg(all(any(target_os = \"linux\", target_os = \"android\"), not(any(all(target_os = \"linux\", target_env = \"\"), getrandom_backend = \"custom\", getrandom_backend = \"linux_raw\", getrandom_backend = \"rdrand\", getrandom_backend = \"rndr\"))))": ["@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-linux-android", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv64gc-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-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], + "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:riscv64gc-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\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_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:riscv64gc-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-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:aarch64-unknown-uefi", "@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-emscripten", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@rules_rust//rust/platform:x86_64-unknown-none", "@rules_rust//rust/platform:x86_64-unknown-uefi"], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_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-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:aarch64-unknown-uefi", "@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-emscripten", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@rules_rust//rust/platform:x86_64-unknown-none", "@rules_rust//rust/platform:x86_64-unknown-uefi"], + "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], + "cfg(all(target_arch = \"wasm32\", target_os = \"wasi\", target_env = \"p2\"))": ["@rules_rust//rust/platform:wasm32-wasip2"], + "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(all(target_os = \"uefi\", getrandom_backend = \"efi_rng\"))": [], + "cfg(any())": [], + "cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"hurd\", target_os = \"illumos\", target_os = \"cygwin\", all(target_os = \"horizon\", target_arch = \"arm\")))": ["@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-freebsd"], + "cfg(any(target_os = \"haiku\", target_os = \"redox\", target_os = \"nto\", target_os = \"aix\"))": ["@rules_rust//rust/platform:aarch64-unknown-nto-qnx710"], + "cfg(any(target_os = \"ios\", target_os = \"visionos\", target_os = \"watchos\", target_os = \"tvos\"))": ["@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:x86_64-apple-ios"], + "cfg(any(target_os = \"macos\", target_os = \"openbsd\", target_os = \"vita\", target_os = \"emscripten\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:wasm32-unknown-emscripten", "@rules_rust//rust/platform:x86_64-apple-darwin"], + "cfg(not(target_has_atomic = \"ptr\"))": ["@rules_rust//rust/platform:riscv32imc-unknown-none-elf"], + "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-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@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:aarch64-unknown-uefi", "@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-linux-gnu", "@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-emscripten", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@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", "@rules_rust//rust/platform:x86_64-unknown-uefi"], "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: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(target_os = \"netbsd\")": [], + "cfg(target_os = \"solaris\")": [], + "cfg(target_os = \"vxworks\")": [], + "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2"], + "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-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@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:riscv64gc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-unknown-emscripten", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@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"], + "cfg(windows_raw_dylib)": [], "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-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-linux-gnu": ["@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu"], "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-emscripten": ["@rules_rust//rust/platform:wasm32-unknown-emscripten"], "wasm32-unknown-unknown": ["@rules_rust//rust/platform:wasm32-unknown-unknown"], - "wasm32-wasi": ["@rules_rust//rust/platform:wasm32-wasi"], + "wasm32-wasip1": ["@rules_rust//rust/platform:wasm32-wasip1"], + "wasm32-wasip1-threads": ["@rules_rust//rust/platform:wasm32-wasip1-threads"], + "wasm32-wasip2": ["@rules_rust//rust/platform:wasm32-wasip2"], "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-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-fuchsia": ["@rules_rust//rust/platform:x86_64-unknown-fuchsia"], "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"], + "x86_64-unknown-uefi": ["@rules_rust//rust/platform:x86_64-unknown-uefi"], } ############################################################################### @@ -413,32 +447,62 @@ def crate_repositories(): """ maybe( http_archive, - name = "cu__ansi_term-0.12.1", - sha256 = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2", + name = "cu__adler2-2.0.1", + sha256 = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa", 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"), + urls = ["https://static.crates.io/crates/adler2/2.0.1/download"], + strip_prefix = "adler2-2.0.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.adler2-2.0.1.bazel"), ) maybe( http_archive, - name = "cu__anyhow-1.0.86", - sha256 = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da", + name = "cu__aho-corasick-1.1.4", + sha256 = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301", 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"), + urls = ["https://static.crates.io/crates/aho-corasick/1.1.4/download"], + strip_prefix = "aho-corasick-1.1.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.aho-corasick-1.1.4.bazel"), ) maybe( http_archive, - name = "cu__atty-0.2.14", - sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", + name = "cu__anyhow-1.0.100", + sha256 = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61", 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"), + urls = ["https://static.crates.io/crates/anyhow/1.0.100/download"], + strip_prefix = "anyhow-1.0.100", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.anyhow-1.0.100.bazel"), + ) + + maybe( + http_archive, + name = "cu__autocfg-1.5.0", + sha256 = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/autocfg/1.5.0/download"], + strip_prefix = "autocfg-1.5.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.autocfg-1.5.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__base64-0.22.1", + sha256 = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6", + type = "tar.gz", + urls = ["https://static.crates.io/crates/base64/0.22.1/download"], + strip_prefix = "base64-0.22.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.base64-0.22.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__base64-0.9.3", + sha256 = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643", + type = "tar.gz", + urls = ["https://static.crates.io/crates/base64/0.9.3/download"], + strip_prefix = "base64-0.9.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.base64-0.9.3.bazel"), ) maybe( @@ -451,6 +515,26 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.bitflags-1.3.2.bazel"), ) + maybe( + http_archive, + name = "cu__bitflags-2.10.0", + sha256 = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bitflags/2.10.0/download"], + strip_prefix = "bitflags-2.10.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.bitflags-2.10.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__bumpalo-3.19.1", + sha256 = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510", + type = "tar.gz", + urls = ["https://static.crates.io/crates/bumpalo/3.19.1/download"], + strip_prefix = "bumpalo-3.19.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.bumpalo-3.19.1.bazel"), + ) + maybe( http_archive, name = "cu__byteorder-1.5.0", @@ -461,6 +545,16 @@ def crate_repositories(): build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.byteorder-1.5.0.bazel"), ) + maybe( + http_archive, + name = "cu__cc-1.2.50", + sha256 = "9f50d563227a1c37cc0a263f64eca3334388c01c5e4c4861a9def205c614383c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/cc/1.2.50/download"], + strip_prefix = "cc-1.2.50", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.cc-1.2.50.bazel"), + ) + maybe( http_archive, name = "cu__cfg-if-1.0.0", @@ -473,32 +567,122 @@ def crate_repositories(): maybe( http_archive, - name = "cu__clap-2.34.0", - sha256 = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c", + name = "cu__clap-3.2.25", + sha256 = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123", + type = "tar.gz", + urls = ["https://static.crates.io/crates/clap/3.2.25/download"], + strip_prefix = "clap-3.2.25", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.clap-3.2.25.bazel"), + ) + + maybe( + http_archive, + name = "cu__clap_lex-0.2.4", + sha256 = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5", + type = "tar.gz", + urls = ["https://static.crates.io/crates/clap_lex/0.2.4/download"], + strip_prefix = "clap_lex-0.2.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.clap_lex-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__crc32fast-1.5.0", + sha256 = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511", + type = "tar.gz", + urls = ["https://static.crates.io/crates/crc32fast/1.5.0/download"], + strip_prefix = "crc32fast-1.5.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.crc32fast-1.5.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__ct-codecs-1.1.6", + sha256 = "9b10589d1a5e400d61f9f38f12f884cfd080ff345de8f17efda36fe0e4a02aa8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ct-codecs/1.1.6/download"], + strip_prefix = "ct-codecs-1.1.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ct-codecs-1.1.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__displaydoc-0.2.5", + sha256 = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0", + type = "tar.gz", + urls = ["https://static.crates.io/crates/displaydoc/0.2.5/download"], + strip_prefix = "displaydoc-0.2.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.displaydoc-0.2.5.bazel"), + ) + + maybe( + http_archive, + name = "cu__ed25519-compact-2.2.0", + sha256 = "33ce99a9e19c84beb4cc35ece85374335ccc398240712114c85038319ed709bd", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ed25519-compact/2.2.0/download"], + strip_prefix = "ed25519-compact-2.2.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ed25519-compact-2.2.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__env_filter-0.1.4", + sha256 = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/env_filter/0.1.4/download"], + strip_prefix = "env_filter-0.1.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.env_filter-0.1.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__env_logger-0.11.8", + sha256 = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/env_logger/0.11.8/download"], + strip_prefix = "env_logger-0.11.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.env_logger-0.11.8.bazel"), + ) + + maybe( + http_archive, + name = "cu__errno-0.3.14", + sha256 = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb", + type = "tar.gz", + urls = ["https://static.crates.io/crates/errno/0.3.14/download"], + strip_prefix = "errno-0.3.14", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.errno-0.3.14.bazel"), + ) + + maybe( + http_archive, + name = "cu__find-msvc-tools-0.1.5", + sha256 = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844", 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"), + urls = ["https://static.crates.io/crates/find-msvc-tools/0.1.5/download"], + strip_prefix = "find-msvc-tools-0.1.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.find-msvc-tools-0.1.5.bazel"), ) maybe( http_archive, - name = "cu__ct-codecs-1.1.1", - sha256 = "f3b7eb4404b8195a9abb6356f4ac07d8ba267045c8d6d220ac4dc992e6cc75df", + name = "cu__flate2-1.1.5", + sha256 = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb", 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"), + urls = ["https://static.crates.io/crates/flate2/1.1.5/download"], + strip_prefix = "flate2-1.1.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.flate2-1.1.5.bazel"), ) maybe( http_archive, - name = "cu__ed25519-compact-1.0.16", - sha256 = "e18997d4604542d0736fae2c5ad6de987f0a50530cbcc14a7ce5a685328a252d", + name = "cu__form_urlencoded-1.2.2", + sha256 = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf", 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"), + urls = ["https://static.crates.io/crates/form_urlencoded/1.2.2/download"], + strip_prefix = "form_urlencoded-1.2.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.form_urlencoded-1.2.2.bazel"), ) maybe( @@ -513,193 +697,1204 @@ def crate_repositories(): maybe( http_archive, - name = "cu__hermit-abi-0.1.19", - sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33", + name = "cu__getrandom-0.3.4", + sha256 = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd", 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"), + urls = ["https://static.crates.io/crates/getrandom/0.3.4/download"], + strip_prefix = "getrandom-0.3.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.getrandom-0.3.4.bazel"), ) maybe( http_archive, - name = "cu__hmac-sha512-1.1.5", - sha256 = "e4ce1f4656bae589a3fab938f9f09bf58645b7ed01a2c5f8a3c238e01a4ef78a", + name = "cu__hashbrown-0.12.3", + sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", 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"), + 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/wasmsign/remote:BUILD.hashbrown-0.12.3.bazel"), ) maybe( http_archive, - name = "cu__libc-0.2.155", - sha256 = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c", + name = "cu__hermit-abi-0.3.9", + sha256 = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024", 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"), + 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/wasmsign/remote:BUILD.hermit-abi-0.3.9.bazel"), ) maybe( http_archive, - name = "cu__parity-wasm-0.42.2", - sha256 = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92", + name = "cu__hmac-sha256-1.1.12", + sha256 = "ad6880c8d4a9ebf39c6e8b77007ce223f646a4d21ce29d99f70cb16420545425", 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"), + urls = ["https://static.crates.io/crates/hmac-sha256/1.1.12/download"], + strip_prefix = "hmac-sha256-1.1.12", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.hmac-sha256-1.1.12.bazel"), ) maybe( http_archive, - name = "cu__proc-macro2-1.0.86", - sha256 = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77", + name = "cu__icu_collections-2.1.1", + sha256 = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43", 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"), + urls = ["https://static.crates.io/crates/icu_collections/2.1.1/download"], + strip_prefix = "icu_collections-2.1.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.icu_collections-2.1.1.bazel"), ) maybe( http_archive, - name = "cu__quote-1.0.36", - sha256 = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7", + name = "cu__icu_locale_core-2.1.1", + sha256 = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6", 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"), + urls = ["https://static.crates.io/crates/icu_locale_core/2.1.1/download"], + strip_prefix = "icu_locale_core-2.1.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.icu_locale_core-2.1.1.bazel"), ) maybe( http_archive, - name = "cu__strsim-0.8.0", - sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a", + name = "cu__icu_normalizer-2.1.1", + sha256 = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599", 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"), + urls = ["https://static.crates.io/crates/icu_normalizer/2.1.1/download"], + strip_prefix = "icu_normalizer-2.1.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.icu_normalizer-2.1.1.bazel"), ) maybe( http_archive, - name = "cu__syn-2.0.72", - sha256 = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af", + name = "cu__icu_normalizer_data-2.1.1", + sha256 = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a", 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"), + urls = ["https://static.crates.io/crates/icu_normalizer_data/2.1.1/download"], + strip_prefix = "icu_normalizer_data-2.1.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.icu_normalizer_data-2.1.1.bazel"), ) maybe( http_archive, - name = "cu__textwrap-0.11.0", - sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060", + name = "cu__icu_properties-2.1.2", + sha256 = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec", 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"), + urls = ["https://static.crates.io/crates/icu_properties/2.1.2/download"], + strip_prefix = "icu_properties-2.1.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.icu_properties-2.1.2.bazel"), ) maybe( http_archive, - name = "cu__thiserror-1.0.63", - sha256 = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724", + name = "cu__icu_properties_data-2.1.2", + sha256 = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af", 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"), + urls = ["https://static.crates.io/crates/icu_properties_data/2.1.2/download"], + strip_prefix = "icu_properties_data-2.1.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.icu_properties_data-2.1.2.bazel"), ) maybe( http_archive, - name = "cu__thiserror-impl-1.0.63", - sha256 = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261", + name = "cu__icu_provider-2.1.1", + sha256 = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614", 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"), + urls = ["https://static.crates.io/crates/icu_provider/2.1.1/download"], + strip_prefix = "icu_provider-2.1.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.icu_provider-2.1.1.bazel"), ) maybe( http_archive, - name = "cu__unicode-ident-1.0.12", - sha256 = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b", + name = "cu__idna-1.1.0", + sha256 = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de", 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"), + urls = ["https://static.crates.io/crates/idna/1.1.0/download"], + strip_prefix = "idna-1.1.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.idna-1.1.0.bazel"), ) maybe( http_archive, - name = "cu__unicode-width-0.1.13", - sha256 = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d", + name = "cu__idna_adapter-1.2.1", + sha256 = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344", 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"), + urls = ["https://static.crates.io/crates/idna_adapter/1.2.1/download"], + strip_prefix = "idna_adapter-1.2.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.idna_adapter-1.2.1.bazel"), ) maybe( http_archive, - name = "cu__vec_map-0.8.2", - sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191", + name = "cu__indexmap-1.9.3", + sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99", 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"), + 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/wasmsign/remote:BUILD.indexmap-1.9.3.bazel"), ) maybe( http_archive, - name = "cu__wasi-0.11.0-wasi-snapshot-preview1", - sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423", + name = "cu__io-lifetimes-1.0.11", + sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2", 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"), + 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/wasmsign/remote:BUILD.io-lifetimes-1.0.11.bazel"), + ) + + maybe( + http_archive, + name = "cu__jiff-0.2.16", + sha256 = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35", + type = "tar.gz", + urls = ["https://static.crates.io/crates/jiff/0.2.16/download"], + strip_prefix = "jiff-0.2.16", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.jiff-0.2.16.bazel"), + ) + + maybe( + http_archive, + name = "cu__jiff-static-0.2.16", + sha256 = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69", + type = "tar.gz", + urls = ["https://static.crates.io/crates/jiff-static/0.2.16/download"], + strip_prefix = "jiff-static-0.2.16", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.jiff-static-0.2.16.bazel"), + ) + + maybe( + http_archive, + name = "cu__js-sys-0.3.83", + sha256 = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/js-sys/0.3.83/download"], + strip_prefix = "js-sys-0.3.83", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.js-sys-0.3.83.bazel"), + ) + + maybe( + http_archive, + name = "cu__libc-0.2.178", + sha256 = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091", + type = "tar.gz", + urls = ["https://static.crates.io/crates/libc/0.2.178/download"], + strip_prefix = "libc-0.2.178", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.libc-0.2.178.bazel"), + ) + + maybe( + http_archive, + name = "cu__linux-raw-sys-0.11.0", + sha256 = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039", + type = "tar.gz", + urls = ["https://static.crates.io/crates/linux-raw-sys/0.11.0/download"], + strip_prefix = "linux-raw-sys-0.11.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.linux-raw-sys-0.11.0.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/wasmsign/remote:BUILD.linux-raw-sys-0.3.8.bazel"), + ) + + maybe( + http_archive, + name = "cu__litemap-0.8.1", + sha256 = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77", + type = "tar.gz", + urls = ["https://static.crates.io/crates/litemap/0.8.1/download"], + strip_prefix = "litemap-0.8.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.litemap-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__log-0.4.29", + sha256 = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897", + type = "tar.gz", + urls = ["https://static.crates.io/crates/log/0.4.29/download"], + strip_prefix = "log-0.4.29", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.log-0.4.29.bazel"), + ) + + maybe( + http_archive, + name = "cu__memchr-2.7.6", + sha256 = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273", + type = "tar.gz", + urls = ["https://static.crates.io/crates/memchr/2.7.6/download"], + strip_prefix = "memchr-2.7.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.memchr-2.7.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__miniz_oxide-0.8.9", + sha256 = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316", + type = "tar.gz", + urls = ["https://static.crates.io/crates/miniz_oxide/0.8.9/download"], + strip_prefix = "miniz_oxide-0.8.9", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.miniz_oxide-0.8.9.bazel"), + ) + + maybe( + http_archive, + name = "cu__once_cell-1.21.3", + sha256 = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/once_cell/1.21.3/download"], + strip_prefix = "once_cell-1.21.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.once_cell-1.21.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__os_str_bytes-6.6.1", + sha256 = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1", + type = "tar.gz", + urls = ["https://static.crates.io/crates/os_str_bytes/6.6.1/download"], + strip_prefix = "os_str_bytes-6.6.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.os_str_bytes-6.6.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__percent-encoding-2.3.2", + sha256 = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220", + type = "tar.gz", + urls = ["https://static.crates.io/crates/percent-encoding/2.3.2/download"], + strip_prefix = "percent-encoding-2.3.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.percent-encoding-2.3.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__portable-atomic-1.12.0", + sha256 = "f59e70c4aef1e55797c2e8fd94a4f2a973fc972cfde0e0b05f683667b0cd39dd", + type = "tar.gz", + urls = ["https://static.crates.io/crates/portable-atomic/1.12.0/download"], + strip_prefix = "portable-atomic-1.12.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.portable-atomic-1.12.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__portable-atomic-util-0.2.4", + sha256 = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507", + type = "tar.gz", + urls = ["https://static.crates.io/crates/portable-atomic-util/0.2.4/download"], + strip_prefix = "portable-atomic-util-0.2.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.portable-atomic-util-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__potential_utf-0.1.4", + sha256 = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77", + type = "tar.gz", + urls = ["https://static.crates.io/crates/potential_utf/0.1.4/download"], + strip_prefix = "potential_utf-0.1.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.potential_utf-0.1.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__proc-macro2-1.0.103", + sha256 = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/proc-macro2/1.0.103/download"], + strip_prefix = "proc-macro2-1.0.103", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.proc-macro2-1.0.103.bazel"), + ) + + maybe( + http_archive, + name = "cu__quick-error-1.2.3", + sha256 = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0", + type = "tar.gz", + urls = ["https://static.crates.io/crates/quick-error/1.2.3/download"], + strip_prefix = "quick-error-1.2.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.quick-error-1.2.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__quote-1.0.42", + sha256 = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/quote/1.0.42/download"], + strip_prefix = "quote-1.0.42", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.quote-1.0.42.bazel"), + ) + + maybe( + http_archive, + name = "cu__r-efi-5.3.0", + sha256 = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/r-efi/5.3.0/download"], + strip_prefix = "r-efi-5.3.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.r-efi-5.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__regex-1.12.2", + sha256 = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regex/1.12.2/download"], + strip_prefix = "regex-1.12.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.regex-1.12.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__regex-automata-0.4.13", + sha256 = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regex-automata/0.4.13/download"], + strip_prefix = "regex-automata-0.4.13", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.regex-automata-0.4.13.bazel"), + ) + + maybe( + http_archive, + name = "cu__regex-syntax-0.8.8", + sha256 = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58", + type = "tar.gz", + urls = ["https://static.crates.io/crates/regex-syntax/0.8.8/download"], + strip_prefix = "regex-syntax-0.8.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.regex-syntax-0.8.8.bazel"), + ) + + maybe( + http_archive, + name = "cu__ring-0.17.14", + sha256 = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ring/0.17.14/download"], + strip_prefix = "ring-0.17.14", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ring-0.17.14.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustix-0.37.28", + sha256 = "519165d378b97752ca44bbe15047d5d3409e875f39327546b42ac81d7e18c1b6", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustix/0.37.28/download"], + strip_prefix = "rustix-0.37.28", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.rustix-0.37.28.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustix-1.1.2", + sha256 = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustix/1.1.2/download"], + strip_prefix = "rustix-1.1.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.rustix-1.1.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustls-0.23.35", + sha256 = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustls/0.23.35/download"], + strip_prefix = "rustls-0.23.35", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.rustls-0.23.35.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustls-pki-types-1.13.2", + sha256 = "21e6f2ab2928ca4291b86736a8bd920a277a399bba1589409d72154ff87c1282", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustls-pki-types/1.13.2/download"], + strip_prefix = "rustls-pki-types-1.13.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.rustls-pki-types-1.13.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustls-webpki-0.103.8", + sha256 = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustls-webpki/0.103.8/download"], + strip_prefix = "rustls-webpki-0.103.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.rustls-webpki-0.103.8.bazel"), + ) + + maybe( + http_archive, + name = "cu__rustversion-1.0.22", + sha256 = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/rustversion/1.0.22/download"], + strip_prefix = "rustversion-1.0.22", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.rustversion-1.0.22.bazel"), + ) + + maybe( + http_archive, + name = "cu__safemem-0.3.3", + sha256 = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072", + type = "tar.gz", + urls = ["https://static.crates.io/crates/safemem/0.3.3/download"], + strip_prefix = "safemem-0.3.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.safemem-0.3.3.bazel"), ) maybe( - new_git_repository, - name = "cu__wasmsign-0.1.2", - 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"), + http_archive, + name = "cu__serde-1.0.228", + sha256 = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/serde/1.0.228/download"], + strip_prefix = "serde-1.0.228", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.serde-1.0.228.bazel"), + ) + + maybe( + http_archive, + name = "cu__serde_core-1.0.228", + sha256 = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad", + type = "tar.gz", + urls = ["https://static.crates.io/crates/serde_core/1.0.228/download"], + strip_prefix = "serde_core-1.0.228", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.serde_core-1.0.228.bazel"), + ) + + maybe( + http_archive, + name = "cu__serde_derive-1.0.228", + sha256 = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79", + type = "tar.gz", + urls = ["https://static.crates.io/crates/serde_derive/1.0.228/download"], + strip_prefix = "serde_derive-1.0.228", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.serde_derive-1.0.228.bazel"), + ) + + maybe( + http_archive, + name = "cu__shlex-1.3.0", + sha256 = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64", + type = "tar.gz", + urls = ["https://static.crates.io/crates/shlex/1.3.0/download"], + strip_prefix = "shlex-1.3.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.shlex-1.3.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__simd-adler32-0.3.8", + sha256 = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/simd-adler32/0.3.8/download"], + strip_prefix = "simd-adler32-0.3.8", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.simd-adler32-0.3.8.bazel"), + ) + + maybe( + http_archive, + name = "cu__smallvec-1.15.1", + sha256 = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03", + type = "tar.gz", + urls = ["https://static.crates.io/crates/smallvec/1.15.1/download"], + strip_prefix = "smallvec-1.15.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.smallvec-1.15.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__ssh-keys-0.1.4", + sha256 = "2555f9858fe3b961c98100b8be77cbd6a81527bf20d40e7a11dafb8810298e95", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ssh-keys/0.1.4/download"], + strip_prefix = "ssh-keys-0.1.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ssh-keys-0.1.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__stable_deref_trait-1.2.1", + sha256 = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596", + type = "tar.gz", + urls = ["https://static.crates.io/crates/stable_deref_trait/1.2.1/download"], + strip_prefix = "stable_deref_trait-1.2.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.stable_deref_trait-1.2.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__subtle-2.6.1", + sha256 = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292", + type = "tar.gz", + urls = ["https://static.crates.io/crates/subtle/2.6.1/download"], + strip_prefix = "subtle-2.6.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.subtle-2.6.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__syn-2.0.111", + sha256 = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87", + type = "tar.gz", + urls = ["https://static.crates.io/crates/syn/2.0.111/download"], + strip_prefix = "syn-2.0.111", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.syn-2.0.111.bazel"), + ) + + maybe( + http_archive, + name = "cu__synstructure-0.13.2", + sha256 = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/synstructure/0.13.2/download"], + strip_prefix = "synstructure-0.13.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.synstructure-0.13.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__terminal_size-0.2.6", + sha256 = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237", + type = "tar.gz", + urls = ["https://static.crates.io/crates/terminal_size/0.2.6/download"], + strip_prefix = "terminal_size-0.2.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.terminal_size-0.2.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__terminal_size-0.4.3", + sha256 = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0", + type = "tar.gz", + urls = ["https://static.crates.io/crates/terminal_size/0.4.3/download"], + strip_prefix = "terminal_size-0.4.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.terminal_size-0.4.3.bazel"), + ) + + maybe( + http_archive, + name = "cu__textwrap-0.16.2", + sha256 = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057", + type = "tar.gz", + urls = ["https://static.crates.io/crates/textwrap/0.16.2/download"], + strip_prefix = "textwrap-0.16.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.textwrap-0.16.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__thiserror-2.0.17", + sha256 = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8", + type = "tar.gz", + urls = ["https://static.crates.io/crates/thiserror/2.0.17/download"], + strip_prefix = "thiserror-2.0.17", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.thiserror-2.0.17.bazel"), + ) + + maybe( + http_archive, + name = "cu__thiserror-impl-2.0.17", + sha256 = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913", + type = "tar.gz", + urls = ["https://static.crates.io/crates/thiserror-impl/2.0.17/download"], + strip_prefix = "thiserror-impl-2.0.17", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.thiserror-impl-2.0.17.bazel"), + ) + + maybe( + http_archive, + name = "cu__tinystr-0.8.2", + sha256 = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869", + type = "tar.gz", + urls = ["https://static.crates.io/crates/tinystr/0.8.2/download"], + strip_prefix = "tinystr-0.8.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.tinystr-0.8.2.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__untrusted-0.9.0", + sha256 = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1", + type = "tar.gz", + urls = ["https://static.crates.io/crates/untrusted/0.9.0/download"], + strip_prefix = "untrusted-0.9.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.untrusted-0.9.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__ureq-2.12.1", + sha256 = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ureq/2.12.1/download"], + strip_prefix = "ureq-2.12.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.ureq-2.12.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__uri_encode-1.0.4", + sha256 = "9666edb2c10ee91354ec062e9e2d84896c2437378484c566d3523f9b8daf0129", + type = "tar.gz", + urls = ["https://static.crates.io/crates/uri_encode/1.0.4/download"], + strip_prefix = "uri_encode-1.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.uri_encode-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__url-2.5.7", + sha256 = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b", + type = "tar.gz", + urls = ["https://static.crates.io/crates/url/2.5.7/download"], + strip_prefix = "url-2.5.7", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.url-2.5.7.bazel"), + ) + + maybe( + http_archive, + name = "cu__utf8_iter-1.0.4", + sha256 = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be", + type = "tar.gz", + urls = ["https://static.crates.io/crates/utf8_iter/1.0.4/download"], + strip_prefix = "utf8_iter-1.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.utf8_iter-1.0.4.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( + http_archive, + name = "cu__wasip2-1.0.1-wasi-0.2.4", + sha256 = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasip2/1.0.1+wasi-0.2.4/download"], + strip_prefix = "wasip2-1.0.1+wasi-0.2.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasip2-1.0.1+wasi-0.2.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasm-bindgen-0.2.106", + sha256 = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasm-bindgen/0.2.106/download"], + strip_prefix = "wasm-bindgen-0.2.106", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasm-bindgen-0.2.106.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasm-bindgen-macro-0.2.106", + sha256 = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasm-bindgen-macro/0.2.106/download"], + strip_prefix = "wasm-bindgen-macro-0.2.106", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasm-bindgen-macro-0.2.106.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasm-bindgen-macro-support-0.2.106", + sha256 = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasm-bindgen-macro-support/0.2.106/download"], + strip_prefix = "wasm-bindgen-macro-support-0.2.106", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasm-bindgen-macro-support-0.2.106.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasm-bindgen-shared-0.2.106", + sha256 = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasm-bindgen-shared/0.2.106/download"], + strip_prefix = "wasm-bindgen-shared-0.2.106", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasm-bindgen-shared-0.2.106.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmsign2-0.2.6", + sha256 = "827c62c48f459aa88568300b00f01f3740b7a11ca887a6aeb7e8cc0e196fc0de", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmsign2/0.2.6/download"], + strip_prefix = "wasmsign2-0.2.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasmsign2-0.2.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__wasmsign2-cli-0.2.6", + sha256 = "d57fbd834cb8d480bc49b10ed82e114bf8f052198bf39ad0e47b9a225e850101", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wasmsign2-cli/0.2.6/download"], + strip_prefix = "wasmsign2-cli-0.2.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wasmsign2-cli-0.2.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__webpki-roots-0.26.11", + sha256 = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9", + type = "tar.gz", + urls = ["https://static.crates.io/crates/webpki-roots/0.26.11/download"], + strip_prefix = "webpki-roots-0.26.11", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.webpki-roots-0.26.11.bazel"), + ) + + maybe( + http_archive, + name = "cu__webpki-roots-1.0.4", + sha256 = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e", + type = "tar.gz", + urls = ["https://static.crates.io/crates/webpki-roots/1.0.4/download"], + strip_prefix = "webpki-roots-1.0.4", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.webpki-roots-1.0.4.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-link-0.2.1", + sha256 = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-link/0.2.1/download"], + strip_prefix = "windows-link-0.2.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows-link-0.2.1.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/wasmsign/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/wasmsign/remote:BUILD.windows-sys-0.52.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-sys-0.60.2", + sha256 = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-sys/0.60.2/download"], + strip_prefix = "windows-sys-0.60.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows-sys-0.60.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-sys-0.61.2", + sha256 = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-sys/0.61.2/download"], + strip_prefix = "windows-sys-0.61.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows-sys-0.61.2.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/wasmsign/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/wasmsign/remote:BUILD.windows-targets-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows-targets-0.53.5", + sha256 = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows-targets/0.53.5/download"], + strip_prefix = "windows-targets-0.53.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows-targets-0.53.5.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/wasmsign/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/wasmsign/remote:BUILD.windows_aarch64_gnullvm-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_aarch64_gnullvm-0.53.1", + sha256 = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_aarch64_gnullvm/0.53.1/download"], + strip_prefix = "windows_aarch64_gnullvm-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_aarch64_gnullvm-0.53.1.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/wasmsign/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/wasmsign/remote:BUILD.windows_aarch64_msvc-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_aarch64_msvc-0.53.1", + sha256 = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_aarch64_msvc/0.53.1/download"], + strip_prefix = "windows_aarch64_msvc-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_aarch64_msvc-0.53.1.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/wasmsign/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/wasmsign/remote:BUILD.windows_i686_gnu-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_gnu-0.53.1", + sha256 = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_gnu/0.53.1/download"], + strip_prefix = "windows_i686_gnu-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_i686_gnu-0.53.1.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/wasmsign/remote:BUILD.windows_i686_gnullvm-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_gnullvm-0.53.1", + sha256 = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_gnullvm/0.53.1/download"], + strip_prefix = "windows_i686_gnullvm-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_i686_gnullvm-0.53.1.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/wasmsign/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/wasmsign/remote:BUILD.windows_i686_msvc-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_i686_msvc-0.53.1", + sha256 = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_i686_msvc/0.53.1/download"], + strip_prefix = "windows_i686_msvc-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_i686_msvc-0.53.1.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/wasmsign/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/wasmsign/remote:BUILD.windows_x86_64_gnu-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_gnu-0.53.1", + sha256 = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_gnu/0.53.1/download"], + strip_prefix = "windows_x86_64_gnu-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_x86_64_gnu-0.53.1.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/wasmsign/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/wasmsign/remote:BUILD.windows_x86_64_gnullvm-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_gnullvm-0.53.1", + sha256 = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_gnullvm/0.53.1/download"], + strip_prefix = "windows_x86_64_gnullvm-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_x86_64_gnullvm-0.53.1.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/wasmsign/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/wasmsign/remote:BUILD.windows_x86_64_msvc-0.52.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__windows_x86_64_msvc-0.53.1", + sha256 = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650", + type = "tar.gz", + urls = ["https://static.crates.io/crates/windows_x86_64_msvc/0.53.1/download"], + strip_prefix = "windows_x86_64_msvc-0.53.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.windows_x86_64_msvc-0.53.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__wit-bindgen-0.46.0", + sha256 = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59", + type = "tar.gz", + urls = ["https://static.crates.io/crates/wit-bindgen/0.46.0/download"], + strip_prefix = "wit-bindgen-0.46.0", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.wit-bindgen-0.46.0.bazel"), + ) + + maybe( + http_archive, + name = "cu__writeable-0.6.2", + sha256 = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9", + type = "tar.gz", + urls = ["https://static.crates.io/crates/writeable/0.6.2/download"], + strip_prefix = "writeable-0.6.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.writeable-0.6.2.bazel"), + ) + + maybe( + http_archive, + name = "cu__yoke-0.8.1", + sha256 = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954", + type = "tar.gz", + urls = ["https://static.crates.io/crates/yoke/0.8.1/download"], + strip_prefix = "yoke-0.8.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.yoke-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__yoke-derive-0.8.1", + sha256 = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/yoke-derive/0.8.1/download"], + strip_prefix = "yoke-derive-0.8.1", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.yoke-derive-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "cu__zerofrom-0.1.6", + sha256 = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5", + type = "tar.gz", + urls = ["https://static.crates.io/crates/zerofrom/0.1.6/download"], + strip_prefix = "zerofrom-0.1.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.zerofrom-0.1.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__zerofrom-derive-0.1.6", + sha256 = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502", + type = "tar.gz", + urls = ["https://static.crates.io/crates/zerofrom-derive/0.1.6/download"], + strip_prefix = "zerofrom-derive-0.1.6", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.zerofrom-derive-0.1.6.bazel"), + ) + + maybe( + http_archive, + name = "cu__zeroize-1.8.2", + sha256 = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0", + type = "tar.gz", + urls = ["https://static.crates.io/crates/zeroize/1.8.2/download"], + strip_prefix = "zeroize-1.8.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.zeroize-1.8.2.bazel"), ) maybe( http_archive, - name = "cu__winapi-0.3.9", - sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", + name = "cu__zerotrie-0.2.3", + sha256 = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851", 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"), + urls = ["https://static.crates.io/crates/zerotrie/0.2.3/download"], + strip_prefix = "zerotrie-0.2.3", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.zerotrie-0.2.3.bazel"), ) maybe( http_archive, - name = "cu__winapi-i686-pc-windows-gnu-0.4.0", - sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", + name = "cu__zerovec-0.11.5", + sha256 = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002", 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"), + urls = ["https://static.crates.io/crates/zerovec/0.11.5/download"], + strip_prefix = "zerovec-0.11.5", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.zerovec-0.11.5.bazel"), ) maybe( http_archive, - name = "cu__winapi-x86_64-pc-windows-gnu-0.4.0", - sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", + name = "cu__zerovec-derive-0.11.2", + sha256 = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3", 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"), + urls = ["https://static.crates.io/crates/zerovec-derive/0.11.2/download"], + strip_prefix = "zerovec-derive-0.11.2", + build_file = Label("@proxy_wasm_cpp_host//bazel/cargo/wasmsign/remote:BUILD.zerovec-derive-0.11.2.bazel"), ) return [ - struct(repo = "cu__wasmsign-0.1.2", is_dev_dep = False), + struct(repo = "cu__wasmsign2-cli-0.2.6", is_dev_dep = False), ] diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index 96076d9e4..e41e78894 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -14,17 +14,17 @@ load("@aspect_rules_lint//format:repositories.bzl", "rules_lint_dependencies") load("@bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains") +load("@com_google_googletest//:googletest_deps.bzl", "googletest_deps") 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" ) +load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") +load("@rules_python//python:repositories.bzl", "py_repositories") 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") -load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") -load("@com_google_googletest//:googletest_deps.bzl", "googletest_deps") def proxy_wasm_cpp_host_dependencies(): # Bazel extensions. diff --git a/bazel/dependencies_import.bzl b/bazel/dependencies_import.bzl index 47e87a670..4a2423d84 100644 --- a/bazel/dependencies_import.bzl +++ b/bazel/dependencies_import.bzl @@ -12,14 +12,14 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@bazel_features//:deps.bzl", "bazel_features_deps") +load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") 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") -load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") -load("@bazel_features//:deps.bzl", "bazel_features_deps") load("@rules_python//python:repositories.bzl", "python_register_toolchains") +load("@v8_python_deps//:requirements.bzl", pip_v8_dependencies = "install_deps") def proxy_wasm_cpp_host_dependencies_import(): python_register_toolchains( diff --git a/bazel/wasm.bzl b/bazel/wasm.bzl index ead788115..5580e01ff 100644 --- a/bazel/wasm.bzl +++ b/bazel/wasm.bzl @@ -45,7 +45,7 @@ def _wasm_binary_impl(ctx): if ctx.attr.signing_key: ctx.actions.run( executable = ctx.executable._wasmsign_tool, - arguments = ["--sign", "--use-custom-section", "--sk-path", ctx.files.signing_key[0].path, "--pk-path", ctx.files.signing_key[1].path, "--input", ctx.files.binary[0].path, "--output", out.path], + arguments = ["sign", "--secret-key", ctx.files.signing_key[0].path, "--public-key", ctx.files.signing_key[1].path, "--input-file", ctx.files.binary[0].path, "--output-file", out.path], outputs = [out], inputs = ctx.files.binary + ctx.files.signing_key, ) @@ -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/remote:wasmsign__wasmsign", executable = True, cfg = "exec"), + "_wasmsign_tool": attr.label(default = "//bazel/cargo/wasmsign/remote:wasmsign2-cli__wasmsign2", executable = True, cfg = "exec"), "_allowlist_function_transition": attr.label(default = "@bazel_tools//tools/allowlists/function_transition_allowlist"), } diff --git a/src/signature_util.cc b/src/signature_util.cc index 46b9d3333..e0e78ecf5 100644 --- a/src/signature_util.cc +++ b/src/signature_util.cc @@ -60,7 +60,7 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess #ifdef PROXY_WASM_VERIFY_WITH_ED25519_PUBKEY /* - * Ed25519 signature generated using https://github.com/jedisct1/wasmsign + * Ed25519 signature generated using https://github.com/wasm-signatures/wasmsign2 */ std::string_view payload; diff --git a/test/test_data/signature_key1.key b/test/test_data/signature_key1.key index c1a292b6a934dd518e6401114fc226f938f2eac0..10caddd76cb714465d882a12bc0bb92bd1855257 100644 GIT binary patch literal 65 zcmV-H0KWf$jhfN((?gtm29P1;cdZg)#TD3{`kE29FjkUuVyTKj#_*(`}>$Me diff --git a/test/test_data/signature_key1.pub b/test/test_data/signature_key1.pub index 034a0de349cea573584a30a203b4ceb62c4e30aa..4f77b049b4744fc03f05216f24d56944393da11a 100644 GIT binary patch literal 33 pcmZS7+2ksDK4xAno0;Il<%##owQIwlDj204-C-Ezzu%Ql0|4F$4JrTt literal 36 scmZQ#U|=x*{X5oC*LY*igq9xmva2hTq3^01d|wr~m)} diff --git a/test/test_data/signature_key2.key b/test/test_data/signature_key2.key index 8ba90fb90412d035099aaa13214c4a0785126e26..2c2633f2d33b02af5ec29e1df80ae8bc427c3b55 100644 GIT binary patch literal 65 zcmV-H0KWf$l??{7O1VhEjpL%I279o1c-}1tdlAURWv$N)52AGD<-m@vu~=(3=iDGk Xs=s^#P;oaL4br#W=Rlo;{PmtHA*3M? literal 68 zcmV-K0K5MJ00023sBUg}JWO^_IY)xf=?4Ds?%7$P-gx4)s(-oFDVbGmeZ#tutM`kL ac Date: Fri, 19 Dec 2025 16:27:19 -0500 Subject: [PATCH 04/49] chore: run wasmtime:crates_vendor -- --repin Signed-off-by: Matt Leon --- .../wasmtime/remote/BUILD.ahash-0.8.11.bazel | 71 +++++-- .../remote/BUILD.aho-corasick-1.1.3.bazel | 11 +- .../wasmtime/remote/BUILD.anyhow-1.0.86.bazel | 39 +++- .../remote/BUILD.arbitrary-1.3.2.bazel | 11 +- bazel/cargo/wasmtime/remote/BUILD.bazel | 42 ++++ .../remote/BUILD.bitflags-2.6.0.bazel | 33 ++- .../remote/BUILD.bumpalo-3.16.0.bazel | 11 +- .../wasmtime/remote/BUILD.cc-1.1.7.bazel | 11 +- .../wasmtime/remote/BUILD.cfg-if-1.0.0.bazel | 11 +- .../wasmtime/remote/BUILD.cobs-0.2.3.bazel | 11 +- .../BUILD.cranelift-bforest-0.111.0.bazel | 11 +- .../BUILD.cranelift-bitset-0.111.0.bazel | 11 +- .../BUILD.cranelift-codegen-0.111.0.bazel | 39 +++- ...BUILD.cranelift-codegen-meta-0.111.0.bazel | 11 +- ...ILD.cranelift-codegen-shared-0.111.0.bazel | 11 +- .../BUILD.cranelift-control-0.111.0.bazel | 11 +- .../BUILD.cranelift-entity-0.111.0.bazel | 11 +- .../BUILD.cranelift-frontend-0.111.0.bazel | 11 +- .../remote/BUILD.cranelift-isle-0.111.0.bazel | 39 +++- .../BUILD.cranelift-native-0.111.0.bazel | 14 +- .../remote/BUILD.cranelift-wasm-0.111.0.bazel | 11 +- .../remote/BUILD.crc32fast-1.4.2.bazel | 11 +- .../wasmtime/remote/BUILD.either-1.13.0.bazel | 11 +- .../remote/BUILD.embedded-io-0.4.0.bazel | 11 +- .../remote/BUILD.env_logger-0.10.2.bazel | 11 +- .../remote/BUILD.equivalent-1.0.1.bazel | 11 +- .../wasmtime/remote/BUILD.errno-0.3.9.bazel | 37 +++- .../BUILD.fallible-iterator-0.3.0.bazel | 11 +- .../wasmtime/remote/BUILD.gimli-0.29.0.bazel | 11 +- .../remote/BUILD.hashbrown-0.13.2.bazel | 11 +- .../remote/BUILD.hashbrown-0.14.5.bazel | 11 +- .../wasmtime/remote/BUILD.heck-0.4.1.bazel | 14 +- .../remote/BUILD.hermit-abi-0.3.9.bazel | 11 +- .../remote/BUILD.humantime-2.1.0.bazel | 11 +- .../remote/BUILD.id-arena-2.2.1.bazel | 15 +- .../remote/BUILD.indexmap-2.3.0.bazel | 11 +- .../remote/BUILD.is-terminal-0.4.12.bazel | 37 +++- .../remote/BUILD.itertools-0.12.1.bazel | 11 +- .../wasmtime/remote/BUILD.itoa-1.0.11.bazel | 11 +- .../wasmtime/remote/BUILD.leb128-0.2.5.bazel | 11 +- .../wasmtime/remote/BUILD.libc-0.2.155.bazel | 69 ++++-- .../wasmtime/remote/BUILD.libm-0.2.8.bazel | 39 +++- .../remote/BUILD.linux-raw-sys-0.4.14.bazel | 23 +- .../wasmtime/remote/BUILD.log-0.4.22.bazel | 11 +- .../wasmtime/remote/BUILD.mach2-0.4.2.bazel | 11 +- .../wasmtime/remote/BUILD.memchr-2.7.4.bazel | 11 +- .../wasmtime/remote/BUILD.memfd-0.6.4.bazel | 11 +- .../wasmtime/remote/BUILD.object-0.36.2.bazel | 11 +- .../remote/BUILD.once_cell-1.19.0.bazel | 11 +- .../wasmtime/remote/BUILD.paste-1.0.15.bazel | 39 +++- .../BUILD.pin-project-lite-0.2.14.bazel | 11 +- .../remote/BUILD.postcard-1.0.8.bazel | 11 +- .../remote/BUILD.proc-macro2-1.0.86.bazel | 39 +++- .../wasmtime/remote/BUILD.psm-0.1.21.bazel | 39 +++- .../wasmtime/remote/BUILD.quote-1.0.36.bazel | 11 +- .../remote/BUILD.regalloc2-0.9.3.bazel | 11 +- .../wasmtime/remote/BUILD.regex-1.10.5.bazel | 11 +- .../remote/BUILD.regex-automata-0.4.7.bazel | 11 +- .../remote/BUILD.regex-syntax-0.8.4.bazel | 11 +- .../remote/BUILD.rustc-hash-1.1.0.bazel | 11 +- .../remote/BUILD.rustix-0.38.34.bazel | 199 ++++++++++++------ .../wasmtime/remote/BUILD.ryu-1.0.18.bazel | 11 +- .../wasmtime/remote/BUILD.semver-1.0.23.bazel | 39 +++- .../wasmtime/remote/BUILD.serde-1.0.204.bazel | 39 +++- .../remote/BUILD.serde_derive-1.0.204.bazel | 11 +- .../remote/BUILD.serde_json-1.0.120.bazel | 47 ++++- .../remote/BUILD.slice-group-by-0.3.1.bazel | 11 +- .../remote/BUILD.smallvec-1.13.2.bazel | 11 +- .../wasmtime/remote/BUILD.sptr-0.3.2.bazel | 11 +- .../BUILD.stable_deref_trait-1.2.0.bazel | 11 +- .../wasmtime/remote/BUILD.syn-2.0.72.bazel | 11 +- .../remote/BUILD.target-lexicon-0.12.16.bazel | 39 +++- .../remote/BUILD.termcolor-1.4.1.bazel | 11 +- .../remote/BUILD.thiserror-1.0.63.bazel | 39 +++- .../remote/BUILD.thiserror-impl-1.0.63.bazel | 11 +- .../remote/BUILD.tracing-0.1.40.bazel | 11 +- .../BUILD.tracing-attributes-0.1.27.bazel | 11 +- .../remote/BUILD.tracing-core-0.1.32.bazel | 11 +- .../remote/BUILD.unicode-ident-1.0.12.bazel | 11 +- .../remote/BUILD.unicode-xid-0.2.4.bazel | 14 +- .../remote/BUILD.version_check-0.9.5.bazel | 11 +- .../remote/BUILD.wasm-encoder-0.215.0.bazel | 11 +- .../remote/BUILD.wasmparser-0.215.0.bazel | 11 +- .../remote/BUILD.wasmprinter-0.215.0.bazel | 11 +- .../remote/BUILD.wasmtime-24.0.0.bazel | 134 +++++++----- .../BUILD.wasmtime-asm-macros-24.0.0.bazel | 11 +- .../BUILD.wasmtime-c-api-macros-24.0.0.bazel | 11 +- ...UILD.wasmtime-component-macro-24.0.0.bazel | 39 +++- ...BUILD.wasmtime-component-util-24.0.0.bazel | 11 +- .../BUILD.wasmtime-cranelift-24.0.0.bazel | 11 +- .../BUILD.wasmtime-environ-24.0.0.bazel | 11 +- ...wasmtime-jit-icache-coherence-24.0.0.bazel | 14 +- .../remote/BUILD.wasmtime-slab-24.0.0.bazel | 11 +- .../remote/BUILD.wasmtime-types-24.0.0.bazel | 11 +- ...mtime-versioned-export-macros-24.0.0.bazel | 11 +- .../BUILD.wasmtime-wit-bindgen-24.0.0.bazel | 11 +- .../remote/BUILD.winapi-util-0.1.8.bazel | 11 +- .../remote/BUILD.windows-sys-0.52.0.bazel | 11 +- .../remote/BUILD.windows-targets-0.52.6.bazel | 11 +- ...BUILD.windows_aarch64_gnullvm-0.52.6.bazel | 39 +++- .../BUILD.windows_aarch64_msvc-0.52.6.bazel | 39 +++- .../BUILD.windows_i686_gnu-0.52.6.bazel | 39 +++- .../BUILD.windows_i686_gnullvm-0.52.6.bazel | 39 +++- .../BUILD.windows_i686_msvc-0.52.6.bazel | 39 +++- .../BUILD.windows_x86_64_gnu-0.52.6.bazel | 39 +++- .../BUILD.windows_x86_64_gnullvm-0.52.6.bazel | 39 +++- .../BUILD.windows_x86_64_msvc-0.52.6.bazel | 39 +++- .../remote/BUILD.wit-parser-0.215.0.bazel | 17 +- .../remote/BUILD.zerocopy-0.7.35.bazel | 11 +- .../remote/BUILD.zerocopy-derive-0.7.35.bazel | 11 +- bazel/cargo/wasmtime/remote/defs.bzl | 49 +++-- 111 files changed, 2044 insertions(+), 379 deletions(-) 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 3efe4bb2b..420865953 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ahash-0.8.11.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "ahash", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -56,15 +68,15 @@ rust_library( "@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-fuchsia": [ + "@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"))) ], @@ -74,6 +86,9 @@ rust_library( "@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:aarch64-unknown-uefi": [ + "@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"))) ], @@ -104,25 +119,34 @@ rust_library( "@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-linux-gnu": [ + "@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:wasm32-unknown-emscripten": [ + "@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": [ + "@rules_rust//rust/platform:wasm32-wasip1": [ "@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": [ + "@rules_rust//rust/platform:wasm32-wasip1-threads": [ "@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": [ + "@rules_rust//rust/platform:wasm32-wasip2": [ "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) ], - "@rules_rust//rust/platform:x86_64-fuchsia": [ + "@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-linux-android": [ @@ -134,6 +158,9 @@ rust_library( "@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-fuchsia": [ + "@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"))) ], @@ -143,15 +170,31 @@ rust_library( "@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"))) ], + "@rules_rust//rust/platform:x86_64-unknown-uefi": [ + "@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none"))) + ], "//conditions:default": [], }), ) cargo_build_script( - name = "ahash_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -168,6 +211,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "ahash", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -187,6 +234,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":ahash_bs", + actual = ":_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 193a2843c..2d8e211ab 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "aho_corasick", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 3021b737f..6aefed0a6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "anyhow", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +44,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -52,10 +64,23 @@ rust_library( ) cargo_build_script( - name = "anyhow_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -76,6 +101,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "anyhow", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -92,6 +121,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":anyhow_bs", + actual = ":_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 d36ba3e9a..771827c3c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "arbitrary", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.bazel b/bazel/cargo/wasmtime/remote/BUILD.bazel index db793c6e6..0bf523996 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bazel @@ -31,42 +31,84 @@ filegroup( ) # Workspace Member Dependencies +alias( + name = "anyhow-1.0.86", + actual = "@cu__anyhow-1.0.86//:anyhow", + tags = ["manual"], +) + alias( name = "anyhow", actual = "@cu__anyhow-1.0.86//:anyhow", tags = ["manual"], ) +alias( + name = "env_logger-0.10.2", + actual = "@cu__env_logger-0.10.2//:env_logger", + tags = ["manual"], +) + alias( name = "env_logger", actual = "@cu__env_logger-0.10.2//:env_logger", tags = ["manual"], ) +alias( + name = "log-0.4.22", + actual = "@cu__log-0.4.22//:log", + tags = ["manual"], +) + alias( name = "log", actual = "@cu__log-0.4.22//:log", tags = ["manual"], ) +alias( + name = "once_cell-1.19.0", + actual = "@cu__once_cell-1.19.0//:once_cell", + tags = ["manual"], +) + alias( name = "once_cell", actual = "@cu__once_cell-1.19.0//:once_cell", tags = ["manual"], ) +alias( + name = "tracing-0.1.40", + actual = "@cu__tracing-0.1.40//:tracing", + tags = ["manual"], +) + alias( name = "tracing", actual = "@cu__tracing-0.1.40//:tracing", tags = ["manual"], ) +alias( + name = "wasmtime-24.0.0", + actual = "@cu__wasmtime-24.0.0//:wasmtime", + tags = ["manual"], +) + alias( name = "wasmtime", actual = "@cu__wasmtime-24.0.0//:wasmtime", tags = ["manual"], ) +alias( + name = "wasmtime-c-api-macros-24.0.0", + actual = "@cu__wasmtime-c-api-macros-24.0.0//:wasmtime_c_api_macros", + tags = ["manual"], +) + alias( name = "wasmtime-c-api-macros", actual = "@cu__wasmtime-c-api-macros-24.0.0//:wasmtime_c_api_macros", 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 31767882b..0566e55ea 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bitflags-2.6.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "bitflags", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -38,17 +44,17 @@ rust_library( "@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-fuchsia": [ + "std", # aarch64-unknown-fuchsia + ], "@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 + "std", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ "std", # aarch64-unknown-nto-qnx710 @@ -77,34 +83,43 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ "std", # powerpc-unknown-linux-gnu ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "std", # riscv64gc-unknown-linux-gnu + ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "std", # s390x-unknown-linux-gnu ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "std", # wasm32-unknown-emscripten + ], "@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-fuchsia": [ + "std", # x86_64-unknown-fuchsia + ], "@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 + "std", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu ], "//conditions:default": [], }), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 2dd737714..59a5d467c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.16.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "bumpalo", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.7.bazel b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.7.bazel index 14f88e535..e412c8dec 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.7.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cc-1.1.7.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cc", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 f9019274b..873de00fc 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cfg_if", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cobs-0.2.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.cobs-0.2.3.bazel index 00da2e823..cb29b8dfc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cobs-0.2.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cobs-0.2.3.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cobs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.111.0.bazel index a4651a993..33d2d7800 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_bforest", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.111.0.bazel index 7d70417f0..2c47780b7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-bitset-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_bitset", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -36,6 +42,9 @@ rust_library( proc_macro_deps = [ "@cu__serde_derive-1.0.204//:serde_derive", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.111.0.bazel index cb569892f..bfa4d11f6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.111.0.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_codegen", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -38,6 +47,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -68,10 +80,23 @@ rust_library( ) cargo_build_script( - name = "cranelift-codegen_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "gimli", @@ -95,6 +120,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "cranelift-codegen", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -115,6 +144,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":cranelift-codegen_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.111.0.bazel index 9ccb599a1..0134446bb 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_codegen_meta", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.111.0.bazel index 8820100ff..c517dfdf1 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_codegen_shared", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.111.0.bazel index 51c64ada2..a39be0fc7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-control-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_control", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 index f59f1f47b..02af1d429 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-entity-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_entity", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -38,6 +44,9 @@ rust_library( proc_macro_deps = [ "@cu__serde_derive-1.0.204//:serde_derive", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.111.0.bazel index b1ae57324..34815b864 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-frontend-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_frontend", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.111.0.bazel index 687a5406a..2f938dd6f 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-isle-0.111.0.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_isle", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +43,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -51,10 +63,23 @@ rust_library( ) cargo_build_script( - name = "cranelift-isle_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -74,6 +99,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "cranelift-isle", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -90,6 +119,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":cranelift-isle_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.111.0.bazel index c6b0a99f0..628e6ddb8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-native-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_native", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -49,6 +58,9 @@ rust_library( "@cu__cranelift-codegen-0.111.0//:cranelift_codegen", "@cu__target-lexicon-0.12.16//:target_lexicon", ] + select({ + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "@cu__libc-0.2.155//:libc", # cfg(any(target_arch = "s390x", target_arch = "riscv64")) + ], "@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.111.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.111.0.bazel index 38d4bb412..901d06c54 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.111.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.cranelift-wasm-0.111.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "cranelift_wasm", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 063a0afb7..5854a76dc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.crc32fast-1.4.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "crc32fast", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 043006849..d29f48c4b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.either-1.13.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "either", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.embedded-io-0.4.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.embedded-io-0.4.0.bazel index c9ef73301..fc1cc6bb6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.embedded-io-0.4.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.embedded-io-0.4.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "embedded_io", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 ce9eb6262..417a7159c 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "env_logger", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -37,6 +43,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.equivalent-1.0.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.equivalent-1.0.1.bazel index c3be9a81d..f47388aec 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.equivalent-1.0.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.equivalent-1.0.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "equivalent", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 904e5aba0..895db7755 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.errno-0.3.9.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "errno", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -54,15 +63,15 @@ rust_library( "@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-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], @@ -99,10 +108,22 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:riscv64gc-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": [ + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "@cu__libc-0.2.155//:libc", # cfg(unix) + ], + "@rules_rust//rust/platform:wasm32-wasip1": [ + "@cu__libc-0.2.155//:libc", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:wasm32-wasip1-threads": [ + "@cu__libc-0.2.155//:libc", # cfg(target_os = "wasi") + ], + "@rules_rust//rust/platform:wasm32-wasip2": [ "@cu__libc-0.2.155//:libc", # cfg(target_os = "wasi") ], "@rules_rust//rust/platform:x86_64-apple-darwin": [ @@ -111,9 +132,6 @@ rust_library( "@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) ], @@ -123,6 +141,9 @@ rust_library( "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ "@cu__libc-0.2.155//:libc", # cfg(unix) ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@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) ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.3.0.bazel index b2bdbf6fc..5bbc6ca7e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.3.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.fallible-iterator-0.3.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "fallible_iterator", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.29.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.29.0.bazel index 852f5bdee..e612042fc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.gimli-0.29.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.gimli-0.29.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "gimli", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -36,6 +42,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 4bcf220d3..f7ed079a4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.13.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "hashbrown", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +41,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.14.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.14.5.bazel index 921bfbbea..ed04a5ff3 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.14.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.hashbrown-0.14.5.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "hashbrown", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +41,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.heck-0.4.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.heck-0.4.1.bazel index 5f94cda10..c30fca805 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.heck-0.4.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.heck-0.4.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "heck", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,8 +34,14 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 75dff9155..519b1dc8d 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "hermit_abi", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 d1691cafd..85b3772f9 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.humantime-2.1.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "humantime", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.id-arena-2.2.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.id-arena-2.2.1.bazel index 1248a97fb..8ea00bdfa 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.id-arena-2.2.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.id-arena-2.2.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "id_arena", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,8 +34,15 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + "std", + ], crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.3.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.3.0.bazel index 07d4be633..f5e52d912 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.3.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.indexmap-2.3.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "indexmap", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +41,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 84a3f0fb0..2e255f53f 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "is_terminal", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -51,15 +60,15 @@ rust_library( "@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-fuchsia": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) ], @@ -96,19 +105,28 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) ], + "@rules_rust//rust/platform:riscv64gc-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": [ + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) ], - "@rules_rust//rust/platform:x86_64-apple-darwin": [ + "@rules_rust//rust/platform:wasm32-wasip1": [ "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) ], - "@rules_rust//rust/platform:x86_64-apple-ios": [ + "@rules_rust//rust/platform:wasm32-wasip1-threads": [ + "@cu__libc-0.2.155//:libc", # cfg(any(unix, target_os = "wasi")) + ], + "@rules_rust//rust/platform:wasm32-wasip2": [ + "@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-fuchsia": [ + "@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-linux-android": [ @@ -120,6 +138,9 @@ rust_library( "@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-fuchsia": [ + "@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")) ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.12.1.bazel b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.12.1.bazel index 6578e4624..2494c2060 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itertools-0.12.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itertools-0.12.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "itertools", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +41,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 71c5cae88..a33c4e714 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.itoa-1.0.11.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "itoa", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel b/bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel index 12f06a0c6..60b61272a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.leb128-0.2.5.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "leb128", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 07f451864..896d5b171 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libc-0.2.155.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "libc", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -42,12 +51,12 @@ rust_library( "@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-fuchsia": [ + "extra_traits", # aarch64-unknown-fuchsia + ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ "extra_traits", # aarch64-unknown-nto-qnx710 ], @@ -69,25 +78,31 @@ rust_library( "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "extra_traits", # s390x-unknown-linux-gnu ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "extra_traits", # wasm32-unknown-emscripten + ], "@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-fuchsia": [ + "extra_traits", # x86_64-unknown-fuchsia + ], "//conditions:default": [], }), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -105,10 +120,23 @@ rust_library( ) cargo_build_script( - name = "libc_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -123,12 +151,12 @@ cargo_build_script( "@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-fuchsia": [ + "extra_traits", # aarch64-unknown-fuchsia + ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ "extra_traits", # aarch64-unknown-nto-qnx710 ], @@ -150,21 +178,24 @@ cargo_build_script( "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "extra_traits", # s390x-unknown-linux-gnu ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "extra_traits", # wasm32-unknown-emscripten + ], "@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-fuchsia": [ + "extra_traits", # x86_64-unknown-fuchsia + ], "//conditions:default": [], }), crate_name = "build_script_build", @@ -182,6 +213,10 @@ cargo_build_script( ], ), edition = "2015", + pkg_name = "libc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -198,6 +233,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":libc_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.libm-0.2.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.libm-0.2.8.bazel index cf70de29c..a7fba65ed 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.libm-0.2.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.libm-0.2.8.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "libm", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +43,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -51,10 +63,23 @@ rust_library( ) cargo_build_script( - name = "libm_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -74,6 +99,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "libm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -90,6 +119,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":libm_bs", + actual = ":_bs", tags = ["manual"], ) 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 733fee359..d9860409e 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "linux_raw_sys", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -38,8 +44,8 @@ rust_library( "errno", # aarch64-unknown-linux-gnu ], "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "elf", # aarch64-unknown-nixos-gnu - "errno", # aarch64-unknown-nixos-gnu + "elf", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu + "errno", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "elf", # arm-unknown-linux-gnueabi @@ -53,18 +59,25 @@ rust_library( "elf", # i686-unknown-linux-gnu "errno", # i686-unknown-linux-gnu ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "elf", # riscv64gc-unknown-linux-gnu + "errno", # riscv64gc-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 + "elf", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu + "errno", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu ], "//conditions:default": [], }), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 7afd4d234..ba6f7fef4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.log-0.4.22.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "log", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.mach2-0.4.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.mach2-0.4.2.bazel index 6c5f412cc..5b3487ae6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.mach2-0.4.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.mach2-0.4.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "mach2", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 bee4bd07c..dab5cbc8b 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memchr-2.7.4.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "memchr", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 db840ec0d..433d4d1ff 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.memfd-0.6.4.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "memfd", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.object-0.36.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.object-0.36.2.bazel index 11133ca1e..3a468bb9e 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.object-0.36.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.object-0.36.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "object", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -42,6 +48,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 d4155cdc0..404899a18 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "once_cell", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -36,6 +42,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 aa2c97e31..c9f63ed44 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.paste-1.0.15.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "paste", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_proc_macro( ) cargo_build_script( - name = "paste_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "paste", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":paste_bs", + actual = ":_bs", tags = ["manual"], ) 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 index 65aba34bd..f8429234d 100644 --- 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "pin_project_lite", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.postcard-1.0.8.bazel b/bazel/cargo/wasmtime/remote/BUILD.postcard-1.0.8.bazel index d3af18cb4..1a7a3bee4 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.postcard-1.0.8.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.postcard-1.0.8.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "postcard", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +41,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 f5ffa7899..81882e4af 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "proc_macro2", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +44,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -53,10 +65,23 @@ rust_library( ) cargo_build_script( - name = "proc-macro2_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -77,6 +102,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "proc-macro2", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -93,6 +122,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":proc-macro2_bs", + actual = ":_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 ec02d2243..1a9be3ad7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.psm-0.1.21.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "psm", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "psm_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2015", + pkg_name = "psm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -87,6 +116,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":psm_bs", + actual = ":_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 3ad108f8f..14e84e612 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.quote-1.0.36.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "quote", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.9.3.bazel b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.9.3.bazel index cbd3ed5fd..a973842b2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.9.3.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regalloc2-0.9.3.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "regalloc2", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -36,6 +42,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 efdf89bd0..33cd9e922 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.regex-1.10.5.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "regex", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -40,6 +46,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 da56abc92..b95fba8c5 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "regex_automata", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -45,6 +51,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 36b411c94..6ff8c9312 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "regex_syntax", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 4892ae611..ac5c27948 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "rustc_hash", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 8cde617b3..562b6114c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.rustix-0.38.34.bazel @@ -6,56 +6,68 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "rustix", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), 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"))))))) + "@cu__errno-0.3.9//:errno": "libc_errno", # aarch64-apple-darwin, 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"))))))) + "@cu__errno-0.3.9//:errno": "libc_errno", # aarch64-apple-ios, 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"))))))) + "@cu__errno-0.3.9//:errno": "libc_errno", # aarch64-apple-ios-sim, 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"))))))) + "@cu__errno-0.3.9//:errno": "libc_errno", # aarch64-linux-android, 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-fuchsia": { + "@cu__errno-0.3.9//:errno": "libc_errno", # aarch64-unknown-fuchsia, 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-unknown-nto-qnx710": { + "@cu__errno-0.3.9//:errno": "libc_errno", # aarch64-unknown-nto-qnx710, 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-unknown-uefi": { "@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"))))))) + "@cu__errno-0.3.9//:errno": "libc_errno", # armv7-linux-androideabi, 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-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"))))))) + "@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"))))))), i686-apple-darwin }, "@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"))))))) + "@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"))))))), i686-linux-android }, "@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"))))))) + "@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"))))))), i686-unknown-freebsd }, "@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"))))))) + "@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"))))))), powerpc-unknown-linux-gnu }, "@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"))))))) @@ -64,7 +76,7 @@ rust_library( "@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"))))))) + "@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"))))))), s390x-unknown-linux-gnu }, "@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"))))))) @@ -72,33 +84,45 @@ rust_library( "@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-emscripten": { + "@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"))))))), wasm32-unknown-emscripten + }, "@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": { + "@rules_rust//rust/platform:wasm32-wasip1": { "@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": { + "@rules_rust//rust/platform:wasm32-wasip1-threads": { "@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": { + "@rules_rust//rust/platform:wasm32-wasip2": { "@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-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"))))))), x86_64-apple-darwin + }, + "@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"))))))), x86_64-apple-ios }, "@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"))))))) + "@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"))))))), x86_64-linux-android }, "@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"))))))) + "@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"))))))), x86_64-unknown-freebsd + }, + "@rules_rust//rust/platform:x86_64-unknown-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"))))))), x86_64-unknown-fuchsia }, "@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"))))))) }, + "@rules_rust//rust/platform:x86_64-unknown-uefi": { + "@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( @@ -125,7 +149,7 @@ rust_library( "fs", # aarch64-unknown-linux-gnu ], "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "fs", # aarch64-unknown-nixos-gnu + "fs", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "fs", # arm-unknown-linux-gnueabi @@ -139,6 +163,9 @@ rust_library( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ "fs", # powerpc-unknown-linux-gnu ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "fs", # riscv64gc-unknown-linux-gnu + ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "fs", # s390x-unknown-linux-gnu ], @@ -146,12 +173,15 @@ rust_library( "fs", # x86_64-unknown-linux-gnu ], "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "fs", # x86_64-unknown-nixos-gnu + "fs", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu ], "//conditions:default": [], }), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -168,30 +198,30 @@ rust_library( "@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"))))))) + "@cu__errno-0.3.9//:errno", # aarch64-apple-darwin, 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", # aarch64-apple-darwin, 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"))))))) + "@cu__errno-0.3.9//:errno", # aarch64-apple-ios, 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", # aarch64-apple-ios, 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"))))))) + "@cu__errno-0.3.9//:errno", # aarch64-apple-ios-sim, 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", # aarch64-apple-ios-sim, 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__errno-0.3.9//:errno", # aarch64-linux-android, 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", # aarch64-linux-android, 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-fuchsia": [ + "@cu__errno-0.3.9//:errno", # aarch64-unknown-fuchsia, 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", # aarch64-unknown-fuchsia, 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-unknown-linux-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")))) ], @@ -199,6 +229,10 @@ rust_library( "@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", # aarch64-unknown-nto-qnx710, 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", # aarch64-unknown-nto-qnx710, 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-unknown-uefi": [ "@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"))))))) ], @@ -206,20 +240,20 @@ rust_library( "@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__errno-0.3.9//:errno", # armv7-linux-androideabi, 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", # armv7-linux-androideabi, 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__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"))))))) + "@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"))))))), i686-apple-darwin + "@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"))))))), i686-apple-darwin ], "@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__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"))))))), i686-linux-android + "@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"))))))), i686-linux-android "@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": [ @@ -227,28 +261,31 @@ rust_library( "@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"))))))) + "@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"))))))), i686-unknown-freebsd + "@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"))))))), i686-unknown-freebsd ], "@rules_rust//rust/platform:i686-unknown-linux-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: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__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"))))))), powerpc-unknown-linux-gnu + "@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"))))))), powerpc-unknown-linux-gnu "@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-linux-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: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__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"))))))), s390x-unknown-linux-gnu + "@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"))))))), s390x-unknown-linux-gnu "@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": [ @@ -259,29 +296,37 @@ rust_library( "@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-emscripten": [ + "@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"))))))), wasm32-unknown-emscripten + "@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"))))))), wasm32-unknown-emscripten + ], "@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": [ + "@rules_rust//rust/platform:wasm32-wasip1": [ "@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": [ + "@rules_rust//rust/platform:wasm32-wasip1-threads": [ "@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": [ + "@rules_rust//rust/platform:wasm32-wasip2": [ "@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-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"))))))), x86_64-apple-darwin + "@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"))))))), x86_64-apple-darwin + ], + "@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"))))))), x86_64-apple-ios + "@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"))))))), x86_64-apple-ios ], "@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__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"))))))), x86_64-linux-android + "@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"))))))), x86_64-linux-android "@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": [ @@ -289,8 +334,12 @@ rust_library( "@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"))))))) + "@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"))))))), x86_64-unknown-freebsd + "@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"))))))), x86_64-unknown-freebsd + ], + "@rules_rust//rust/platform:x86_64-unknown-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"))))))), x86_64-unknown-fuchsia + "@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"))))))), x86_64-unknown-fuchsia ], "@rules_rust//rust/platform:x86_64-unknown-linux-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")))) @@ -302,15 +351,32 @@ rust_library( "@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-uefi": [ + "@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_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "alloc", @@ -324,7 +390,7 @@ cargo_build_script( "fs", # aarch64-unknown-linux-gnu ], "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "fs", # aarch64-unknown-nixos-gnu + "fs", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ "fs", # arm-unknown-linux-gnueabi @@ -338,6 +404,9 @@ cargo_build_script( "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ "fs", # powerpc-unknown-linux-gnu ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "fs", # riscv64gc-unknown-linux-gnu + ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ "fs", # s390x-unknown-linux-gnu ], @@ -345,7 +414,7 @@ cargo_build_script( "fs", # x86_64-unknown-linux-gnu ], "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "fs", # x86_64-unknown-nixos-gnu + "fs", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu ], "//conditions:default": [], }), @@ -364,6 +433,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "rustix", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -380,6 +453,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":rustix_bs", + actual = ":_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 59399d34a..eb4b8d02a 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.ryu-1.0.18.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "ryu", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.semver-1.0.23.bazel b/bazel/cargo/wasmtime/remote/BUILD.semver-1.0.23.bazel index cb1d7f86c..9f72364a8 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.semver-1.0.23.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.semver-1.0.23.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "semver", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "semver_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "semver", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":semver_bs", + actual = ":_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 7e417ffd9..57a732736 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.serde-1.0.204.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "serde", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -40,6 +49,9 @@ rust_library( proc_macro_deps = [ "@cu__serde_derive-1.0.204//:serde_derive", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -57,10 +69,23 @@ rust_library( ) cargo_build_script( - name = "serde_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "alloc", @@ -83,6 +108,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "serde", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -99,6 +128,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":serde_bs", + actual = ":_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 ef5fe8588..c787f4578 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "serde_derive", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_proc_macro( ], crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 108736275..6a795c695 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "serde_json", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -29,8 +38,15 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + "std", + ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -51,11 +67,28 @@ rust_library( ) cargo_build_script( - name = "serde_json_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + "std", + ], crate_name = "build_script_build", crate_root = "build.rs", data = glob( @@ -71,6 +104,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "serde_json", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -87,6 +124,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":serde_json_bs", + actual = ":_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 8f7e3cdc9..c881bd026 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "slice_group_by", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 d6bcdee92..c54ca9bbf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.smallvec-1.13.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "smallvec", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.sptr-0.3.2.bazel b/bazel/cargo/wasmtime/remote/BUILD.sptr-0.3.2.bazel index e4da3ae80..a2d0055ba 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.sptr-0.3.2.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.sptr-0.3.2.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "sptr", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 3bce00c61..976981d90 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "stable_deref_trait", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 acacb26fd..018f21bbe 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.syn-2.0.72.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "syn", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -41,6 +47,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.16.bazel b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.16.bazel index 200965695..f283f2840 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.16.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.target-lexicon-0.12.16.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "target_lexicon", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +43,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -51,10 +63,23 @@ rust_library( ) cargo_build_script( - name = "target-lexicon_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "default", @@ -74,6 +99,10 @@ cargo_build_script( ], ), edition = "2018", + pkg_name = "target-lexicon", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -90,6 +119,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":target-lexicon_bs", + actual = ":_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 ccdaaf3f8..651963e15 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.termcolor-1.4.1.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "termcolor", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 075c39ee8..e71655d6d 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.thiserror-1.0.63.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "thiserror", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +43,9 @@ rust_library( proc_macro_deps = [ "@cu__thiserror-impl-1.0.63//:thiserror_impl", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -51,10 +63,23 @@ rust_library( ) cargo_build_script( - name = "thiserror_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -71,6 +96,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "thiserror", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -87,6 +116,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":thiserror_bs", + actual = ":_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 827631585..d0c4919dc 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "thiserror_impl", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.tracing-0.1.40.bazel b/bazel/cargo/wasmtime/remote/BUILD.tracing-0.1.40.bazel index e8bbf2590..5673bacde 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tracing-0.1.40.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tracing-0.1.40.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "tracing", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -39,6 +45,9 @@ rust_library( proc_macro_deps = [ "@cu__tracing-attributes-0.1.27//:tracing_attributes", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.tracing-attributes-0.1.27.bazel b/bazel/cargo/wasmtime/remote/BUILD.tracing-attributes-0.1.27.bazel index 8dc144d30..141925873 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tracing-attributes-0.1.27.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tracing-attributes-0.1.27.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "tracing_attributes", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.tracing-core-0.1.32.bazel b/bazel/cargo/wasmtime/remote/BUILD.tracing-core-0.1.32.bazel index cd5b7378b..24fdc7787 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.tracing-core-0.1.32.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.tracing-core-0.1.32.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "tracing_core", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -34,6 +40,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 e21e8cd07..8a3e41651 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "unicode_ident", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 index a8b5dda0b..f219de9a7 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.4.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.unicode-xid-0.2.4.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "unicode_xid", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,8 +34,14 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "default", + ], crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 e24cea268..391f6af95 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "version_check", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2015", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.215.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.215.0.bazel index e24ef2076..fcad4f5c0 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.215.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasm-encoder-0.215.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasm_encoder", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.215.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.215.0.bazel index 3f3d22eb9..81ee774cc 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.215.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmparser-0.215.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmparser", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -35,6 +41,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel index 5ee382b0f..cd6241a15 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmprinter-0.215.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmprinter", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-24.0.0.bazel index 1f77ab476..e78e416e2 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-24.0.0.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -42,6 +51,9 @@ rust_library( "@cu__serde_derive-1.0.204//:serde_derive", "@cu__wasmtime-versioned-export-macros-24.0.0//:wasmtime_versioned_export_macros", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -79,108 +91,128 @@ rust_library( "@cu__wasmtime-slab-24.0.0//:wasmtime_slab", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ - "@cu__mach2-0.4.2//:mach2", # cfg(target_os = "macos") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__mach2-0.4.2//:mach2", # aarch64-apple-darwin + "@cu__rustix-0.38.34//:rustix", # aarch64-apple-darwin ], "@rules_rust//rust/platform:aarch64-apple-ios": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # aarch64-apple-ios ], "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) - ], - "@rules_rust//rust/platform:aarch64-fuchsia": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # aarch64-apple-ios-sim ], "@rules_rust//rust/platform:aarch64-linux-android": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # aarch64-linux-android ], "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # aarch64-pc-windows-msvc + ], + "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [ + "@cu__rustix-0.38.34//:rustix", # aarch64-unknown-fuchsia ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # aarch64-unknown-linux-gnu + "@cu__rustix-0.38.34//:rustix", # aarch64-unknown-linux-gnu ], "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu + "@cu__rustix-0.38.34//:rustix", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu ], "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # aarch64-unknown-nto-qnx710 ], "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # arm-unknown-linux-gnueabi + "@cu__rustix-0.38.34//:rustix", # arm-unknown-linux-gnueabi ], "@rules_rust//rust/platform:armv7-linux-androideabi": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # armv7-linux-androideabi ], "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # armv7-unknown-linux-gnueabi + "@cu__rustix-0.38.34//:rustix", # armv7-unknown-linux-gnueabi ], "@rules_rust//rust/platform:i686-apple-darwin": [ - "@cu__mach2-0.4.2//:mach2", # cfg(target_os = "macos") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__mach2-0.4.2//:mach2", # i686-apple-darwin + "@cu__rustix-0.38.34//:rustix", # i686-apple-darwin ], "@rules_rust//rust/platform:i686-linux-android": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # i686-linux-android ], "@rules_rust//rust/platform:i686-pc-windows-msvc": [ - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # i686-pc-windows-msvc ], "@rules_rust//rust/platform:i686-unknown-freebsd": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # i686-unknown-freebsd ], "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # i686-unknown-linux-gnu + "@cu__rustix-0.38.34//:rustix", # i686-unknown-linux-gnu ], "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # powerpc-unknown-linux-gnu + "@cu__rustix-0.38.34//:rustix", # powerpc-unknown-linux-gnu + ], + "@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu": [ + "@cu__memfd-0.6.4//:memfd", # riscv64gc-unknown-linux-gnu + "@cu__rustix-0.38.34//:rustix", # riscv64gc-unknown-linux-gnu ], "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ - "@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) + "@cu__memfd-0.6.4//:memfd", # s390x-unknown-linux-gnu + "@cu__psm-0.1.21//:psm", # s390x-unknown-linux-gnu + "@cu__rustix-0.38.34//:rustix", # s390x-unknown-linux-gnu + ], + "@rules_rust//rust/platform:wasm32-unknown-emscripten": [ + "@cu__rustix-0.38.34//:rustix", # wasm32-unknown-emscripten ], "@rules_rust//rust/platform:x86_64-apple-darwin": [ - "@cu__mach2-0.4.2//:mach2", # cfg(target_os = "macos") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__mach2-0.4.2//:mach2", # x86_64-apple-darwin + "@cu__rustix-0.38.34//:rustix", # x86_64-apple-darwin ], "@rules_rust//rust/platform:x86_64-apple-ios": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) - ], - "@rules_rust//rust/platform:x86_64-fuchsia": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # x86_64-apple-ios ], "@rules_rust//rust/platform:x86_64-linux-android": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # x86_64-linux-android ], "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ - "@cu__windows-sys-0.52.0//:windows_sys", # cfg(target_os = "windows") + "@cu__windows-sys-0.52.0//:windows_sys", # x86_64-pc-windows-msvc ], "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__rustix-0.38.34//:rustix", # x86_64-unknown-freebsd + ], + "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [ + "@cu__rustix-0.38.34//:rustix", # x86_64-unknown-fuchsia ], "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # x86_64-unknown-linux-gnu + "@cu__rustix-0.38.34//:rustix", # x86_64-unknown-linux-gnu ], "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [ - "@cu__memfd-0.6.4//:memfd", # cfg(target_os = "linux") - "@cu__rustix-0.38.34//:rustix", # cfg(unix) + "@cu__memfd-0.6.4//:memfd", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu + "@cu__rustix-0.38.34//:rustix", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu ], "//conditions:default": [], }), ) cargo_build_script( - name = "wasmtime_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_features = [ "cranelift", @@ -203,9 +235,13 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "wasmtime", proc_macro_deps = [ "@cu__wasmtime-versioned-export-macros-24.0.0//:wasmtime_versioned_export_macros", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -225,6 +261,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":wasmtime_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-24.0.0.bazel index d90c660db..5b883981c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-asm-macros-24.0.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_asm_macros", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-24.0.0.bazel index 735e52d30..eeec9a789 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-macros-24.0.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "wasmtime_c_api_macros", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-macro-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-macro-24.0.0.bazel index 5e50e4fc8..30add7a43 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-macro-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-component-macro-24.0.0.bazel @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "wasmtime_component_macro", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -55,10 +67,23 @@ rust_proc_macro( ) cargo_build_script( - name = "wasmtime-component-macro_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -75,6 +100,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "wasmtime-component-macro", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -91,6 +120,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":wasmtime-component-macro_bs", + actual = ":_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 index 9823cd36b..4730a5c58 100644 --- 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_component_util", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-24.0.0.bazel index 4687bb7c8..35432a774 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-cranelift-24.0.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_cranelift", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -36,6 +42,9 @@ rust_library( proc_macro_deps = [ "@cu__wasmtime-versioned-export-macros-24.0.0//:wasmtime_versioned_export_macros", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 index 879839848..344f2e2a6 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-environ-24.0.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_environ", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -38,6 +44,9 @@ rust_library( proc_macro_deps = [ "@cu__serde_derive-1.0.204//:serde_derive", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel index a1c3e8bdd..df895da72 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-jit-icache-coherence-24.0.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_jit_icache_coherence", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -87,6 +96,9 @@ rust_library( "@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:riscv64gc-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")) ], 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 index 6a2147b54..8ac640baf 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-slab-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-slab-24.0.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_slab", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 index 4305c4a59..290b53136 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-24.0.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wasmtime-types-24.0.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_types", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -36,6 +42,9 @@ rust_library( proc_macro_deps = [ "@cu__serde_derive-1.0.204//:serde_derive", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 index 27dcf699a..a16e49c78 100644 --- 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "wasmtime_versioned_export_macros", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 index 53a8655c1..50433c3e6 100644 --- 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wasmtime_wit_bindgen", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 7df210fa1..ae8ad9eeb 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "winapi_util", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 eaa163139..4897c0e71 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_sys", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -46,6 +52,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 eddc343ce..85e3b5e9d 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_targets", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 ec79e2200..5e9bff712 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_aarch64_gnullvm", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_aarch64_gnullvm_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_aarch64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_aarch64_gnullvm_bs", + actual = ":_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 47ac38a7a..68bba246a 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_aarch64_msvc", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_aarch64_msvc_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_aarch64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_aarch64_msvc_bs", + actual = ":_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 e3f0ef486..0ef859eaf 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_i686_gnu", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_i686_gnu_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_i686_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_i686_gnu_bs", + actual = ":_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 d89f239b5..d54f3b608 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_i686_gnullvm", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_i686_gnullvm_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_i686_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_i686_gnullvm_bs", + actual = ":_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 f6e758e5b..56be08dd2 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_i686_msvc", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_i686_msvc_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_i686_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_i686_msvc_bs", + actual = ":_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 cbccf337a..3bbaef6ca 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_x86_64_gnu", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_gnu_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_x86_64_gnu", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_x86_64_gnu_bs", + actual = ":_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 91ac1adff..46d7248a1 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_x86_64_gnullvm", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_gnullvm_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_x86_64_gnullvm", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_x86_64_gnullvm_bs", + actual = ":_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 fda09849a..8071b9e5a 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 @@ -6,16 +6,25 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### -load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load( + "@rules_rust//cargo:defs.bzl", + "cargo_build_script", + "cargo_toml_env_vars", +) load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "windows_x86_64_msvc", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -31,6 +40,9 @@ rust_library( ), crate_root = "src/lib.rs", edition = "2021", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -48,10 +60,23 @@ rust_library( ) cargo_build_script( - name = "windows_x86_64_msvc_bs", + name = "_bs", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, + ), + compile_data = glob( + include = ["**"], + allow_empty = True, + exclude = [ + "**/* *", + "**/*.rs", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], ), crate_name = "build_script_build", crate_root = "build.rs", @@ -68,6 +93,10 @@ cargo_build_script( ], ), edition = "2021", + pkg_name = "windows_x86_64_msvc", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], @@ -84,6 +113,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":windows_x86_64_msvc_bs", + actual = ":_bs", tags = ["manual"], ) diff --git a/bazel/cargo/wasmtime/remote/BUILD.wit-parser-0.215.0.bazel b/bazel/cargo/wasmtime/remote/BUILD.wit-parser-0.215.0.bazel index f2e6ad6a2..8e00d6c82 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.wit-parser-0.215.0.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.wit-parser-0.215.0.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "wit_parser", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -28,11 +34,20 @@ rust_library( "WORKSPACE.bazel", ], ), + crate_features = [ + "decoding", + "default", + "serde", + "serde_json", + ], crate_root = "src/lib.rs", edition = "2021", proc_macro_deps = [ "@cu__serde_derive-1.0.204//:serde_derive", ], + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 5bb874604..00db4259c 100644 --- a/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel +++ b/bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_library") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_library( name = "zerocopy", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -33,6 +39,9 @@ rust_library( ], crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], 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 dc6f82dfc..4011b9765 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 @@ -6,15 +6,21 @@ # bazel run @//bazel/cargo/wasmtime:crates_vendor ############################################################################### +load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") load("@rules_rust//rust:defs.bzl", "rust_proc_macro") package(default_visibility = ["//visibility:public"]) +cargo_toml_env_vars( + name = "cargo_toml_env_vars", + src = "Cargo.toml", +) + rust_proc_macro( name = "zerocopy_derive", srcs = glob( include = ["**/*.rs"], - allow_empty = False, + allow_empty = True, ), compile_data = glob( include = ["**"], @@ -30,6 +36,9 @@ rust_proc_macro( ), crate_root = "src/lib.rs", edition = "2018", + rustc_env_files = [ + ":cargo_toml_env_vars", + ], rustc_flags = [ "--cap-lints=allow", ], diff --git a/bazel/cargo/wasmtime/remote/defs.bzl b/bazel/cargo/wasmtime/remote/defs.bzl index 0f2656ce1..6c07701b9 100644 --- a/bazel/cargo/wasmtime/remote/defs.bzl +++ b/bazel/cargo/wasmtime/remote/defs.bzl @@ -296,12 +296,12 @@ def aliases( _NORMAL_DEPENDENCIES = { "bazel/cargo/wasmtime": { _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"), - "tracing": Label("@cu__tracing-0.1.40//:tracing"), - "wasmtime": Label("@cu__wasmtime-24.0.0//:wasmtime"), + "anyhow": Label("@cu//:anyhow-1.0.86"), + "env_logger": Label("@cu//:env_logger-0.10.2"), + "log": Label("@cu//:log-0.4.22"), + "once_cell": Label("@cu//:once_cell-1.19.0"), + "tracing": Label("@cu//:tracing-0.1.40"), + "wasmtime": Label("@cu//:wasmtime-24.0.0"), }, }, } @@ -326,7 +326,7 @@ _NORMAL_DEV_ALIASES = { _PROC_MACRO_DEPENDENCIES = { "bazel/cargo/wasmtime": { _COMMON_CONDITION: { - "wasmtime-c-api-macros": Label("@cu__wasmtime-c-api-macros-24.0.0//:wasmtime_c_api_macros"), + "wasmtime-c-api-macros": Label("@cu//:wasmtime-c-api-macros-24.0.0"), }, }, } @@ -370,37 +370,35 @@ _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-fuchsia": ["@rules_rust//rust/platform:aarch64-unknown-fuchsia"], + "aarch64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-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"], + "aarch64-unknown-uefi": ["@rules_rust//rust/platform:aarch64-unknown-uefi"], "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\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_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\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_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\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_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(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:riscv64gc-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\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_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-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:aarch64-unknown-uefi", "@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-emscripten", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@rules_rust//rust/platform:x86_64-unknown-none", "@rules_rust//rust/platform:x86_64-unknown-uefi"], "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 = \"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(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_arch = \"s390x\", target_arch = \"riscv64\"))": ["@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu", "@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:riscv64gc-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(target_arch = \"s390x\")": ["@rules_rust//rust/platform:s390x-unknown-linux-gnu"], + "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-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@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:riscv64gc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-unknown-emscripten", "@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@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-linux-android", "@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@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:aarch64-unknown-uefi", "@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-linux-gnu", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-unknown-emscripten", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@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-fuchsia", "@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", "@rules_rust//rust/platform:x86_64-unknown-uefi"], "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 = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasip1", "@rules_rust//rust/platform:wasm32-wasip1-threads", "@rules_rust//rust/platform:wasm32-wasip2"], "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: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(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-linux-android", "@rules_rust//rust/platform:aarch64-unknown-fuchsia", "@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:riscv64gc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-unknown-emscripten", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-fuchsia", "@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"], @@ -410,22 +408,27 @@ _CONDITIONS = { "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-linux-gnu": ["@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu"], "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-emscripten": ["@rules_rust//rust/platform:wasm32-unknown-emscripten"], "wasm32-unknown-unknown": ["@rules_rust//rust/platform:wasm32-unknown-unknown"], - "wasm32-wasi": ["@rules_rust//rust/platform:wasm32-wasi"], + "wasm32-wasip1": ["@rules_rust//rust/platform:wasm32-wasip1"], + "wasm32-wasip1-threads": ["@rules_rust//rust/platform:wasm32-wasip1-threads"], + "wasm32-wasip2": ["@rules_rust//rust/platform:wasm32-wasip2"], "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-fuchsia": ["@rules_rust//rust/platform:x86_64-unknown-fuchsia"], + "x86_64-unknown-linux-gnu": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-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"], + "x86_64-unknown-uefi": ["@rules_rust//rust/platform:x86_64-unknown-uefi"], } ############################################################################### From e16d462571d1cd8a256124a2bdb50a4d666a7211 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 21 Dec 2025 21:15:27 +0100 Subject: [PATCH 05/49] Fix Ed25519 public key extraction and improve Trap test robustness Signed-off-by: Matthieu MOREL --- .github/workflows/format.yml | 2 +- .github/workflows/test.yml | 2 +- test/runtime_test.cc | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f48866a1d..a2256985b 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -151,7 +151,7 @@ jobs: --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-)\" + --copt=-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -c3-)\" //... - name: save bazel cache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d95edd07..57848eb41 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -363,7 +363,7 @@ jobs: --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-)\" + --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 -c3-)\" //test:signature_util_test - name: remove unaccessed files from cache diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 84e76320e..fb28d366e 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -158,7 +158,10 @@ TEST_P(TestVm, Trap) { if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); EXPECT_TRUE(host->isErrorLogged(" - std::panicking::begin_panic")); - EXPECT_TRUE(host->isErrorLogged(" - _wasm_trap_wasm::one")); + // Check for the function name 'one' in the backtrace, which may appear with or without + // module prefix depending on Rust compiler version and symbol generation. + bool has_one_symbol = host->isErrorLogged("::one") || host->isErrorLogged(" - one"); + EXPECT_TRUE(has_one_symbol) << "Expected to find '::one' or ' - one' in backtrace"; } } From de47501d07a0df45b41fb285168437b4fd849387 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 21 Dec 2025 22:04:05 +0100 Subject: [PATCH 06/49] Fix runtime_test, signature_util_test, and WasmedGE macOS build failures Signed-off-by: Matthieu MOREL --- .github/workflows/test.yml | 4 ++-- test/test_data/trap.rs | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57848eb41..066aedde9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -244,7 +244,7 @@ jobs: os: macos-15 arch: x86_64 action: test - flags: --config=hermetic-llvm + flags: --config=hermetic-llvm-macos - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' @@ -363,7 +363,7 @@ jobs: --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 -c3-)\" + --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 -c3- | tr -d '\n')\" //test:signature_util_test - name: remove unaccessed files from cache diff --git a/test/test_data/trap.rs b/test/test_data/trap.rs index 467397206..b2e86913d 100644 --- a/test/test_data/trap.rs +++ b/test/test_data/trap.rs @@ -31,14 +31,17 @@ pub extern "C" fn trigger2(_val: i32) -> i32 { 0 } +#[inline(never)] fn one() { two(); } +#[inline(never)] fn two() { three(); } -fn three(){ +#[inline(never)] +fn three() { panic!("trap!"); } From c3117551687994be708ac8e5697150dc6d9f4d00 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 21 Dec 2025 22:41:44 +0100 Subject: [PATCH 07/49] Update Bazel version to 7.7.1 in Dockerfile Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 9b16abeb3..7bbb3addb 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -51,7 +51,7 @@ RUN apt install -y \ unzip # Download Bazel source -ARG BAZEL_VERSION=6.5.0 +ARG BAZEL_VERSION=7.7.1 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 From 99e80d8cb210eded49fd9508ed794293f9b39cb8 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 21 Dec 2025 22:54:46 +0100 Subject: [PATCH 08/49] Update Docker image version in test workflow Signed-off-by: Matthieu MOREL --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 066aedde9..c9734c1d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -274,7 +274,7 @@ jobs: 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-22.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-7.7.1 cache: true - name: 'Wasmtime on macOS/x86_64' engine: 'wasmtime' From d69e9b7bc10b8e9e0d2985822508baaaf65874fa Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 21 Dec 2025 23:05:06 +0100 Subject: [PATCH 09/49] Update Docker image version in test workflow Signed-off-by: Matthieu MOREL --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c9734c1d6..066aedde9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -274,7 +274,7 @@ jobs: 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-22.04-bazel-7.7.1 + 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' From 2472d50d606edf00c391fedc26b37b19ccc58185 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 22 Dec 2025 06:44:13 +0100 Subject: [PATCH 10/49] Fix signature verification to use wasmsign2 "signature" section and upgrade rules_fuzzing for macOS support Signed-off-by: Matthieu MOREL --- bazel/repositories.bzl | 6 +++--- src/signature_util.cc | 8 ++++---- test/signature_util_test.cc | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 786379176..1b0677f41 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -121,9 +121,9 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_fuzzing", - sha256 = "3ec0eee05b243552cc4a784b30323d088bf73cb2177ddda02c827e68981933f1", - strip_prefix = "rules_fuzzing-0.5.2", - urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v0.5.2.tar.gz"], + sha256 = "850897989ebc06567ea06c959eb4a6129fa509ed2dbbd0d147d62d2b986714a9", + strip_prefix = "rules_fuzzing-0.6.0", + urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v0.6.0.tar.gz"], ) maybe( diff --git a/src/signature_util.cc b/src/signature_util.cc index e0e78ecf5..8a5a15ceb 100644 --- a/src/signature_util.cc +++ b/src/signature_util.cc @@ -64,18 +64,18 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess */ std::string_view payload; - if (!BytecodeUtil::getCustomSection(bytecode, "signature_wasmsign", payload)) { + if (!BytecodeUtil::getCustomSection(bytecode, "signature", payload)) { message = "Failed to parse corrupted Wasm module"; return false; } if (payload.empty()) { - message = "Custom Section \"signature_wasmsign\" not found"; + message = "Custom Section \"signature\" not found"; return false; } if (bytecode.data() + bytecode.size() != payload.data() + payload.size()) { - message = "Custom Section \"signature_wasmsign\" not at the end of Wasm module"; + message = "Custom Section \"signature\" not at the end of Wasm module"; return false; } @@ -100,7 +100,7 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess SHA512_Update(&ctx, "WasmSignature", sizeof("WasmSignature") - 1); const uint32_t ad_len = 0; SHA512_Update(&ctx, &ad_len, sizeof(uint32_t)); - const size_t section_len = 3 + sizeof("signature_wasmsign") - 1 + 68; + const size_t section_len = 3 + sizeof("signature") - 1 + 68; SHA512_Update(&ctx, bytecode.data(), bytecode.size() - section_len); uint8_t hash[SHA512_DIGEST_LENGTH]; SHA512_Final(hash, &ctx); diff --git a/test/signature_util_test.cc b/test/signature_util_test.cc index f4b2ae24e..1fc32c7a2 100644 --- a/test/signature_util_test.cc +++ b/test/signature_util_test.cc @@ -54,7 +54,7 @@ TEST(TestSignatureUtil, NoSignature) { const auto bytecode = readTestWasmFile("abi_export.wasm"); std::string message; EXPECT_FALSE(SignatureUtil::verifySignature(bytecode, message)); - EXPECT_EQ(message, "Custom Section \"signature_wasmsign\" not found"); + EXPECT_EQ(message, "Custom Section \"signature\" not found"); } } // namespace proxy_wasm From cc40b3c609dbef1d42147708618c36dbec91ed77 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 22 Dec 2025 07:52:50 +0100 Subject: [PATCH 11/49] Fix wasmsign2 v1 to v2 format migration in signature verification Signed-off-by: Matthieu MOREL --- src/signature_util.cc | 233 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 209 insertions(+), 24 deletions(-) diff --git a/src/signature_util.cc b/src/signature_util.cc index 8a5a15ceb..c05ca9394 100644 --- a/src/signature_util.cc +++ b/src/signature_util.cc @@ -19,7 +19,6 @@ #ifdef PROXY_WASM_VERIFY_WITH_ED25519_PUBKEY #include -#include #endif #include "include/proxy-wasm/bytecode_util.h" @@ -53,6 +52,42 @@ template constexpr std::array hex2pubkey(const char (&hex } // namespace +namespace { + +#ifdef PROXY_WASM_VERIFY_WITH_ED25519_PUBKEY + +// Helper function to parse a varint from the payload +bool parseVarint(const char *&pos, const char *end, uint32_t &ret) { + uint32_t shift = 0; + uint32_t total = 0; + uint32_t v; + char b; + while (pos < end) { + if (pos + 1 > end) { + return false; + } + b = *pos++; + v = (b & 0x7f); + if (shift == 28 && v > 3) { + return false; + } + total += v << shift; + if ((b & 0x80) == 0) { + ret = total; + return true; + } + shift += 7; + if (shift > 28) { + return false; + } + } + return false; +} + +#endif + +} // namespace + namespace proxy_wasm { bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &message) { @@ -61,50 +96,200 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess /* * Ed25519 signature generated using https://github.com/wasm-signatures/wasmsign2 + * Format specification: https://github.com/WebAssembly/tool-conventions/blob/main/Signatures.md */ - std::string_view payload; - if (!BytecodeUtil::getCustomSection(bytecode, "signature", payload)) { + std::string_view signature_payload; + if (!BytecodeUtil::getCustomSection(bytecode, "signature", signature_payload)) { message = "Failed to parse corrupted Wasm module"; return false; } - if (payload.empty()) { + if (signature_payload.empty()) { message = "Custom Section \"signature\" not found"; return false; } - if (bytecode.data() + bytecode.size() != payload.data() + payload.size()) { - message = "Custom Section \"signature\" not at the end of Wasm module"; + // In wasmsign2 v2, the signature section must be FIRST, not last + // Check if the signature section is at the beginning (after the WASM header) + // The signature section should start at bytecode offset 8 (after magic + version) + const char *sig_section_start = bytecode.data() + 8; + + // Verify the signature section is at the beginning by checking if its custom section (type 0) + if (sig_section_start >= bytecode.data() + bytecode.size() || *sig_section_start != 0) { + message = "Custom Section \"signature\" not at the beginning of Wasm module"; return false; } - if (payload.size() != 68) { - message = "Signature has a wrong size (want: 68, is: " + std::to_string(payload.size()) + ")"; + // Parse wasmsign2 v2 format: + // spec_version (byte), content_type (byte), hash_fn (byte), + // signed_hashes_count (varint), then for each signed_hash: + // hashes_count (varint), hashes (32 bytes each for SHA-256), + // signature_count (varint), then for each signature: + // key_id_len (varint), key_id (bytes), signature_id (byte), + // signature_len (varint), signature (bytes) + + const char *pos = signature_payload.data(); + const char *end = signature_payload.data() + signature_payload.size(); + + if (pos + 3 > end) { + message = "Signature payload too short"; return false; } - uint32_t alg_id; - std::memcpy(&alg_id, payload.data(), sizeof(uint32_t)); - alg_id = wasmtoh(alg_id, true); + uint8_t spec_version = static_cast(*pos++); + uint8_t content_type = static_cast(*pos++); + uint8_t hash_fn = static_cast(*pos++); - if (alg_id != 2) { - message = "Signature has a wrong alg_id (want: 2, is: " + std::to_string(alg_id) + ")"; + if (spec_version != 0x01) { + message = "Unsupported signature spec version: " + std::to_string(spec_version); return false; } - const auto *signature = reinterpret_cast(payload.data()) + sizeof(uint32_t); + if (content_type != 0x01) { + message = "Unsupported content type: " + std::to_string(content_type); + return false; + } + + if (hash_fn != 0x01) { + message = "Unsupported hash function: " + std::to_string(hash_fn) + " (only SHA-256 supported)"; + return false; + } - SHA512_CTX ctx; - SHA512_Init(&ctx); - SHA512_Update(&ctx, "WasmSignature", sizeof("WasmSignature") - 1); - const uint32_t ad_len = 0; - SHA512_Update(&ctx, &ad_len, sizeof(uint32_t)); - const size_t section_len = 3 + sizeof("signature") - 1 + 68; - SHA512_Update(&ctx, bytecode.data(), bytecode.size() - section_len); - uint8_t hash[SHA512_DIGEST_LENGTH]; - SHA512_Final(hash, &ctx); + uint32_t signed_hashes_count = 0; + if (!parseVarint(pos, end, signed_hashes_count) || signed_hashes_count == 0) { + message = "Invalid or zero signed_hashes_count"; + return false; + } + + // We only verify the first signed_hash set + uint32_t hashes_count = 0; + if (!parseVarint(pos, end, hashes_count) || hashes_count == 0) { + message = "Invalid or zero hashes_count"; + return false; + } + + // For simplicity, we only support single-hash verification (no partial verification) + if (hashes_count != 1) { + message = "Only single-hash signatures are supported (found " + std::to_string(hashes_count) + " hashes)"; + return false; + } + + if (pos + 32 > end) { + message = "Signature payload too short for hash"; + return false; + } + + // Extract the expected hash + const uint8_t *expected_hash = reinterpret_cast(pos); + pos += 32; + + uint32_t signatures_count = 0; + if (!parseVarint(pos, end, signatures_count) || signatures_count == 0) { + message = "Invalid or zero signatures_count"; + return false; + } + + // We only verify the first signature + uint32_t key_id_len = 0; + if (!parseVarint(pos, end, key_id_len)) { + message = "Invalid key_id_len"; + return false; + } + + // Skip the key_id + if (key_id_len > 0) { + if (pos + key_id_len > end) { + message = "Signature payload too short for key_id"; + return false; + } + pos += key_id_len; + } + + if (pos + 1 > end) { + message = "Signature payload too short for signature_id"; + return false; + } + + uint8_t signature_id = static_cast(*pos++); + if (signature_id != 0x01) { + message = "Unsupported signature algorithm: " + std::to_string(signature_id) + " (only Ed25519 supported)"; + return false; + } + + uint32_t signature_len = 0; + if (!parseVarint(pos, end, signature_len)) { + message = "Invalid signature_len"; + return false; + } + + if (signature_len != 64) { + message = "Invalid Ed25519 signature length: " + std::to_string(signature_len) + " (expected 64)"; + return false; + } + + if (pos + signature_len > end) { + message = "Signature payload too short for signature data"; + return false; + } + + const uint8_t *signature = reinterpret_cast(pos); + + // Compute the hash of the module content (everything after the signature section) + // We need to find where the signature section ends in the original bytecode + // The signature section structure in WASM is: + // section_type (1 byte) + section_len (varint) + name_len (varint) + name + payload + + // Find the end of the signature section + const char *sig_section_pos = sig_section_start; + sig_section_pos++; // skip section type (0) + + uint32_t section_len = 0; + if (!parseVarint(sig_section_pos, bytecode.data() + bytecode.size(), section_len)) { + message = "Failed to parse signature section length"; + return false; + } + + uint32_t name_len = 0; + const char *section_data_start = sig_section_pos; + if (!parseVarint(sig_section_pos, bytecode.data() + bytecode.size(), name_len)) { + message = "Failed to parse signature section name length"; + return false; + } + + // The content to hash starts after the signature section + const char *content_start = section_data_start + section_len; + size_t content_len = bytecode.size() - (content_start - bytecode.data()); + + // Compute SHA-256 hash of the content + EVP_MD_CTX *hash_ctx = EVP_MD_CTX_new(); + if (hash_ctx == nullptr) { + message = "Failed to allocate memory for hash context"; + return false; + } + + uint8_t computed_hash[32]; // SHA-256 produces 32 bytes + unsigned int hash_len = 0; + + bool hash_ok = + (EVP_DigestInit_ex(hash_ctx, EVP_sha256(), nullptr) != 0) && + (EVP_DigestUpdate(hash_ctx, content_start, content_len) != 0) && + (EVP_DigestFinal_ex(hash_ctx, computed_hash, &hash_len) != 0); + + EVP_MD_CTX_free(hash_ctx); + + if (!hash_ok || hash_len != 32) { + message = "Failed to compute SHA-256 hash"; + return false; + } + + // Verify the computed hash matches the expected hash + if (std::memcmp(computed_hash, expected_hash, 32) != 0) { + message = "Hash mismatch"; + return false; + } + // Verify the signature static const auto ed25519_pubkey = hex2pubkey<32>(PROXY_WASM_VERIFY_WITH_ED25519_PUBKEY); EVP_PKEY *pubkey = EVP_PKEY_new_raw_public_key(EVP_PKEY_ED25519, nullptr, ed25519_pubkey.data(), @@ -123,7 +308,7 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess bool ok = (EVP_DigestVerifyInit(mdctx, nullptr, nullptr, nullptr, pubkey) != 0) && - (EVP_DigestVerify(mdctx, signature, 64 /* ED25519_SIGNATURE_LEN */, hash, sizeof(hash)) != 0); + (EVP_DigestVerify(mdctx, signature, 64 /* ED25519_SIGNATURE_LEN */, expected_hash, 32) != 0); EVP_MD_CTX_free(mdctx); EVP_PKEY_free(pubkey); From 62ffb2da95322acbeaafff185778d63224e06623 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 22 Dec 2025 08:23:55 +0100 Subject: [PATCH 12/49] Fix wasmsign2 0.2.6 signature format parser Signed-off-by: Matthieu MOREL --- .gitignore | 1 + src/signature_util.cc | 51 +++++++++++++++++++++---------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index 54c8a3b00..c95d43372 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /external /compile_commands.json /.cache/ +/_codeql_detected_source_root diff --git a/src/signature_util.cc b/src/signature_util.cc index c05ca9394..73459caf0 100644 --- a/src/signature_util.cc +++ b/src/signature_util.cc @@ -95,8 +95,10 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess #ifdef PROXY_WASM_VERIFY_WITH_ED25519_PUBKEY /* - * Ed25519 signature generated using https://github.com/wasm-signatures/wasmsign2 + * Ed25519 signature generated using https://github.com/wasm-signatures/wasmsign2 0.2.6 * Format specification: https://github.com/WebAssembly/tool-conventions/blob/main/Signatures.md + * Note: wasmsign2 0.2.6 omits the signed_hashes_count wrapper and directly embeds a single + * SignedHash */ std::string_view signature_payload; @@ -110,23 +112,23 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess return false; } - // In wasmsign2 v2, the signature section must be FIRST, not last + // In wasmsign2 0.2.6, the signature section must be FIRST, not last // Check if the signature section is at the beginning (after the WASM header) // The signature section should start at bytecode offset 8 (after magic + version) const char *sig_section_start = bytecode.data() + 8; - + // Verify the signature section is at the beginning by checking if its custom section (type 0) if (sig_section_start >= bytecode.data() + bytecode.size() || *sig_section_start != 0) { message = "Custom Section \"signature\" not at the beginning of Wasm module"; return false; } - // Parse wasmsign2 v2 format: - // spec_version (byte), content_type (byte), hash_fn (byte), - // signed_hashes_count (varint), then for each signed_hash: + // Parse wasmsign2 0.2.6 format: + // spec_version (byte), content_type (byte), hash_fn (byte), + // then directly the SignedHash structure: // hashes_count (varint), hashes (32 bytes each for SHA-256), - // signature_count (varint), then for each signature: - // key_id_len (varint), key_id (bytes), signature_id (byte), + // signatures_count (varint), then for each signature: + // key_id_len (varint), key_id (bytes), signature_id (byte), // signature_len (varint), signature (bytes) const char *pos = signature_payload.data(); @@ -156,13 +158,8 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess return false; } - uint32_t signed_hashes_count = 0; - if (!parseVarint(pos, end, signed_hashes_count) || signed_hashes_count == 0) { - message = "Invalid or zero signed_hashes_count"; - return false; - } - - // We only verify the first signed_hash set + // In wasmsign2 0.2.6, there is no signed_hashes_count varint + // The format goes directly to the SignedHash structure uint32_t hashes_count = 0; if (!parseVarint(pos, end, hashes_count) || hashes_count == 0) { message = "Invalid or zero hashes_count"; @@ -171,7 +168,8 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess // For simplicity, we only support single-hash verification (no partial verification) if (hashes_count != 1) { - message = "Only single-hash signatures are supported (found " + std::to_string(hashes_count) + " hashes)"; + message = "Only single-hash signatures are supported (found " + std::to_string(hashes_count) + + " hashes)"; return false; } @@ -213,7 +211,8 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess uint8_t signature_id = static_cast(*pos++); if (signature_id != 0x01) { - message = "Unsupported signature algorithm: " + std::to_string(signature_id) + " (only Ed25519 supported)"; + message = "Unsupported signature algorithm: " + std::to_string(signature_id) + + " (only Ed25519 supported)"; return false; } @@ -224,7 +223,8 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess } if (signature_len != 64) { - message = "Invalid Ed25519 signature length: " + std::to_string(signature_len) + " (expected 64)"; + message = + "Invalid Ed25519 signature length: " + std::to_string(signature_len) + " (expected 64)"; return false; } @@ -239,24 +239,24 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess // We need to find where the signature section ends in the original bytecode // The signature section structure in WASM is: // section_type (1 byte) + section_len (varint) + name_len (varint) + name + payload - + // Find the end of the signature section const char *sig_section_pos = sig_section_start; sig_section_pos++; // skip section type (0) - + uint32_t section_len = 0; if (!parseVarint(sig_section_pos, bytecode.data() + bytecode.size(), section_len)) { message = "Failed to parse signature section length"; return false; } - + uint32_t name_len = 0; const char *section_data_start = sig_section_pos; if (!parseVarint(sig_section_pos, bytecode.data() + bytecode.size(), name_len)) { message = "Failed to parse signature section name length"; return false; } - + // The content to hash starts after the signature section const char *content_start = section_data_start + section_len; size_t content_len = bytecode.size() - (content_start - bytecode.data()); @@ -271,10 +271,9 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess uint8_t computed_hash[32]; // SHA-256 produces 32 bytes unsigned int hash_len = 0; - bool hash_ok = - (EVP_DigestInit_ex(hash_ctx, EVP_sha256(), nullptr) != 0) && - (EVP_DigestUpdate(hash_ctx, content_start, content_len) != 0) && - (EVP_DigestFinal_ex(hash_ctx, computed_hash, &hash_len) != 0); + bool hash_ok = (EVP_DigestInit_ex(hash_ctx, EVP_sha256(), nullptr) != 0) && + (EVP_DigestUpdate(hash_ctx, content_start, content_len) != 0) && + (EVP_DigestFinal_ex(hash_ctx, computed_hash, &hash_len) != 0); EVP_MD_CTX_free(hash_ctx); From 079971197eba6e11a0301abdcbfaf2bc15b3c208 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 22 Dec 2025 19:12:32 +0100 Subject: [PATCH 13/49] Fix wasmsign2 0.2.6 signature format parser and verification Signed-off-by: Matthieu MOREL --- src/signature_util.cc | 71 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 62 insertions(+), 9 deletions(-) diff --git a/src/signature_util.cc b/src/signature_util.cc index 73459caf0..db3582de4 100644 --- a/src/signature_util.cc +++ b/src/signature_util.cc @@ -16,6 +16,7 @@ #include #include +#include #ifdef PROXY_WASM_VERIFY_WITH_ED25519_PUBKEY #include @@ -97,8 +98,18 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess /* * Ed25519 signature generated using https://github.com/wasm-signatures/wasmsign2 0.2.6 * Format specification: https://github.com/WebAssembly/tool-conventions/blob/main/Signatures.md - * Note: wasmsign2 0.2.6 omits the signed_hashes_count wrapper and directly embeds a single - * SignedHash + * + * Format notes: + * - wasmsign2 0.2.6 DOES include signed_hashes_count (previously thought to omit it) + * - wasmsign2 0.2.6 includes length fields not in the spec: + * - signed_hash_len: length of each SignedHash structure (using varint::put_slice) + * - signature_bytes_len: length of each signature's data (using varint::put_slice) + * + * Signature verification: + * - The signature is over a message with domain separation, NOT just the hash + * - Message format: "wasmsig" + spec_version + content_type + hash_fn + hash + * - See: + * https://github.com/wasm-signatures/wasmsign2/blob/0.2.6/src/lib/src/signature/multi.rs#L268-L278 */ std::string_view signature_payload; @@ -125,8 +136,8 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess // Parse wasmsign2 0.2.6 format: // spec_version (byte), content_type (byte), hash_fn (byte), - // then directly the SignedHash structure: - // hashes_count (varint), hashes (32 bytes each for SHA-256), + // signed_hashes_count (varint), then for each SignedHash: + // signed_hash_len (varint), hashes_count (varint), hashes (32 bytes each for SHA-256), // signatures_count (varint), then for each signature: // key_id_len (varint), key_id (bytes), signature_id (byte), // signature_len (varint), signature (bytes) @@ -158,8 +169,28 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess return false; } - // In wasmsign2 0.2.6, there is no signed_hashes_count varint - // The format goes directly to the SignedHash structure + // Parse signed_hashes_count + uint32_t signed_hashes_count = 0; + if (!parseVarint(pos, end, signed_hashes_count) || signed_hashes_count == 0) { + message = "Invalid or zero signed_hashes_count"; + return false; + } + + // For simplicity, we only support single SignedHash verification + if (signed_hashes_count != 1) { + message = "Only single SignedHash is supported (found " + std::to_string(signed_hashes_count) + + " SignedHash entries)"; + return false; + } + + // Parse signed_hash_len (the length of the SignedHash structure) + uint32_t signed_hash_len = 0; + if (!parseVarint(pos, end, signed_hash_len)) { + message = "Invalid signed_hash_len"; + return false; + } + + // Now parse the SignedHash structure uint32_t hashes_count = 0; if (!parseVarint(pos, end, hashes_count) || hashes_count == 0) { message = "Invalid or zero hashes_count"; @@ -189,6 +220,13 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess } // We only verify the first signature + // wasmsign2 0.2.6 includes a signature_bytes_len field before each signature + uint32_t signature_bytes_len = 0; + if (!parseVarint(pos, end, signature_bytes_len)) { + message = "Invalid signature_bytes_len"; + return false; + } + uint32_t key_id_len = 0; if (!parseVarint(pos, end, key_id_len)) { message = "Invalid key_id_len"; @@ -289,6 +327,21 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess } // Verify the signature + // wasmsign2 signs a message that includes domain separation and metadata: + // "wasmsig" + spec_version + content_type + hash_fn + hash + // See: + // https://github.com/wasm-signatures/wasmsign2/blob/0.2.6/src/lib/src/signature/multi.rs#L268-L278 + const char *domain = "wasmsig"; + size_t domain_len = 7; + size_t msg_len = domain_len + 3 + 32; // domain + 3 bytes (spec/content/hash) + 32 bytes (hash) + auto signature_msg = std::make_unique(msg_len); + + std::memcpy(signature_msg.get(), domain, domain_len); + signature_msg[domain_len] = spec_version; + signature_msg[domain_len + 1] = content_type; + signature_msg[domain_len + 2] = hash_fn; + std::memcpy(signature_msg.get() + domain_len + 3, expected_hash, 32); + static const auto ed25519_pubkey = hex2pubkey<32>(PROXY_WASM_VERIFY_WITH_ED25519_PUBKEY); EVP_PKEY *pubkey = EVP_PKEY_new_raw_public_key(EVP_PKEY_ED25519, nullptr, ed25519_pubkey.data(), @@ -305,9 +358,9 @@ bool SignatureUtil::verifySignature(std::string_view bytecode, std::string &mess return false; } - bool ok = - (EVP_DigestVerifyInit(mdctx, nullptr, nullptr, nullptr, pubkey) != 0) && - (EVP_DigestVerify(mdctx, signature, 64 /* ED25519_SIGNATURE_LEN */, expected_hash, 32) != 0); + bool ok = (EVP_DigestVerifyInit(mdctx, nullptr, nullptr, nullptr, pubkey) != 0) && + (EVP_DigestVerify(mdctx, signature, 64 /* ED25519_SIGNATURE_LEN */, signature_msg.get(), + msg_len) != 0); EVP_MD_CTX_free(mdctx); EVP_PKEY_free(pubkey); From c88998db1d940d83c722537f48be9867b46a9147 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sat, 27 Dec 2025 21:05:47 +0100 Subject: [PATCH 14/49] Update toolchains_llvm to v1.4.0 Signed-off-by: Matthieu MOREL --- bazel/repositories.bzl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 1b0677f41..b0100efd3 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -104,10 +104,10 @@ def proxy_wasm_cpp_host_repositories(): 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", + sha256 = "fded02569617d24551a0ad09c0750dc53a3097237157b828a245681f0ae739f8", + strip_prefix = "toolchains_llvm-v1.4.0", + canonical_id = "v1.4.0", + url = "https://github.com/bazel-contrib/toolchains_llvm/releases/download/v1.4.0/toolchains_llvm-v1.4.0.tar.gz", ) maybe( From 931c8102fea561f1a48539be459b6def78fab880 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 28 Dec 2025 09:27:04 +0100 Subject: [PATCH 15/49] Replace bazel cache setup with bazel-contrib/setup-bazel action in format and test workflows Signed-off-by: Matthieu MOREL --- .github/workflows/format.yml | 38 +++++------------ .github/workflows/test.yml | 82 ++++-------------------------------- 2 files changed, 18 insertions(+), 102 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a2256985b..8db13e7e4 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -88,6 +88,12 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: bazel-contrib/setup-bazel@0.16.0 + with: + bazelisk-cache: true + disk-cache: ${{ github.job }} + repository-cache: true + - name: Format (bazel query) run: | bazel query 'deps(//bazel/cargo/...)' @@ -122,27 +128,11 @@ jobs: steps: - uses: actions/checkout@v2 - - 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 + - uses: bazel-contrib/setup-bazel@0.16.0 with: - 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- + bazelisk-cache: true + disk-cache: ${{ github.job }} + repository-cache: true - name: Bazel build run: > @@ -150,13 +140,5 @@ jobs: --config=hermetic-llvm --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 -c3-)\" //... - - - 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 066aedde9..ff9096970 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,26 +48,11 @@ jobs: steps: - uses: actions/checkout@v2 - - 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 + - uses: bazel-contrib/setup-bazel@0.16.0 with: - 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- + bazelisk-cache: true + disk-cache: ${{ github.job }} + repository-cache: true - name: Bazel build run: > @@ -75,7 +60,6 @@ jobs: --verbose_failures --test_output=errors --config=clang - --disk_cache /tmp/bazel/cache --config=hermetic-llvm -c opt $(bazel query 'kind(was.*_rust_binary, //test/test_data/...)') @@ -100,22 +84,6 @@ 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() - with: - path: /tmp/bazel/cache - key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} - build: name: ${{ matrix.action }} with ${{ matrix.name }} @@ -304,27 +272,11 @@ jobs: if: startsWith(matrix.run_under, 'docker') run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - 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 + - uses: bazel-contrib/setup-bazel@0.16.0 with: - 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 }}- - bazel-cache-${{ matrix.name }}- - bazel-cache- + bazelisk-cache: true + disk-cache: ${{ github.job }}-${{ matrix.name }} + repository-cache: true - name: Download test data uses: actions/download-artifact@v4 @@ -349,7 +301,6 @@ jobs: --verbose_failures --test_output=errors --define engine=${{ matrix.engine }} - --disk_cache /tmp/bazel/cache ${{ matrix.flags }} -- //test/... ${{ matrix.targets }} @@ -361,24 +312,7 @@ 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 -c3- | tr -d '\n')\" //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() - with: - path: /tmp/bazel/cache - key: ${{ steps.vars.outputs.CACHE_TAG }}-${{ github.sha }} - From 8647febc3f190095d67963f7e38a2bbd0f514586 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 28 Dec 2025 10:37:48 +0100 Subject: [PATCH 16/49] Refactor Bazel configuration to remove macOS-specific flags from hermetic-llvm setup Signed-off-by: Matthieu MOREL --- .bazelrc | 5 ----- .github/workflows/test.yml | 17 +++++++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.bazelrc b/.bazelrc index 5722b8148..cd0bebc40 100644 --- a/.bazelrc +++ b/.bazelrc @@ -71,11 +71,6 @@ 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 -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 # Use C++20. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff9096970..776a87032 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -166,7 +166,7 @@ jobs: os: macos-15 arch: x86_64 action: test - flags: --config=hermetic-llvm-macos + flags: --config=hermetic-llvm cache: true - name: 'WAMR interp on Linux/x86_64' engine: 'wamr-interp' @@ -181,7 +181,7 @@ jobs: os: macos-15 arch: x86_64 action: test - flags: --config=hermetic-llvm-macos + flags: --config=hermetic-llvm - name: 'WAMR jit on Linux/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' @@ -198,7 +198,7 @@ jobs: arch: x86_64 action: test cache: true - flags: --config=hermetic-llvm-macos + flags: --config=hermetic-llvm - name: 'WasmEdge on Linux/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' @@ -212,7 +212,7 @@ jobs: os: macos-15 arch: x86_64 action: test - flags: --config=hermetic-llvm-macos + flags: --config=hermetic-llvm - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' @@ -250,11 +250,16 @@ jobs: os: macos-15 arch: x86_64 action: test - flags: --config=hermetic-llvm-macos + flags: --config=hermetic-llvm steps: - uses: actions/checkout@v2 + - name: Compute job hash + id: job-hash + run: echo "hash=$(echo -n '${{ matrix.name }}' | sha1sum | cut -c1-7)" >> $GITHUB_OUTPUT + shell: bash + - name: Install dependencies (Linux) if: ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }} run: sudo apt update -y && sudo apt install -y ${{ matrix.deps }} @@ -275,7 +280,7 @@ jobs: - uses: bazel-contrib/setup-bazel@0.16.0 with: bazelisk-cache: true - disk-cache: ${{ github.job }}-${{ matrix.name }} + disk-cache: ${{ github.job }}-${{ steps.job-hash.outputs.hash }} repository-cache: true - name: Download test data From 0c2146852ce1689cd0c36249dd41935f6ddc8516 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 28 Dec 2025 11:42:38 +0100 Subject: [PATCH 17/49] Add local Docker image build step for CI environment Signed-off-by: Matthieu MOREL --- .github/workflows/test.yml | 7 ++++++- bazel/external/Dockerfile.bazel | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 776a87032..d14710786 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -239,10 +239,11 @@ jobs: repo: 'com_github_bytecodealliance_wasmtime' os: ubuntu-24.04-16core arch: s390x + platform: linux/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-22.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 proxy-wasm/build-tools:local-ci cache: true - name: 'Wasmtime on macOS/x86_64' engine: 'wasmtime' @@ -298,6 +299,10 @@ jobs: echo "filegroup(name = \"$i\", srcs = [\"$i.wasm\"])" >> test/test_data/BUILD; \ done + - name: Build local Docker image + if: ${{ startsWith(matrix.run_under, 'docker') }} + run: docker build --platform ${{ matrix.platform }} -f bazel/external/Dockerfile.bazel -t proxy-wasm/build-tools:local-ci . + - name: Bazel build/test shell: bash run: > diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 7bbb3addb..418eaac4d 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -44,7 +44,7 @@ RUN apt install -y software-properties-common RUN add-apt-repository ppa:openjdk-r/ppa RUN apt install -y \ build-essential \ - openjdk-11-jdk \ + openjdk-21-jdk \ python3 \ curl \ zip \ From c8198faff7ea9deec30e5034bdeaad2f89c0aade Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 28 Dec 2025 12:07:53 +0100 Subject: [PATCH 18/49] Consolidate system update and package installation in Dockerfile Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 72 +++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 30 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 418eaac4d..b653da476 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -34,42 +34,54 @@ # -- //test/... # Update base image -ARG UBUNTU_VERSION=22.04 -FROM ubuntu:${UBUNTU_VERSION} as build -RUN apt update && apt upgrade -y -RUN apt autoremove -y +ARG UBUNTU_VERSION=24.04 +FROM ubuntu:${UBUNTU_VERSION} AS build -# Install Bazel deps -RUN apt install -y software-properties-common -RUN add-apt-repository ppa:openjdk-r/ppa -RUN apt install -y \ +# Use bash for all RUN instructions +SHELL ["/bin/bash", "-c"] + +# Consolidated system update/upgrade and autoremove +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* + +## All build dependencies for Bazel and ProxyWasm are listed in DEPS for clarity and maintainability. +ARG DEPS="\ build-essential \ + clang \ + curl \ + git \ + libssl-dev \ + libstdc++6 \ + libz-dev \ openjdk-21-jdk \ python3 \ - curl \ - zip \ - unzip + unzip \ + zip\ +" +# Install all build dependencies (no PPA needed on Ubuntu 24.04) +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS && \ + rm -rf /var/lib/apt/lists/* -# Download Bazel source +# Set working directory for Bazel build +WORKDIR /root/bazel + + +# Download Bazel source and remove zip immediately after extraction ARG BAZEL_VERSION=7.7.1 -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 +RUN curl -LO https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip && \ + unzip -q bazel-${BAZEL_VERSION}-dist.zip && \ + rm -f 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. +## Build Bazel and copy the binary +# NOTE: This step is flaky and may hang for multiarch/buildx. +# If it takes more than 2 hours, restart the Docker build. ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" -RUN bash ./compile.sh +RUN ./compile.sh && \ + mv /output/bazel /usr/bin/bazel && \ + rm -rf /root/bazel -# 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 +# Ensure a valid working directory after build +WORKDIR /root From 7c276a5956ae64e798652a024e282d39d03c1e13 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 28 Dec 2025 13:58:38 +0100 Subject: [PATCH 19/49] =?UTF-8?q?Make=20Bazel=20Dockerfile=20multi?= =?UTF-8?q?=E2=80=91arch;=20compile=20Bazel=20from=20source=20(Ubuntu=2024?= =?UTF-8?q?.04,=20JDK=2021)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 89 +++++++++++++++---------------- bazel/external/bazel-v7.7.1.patch | 33 ++++++++++++ 2 files changed, 77 insertions(+), 45 deletions(-) create mode 100644 bazel/external/bazel-v7.7.1.patch diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index b653da476..af697234f 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -20,7 +20,7 @@ # Need to see "F" flag: cat /proc/sys/fs/binfmt_misc/qemu-* # # Build: -# docker buildx build --platform linux/s390x -t $IMAGE -f Dockerfile.bazel +# docker buildx build --platform linux/s390x -t $IMAGE -f Dockerfile.bazel . # # Push: # docker image tag $IMAGE ghcr.io/proxy-wasm/$IMAGE @@ -33,55 +33,54 @@ # --define engine=null --config=clang --test_timeout=1800 \ # -- //test/... -# Update base image -ARG UBUNTU_VERSION=24.04 -FROM ubuntu:${UBUNTU_VERSION} AS build - -# Use bash for all RUN instructions -SHELL ["/bin/bash", "-c"] +ARG BAZEL_VERSION=7.7.1 +ARG UBUNTU_VERSION=22.04 -# Consolidated system update/upgrade and autoremove +# Stage 1: build Bazel from release for the target platform +FROM ubuntu:${UBUNTU_VERSION} AS bazel-builder +WORKDIR /tmp +ARG BAZEL_VERSION +ARG DEPS_BUILDER="\ + build-essential \ + ca-certificates \ + curl \ + git \ + openjdk-21-jdk \ + python3 \ + unzip \ + wget \ + zip\ +" RUN apt-get update && \ - apt-get upgrade -y && \ - apt-get autoremove -y && \ - rm -rf /var/lib/apt/lists/* + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS_BUILDER && \ + mkdir -p /tmp/src/bazel && \ + wget --progress=dot:giga -O /tmp/bazel-dist.zip https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip && \ + unzip /tmp/bazel-dist.zip -d /tmp/src/bazel && \ + rm -f /tmp/bazel-dist.zip /tmp/src/bazel/MODULE.bazel.lock +WORKDIR /tmp/src/bazel +# Patch MODULE.bazel to force bazel_features v1.26.0 (avoids bzlmod macro requirement during bootstrap) +COPY bazel/external/bazel-v7.7.1.patch /tmp/bazel-v7.7.1.patch +RUN git apply /tmp/bazel-v7.7.1.patch +RUN EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" bash ./compile.sh && \ + cp /tmp/src/bazel/output/bazel /tmp/bazel && \ + chmod +x /tmp/bazel && \ + rm -rf /tmp/src/bazel /tmp/bazel-v7.7.1.patch -## All build dependencies for Bazel and ProxyWasm are listed in DEPS for clarity and maintainability. -ARG DEPS="\ - build-essential \ - clang \ - curl \ - git \ - libssl-dev \ - libstdc++6 \ - libz-dev \ - openjdk-21-jdk \ - python3 \ - unzip \ - zip\ +# Stage 2: minimal runtime for executing tests +FROM ubuntu:${UBUNTU_VERSION} AS test-runtime +ARG DEPS_RUNTIME="\ + ca-certificates \ + openjdk-21-jre-headless \ + python3 \ + unzip \ + zip\ " -# Install all build dependencies (no PPA needed on Ubuntu 24.04) RUN apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS && \ - rm -rf /var/lib/apt/lists/* - -# Set working directory for Bazel build -WORKDIR /root/bazel - - -# Download Bazel source and remove zip immediately after extraction -ARG BAZEL_VERSION=7.7.1 -RUN curl -LO https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip && \ - unzip -q bazel-${BAZEL_VERSION}-dist.zip && \ - rm -f bazel-${BAZEL_VERSION}-dist.zip + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS_RUNTIME && \ + rm -rf /var/lib/apt/lists/* -## Build Bazel and copy the binary -# NOTE: This step is flaky and may hang for multiarch/buildx. -# If it takes more than 2 hours, restart the Docker build. -ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" -RUN ./compile.sh && \ - mv /output/bazel /usr/bin/bazel && \ - rm -rf /root/bazel +# Copy Bazel binary from builder +COPY --from=bazel-builder /tmp/bazel /usr/bin/bazel -# Ensure a valid working directory after build +# Set a valid working directory WORKDIR /root diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch new file mode 100644 index 000000000..a99113355 --- /dev/null +++ b/bazel/external/bazel-v7.7.1.patch @@ -0,0 +1,33 @@ +From f29fdb0a8592306a070f31033c55dbdc7abd7161 Mon Sep 17 00:00:00 2001 +From: Test +Date: Sun, 28 Dec 2025 20:17:38 +0000 +Subject: [PATCH] Force bazel_features 1.11.0 (dep + override) + +--- + MODULE.bazel | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/MODULE.bazel b/MODULE.bazel +index 0a5ea5b..787d093 100755 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -14,6 +14,7 @@ module( + + bazel_dep(name = "rules_license", version = "0.0.7") + bazel_dep(name = "bazel_skylib", version = "1.7.1") ++bazel_dep(name = "bazel_features", version = "1.11.0") + bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") + bazel_dep(name = "grpc", version = "1.48.1.bcr.1", repo_name = "com_github_grpc_grpc") + bazel_dep(name = "platforms", version = "0.0.10") +@@ -41,6 +42,10 @@ single_version_override( + patch_strip = 1, + patches = ["//third_party:rules_jvm_external_6.0.patch"], + ) ++single_version_override( ++ module_name = "bazel_features", ++ version = "1.11.0", ++) + + local_path_override( + module_name = "remoteapis", +-- From 26a3bf5796fb0e4b45b5bd29916af4690dd5d0e3 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 28 Dec 2025 22:33:50 +0100 Subject: [PATCH 20/49] Upgrade WAMR LLVM from 15.0.7 to 19.1.0 and add AArch64 target support Signed-off-by: Matthieu MOREL --- bazel/external/wamr.BUILD | 4 ++-- bazel/external/wamr_llvm.BUILD | 8 +++++++- bazel/repositories.bzl | 8 ++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index a3375e2cb..cee9dc2c3 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -47,7 +47,7 @@ cmake( "-GNinja", ] + select({ "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": [ - "-DLLVM_DIR=$EXT_BUILD_DEPS/copy_llvm-15_0_7/llvm/lib/cmake/llvm", + "-DLLVM_DIR=$EXT_BUILD_DEPS/copy_llvm-19_1_0/llvm/lib/cmake/llvm", "-DWAMR_BUILD_AOT=1", "-DWAMR_BUILD_FAST_INTERP=0", "-DWAMR_BUILD_INTERP=0", @@ -71,7 +71,7 @@ cmake( }), out_static_libs = ["libiwasm.a"], deps = select({ - "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["@llvm-15_0_7//:llvm_wamr_lib"], + "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["@llvm-19_1_0//:llvm_wamr_lib"], "//conditions:default": [], }), ) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 4cd7426f1..d96d524e1 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -44,7 +44,7 @@ cmake( "LLVM_ENABLE_TERMINFO": "off", "LLVM_ENABLE_ZLIB": "off", "LLVM_ENABLE_ZSTD": "off", - "LLVM_TARGETS_TO_BUILD": "X86", + "LLVM_TARGETS_TO_BUILD": "X86;AArch64", "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, # `lld` doesn't work on MacOS @@ -72,6 +72,12 @@ cmake( "libLLVMDlltoolDriver.a", "libLLVMCoverage.a", "libLLVMLineEditor.a", + "libLLVMAArch64Disassembler.a", + "libLLVMAArch64AsmParser.a", + "libLLVMAArch64CodeGen.a", + "libLLVMAArch64Desc.a", + "libLLVMAArch64Info.a", + "libLLVMAArch64Utils.a", "libLLVMX86Disassembler.a", "libLLVMX86AsmParser.a", "libLLVMX86CodeGen.a", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index b0100efd3..26bb34bd8 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -312,11 +312,11 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, - name = "llvm-15_0_7", + name = "llvm-19_1_0", build_file = "@proxy_wasm_cpp_host//bazel/external:wamr_llvm.BUILD", - sha256 = "8b5fcb24b4128cf04df1b0b9410ce8b1a729cb3c544e6da885d234280dedeac6", - strip_prefix = "llvm-project-15.0.7.src", - url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/llvm-project-15.0.7.src.tar.xz", + sha256 = "5042522b49945bc560ff9206f25fb87980a9b89b914193ca00d961511ff0673c", + strip_prefix = "llvm-project-19.1.0.src", + url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/llvm-project-19.1.0.src.tar.xz", ) # WasmEdge with dependencies. From 279613bc2b183efe053f74cff38536dfcd9b22db Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sun, 28 Dec 2025 22:47:48 +0100 Subject: [PATCH 21/49] Fix Bazel 7.7.1 bootstrap build on s390x by limiting compilation resources Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index af697234f..a0c415a2f 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -61,7 +61,10 @@ WORKDIR /tmp/src/bazel # Patch MODULE.bazel to force bazel_features v1.26.0 (avoids bzlmod macro requirement during bootstrap) COPY bazel/external/bazel-v7.7.1.patch /tmp/bazel-v7.7.1.patch RUN git apply /tmp/bazel-v7.7.1.patch -RUN EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" bash ./compile.sh && \ +# Limit parallelism and optimization to avoid GCC segmentation faults on s390x +ENV BAZEL_COMPILE_FLAGS="-j 2 -O1" +ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" +RUN bash ./compile.sh && \ cp /tmp/src/bazel/output/bazel /tmp/bazel && \ chmod +x /tmp/bazel && \ rm -rf /tmp/src/bazel /tmp/bazel-v7.7.1.patch From 6414050257803509f94754a19135bd5422061bfe Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 29 Dec 2025 08:02:19 +0100 Subject: [PATCH 22/49] Disable LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS in llvm_wamr_lib Signed-off-by: Matthieu MOREL --- bazel/external/llvm.BUILD | 16 ++++++++-------- bazel/external/wamr_llvm.BUILD | 14 ++++++++------ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/bazel/external/llvm.BUILD b/bazel/external/llvm.BUILD index 9dccf5c98..40396786b 100644 --- a/bazel/external/llvm.BUILD +++ b/bazel/external/llvm.BUILD @@ -28,28 +28,28 @@ cmake( cache_entries = { # Disable both: BUILD and INCLUDE, since some of the INCLUDE # targets build code instead of only generating build files. + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", "LLVM_BUILD_BENCHMARKS": "off", - "LLVM_INCLUDE_BENCHMARKS": "off", "LLVM_BUILD_DOCS": "off", - "LLVM_INCLUDE_DOCS": "off", "LLVM_BUILD_EXAMPLES": "off", - "LLVM_INCLUDE_EXAMPLES": "off", "LLVM_BUILD_RUNTIME": "off", "LLVM_BUILD_RUNTIMES": "off", - "LLVM_INCLUDE_RUNTIMES": "off", "LLVM_BUILD_TESTS": "off", - "LLVM_INCLUDE_TESTS": "off", "LLVM_BUILD_TOOLS": "off", - "LLVM_INCLUDE_TOOLS": "off", "LLVM_BUILD_UTILS": "off", - "LLVM_INCLUDE_UTILS": "off", "LLVM_ENABLE_IDE": "off", "LLVM_ENABLE_LIBEDIT": "off", "LLVM_ENABLE_LIBXML2": "off", "LLVM_ENABLE_TERMINFO": "off", "LLVM_ENABLE_ZLIB": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_RUNTIMES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "X86", - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, generate_args = ["-GNinja"], lib_source = ":srcs", diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index d96d524e1..6fad653ac 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -28,24 +28,26 @@ cmake( cache_entries = { # Disable both: BUILD and INCLUDE, since some of the INCLUDE # targets build code instead of only generating build files. + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", "LLVM_BUILD_BENCHMARKS": "off", - "LLVM_INCLUDE_BENCHMARKS": "off", "LLVM_BUILD_DOCS": "off", - "LLVM_INCLUDE_DOCS": "off", "LLVM_BUILD_EXAMPLES": "off", - "LLVM_INCLUDE_EXAMPLES": "off", "LLVM_BUILD_TESTS": "off", - "LLVM_INCLUDE_TESTS": "off", "LLVM_BUILD_TOOLS": "off", - "LLVM_INCLUDE_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", "LLVM_ENABLE_IDE": "off", "LLVM_ENABLE_LIBEDIT": "off", "LLVM_ENABLE_LIBXML2": "off", "LLVM_ENABLE_TERMINFO": "off", "LLVM_ENABLE_ZLIB": "off", "LLVM_ENABLE_ZSTD": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_INCLUDE_TOOLS": "off", "LLVM_TARGETS_TO_BUILD": "X86;AArch64", - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, # `lld` doesn't work on MacOS generate_args = select({ From fcdfe964df9c3371c8572fe503557ec909a273cb Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 29 Dec 2025 08:09:46 +0100 Subject: [PATCH 23/49] clean up patch Signed-off-by: Matthieu MOREL --- bazel/external/bazel-v7.7.1.patch | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index a99113355..b5ecdadbd 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -1,12 +1,3 @@ -From f29fdb0a8592306a070f31033c55dbdc7abd7161 Mon Sep 17 00:00:00 2001 -From: Test -Date: Sun, 28 Dec 2025 20:17:38 +0000 -Subject: [PATCH] Force bazel_features 1.11.0 (dep + override) - ---- - MODULE.bazel | 5 +++++ - 1 file changed, 5 insertions(+) - diff --git a/MODULE.bazel b/MODULE.bazel index 0a5ea5b..787d093 100755 --- a/MODULE.bazel @@ -30,4 +21,3 @@ index 0a5ea5b..787d093 100755 local_path_override( module_name = "remoteapis", --- From df39106045e7cf817a2844db584d26d657bbe18c Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 29 Dec 2025 18:43:00 +0100 Subject: [PATCH 24/49] Remove LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS from llvm_wamr_lib configuration Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 6fad653ac..8da3f81a0 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -29,12 +29,12 @@ cmake( # Disable both: BUILD and INCLUDE, since some of the INCLUDE # targets build code instead of only generating build files. "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "CMAKE_OSX_ARCHITECTURES": "arm64", "LLVM_BUILD_BENCHMARKS": "off", "LLVM_BUILD_DOCS": "off", "LLVM_BUILD_EXAMPLES": "off", "LLVM_BUILD_TESTS": "off", "LLVM_BUILD_TOOLS": "off", - "LLVM_BUILD_UTILS": "off", "LLVM_ENABLE_IDE": "off", "LLVM_ENABLE_LIBEDIT": "off", "LLVM_ENABLE_LIBXML2": "off", @@ -45,7 +45,6 @@ cmake( "LLVM_INCLUDE_DOCS": "off", "LLVM_INCLUDE_EXAMPLES": "off", "LLVM_INCLUDE_TESTS": "off", - "LLVM_INCLUDE_UTILS": "off", "LLVM_INCLUDE_TOOLS": "off", "LLVM_TARGETS_TO_BUILD": "X86;AArch64", }, From 91d6a8f853545e5f0b4ca20197e1e957d048803b Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 29 Dec 2025 20:27:55 +0100 Subject: [PATCH 25/49] Remove googletest.patch file Signed-off-by: Matthieu MOREL --- bazel/external/googletest.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 bazel/external/googletest.patch diff --git a/bazel/external/googletest.patch b/bazel/external/googletest.patch deleted file mode 100644 index 502ef58b3..000000000 --- a/bazel/external/googletest.patch +++ /dev/null @@ -1,13 +0,0 @@ -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( From 4087cff511af35ee9ba7e31d7cd2ed0d372d82e1 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 13:00:09 +0100 Subject: [PATCH 26/49] Fix LLVM 19 build failure with architecture-specific targets Signed-off-by: Matthieu MOREL --- bazel/external/llvm.patch | 22 --- bazel/external/wamr_llvm.BUILD | 268 +++++++++++++++++++++++++++++++-- 2 files changed, 257 insertions(+), 33 deletions(-) delete mode 100644 bazel/external/llvm.patch diff --git a/bazel/external/llvm.patch b/bazel/external/llvm.patch deleted file mode 100644 index 710d27427..000000000 --- a/bazel/external/llvm.patch +++ /dev/null @@ -1,22 +0,0 @@ -# Workaround for different linkers used in cmake()'s generate and build steps. -# See: https://github.com/bazelbuild/rules_foreign_cc/issues/863 - -diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake -index 5d4d692a70ac..0a2e441b1b94 100644 ---- a/cmake/modules/HandleLLVMOptions.cmake -+++ b/cmake/modules/HandleLLVMOptions.cmake -@@ -843,14 +843,6 @@ if (UNIX AND - append("-fdiagnostics-color" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) - endif() - --# lld doesn't print colored diagnostics when invoked from Ninja --if (UNIX AND CMAKE_GENERATOR STREQUAL "Ninja") -- include(CheckLinkerFlag) -- check_linker_flag("-Wl,--color-diagnostics" LINKER_SUPPORTS_COLOR_DIAGNOSTICS) -- append_if(LINKER_SUPPORTS_COLOR_DIAGNOSTICS "-Wl,--color-diagnostics" -- CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS) --endif() -- - # Add flags for add_dead_strip(). - # FIXME: With MSVS, consider compiling with /Gy and linking with /OPT:REF? - # But MinSizeRel seems to add that automatically, so maybe disable these diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 8da3f81a0..4bb546fab 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -23,8 +23,242 @@ filegroup( srcs = glob(["**"]), ) +# LLVM configuration for Linux x86_64 builds +# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are disabled to avoid mlgo-utils +# test suite errors (requires llvm-objcopy and yaml2obj tools that are disabled). +# Only X86 target is built to minimize library size. cmake( - name = "llvm_wamr_lib", + name = "llvm_wamr_lib_linux_x86", + cache_entries = { + # Disable both: BUILD and INCLUDE, since some of the INCLUDE + # targets build code instead of only generating build files. + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "LLVM_BUILD_BENCHMARKS": "off", + "LLVM_BUILD_DOCS": "off", + "LLVM_BUILD_EXAMPLES": "off", + "LLVM_BUILD_TESTS": "off", + "LLVM_BUILD_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", + "LLVM_ENABLE_IDE": "off", + "LLVM_ENABLE_LIBEDIT": "off", + "LLVM_ENABLE_LIBXML2": "off", + "LLVM_ENABLE_TERMINFO": "off", + "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_TARGETS_TO_BUILD": "X86", + }, + # `lld` works on Linux + generate_args = [ + "-GNinja", + "-DLLVM_USE_LINKER=lld", + ], + lib_source = ":srcs", + out_data_dirs = [ + "libexec", + "share", + ], + out_static_libs = [ + # How to get the library list: + # build LLVM with "-DLLVM_INCLUDE_TOOLS=ON" + # cd bin and run "./llvm-config --libnames" + # X86-specific libraries only (no AArch64, no Windows-specific libs) + "libLLVMX86Disassembler.a", + "libLLVMX86AsmParser.a", + "libLLVMX86CodeGen.a", + "libLLVMX86Desc.a", + "libLLVMX86Info.a", + # Common LLVM libraries (architecture-independent) + "libLLVMOrcJIT.a", + "libLLVMMCJIT.a", + "libLLVMJITLink.a", + "libLLVMInterpreter.a", + "libLLVMExecutionEngine.a", + "libLLVMRuntimeDyld.a", + "libLLVMOrcTargetProcess.a", + "libLLVMOrcShared.a", + "libLLVMDWP.a", + "libLLVMSymbolize.a", + "libLLVMDebugInfoPDB.a", + "libLLVMDebugInfoGSYM.a", + "libLLVMOption.a", + "libLLVMObjectYAML.a", + "libLLVMMCA.a", + "libLLVMMCDisassembler.a", + "libLLVMLTO.a", + "libLLVMPasses.a", + "libLLVMCFGuard.a", + "libLLVMCoroutines.a", + "libLLVMObjCARCOpts.a", + "libLLVMipo.a", + "libLLVMVectorize.a", + "libLLVMLinker.a", + "libLLVMInstrumentation.a", + "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOpenACC.a", + "libLLVMExtensions.a", + "libLLVMDWARFLinker.a", + "libLLVMGlobalISel.a", + "libLLVMMIRParser.a", + "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", + "libLLVMDebugInfoDWARF.a", + "libLLVMSelectionDAG.a", + "libLLVMCodeGen.a", + "libLLVMIRReader.a", + "libLLVMAsmParser.a", + "libLLVMInterfaceStub.a", + "libLLVMFileCheck.a", + "libLLVMFuzzMutate.a", + "libLLVMTarget.a", + "libLLVMScalarOpts.a", + "libLLVMInstCombine.a", + "libLLVMAggressiveInstCombine.a", + "libLLVMTransformUtils.a", + "libLLVMBitWriter.a", + "libLLVMAnalysis.a", + "libLLVMProfileData.a", + "libLLVMObject.a", + "libLLVMTextAPI.a", + "libLLVMMCParser.a", + "libLLVMMC.a", + "libLLVMDebugInfoCodeView.a", + "libLLVMBitReader.a", + "libLLVMCore.a", + "libLLVMRemarks.a", + "libLLVMBitstreamReader.a", + "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMSupport.a", + "libLLVMDemangle.a", + ], + working_directory = "llvm", +) + +# LLVM configuration for Linux aarch64 builds +# Similar to Linux x86_64 but builds only AArch64 target. +cmake( + name = "llvm_wamr_lib_linux_aarch64", + cache_entries = { + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "LLVM_BUILD_BENCHMARKS": "off", + "LLVM_BUILD_DOCS": "off", + "LLVM_BUILD_EXAMPLES": "off", + "LLVM_BUILD_TESTS": "off", + "LLVM_BUILD_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", + "LLVM_ENABLE_IDE": "off", + "LLVM_ENABLE_LIBEDIT": "off", + "LLVM_ENABLE_LIBXML2": "off", + "LLVM_ENABLE_TERMINFO": "off", + "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_TARGETS_TO_BUILD": "AArch64", + }, + # `lld` works on Linux + generate_args = [ + "-GNinja", + "-DLLVM_USE_LINKER=lld", + ], + lib_source = ":srcs", + out_data_dirs = [ + "libexec", + "share", + ], + out_static_libs = [ + # AArch64-specific libraries only (no X86, no Windows-specific libs) + "libLLVMAArch64Disassembler.a", + "libLLVMAArch64AsmParser.a", + "libLLVMAArch64CodeGen.a", + "libLLVMAArch64Desc.a", + "libLLVMAArch64Info.a", + "libLLVMAArch64Utils.a", + # Common LLVM libraries (architecture-independent) + "libLLVMOrcJIT.a", + "libLLVMMCJIT.a", + "libLLVMJITLink.a", + "libLLVMInterpreter.a", + "libLLVMExecutionEngine.a", + "libLLVMRuntimeDyld.a", + "libLLVMOrcTargetProcess.a", + "libLLVMOrcShared.a", + "libLLVMDWP.a", + "libLLVMSymbolize.a", + "libLLVMDebugInfoPDB.a", + "libLLVMDebugInfoGSYM.a", + "libLLVMOption.a", + "libLLVMObjectYAML.a", + "libLLVMMCA.a", + "libLLVMMCDisassembler.a", + "libLLVMLTO.a", + "libLLVMPasses.a", + "libLLVMCFGuard.a", + "libLLVMCoroutines.a", + "libLLVMObjCARCOpts.a", + "libLLVMipo.a", + "libLLVMVectorize.a", + "libLLVMLinker.a", + "libLLVMInstrumentation.a", + "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOpenACC.a", + "libLLVMExtensions.a", + "libLLVMDWARFLinker.a", + "libLLVMGlobalISel.a", + "libLLVMMIRParser.a", + "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", + "libLLVMDebugInfoDWARF.a", + "libLLVMSelectionDAG.a", + "libLLVMCodeGen.a", + "libLLVMIRReader.a", + "libLLVMAsmParser.a", + "libLLVMInterfaceStub.a", + "libLLVMFileCheck.a", + "libLLVMFuzzMutate.a", + "libLLVMTarget.a", + "libLLVMScalarOpts.a", + "libLLVMInstCombine.a", + "libLLVMAggressiveInstCombine.a", + "libLLVMTransformUtils.a", + "libLLVMBitWriter.a", + "libLLVMAnalysis.a", + "libLLVMProfileData.a", + "libLLVMObject.a", + "libLLVMTextAPI.a", + "libLLVMMCParser.a", + "libLLVMMC.a", + "libLLVMDebugInfoCodeView.a", + "libLLVMBitReader.a", + "libLLVMCore.a", + "libLLVMRemarks.a", + "libLLVMBitstreamReader.a", + "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMSupport.a", + "libLLVMDemangle.a", + ], + working_directory = "llvm", +) + +# LLVM configuration for macOS builds +# CMAKE_OSX_ARCHITECTURES is set for cross-compilation support. +# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are NOT specified here, +# allowing them to default to enabled. This is required when +# CMAKE_OSX_ARCHITECTURES is set, as LLVM's CMake needs utils enabled +# for host-architecture build tools during cross-compilation. +cmake( + name = "llvm_wamr_lib_macos", cache_entries = { # Disable both: BUILD and INCLUDE, since some of the INCLUDE # targets build code instead of only generating build files. @@ -48,16 +282,8 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_TARGETS_TO_BUILD": "X86;AArch64", }, - # `lld` doesn't work on MacOS - generate_args = select({ - "@platforms//os:linux": [ - "-GNinja", - "-DLLVM_USE_LINKER=lld", - ], - "//conditions:default": [ - "-GNinja", - ], - }), + # `lld` doesn't work on macOS + generate_args = ["-GNinja"], lib_source = ":srcs", out_data_dirs = [ "libexec", @@ -149,3 +375,23 @@ cmake( ], working_directory = "llvm", ) + +# Platform and architecture-aware alias that selects the appropriate LLVM configuration +# Note: macOS cross-compiles for arm64, so it always uses llvm_wamr_lib_macos with both X86 and AArch64 targets +alias( + name = "llvm_wamr_lib", + actual = select({ + "@platforms//cpu:x86_64": select({ + "@platforms//os:linux": ":llvm_wamr_lib_linux_x86", + "@platforms//os:macos": ":llvm_wamr_lib_macos", + "//conditions:default": ":llvm_wamr_lib_linux_x86", + }), + "@platforms//cpu:aarch64": select({ + "@platforms//os:linux": ":llvm_wamr_lib_linux_aarch64", + "@platforms//os:macos": ":llvm_wamr_lib_macos", + "//conditions:default": ":llvm_wamr_lib_linux_aarch64", + }), + # Default to x86_64 Linux for other architectures + "//conditions:default": ":llvm_wamr_lib_linux_x86", + }), +) From a581b87684ebcd49d953ebe9ebadf225ec5e88e1 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 13:30:34 +0100 Subject: [PATCH 27/49] Fix nested select() in Bazel alias rule for llvm_wamr_lib Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 47 ++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 4bb546fab..b5523b51c 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -376,21 +376,48 @@ cmake( working_directory = "llvm", ) +# Platform-specific config settings to enable proper select() in alias rule +config_setting( + name = "linux_x86_64", + constraint_values = [ + "@platforms//os:linux", + "@platforms//cpu:x86_64", + ], +) + +config_setting( + name = "linux_aarch64", + constraint_values = [ + "@platforms//os:linux", + "@platforms//cpu:aarch64", + ], +) + +config_setting( + name = "macos_x86_64", + constraint_values = [ + "@platforms//os:macos", + "@platforms//cpu:x86_64", + ], +) + +config_setting( + name = "macos_aarch64", + constraint_values = [ + "@platforms//os:macos", + "@platforms//cpu:aarch64", + ], +) + # Platform and architecture-aware alias that selects the appropriate LLVM configuration # Note: macOS cross-compiles for arm64, so it always uses llvm_wamr_lib_macos with both X86 and AArch64 targets alias( name = "llvm_wamr_lib", actual = select({ - "@platforms//cpu:x86_64": select({ - "@platforms//os:linux": ":llvm_wamr_lib_linux_x86", - "@platforms//os:macos": ":llvm_wamr_lib_macos", - "//conditions:default": ":llvm_wamr_lib_linux_x86", - }), - "@platforms//cpu:aarch64": select({ - "@platforms//os:linux": ":llvm_wamr_lib_linux_aarch64", - "@platforms//os:macos": ":llvm_wamr_lib_macos", - "//conditions:default": ":llvm_wamr_lib_linux_aarch64", - }), + ":linux_x86_64": ":llvm_wamr_lib_linux_x86", + ":linux_aarch64": ":llvm_wamr_lib_linux_aarch64", + ":macos_x86_64": ":llvm_wamr_lib_macos", + ":macos_aarch64": ":llvm_wamr_lib_macos", # Default to x86_64 Linux for other architectures "//conditions:default": ":llvm_wamr_lib_linux_x86", }), From 5fa3197faf71bfd4e3743c156a9d78599509a01c Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 13:47:42 +0100 Subject: [PATCH 28/49] Fix s390x GCC segfault during Bazel 7.7.1 bootstrap compilation Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index a0c415a2f..90e90bb67 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -62,7 +62,8 @@ WORKDIR /tmp/src/bazel COPY bazel/external/bazel-v7.7.1.patch /tmp/bazel-v7.7.1.patch RUN git apply /tmp/bazel-v7.7.1.patch # Limit parallelism and optimization to avoid GCC segmentation faults on s390x -ENV BAZEL_COMPILE_FLAGS="-j 2 -O1" +# Use -O0 (no optimization) and -j 1 (single-threaded) to prevent GCC crashes +ENV BAZEL_COMPILE_FLAGS="-j 1 -O0" ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" RUN bash ./compile.sh && \ cp /tmp/src/bazel/output/bazel /tmp/bazel && \ From a089decc7f7a29bf29942d37aea52c7255a5f460 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 14:23:09 +0100 Subject: [PATCH 29/49] Fix WAMR JIT macOS build failure by segregating architecture configs Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 144 +++++++++++++++++++++++++++------ 1 file changed, 121 insertions(+), 23 deletions(-) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index b5523b51c..e2ede9353 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -251,24 +251,23 @@ cmake( working_directory = "llvm", ) -# LLVM configuration for macOS builds -# CMAKE_OSX_ARCHITECTURES is set for cross-compilation support. -# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are NOT specified here, -# allowing them to default to enabled. This is required when -# CMAKE_OSX_ARCHITECTURES is set, as LLVM's CMake needs utils enabled -# for host-architecture build tools during cross-compilation. +# LLVM configuration for macOS x86_64 builds +# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are disabled to avoid mlgo-utils +# test suite errors (requires llvm-objcopy and yaml2obj tools that are disabled). +# Only X86 target is built to minimize library size. cmake( - name = "llvm_wamr_lib_macos", + name = "llvm_wamr_lib_macos_x86", cache_entries = { # Disable both: BUILD and INCLUDE, since some of the INCLUDE # targets build code instead of only generating build files. "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", - "CMAKE_OSX_ARCHITECTURES": "arm64", + "CMAKE_OSX_ARCHITECTURES": "x86_64", "LLVM_BUILD_BENCHMARKS": "off", "LLVM_BUILD_DOCS": "off", "LLVM_BUILD_EXAMPLES": "off", "LLVM_BUILD_TESTS": "off", "LLVM_BUILD_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", "LLVM_ENABLE_IDE": "off", "LLVM_ENABLE_LIBEDIT": "off", "LLVM_ENABLE_LIBXML2": "off", @@ -280,7 +279,8 @@ cmake( "LLVM_INCLUDE_EXAMPLES": "off", "LLVM_INCLUDE_TESTS": "off", "LLVM_INCLUDE_TOOLS": "off", - "LLVM_TARGETS_TO_BUILD": "X86;AArch64", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_TARGETS_TO_BUILD": "X86", }, # `lld` doesn't work on macOS generate_args = ["-GNinja"], @@ -293,23 +293,122 @@ cmake( # How to get the library list: # build LLVM with "-DLLVM_INCLUDE_TOOLS=ON" # cd bin and run "./llvm-config --libnames" - "libLLVMWindowsManifest.a", - "libLLVMXRay.a", - "libLLVMLibDriver.a", - "libLLVMDlltoolDriver.a", - "libLLVMCoverage.a", - "libLLVMLineEditor.a", + # X86-specific libraries only (no AArch64, no Windows-specific libs) + "libLLVMX86Disassembler.a", + "libLLVMX86AsmParser.a", + "libLLVMX86CodeGen.a", + "libLLVMX86Desc.a", + "libLLVMX86Info.a", + # Common LLVM libraries (architecture-independent) + "libLLVMOrcJIT.a", + "libLLVMMCJIT.a", + "libLLVMJITLink.a", + "libLLVMInterpreter.a", + "libLLVMExecutionEngine.a", + "libLLVMRuntimeDyld.a", + "libLLVMOrcTargetProcess.a", + "libLLVMOrcShared.a", + "libLLVMDWP.a", + "libLLVMSymbolize.a", + "libLLVMDebugInfoPDB.a", + "libLLVMDebugInfoGSYM.a", + "libLLVMOption.a", + "libLLVMObjectYAML.a", + "libLLVMMCA.a", + "libLLVMMCDisassembler.a", + "libLLVMLTO.a", + "libLLVMPasses.a", + "libLLVMCFGuard.a", + "libLLVMCoroutines.a", + "libLLVMObjCARCOpts.a", + "libLLVMipo.a", + "libLLVMVectorize.a", + "libLLVMLinker.a", + "libLLVMInstrumentation.a", + "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOpenACC.a", + "libLLVMExtensions.a", + "libLLVMDWARFLinker.a", + "libLLVMGlobalISel.a", + "libLLVMMIRParser.a", + "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", + "libLLVMDebugInfoDWARF.a", + "libLLVMSelectionDAG.a", + "libLLVMCodeGen.a", + "libLLVMIRReader.a", + "libLLVMAsmParser.a", + "libLLVMInterfaceStub.a", + "libLLVMFileCheck.a", + "libLLVMFuzzMutate.a", + "libLLVMTarget.a", + "libLLVMScalarOpts.a", + "libLLVMInstCombine.a", + "libLLVMAggressiveInstCombine.a", + "libLLVMTransformUtils.a", + "libLLVMBitWriter.a", + "libLLVMAnalysis.a", + "libLLVMProfileData.a", + "libLLVMObject.a", + "libLLVMTextAPI.a", + "libLLVMMCParser.a", + "libLLVMMC.a", + "libLLVMDebugInfoCodeView.a", + "libLLVMBitReader.a", + "libLLVMCore.a", + "libLLVMRemarks.a", + "libLLVMBitstreamReader.a", + "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMSupport.a", + "libLLVMDemangle.a", + ], + working_directory = "llvm", +) + +# LLVM configuration for macOS aarch64 builds +# Similar to macOS x86_64 but builds only AArch64 target. +cmake( + name = "llvm_wamr_lib_macos_aarch64", + cache_entries = { + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "CMAKE_OSX_ARCHITECTURES": "arm64", + "LLVM_BUILD_BENCHMARKS": "off", + "LLVM_BUILD_DOCS": "off", + "LLVM_BUILD_EXAMPLES": "off", + "LLVM_BUILD_TESTS": "off", + "LLVM_BUILD_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", + "LLVM_ENABLE_IDE": "off", + "LLVM_ENABLE_LIBEDIT": "off", + "LLVM_ENABLE_LIBXML2": "off", + "LLVM_ENABLE_TERMINFO": "off", + "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_TARGETS_TO_BUILD": "AArch64", + }, + # `lld` doesn't work on macOS + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_data_dirs = [ + "libexec", + "share", + ], + out_static_libs = [ + # AArch64-specific libraries only (no X86, no Windows-specific libs) "libLLVMAArch64Disassembler.a", "libLLVMAArch64AsmParser.a", "libLLVMAArch64CodeGen.a", "libLLVMAArch64Desc.a", "libLLVMAArch64Info.a", "libLLVMAArch64Utils.a", - "libLLVMX86Disassembler.a", - "libLLVMX86AsmParser.a", - "libLLVMX86CodeGen.a", - "libLLVMX86Desc.a", - "libLLVMX86Info.a", + # Common LLVM libraries (architecture-independent) "libLLVMOrcJIT.a", "libLLVMMCJIT.a", "libLLVMJITLink.a", @@ -410,14 +509,13 @@ config_setting( ) # Platform and architecture-aware alias that selects the appropriate LLVM configuration -# Note: macOS cross-compiles for arm64, so it always uses llvm_wamr_lib_macos with both X86 and AArch64 targets alias( name = "llvm_wamr_lib", actual = select({ ":linux_x86_64": ":llvm_wamr_lib_linux_x86", ":linux_aarch64": ":llvm_wamr_lib_linux_aarch64", - ":macos_x86_64": ":llvm_wamr_lib_macos", - ":macos_aarch64": ":llvm_wamr_lib_macos", + ":macos_x86_64": ":llvm_wamr_lib_macos_x86", + ":macos_aarch64": ":llvm_wamr_lib_macos_aarch64", # Default to x86_64 Linux for other architectures "//conditions:default": ":llvm_wamr_lib_linux_x86", }), From 76ae81d6da05b4af54a30bbdb1b6c2860ea089a6 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 14:57:58 +0100 Subject: [PATCH 30/49] Fix s390x Bazel bootstrap build by disabling GCC optimization under QEMU Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 7 +++---- bazel/external/bazel-v7.7.1.patch | 26 +++++++++++++++++++++----- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 90e90bb67..5035f511f 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -58,12 +58,11 @@ RUN apt-get update && \ unzip /tmp/bazel-dist.zip -d /tmp/src/bazel && \ rm -f /tmp/bazel-dist.zip /tmp/src/bazel/MODULE.bazel.lock WORKDIR /tmp/src/bazel -# Patch MODULE.bazel to force bazel_features v1.26.0 (avoids bzlmod macro requirement during bootstrap) +# Patch MODULE.bazel and .bazelrc to: +# - Force bazel_features v1.11.0 (avoids bzlmod macro requirement during bootstrap) +# - Configure compilation flags to avoid GCC segmentation faults on s390x under QEMU emulation COPY bazel/external/bazel-v7.7.1.patch /tmp/bazel-v7.7.1.patch RUN git apply /tmp/bazel-v7.7.1.patch -# Limit parallelism and optimization to avoid GCC segmentation faults on s390x -# Use -O0 (no optimization) and -j 1 (single-threaded) to prevent GCC crashes -ENV BAZEL_COMPILE_FLAGS="-j 1 -O0" ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" RUN bash ./compile.sh && \ cp /tmp/src/bazel/output/bazel /tmp/bazel && \ diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index b5ecdadbd..9871a6e48 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -1,15 +1,31 @@ +diff --git a/.bazelrc b/.bazelrc +index 8514bcc..d746475 100755 +--- a/.bazelrc ++++ b/.bazelrc +@@ -92,3 +92,11 @@ test:ci-windows --test_env=JAVA_HOME + test:ci-windows --test_env=TEST_INSTALL_BASE=C:/b/bazeltest_install_base + test:ci-windows --test_env=REPOSITORY_CACHE=C:/b/bazeltest_repo_cache + test:ci-windows --test_tag_filters=-no_windows,-slow ++ ++# Workaround for GCC segmentation faults on s390x under QEMU emulation ++# Disable optimization and limit parallelism during bootstrap ++build --jobs=1 ++build --copt=-O0 ++build --host_copt=-O0 ++build --copt=-g0 ++build --host_copt=-g0 diff --git a/MODULE.bazel b/MODULE.bazel -index 0a5ea5b..787d093 100755 +index 0a5ea5b..7e8ccd6 100755 --- a/MODULE.bazel +++ b/MODULE.bazel -@@ -14,6 +14,7 @@ module( +@@ -12,6 +12,7 @@ module( + # Bazel module dependencies + # ========================================= ++bazel_dep(name = "bazel_features", version = "1.11.0") bazel_dep(name = "rules_license", version = "0.0.7") bazel_dep(name = "bazel_skylib", version = "1.7.1") -+bazel_dep(name = "bazel_features", version = "1.11.0") bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") - bazel_dep(name = "grpc", version = "1.48.1.bcr.1", repo_name = "com_github_grpc_grpc") - bazel_dep(name = "platforms", version = "0.0.10") @@ -41,6 +42,10 @@ single_version_override( patch_strip = 1, patches = ["//third_party:rules_jvm_external_6.0.patch"], From 1743a26eba22f0ed13c8ef4d378dc04b56031658 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 15:51:19 +0100 Subject: [PATCH 31/49] Fix Bazel 7.7.1 bootstrap compilation on s390x by patching toolchain optimization flags Signed-off-by: Matthieu MOREL --- bazel/external/bazel-v7.7.1.patch | 36 ++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index 9871a6e48..95471e037 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -1,8 +1,8 @@ diff --git a/.bazelrc b/.bazelrc -index 8514bcc..d746475 100755 +index 8514bcc..8934613 100755 --- a/.bazelrc +++ b/.bazelrc -@@ -92,3 +92,11 @@ test:ci-windows --test_env=JAVA_HOME +@@ -92,3 +92,15 @@ test:ci-windows --test_env=JAVA_HOME test:ci-windows --test_env=TEST_INSTALL_BASE=C:/b/bazeltest_install_base test:ci-windows --test_env=REPOSITORY_CACHE=C:/b/bazeltest_repo_cache test:ci-windows --test_tag_filters=-no_windows,-slow @@ -14,19 +14,24 @@ index 8514bcc..d746475 100755 +build --host_copt=-O0 +build --copt=-g0 +build --host_copt=-g0 ++build --copt=-fno-inline ++build --host_copt=-fno-inline ++build --copt=-fno-inline-functions ++build --host_copt=-fno-inline-functions diff --git a/MODULE.bazel b/MODULE.bazel -index 0a5ea5b..7e8ccd6 100755 +index 0a5ea5b..82411c9 100755 --- a/MODULE.bazel +++ b/MODULE.bazel -@@ -12,6 +12,7 @@ module( +@@ -12,6 +12,8 @@ module( # Bazel module dependencies # ========================================= +bazel_dep(name = "bazel_features", version = "1.11.0") ++ bazel_dep(name = "rules_license", version = "0.0.7") bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") -@@ -41,6 +42,10 @@ single_version_override( +@@ -41,6 +43,10 @@ single_version_override( patch_strip = 1, patches = ["//third_party:rules_jvm_external_6.0.patch"], ) @@ -37,3 +42,24 @@ index 0a5ea5b..7e8ccd6 100755 local_path_override( module_name = "remoteapis", +diff --git a/tools/cpp/unix_cc_configure.bzl b/tools/cpp/unix_cc_configure.bzl +index bbbba7e..e113e00 100755 +--- a/tools/cpp/unix_cc_configure.bzl ++++ b/tools/cpp/unix_cc_configure.bzl +@@ -688,10 +688,12 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools): + # handling in Bazel. + "-g0", + +- # Conservative choice for -O +- # -O3 can increase binary size and even slow down the resulting binaries. +- # Profile first and / or use FDO if you need better performance than this. +- "-O2", ++ # Workaround for GCC segmentation faults on s390x under QEMU emulation ++ "-O0", ++ ++ # Additional flags to prevent inlining which can cause GCC crashes ++ "-fno-inline", ++ "-fno-inline-functions", + + # Security hardening on by default. + # Conservative choice; -D_FORTIFY_SOURCE=2 may be unsafe in some cases. From 3d0ede249bebeb3c7cd92c8dd7cb7bae3d67c9f9 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 16:01:27 +0100 Subject: [PATCH 32/49] Add libLLVMTargetParser.a for LLVM 19.1.0 compatibility Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index e2ede9353..80420662c 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -134,6 +134,7 @@ cmake( "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", "libLLVMTableGen.a", + "libLLVMTargetParser.a", "libLLVMSupport.a", "libLLVMDemangle.a", ], @@ -245,6 +246,7 @@ cmake( "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", "libLLVMTableGen.a", + "libLLVMTargetParser.a", "libLLVMSupport.a", "libLLVMDemangle.a", ], @@ -360,6 +362,7 @@ cmake( "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", "libLLVMTableGen.a", + "libLLVMTargetParser.a", "libLLVMSupport.a", "libLLVMDemangle.a", ], @@ -469,6 +472,7 @@ cmake( "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", "libLLVMTableGen.a", + "libLLVMTargetParser.a", "libLLVMSupport.a", "libLLVMDemangle.a", ], From 1a5dce46427d8f7a1405369be9a7d172be5c2e15 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 16:19:05 +0100 Subject: [PATCH 33/49] Remove unused llvm.BUILD file Signed-off-by: Matthieu MOREL --- bazel/external/llvm.BUILD | 413 +++++++++++++++++++++++++- bazel/external/wamr_llvm.BUILD | 526 --------------------------------- bazel/repositories.bzl | 2 +- 3 files changed, 402 insertions(+), 539 deletions(-) delete mode 100644 bazel/external/wamr_llvm.BUILD diff --git a/bazel/external/llvm.BUILD b/bazel/external/llvm.BUILD index 40396786b..32474e3b6 100644 --- a/bazel/external/llvm.BUILD +++ b/bazel/external/llvm.BUILD @@ -23,17 +23,131 @@ filegroup( srcs = glob(["**"]), ) +# LLVM configuration for Linux x86_64 builds +# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are disabled to avoid mlgo-utils +# test suite errors (requires llvm-objcopy and yaml2obj tools that are disabled). +# Only X86 target is built to minimize library size. cmake( - name = "llvm_lib", + name = "llvm_wamr_lib_linux_x86", cache_entries = { # Disable both: BUILD and INCLUDE, since some of the INCLUDE # targets build code instead of only generating build files. + "LLVM_BUILD_BENCHMARKS": "off", + "LLVM_BUILD_DOCS": "off", + "LLVM_BUILD_EXAMPLES": "off", + "LLVM_BUILD_TESTS": "off", + "LLVM_BUILD_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", + "LLVM_ENABLE_IDE": "off", + "LLVM_ENABLE_LIBEDIT": "off", + "LLVM_ENABLE_LIBXML2": "off", + "LLVM_ENABLE_TERMINFO": "off", + "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_TARGETS_TO_BUILD": "X86", "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + }, + # `lld` works on Linux + generate_args = [ + "-GNinja", + "-DLLVM_USE_LINKER=lld", + ], + lib_source = ":srcs", + out_data_dirs = [ + "libexec", + "share", + ], + out_static_libs = [ + # How to get the library list: + # build LLVM with "-DLLVM_INCLUDE_TOOLS=ON" + # cd bin and run "./llvm-config --libnames" + # X86-specific libraries only (no AArch64, no Windows-specific libs) + "libLLVMX86Disassembler.a", + "libLLVMX86AsmParser.a", + "libLLVMX86CodeGen.a", + "libLLVMX86Desc.a", + "libLLVMX86Info.a", + "libLLVMOrcJIT.a", + "libLLVMMCJIT.a", + "libLLVMJITLink.a", + "libLLVMInterpreter.a", + "libLLVMExecutionEngine.a", + "libLLVMRuntimeDyld.a", + "libLLVMOrcTargetProcess.a", + "libLLVMOrcShared.a", + "libLLVMDWP.a", + "libLLVMSymbolize.a", + "libLLVMDebugInfoPDB.a", + "libLLVMDebugInfoGSYM.a", + "libLLVMOption.a", + "libLLVMObjectYAML.a", + "libLLVMMCA.a", + "libLLVMMCDisassembler.a", + "libLLVMLTO.a", + "libLLVMPasses.a", + "libLLVMCFGuard.a", + "libLLVMCoroutines.a", + "libLLVMObjCARCOpts.a", + "libLLVMipo.a", + "libLLVMVectorize.a", + "libLLVMLinker.a", + "libLLVMInstrumentation.a", + "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOpenACC.a", + "libLLVMExtensions.a", + "libLLVMDWARFLinker.a", + "libLLVMGlobalISel.a", + "libLLVMMIRParser.a", + "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", + "libLLVMDebugInfoDWARF.a", + "libLLVMSelectionDAG.a", + "libLLVMCodeGen.a", + "libLLVMIRReader.a", + "libLLVMAsmParser.a", + "libLLVMInterfaceStub.a", + "libLLVMFileCheck.a", + "libLLVMFuzzMutate.a", + "libLLVMTarget.a", + "libLLVMScalarOpts.a", + "libLLVMInstCombine.a", + "libLLVMAggressiveInstCombine.a", + "libLLVMTransformUtils.a", + "libLLVMBitWriter.a", + "libLLVMAnalysis.a", + "libLLVMProfileData.a", + "libLLVMObject.a", + "libLLVMTextAPI.a", + "libLLVMMCParser.a", + "libLLVMMC.a", + "libLLVMDebugInfoCodeView.a", + "libLLVMBitReader.a", + "libLLVMCore.a", + "libLLVMRemarks.a", + "libLLVMBitstreamReader.a", + "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMTargetParser.a", + "libLLVMSupport.a", + "libLLVMDemangle.a", + ], + working_directory = "llvm", +) + +# LLVM configuration for Linux aarch64 builds +# Similar to Linux x86_64 but builds only AArch64 target. +cmake( + name = "llvm_wamr_lib_linux_aarch64", + cache_entries = { "LLVM_BUILD_BENCHMARKS": "off", "LLVM_BUILD_DOCS": "off", "LLVM_BUILD_EXAMPLES": "off", - "LLVM_BUILD_RUNTIME": "off", - "LLVM_BUILD_RUNTIMES": "off", "LLVM_BUILD_TESTS": "off", "LLVM_BUILD_TOOLS": "off", "LLVM_BUILD_UTILS": "off", @@ -42,24 +156,143 @@ cmake( "LLVM_ENABLE_LIBXML2": "off", "LLVM_ENABLE_TERMINFO": "off", "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_TARGETS_TO_BUILD": "AArch64", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + }, + # `lld` works on Linux + generate_args = [ + "-GNinja", + "-DLLVM_USE_LINKER=lld", + ], + lib_source = ":srcs", + out_data_dirs = [ + "libexec", + "share", + ], + out_static_libs = [ + "libLLVMAArch64Disassembler.a", + "libLLVMAArch64AsmParser.a", + "libLLVMAArch64CodeGen.a", + "libLLVMAArch64Desc.a", + "libLLVMAArch64Info.a", + "libLLVMAArch64Utils.a", + "libLLVMOrcJIT.a", + "libLLVMMCJIT.a", + "libLLVMJITLink.a", + "libLLVMInterpreter.a", + "libLLVMExecutionEngine.a", + "libLLVMRuntimeDyld.a", + "libLLVMOrcTargetProcess.a", + "libLLVMOrcShared.a", + "libLLVMDWP.a", + "libLLVMSymbolize.a", + "libLLVMDebugInfoPDB.a", + "libLLVMDebugInfoGSYM.a", + "libLLVMOption.a", + "libLLVMObjectYAML.a", + "libLLVMMCA.a", + "libLLVMMCDisassembler.a", + "libLLVMLTO.a", + "libLLVMPasses.a", + "libLLVMCFGuard.a", + "libLLVMCoroutines.a", + "libLLVMObjCARCOpts.a", + "libLLVMipo.a", + "libLLVMVectorize.a", + "libLLVMLinker.a", + "libLLVMInstrumentation.a", + "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOpenACC.a", + "libLLVMExtensions.a", + "libLLVMDWARFLinker.a", + "libLLVMGlobalISel.a", + "libLLVMMIRParser.a", + "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", + "libLLVMDebugInfoDWARF.a", + "libLLVMSelectionDAG.a", + "libLLVMCodeGen.a", + "libLLVMIRReader.a", + "libLLVMAsmParser.a", + "libLLVMInterfaceStub.a", + "libLLVMFileCheck.a", + "libLLVMFuzzMutate.a", + "libLLVMTarget.a", + "libLLVMScalarOpts.a", + "libLLVMInstCombine.a", + "libLLVMAggressiveInstCombine.a", + "libLLVMTransformUtils.a", + "libLLVMBitWriter.a", + "libLLVMAnalysis.a", + "libLLVMProfileData.a", + "libLLVMObject.a", + "libLLVMTextAPI.a", + "libLLVMMCParser.a", + "libLLVMMC.a", + "libLLVMDebugInfoCodeView.a", + "libLLVMBitReader.a", + "libLLVMCore.a", + "libLLVMRemarks.a", + "libLLVMBitstreamReader.a", + "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMTargetParser.a", + "libLLVMSupport.a", + "libLLVMDemangle.a", + ], + working_directory = "llvm", +) + +# LLVM configuration for macOS x86_64 builds +# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are disabled to avoid mlgo-utils +# test suite errors (requires llvm-objcopy and yaml2obj tools that are disabled). +# Only X86 target is built to minimize library size. +cmake( + name = "llvm_wamr_lib_macos_x86", + cache_entries = { + # Disable both: BUILD and INCLUDE, since some of the INCLUDE + # targets build code instead of only generating build files. + "CMAKE_OSX_ARCHITECTURES": "x86_64", + "LLVM_BUILD_BENCHMARKS": "off", + "LLVM_BUILD_DOCS": "off", + "LLVM_BUILD_EXAMPLES": "off", + "LLVM_BUILD_TESTS": "off", + "LLVM_BUILD_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", + "LLVM_ENABLE_IDE": "off", + "LLVM_ENABLE_LIBEDIT": "off", + "LLVM_ENABLE_LIBXML2": "off", + "LLVM_ENABLE_TERMINFO": "off", + "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", "LLVM_INCLUDE_BENCHMARKS": "off", "LLVM_INCLUDE_DOCS": "off", "LLVM_INCLUDE_EXAMPLES": "off", - "LLVM_INCLUDE_RUNTIMES": "off", "LLVM_INCLUDE_TESTS": "off", "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "X86", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, + # `lld` doesn't work on macOS generate_args = ["-GNinja"], lib_source = ":srcs", + out_data_dirs = [ + "libexec", + "share", + ], out_static_libs = [ - "libLLVMWindowsManifest.a", - "libLLVMXRay.a", - "libLLVMLibDriver.a", - "libLLVMDlltoolDriver.a", - "libLLVMCoverage.a", - "libLLVMLineEditor.a", + # How to get the library list: + # build LLVM with "-DLLVM_INCLUDE_TOOLS=ON" + # cd bin and run "./llvm-config --libnames" + # X86-specific libraries only (no AArch64, no Windows-specific libs) "libLLVMX86Disassembler.a", "libLLVMX86AsmParser.a", "libLLVMX86CodeGen.a", @@ -68,11 +301,119 @@ cmake( "libLLVMOrcJIT.a", "libLLVMMCJIT.a", "libLLVMJITLink.a", + "libLLVMInterpreter.a", + "libLLVMExecutionEngine.a", + "libLLVMRuntimeDyld.a", "libLLVMOrcTargetProcess.a", "libLLVMOrcShared.a", + "libLLVMDWP.a", + "libLLVMSymbolize.a", + "libLLVMDebugInfoPDB.a", + "libLLVMDebugInfoGSYM.a", + "libLLVMOption.a", + "libLLVMObjectYAML.a", + "libLLVMMCA.a", + "libLLVMMCDisassembler.a", + "libLLVMLTO.a", + "libLLVMPasses.a", + "libLLVMCFGuard.a", + "libLLVMCoroutines.a", + "libLLVMObjCARCOpts.a", + "libLLVMipo.a", + "libLLVMVectorize.a", + "libLLVMLinker.a", + "libLLVMInstrumentation.a", + "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOpenACC.a", + "libLLVMExtensions.a", + "libLLVMDWARFLinker.a", + "libLLVMGlobalISel.a", + "libLLVMMIRParser.a", + "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", + "libLLVMDebugInfoDWARF.a", + "libLLVMSelectionDAG.a", + "libLLVMCodeGen.a", + "libLLVMIRReader.a", + "libLLVMAsmParser.a", + "libLLVMInterfaceStub.a", + "libLLVMFileCheck.a", + "libLLVMFuzzMutate.a", + "libLLVMTarget.a", + "libLLVMScalarOpts.a", + "libLLVMInstCombine.a", + "libLLVMAggressiveInstCombine.a", + "libLLVMTransformUtils.a", + "libLLVMBitWriter.a", + "libLLVMAnalysis.a", + "libLLVMProfileData.a", + "libLLVMObject.a", + "libLLVMTextAPI.a", + "libLLVMMCParser.a", + "libLLVMMC.a", + "libLLVMDebugInfoCodeView.a", + "libLLVMBitReader.a", + "libLLVMCore.a", + "libLLVMRemarks.a", + "libLLVMBitstreamReader.a", + "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMTargetParser.a", + "libLLVMSupport.a", + "libLLVMDemangle.a", + ], + working_directory = "llvm", +) + +# LLVM configuration for macOS aarch64 builds +cmake( + name = "llvm_wamr_lib_macos_aarch64", + cache_entries = { + "CMAKE_OSX_ARCHITECTURES": "arm64", + "LLVM_BUILD_BENCHMARKS": "off", + "LLVM_BUILD_DOCS": "off", + "LLVM_BUILD_EXAMPLES": "off", + "LLVM_BUILD_TESTS": "off", + "LLVM_BUILD_TOOLS": "off", + "LLVM_BUILD_UTILS": "off", + "LLVM_ENABLE_IDE": "off", + "LLVM_ENABLE_LIBEDIT": "off", + "LLVM_ENABLE_LIBXML2": "off", + "LLVM_ENABLE_TERMINFO": "off", + "LLVM_ENABLE_ZLIB": "off", + "LLVM_ENABLE_ZSTD": "off", + "LLVM_INCLUDE_BENCHMARKS": "off", + "LLVM_INCLUDE_DOCS": "off", + "LLVM_INCLUDE_EXAMPLES": "off", + "LLVM_INCLUDE_TESTS": "off", + "LLVM_INCLUDE_TOOLS": "off", + "LLVM_INCLUDE_UTILS": "off", + "LLVM_TARGETS_TO_BUILD": "AArch64", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + }, + # `lld` doesn't work on macOS + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_data_dirs = [ + "libexec", + "share", + ], + out_static_libs = [ + "libLLVMAArch64Disassembler.a", + "libLLVMAArch64AsmParser.a", + "libLLVMAArch64CodeGen.a", + "libLLVMAArch64Desc.a", + "libLLVMAArch64Info.a", + "libLLVMAArch64Utils.a", + "libLLVMOrcJIT.a", + "libLLVMMCJIT.a", + "libLLVMJITLink.a", "libLLVMInterpreter.a", "libLLVMExecutionEngine.a", "libLLVMRuntimeDyld.a", + "libLLVMOrcTargetProcess.a", + "libLLVMOrcShared.a", + "libLLVMDWP.a", "libLLVMSymbolize.a", "libLLVMDebugInfoPDB.a", "libLLVMDebugInfoGSYM.a", @@ -85,7 +426,6 @@ cmake( "libLLVMCFGuard.a", "libLLVMCoroutines.a", "libLLVMObjCARCOpts.a", - "libLLVMHelloNew.a", "libLLVMipo.a", "libLLVMVectorize.a", "libLLVMLinker.a", @@ -97,6 +437,7 @@ cmake( "libLLVMGlobalISel.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", + "libLLVMDebugInfoMSF.a", "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", "libLLVMCodeGen.a", @@ -118,13 +459,61 @@ cmake( "libLLVMMCParser.a", "libLLVMMC.a", "libLLVMDebugInfoCodeView.a", - "libLLVMDebugInfoMSF.a", "libLLVMBitReader.a", "libLLVMCore.a", "libLLVMRemarks.a", "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", + "libLLVMTableGen.a", + "libLLVMTargetParser.a", "libLLVMSupport.a", "libLLVMDemangle.a", ], + working_directory = "llvm", +) + +# Platform-specific config settings to enable proper select() in alias rule +config_setting( + name = "linux_x86_64", + constraint_values = [ + "@platforms//os:linux", + "@platforms//cpu:x86_64", + ], +) + +config_setting( + name = "linux_aarch64", + constraint_values = [ + "@platforms//os:linux", + "@platforms//cpu:aarch64", + ], +) + +config_setting( + name = "macos_x86_64", + constraint_values = [ + "@platforms//os:macos", + "@platforms//cpu:x86_64", + ], +) + +config_setting( + name = "macos_aarch64", + constraint_values = [ + "@platforms//os:macos", + "@platforms//cpu:aarch64", + ], +) + +# Platform and architecture-aware alias that selects the appropriate LLVM configuration +alias( + name = "llvm_wamr_lib", + actual = select({ + ":linux_x86_64": ":llvm_wamr_lib_linux_x86", + ":linux_aarch64": ":llvm_wamr_lib_linux_aarch64", + ":macos_x86_64": ":llvm_wamr_lib_macos_x86", + ":macos_aarch64": ":llvm_wamr_lib_macos_aarch64", + # Default to x86_64 Linux for other architectures + "//conditions:default": ":llvm_wamr_lib_linux_x86", + }), ) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD deleted file mode 100644 index 80420662c..000000000 --- a/bazel/external/wamr_llvm.BUILD +++ /dev/null @@ -1,526 +0,0 @@ -# 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 - -package(default_visibility = ["//visibility:public"]) - -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -# LLVM configuration for Linux x86_64 builds -# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are disabled to avoid mlgo-utils -# test suite errors (requires llvm-objcopy and yaml2obj tools that are disabled). -# Only X86 target is built to minimize library size. -cmake( - name = "llvm_wamr_lib_linux_x86", - cache_entries = { - # Disable both: BUILD and INCLUDE, since some of the INCLUDE - # targets build code instead of only generating build files. - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", - "LLVM_BUILD_BENCHMARKS": "off", - "LLVM_BUILD_DOCS": "off", - "LLVM_BUILD_EXAMPLES": "off", - "LLVM_BUILD_TESTS": "off", - "LLVM_BUILD_TOOLS": "off", - "LLVM_BUILD_UTILS": "off", - "LLVM_ENABLE_IDE": "off", - "LLVM_ENABLE_LIBEDIT": "off", - "LLVM_ENABLE_LIBXML2": "off", - "LLVM_ENABLE_TERMINFO": "off", - "LLVM_ENABLE_ZLIB": "off", - "LLVM_ENABLE_ZSTD": "off", - "LLVM_INCLUDE_BENCHMARKS": "off", - "LLVM_INCLUDE_DOCS": "off", - "LLVM_INCLUDE_EXAMPLES": "off", - "LLVM_INCLUDE_TESTS": "off", - "LLVM_INCLUDE_TOOLS": "off", - "LLVM_INCLUDE_UTILS": "off", - "LLVM_TARGETS_TO_BUILD": "X86", - }, - # `lld` works on Linux - generate_args = [ - "-GNinja", - "-DLLVM_USE_LINKER=lld", - ], - lib_source = ":srcs", - out_data_dirs = [ - "libexec", - "share", - ], - out_static_libs = [ - # How to get the library list: - # build LLVM with "-DLLVM_INCLUDE_TOOLS=ON" - # cd bin and run "./llvm-config --libnames" - # X86-specific libraries only (no AArch64, no Windows-specific libs) - "libLLVMX86Disassembler.a", - "libLLVMX86AsmParser.a", - "libLLVMX86CodeGen.a", - "libLLVMX86Desc.a", - "libLLVMX86Info.a", - # Common LLVM libraries (architecture-independent) - "libLLVMOrcJIT.a", - "libLLVMMCJIT.a", - "libLLVMJITLink.a", - "libLLVMInterpreter.a", - "libLLVMExecutionEngine.a", - "libLLVMRuntimeDyld.a", - "libLLVMOrcTargetProcess.a", - "libLLVMOrcShared.a", - "libLLVMDWP.a", - "libLLVMSymbolize.a", - "libLLVMDebugInfoPDB.a", - "libLLVMDebugInfoGSYM.a", - "libLLVMOption.a", - "libLLVMObjectYAML.a", - "libLLVMMCA.a", - "libLLVMMCDisassembler.a", - "libLLVMLTO.a", - "libLLVMPasses.a", - "libLLVMCFGuard.a", - "libLLVMCoroutines.a", - "libLLVMObjCARCOpts.a", - "libLLVMipo.a", - "libLLVMVectorize.a", - "libLLVMLinker.a", - "libLLVMInstrumentation.a", - "libLLVMFrontendOpenMP.a", - "libLLVMFrontendOpenACC.a", - "libLLVMExtensions.a", - "libLLVMDWARFLinker.a", - "libLLVMGlobalISel.a", - "libLLVMMIRParser.a", - "libLLVMAsmPrinter.a", - "libLLVMDebugInfoMSF.a", - "libLLVMDebugInfoDWARF.a", - "libLLVMSelectionDAG.a", - "libLLVMCodeGen.a", - "libLLVMIRReader.a", - "libLLVMAsmParser.a", - "libLLVMInterfaceStub.a", - "libLLVMFileCheck.a", - "libLLVMFuzzMutate.a", - "libLLVMTarget.a", - "libLLVMScalarOpts.a", - "libLLVMInstCombine.a", - "libLLVMAggressiveInstCombine.a", - "libLLVMTransformUtils.a", - "libLLVMBitWriter.a", - "libLLVMAnalysis.a", - "libLLVMProfileData.a", - "libLLVMObject.a", - "libLLVMTextAPI.a", - "libLLVMMCParser.a", - "libLLVMMC.a", - "libLLVMDebugInfoCodeView.a", - "libLLVMBitReader.a", - "libLLVMCore.a", - "libLLVMRemarks.a", - "libLLVMBitstreamReader.a", - "libLLVMBinaryFormat.a", - "libLLVMTableGen.a", - "libLLVMTargetParser.a", - "libLLVMSupport.a", - "libLLVMDemangle.a", - ], - working_directory = "llvm", -) - -# LLVM configuration for Linux aarch64 builds -# Similar to Linux x86_64 but builds only AArch64 target. -cmake( - name = "llvm_wamr_lib_linux_aarch64", - cache_entries = { - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", - "LLVM_BUILD_BENCHMARKS": "off", - "LLVM_BUILD_DOCS": "off", - "LLVM_BUILD_EXAMPLES": "off", - "LLVM_BUILD_TESTS": "off", - "LLVM_BUILD_TOOLS": "off", - "LLVM_BUILD_UTILS": "off", - "LLVM_ENABLE_IDE": "off", - "LLVM_ENABLE_LIBEDIT": "off", - "LLVM_ENABLE_LIBXML2": "off", - "LLVM_ENABLE_TERMINFO": "off", - "LLVM_ENABLE_ZLIB": "off", - "LLVM_ENABLE_ZSTD": "off", - "LLVM_INCLUDE_BENCHMARKS": "off", - "LLVM_INCLUDE_DOCS": "off", - "LLVM_INCLUDE_EXAMPLES": "off", - "LLVM_INCLUDE_TESTS": "off", - "LLVM_INCLUDE_TOOLS": "off", - "LLVM_INCLUDE_UTILS": "off", - "LLVM_TARGETS_TO_BUILD": "AArch64", - }, - # `lld` works on Linux - generate_args = [ - "-GNinja", - "-DLLVM_USE_LINKER=lld", - ], - lib_source = ":srcs", - out_data_dirs = [ - "libexec", - "share", - ], - out_static_libs = [ - # AArch64-specific libraries only (no X86, no Windows-specific libs) - "libLLVMAArch64Disassembler.a", - "libLLVMAArch64AsmParser.a", - "libLLVMAArch64CodeGen.a", - "libLLVMAArch64Desc.a", - "libLLVMAArch64Info.a", - "libLLVMAArch64Utils.a", - # Common LLVM libraries (architecture-independent) - "libLLVMOrcJIT.a", - "libLLVMMCJIT.a", - "libLLVMJITLink.a", - "libLLVMInterpreter.a", - "libLLVMExecutionEngine.a", - "libLLVMRuntimeDyld.a", - "libLLVMOrcTargetProcess.a", - "libLLVMOrcShared.a", - "libLLVMDWP.a", - "libLLVMSymbolize.a", - "libLLVMDebugInfoPDB.a", - "libLLVMDebugInfoGSYM.a", - "libLLVMOption.a", - "libLLVMObjectYAML.a", - "libLLVMMCA.a", - "libLLVMMCDisassembler.a", - "libLLVMLTO.a", - "libLLVMPasses.a", - "libLLVMCFGuard.a", - "libLLVMCoroutines.a", - "libLLVMObjCARCOpts.a", - "libLLVMipo.a", - "libLLVMVectorize.a", - "libLLVMLinker.a", - "libLLVMInstrumentation.a", - "libLLVMFrontendOpenMP.a", - "libLLVMFrontendOpenACC.a", - "libLLVMExtensions.a", - "libLLVMDWARFLinker.a", - "libLLVMGlobalISel.a", - "libLLVMMIRParser.a", - "libLLVMAsmPrinter.a", - "libLLVMDebugInfoMSF.a", - "libLLVMDebugInfoDWARF.a", - "libLLVMSelectionDAG.a", - "libLLVMCodeGen.a", - "libLLVMIRReader.a", - "libLLVMAsmParser.a", - "libLLVMInterfaceStub.a", - "libLLVMFileCheck.a", - "libLLVMFuzzMutate.a", - "libLLVMTarget.a", - "libLLVMScalarOpts.a", - "libLLVMInstCombine.a", - "libLLVMAggressiveInstCombine.a", - "libLLVMTransformUtils.a", - "libLLVMBitWriter.a", - "libLLVMAnalysis.a", - "libLLVMProfileData.a", - "libLLVMObject.a", - "libLLVMTextAPI.a", - "libLLVMMCParser.a", - "libLLVMMC.a", - "libLLVMDebugInfoCodeView.a", - "libLLVMBitReader.a", - "libLLVMCore.a", - "libLLVMRemarks.a", - "libLLVMBitstreamReader.a", - "libLLVMBinaryFormat.a", - "libLLVMTableGen.a", - "libLLVMTargetParser.a", - "libLLVMSupport.a", - "libLLVMDemangle.a", - ], - working_directory = "llvm", -) - -# LLVM configuration for macOS x86_64 builds -# LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are disabled to avoid mlgo-utils -# test suite errors (requires llvm-objcopy and yaml2obj tools that are disabled). -# Only X86 target is built to minimize library size. -cmake( - name = "llvm_wamr_lib_macos_x86", - cache_entries = { - # Disable both: BUILD and INCLUDE, since some of the INCLUDE - # targets build code instead of only generating build files. - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", - "CMAKE_OSX_ARCHITECTURES": "x86_64", - "LLVM_BUILD_BENCHMARKS": "off", - "LLVM_BUILD_DOCS": "off", - "LLVM_BUILD_EXAMPLES": "off", - "LLVM_BUILD_TESTS": "off", - "LLVM_BUILD_TOOLS": "off", - "LLVM_BUILD_UTILS": "off", - "LLVM_ENABLE_IDE": "off", - "LLVM_ENABLE_LIBEDIT": "off", - "LLVM_ENABLE_LIBXML2": "off", - "LLVM_ENABLE_TERMINFO": "off", - "LLVM_ENABLE_ZLIB": "off", - "LLVM_ENABLE_ZSTD": "off", - "LLVM_INCLUDE_BENCHMARKS": "off", - "LLVM_INCLUDE_DOCS": "off", - "LLVM_INCLUDE_EXAMPLES": "off", - "LLVM_INCLUDE_TESTS": "off", - "LLVM_INCLUDE_TOOLS": "off", - "LLVM_INCLUDE_UTILS": "off", - "LLVM_TARGETS_TO_BUILD": "X86", - }, - # `lld` doesn't work on macOS - generate_args = ["-GNinja"], - lib_source = ":srcs", - out_data_dirs = [ - "libexec", - "share", - ], - out_static_libs = [ - # How to get the library list: - # build LLVM with "-DLLVM_INCLUDE_TOOLS=ON" - # cd bin and run "./llvm-config --libnames" - # X86-specific libraries only (no AArch64, no Windows-specific libs) - "libLLVMX86Disassembler.a", - "libLLVMX86AsmParser.a", - "libLLVMX86CodeGen.a", - "libLLVMX86Desc.a", - "libLLVMX86Info.a", - # Common LLVM libraries (architecture-independent) - "libLLVMOrcJIT.a", - "libLLVMMCJIT.a", - "libLLVMJITLink.a", - "libLLVMInterpreter.a", - "libLLVMExecutionEngine.a", - "libLLVMRuntimeDyld.a", - "libLLVMOrcTargetProcess.a", - "libLLVMOrcShared.a", - "libLLVMDWP.a", - "libLLVMSymbolize.a", - "libLLVMDebugInfoPDB.a", - "libLLVMDebugInfoGSYM.a", - "libLLVMOption.a", - "libLLVMObjectYAML.a", - "libLLVMMCA.a", - "libLLVMMCDisassembler.a", - "libLLVMLTO.a", - "libLLVMPasses.a", - "libLLVMCFGuard.a", - "libLLVMCoroutines.a", - "libLLVMObjCARCOpts.a", - "libLLVMipo.a", - "libLLVMVectorize.a", - "libLLVMLinker.a", - "libLLVMInstrumentation.a", - "libLLVMFrontendOpenMP.a", - "libLLVMFrontendOpenACC.a", - "libLLVMExtensions.a", - "libLLVMDWARFLinker.a", - "libLLVMGlobalISel.a", - "libLLVMMIRParser.a", - "libLLVMAsmPrinter.a", - "libLLVMDebugInfoMSF.a", - "libLLVMDebugInfoDWARF.a", - "libLLVMSelectionDAG.a", - "libLLVMCodeGen.a", - "libLLVMIRReader.a", - "libLLVMAsmParser.a", - "libLLVMInterfaceStub.a", - "libLLVMFileCheck.a", - "libLLVMFuzzMutate.a", - "libLLVMTarget.a", - "libLLVMScalarOpts.a", - "libLLVMInstCombine.a", - "libLLVMAggressiveInstCombine.a", - "libLLVMTransformUtils.a", - "libLLVMBitWriter.a", - "libLLVMAnalysis.a", - "libLLVMProfileData.a", - "libLLVMObject.a", - "libLLVMTextAPI.a", - "libLLVMMCParser.a", - "libLLVMMC.a", - "libLLVMDebugInfoCodeView.a", - "libLLVMBitReader.a", - "libLLVMCore.a", - "libLLVMRemarks.a", - "libLLVMBitstreamReader.a", - "libLLVMBinaryFormat.a", - "libLLVMTableGen.a", - "libLLVMTargetParser.a", - "libLLVMSupport.a", - "libLLVMDemangle.a", - ], - working_directory = "llvm", -) - -# LLVM configuration for macOS aarch64 builds -# Similar to macOS x86_64 but builds only AArch64 target. -cmake( - name = "llvm_wamr_lib_macos_aarch64", - cache_entries = { - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", - "CMAKE_OSX_ARCHITECTURES": "arm64", - "LLVM_BUILD_BENCHMARKS": "off", - "LLVM_BUILD_DOCS": "off", - "LLVM_BUILD_EXAMPLES": "off", - "LLVM_BUILD_TESTS": "off", - "LLVM_BUILD_TOOLS": "off", - "LLVM_BUILD_UTILS": "off", - "LLVM_ENABLE_IDE": "off", - "LLVM_ENABLE_LIBEDIT": "off", - "LLVM_ENABLE_LIBXML2": "off", - "LLVM_ENABLE_TERMINFO": "off", - "LLVM_ENABLE_ZLIB": "off", - "LLVM_ENABLE_ZSTD": "off", - "LLVM_INCLUDE_BENCHMARKS": "off", - "LLVM_INCLUDE_DOCS": "off", - "LLVM_INCLUDE_EXAMPLES": "off", - "LLVM_INCLUDE_TESTS": "off", - "LLVM_INCLUDE_TOOLS": "off", - "LLVM_INCLUDE_UTILS": "off", - "LLVM_TARGETS_TO_BUILD": "AArch64", - }, - # `lld` doesn't work on macOS - generate_args = ["-GNinja"], - lib_source = ":srcs", - out_data_dirs = [ - "libexec", - "share", - ], - out_static_libs = [ - # AArch64-specific libraries only (no X86, no Windows-specific libs) - "libLLVMAArch64Disassembler.a", - "libLLVMAArch64AsmParser.a", - "libLLVMAArch64CodeGen.a", - "libLLVMAArch64Desc.a", - "libLLVMAArch64Info.a", - "libLLVMAArch64Utils.a", - # Common LLVM libraries (architecture-independent) - "libLLVMOrcJIT.a", - "libLLVMMCJIT.a", - "libLLVMJITLink.a", - "libLLVMInterpreter.a", - "libLLVMExecutionEngine.a", - "libLLVMRuntimeDyld.a", - "libLLVMOrcTargetProcess.a", - "libLLVMOrcShared.a", - "libLLVMDWP.a", - "libLLVMSymbolize.a", - "libLLVMDebugInfoPDB.a", - "libLLVMDebugInfoGSYM.a", - "libLLVMOption.a", - "libLLVMObjectYAML.a", - "libLLVMMCA.a", - "libLLVMMCDisassembler.a", - "libLLVMLTO.a", - "libLLVMPasses.a", - "libLLVMCFGuard.a", - "libLLVMCoroutines.a", - "libLLVMObjCARCOpts.a", - "libLLVMipo.a", - "libLLVMVectorize.a", - "libLLVMLinker.a", - "libLLVMInstrumentation.a", - "libLLVMFrontendOpenMP.a", - "libLLVMFrontendOpenACC.a", - "libLLVMExtensions.a", - "libLLVMDWARFLinker.a", - "libLLVMGlobalISel.a", - "libLLVMMIRParser.a", - "libLLVMAsmPrinter.a", - "libLLVMDebugInfoMSF.a", - "libLLVMDebugInfoDWARF.a", - "libLLVMSelectionDAG.a", - "libLLVMCodeGen.a", - "libLLVMIRReader.a", - "libLLVMAsmParser.a", - "libLLVMInterfaceStub.a", - "libLLVMFileCheck.a", - "libLLVMFuzzMutate.a", - "libLLVMTarget.a", - "libLLVMScalarOpts.a", - "libLLVMInstCombine.a", - "libLLVMAggressiveInstCombine.a", - "libLLVMTransformUtils.a", - "libLLVMBitWriter.a", - "libLLVMAnalysis.a", - "libLLVMProfileData.a", - "libLLVMObject.a", - "libLLVMTextAPI.a", - "libLLVMMCParser.a", - "libLLVMMC.a", - "libLLVMDebugInfoCodeView.a", - "libLLVMBitReader.a", - "libLLVMCore.a", - "libLLVMRemarks.a", - "libLLVMBitstreamReader.a", - "libLLVMBinaryFormat.a", - "libLLVMTableGen.a", - "libLLVMTargetParser.a", - "libLLVMSupport.a", - "libLLVMDemangle.a", - ], - working_directory = "llvm", -) - -# Platform-specific config settings to enable proper select() in alias rule -config_setting( - name = "linux_x86_64", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:x86_64", - ], -) - -config_setting( - name = "linux_aarch64", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:aarch64", - ], -) - -config_setting( - name = "macos_x86_64", - constraint_values = [ - "@platforms//os:macos", - "@platforms//cpu:x86_64", - ], -) - -config_setting( - name = "macos_aarch64", - constraint_values = [ - "@platforms//os:macos", - "@platforms//cpu:aarch64", - ], -) - -# Platform and architecture-aware alias that selects the appropriate LLVM configuration -alias( - name = "llvm_wamr_lib", - actual = select({ - ":linux_x86_64": ":llvm_wamr_lib_linux_x86", - ":linux_aarch64": ":llvm_wamr_lib_linux_aarch64", - ":macos_x86_64": ":llvm_wamr_lib_macos_x86", - ":macos_aarch64": ":llvm_wamr_lib_macos_aarch64", - # Default to x86_64 Linux for other architectures - "//conditions:default": ":llvm_wamr_lib_linux_x86", - }), -) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 26bb34bd8..873701f61 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -313,7 +313,7 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "llvm-19_1_0", - build_file = "@proxy_wasm_cpp_host//bazel/external:wamr_llvm.BUILD", + build_file = "@proxy_wasm_cpp_host//bazel/external:llvm.BUILD", sha256 = "5042522b49945bc560ff9206f25fb87980a9b89b914193ca00d961511ff0673c", strip_prefix = "llvm-project-19.1.0.src", url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/llvm-project-19.1.0.src.tar.xz", From 00d37ffde4490ceae5d24a8180c03ec02c340f36 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 16:57:41 +0100 Subject: [PATCH 34/49] Add additional GCC flags to prevent s390x build segfaults under QEMU Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 2 +- bazel/external/bazel-v7.7.1.patch | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 5035f511f..2acb8e516 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -63,7 +63,7 @@ WORKDIR /tmp/src/bazel # - Configure compilation flags to avoid GCC segmentation faults on s390x under QEMU emulation COPY bazel/external/bazel-v7.7.1.patch /tmp/bazel-v7.7.1.patch RUN git apply /tmp/bazel-v7.7.1.patch -ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk" +ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk --host_copt=-O0 --host_copt=-g0 --host_copt=-fno-inline --host_copt=-fno-inline-functions --host_copt=-fno-var-tracking --host_copt=-fno-var-tracking-assignments --host_copt=-fno-schedule-insns --host_copt=-fno-schedule-insns2" RUN bash ./compile.sh && \ cp /tmp/src/bazel/output/bazel /tmp/bazel && \ chmod +x /tmp/bazel && \ diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index 95471e037..7bc96461b 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -10,6 +10,7 @@ index 8514bcc..8934613 100755 +# Workaround for GCC segmentation faults on s390x under QEMU emulation +# Disable optimization and limit parallelism during bootstrap +build --jobs=1 ++build --local_ram_resources=2048 +build --copt=-O0 +build --host_copt=-O0 +build --copt=-g0 @@ -18,6 +19,14 @@ index 8514bcc..8934613 100755 +build --host_copt=-fno-inline +build --copt=-fno-inline-functions +build --host_copt=-fno-inline-functions ++build --copt=-fno-var-tracking ++build --host_copt=-fno-var-tracking ++build --copt=-fno-var-tracking-assignments ++build --host_copt=-fno-var-tracking-assignments ++build --copt=-fno-schedule-insns ++build --host_copt=-fno-schedule-insns ++build --copt=-fno-schedule-insns2 ++build --host_copt=-fno-schedule-insns2 diff --git a/MODULE.bazel b/MODULE.bazel index 0a5ea5b..82411c9 100755 --- a/MODULE.bazel @@ -57,9 +66,14 @@ index bbbba7e..e113e00 100755 + # Workaround for GCC segmentation faults on s390x under QEMU emulation + "-O0", + -+ # Additional flags to prevent inlining which can cause GCC crashes ++ # Additional flags to prevent inlining and reduce memory usage ++ # which can cause GCC crashes under QEMU emulation + "-fno-inline", + "-fno-inline-functions", ++ "-fno-var-tracking", ++ "-fno-var-tracking-assignments", ++ "-fno-schedule-insns", ++ "-fno-schedule-insns2", # Security hardening on by default. # Conservative choice; -D_FORTIFY_SOURCE=2 may be unsafe in some cases. From c58395781218f2bd212ea65a64b489bfdae26e61 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 17:18:52 +0100 Subject: [PATCH 35/49] Fix corrupt unified diff hunk headers in bazel-v7.7.1.patch Signed-off-by: Matthieu MOREL --- bazel/external/bazel-v7.7.1.patch | 8 +++--- .../external/{llvm.BUILD => wamr_llvm.BUILD} | 26 +++++++++---------- bazel/repositories.bzl | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) rename bazel/external/{llvm.BUILD => wamr_llvm.BUILD} (100%) diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index 7bc96461b..a5ffe6d3e 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -1,8 +1,8 @@ diff --git a/.bazelrc b/.bazelrc -index 8514bcc..8934613 100755 +index 8514bcc..fedbb52 100755 --- a/.bazelrc +++ b/.bazelrc -@@ -92,3 +92,15 @@ test:ci-windows --test_env=JAVA_HOME +@@ -92,3 +92,24 @@ test:ci-windows --test_env=JAVA_HOME test:ci-windows --test_env=TEST_INSTALL_BASE=C:/b/bazeltest_install_base test:ci-windows --test_env=REPOSITORY_CACHE=C:/b/bazeltest_repo_cache test:ci-windows --test_tag_filters=-no_windows,-slow @@ -52,10 +52,10 @@ index 0a5ea5b..82411c9 100755 local_path_override( module_name = "remoteapis", diff --git a/tools/cpp/unix_cc_configure.bzl b/tools/cpp/unix_cc_configure.bzl -index bbbba7e..e113e00 100755 +index bbbba7e..d2b37ee 100755 --- a/tools/cpp/unix_cc_configure.bzl +++ b/tools/cpp/unix_cc_configure.bzl -@@ -688,10 +688,12 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools): +@@ -688,10 +688,17 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools): # handling in Bazel. "-g0", diff --git a/bazel/external/llvm.BUILD b/bazel/external/wamr_llvm.BUILD similarity index 100% rename from bazel/external/llvm.BUILD rename to bazel/external/wamr_llvm.BUILD index 32474e3b6..8704bc601 100644 --- a/bazel/external/llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -23,6 +23,19 @@ filegroup( srcs = glob(["**"]), ) +# Platform and architecture-aware alias that selects the appropriate LLVM configuration +alias( + name = "llvm_wamr_lib", + actual = select({ + ":linux_x86_64": ":llvm_wamr_lib_linux_x86", + ":linux_aarch64": ":llvm_wamr_lib_linux_aarch64", + ":macos_x86_64": ":llvm_wamr_lib_macos_x86", + ":macos_aarch64": ":llvm_wamr_lib_macos_aarch64", + # Default to x86_64 Linux for other architectures + "//conditions:default": ":llvm_wamr_lib_linux_x86", + }), +) + # LLVM configuration for Linux x86_64 builds # LLVM_BUILD_UTILS and LLVM_INCLUDE_UTILS are disabled to avoid mlgo-utils # test suite errors (requires llvm-objcopy and yaml2obj tools that are disabled). @@ -504,16 +517,3 @@ config_setting( "@platforms//cpu:aarch64", ], ) - -# Platform and architecture-aware alias that selects the appropriate LLVM configuration -alias( - name = "llvm_wamr_lib", - actual = select({ - ":linux_x86_64": ":llvm_wamr_lib_linux_x86", - ":linux_aarch64": ":llvm_wamr_lib_linux_aarch64", - ":macos_x86_64": ":llvm_wamr_lib_macos_x86", - ":macos_aarch64": ":llvm_wamr_lib_macos_aarch64", - # Default to x86_64 Linux for other architectures - "//conditions:default": ":llvm_wamr_lib_linux_x86", - }), -) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 873701f61..26bb34bd8 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -313,7 +313,7 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "llvm-19_1_0", - build_file = "@proxy_wasm_cpp_host//bazel/external:llvm.BUILD", + build_file = "@proxy_wasm_cpp_host//bazel/external:wamr_llvm.BUILD", sha256 = "5042522b49945bc560ff9206f25fb87980a9b89b914193ca00d961511ff0673c", strip_prefix = "llvm-project-19.1.0.src", url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/llvm-project-19.1.0.src.tar.xz", From 21207b0593cb1f044df929db5f98235b33a1aa43 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 18:04:13 +0100 Subject: [PATCH 36/49] Fix Bazel bootstrap on s390x: remove ineffective .bazelrc patch, add --copt flags Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 20 +++++++++++++++++--- bazel/external/bazel-v7.7.1.patch | 29 ----------------------------- 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 2acb8e516..8fe29b528 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -58,12 +58,26 @@ RUN apt-get update && \ unzip /tmp/bazel-dist.zip -d /tmp/src/bazel && \ rm -f /tmp/bazel-dist.zip /tmp/src/bazel/MODULE.bazel.lock WORKDIR /tmp/src/bazel -# Patch MODULE.bazel and .bazelrc to: +# Patch MODULE.bazel and tools/cpp/unix_cc_configure.bzl to: # - Force bazel_features v1.11.0 (avoids bzlmod macro requirement during bootstrap) -# - Configure compilation flags to avoid GCC segmentation faults on s390x under QEMU emulation +# - Configure C++ toolchain compilation flags to avoid GCC segmentation faults on s390x under QEMU emulation COPY bazel/external/bazel-v7.7.1.patch /tmp/bazel-v7.7.1.patch RUN git apply /tmp/bazel-v7.7.1.patch -ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk --host_copt=-O0 --host_copt=-g0 --host_copt=-fno-inline --host_copt=-fno-inline-functions --host_copt=-fno-var-tracking --host_copt=-fno-var-tracking-assignments --host_copt=-fno-schedule-insns --host_copt=-fno-schedule-insns2" +# Additional compilation flags for bootstrap build to avoid GCC crashes under QEMU emulation +# Note: .bazelrc is ignored during bootstrap (BAZELRC=/dev/null), so flags must be in EXTRA_BAZEL_ARGS +# These flags duplicate those in the unix_cc_configure.bzl patch to ensure they're applied even if +# toolchain auto-configuration has issues. This belt-and-suspenders approach is warranted for s390x/QEMU. +ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk \ + --jobs=1 \ + --local_ram_resources=2048 \ + --copt=-O0 --host_copt=-O0 \ + --copt=-g0 --host_copt=-g0 \ + --copt=-fno-inline --host_copt=-fno-inline \ + --copt=-fno-inline-functions --host_copt=-fno-inline-functions \ + --copt=-fno-var-tracking --host_copt=-fno-var-tracking \ + --copt=-fno-var-tracking-assignments --host_copt=-fno-var-tracking-assignments \ + --copt=-fno-schedule-insns --host_copt=-fno-schedule-insns \ + --copt=-fno-schedule-insns2 --host_copt=-fno-schedule-insns2" RUN bash ./compile.sh && \ cp /tmp/src/bazel/output/bazel /tmp/bazel && \ chmod +x /tmp/bazel && \ diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index a5ffe6d3e..e85badf20 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -1,32 +1,3 @@ -diff --git a/.bazelrc b/.bazelrc -index 8514bcc..fedbb52 100755 ---- a/.bazelrc -+++ b/.bazelrc -@@ -92,3 +92,24 @@ test:ci-windows --test_env=JAVA_HOME - test:ci-windows --test_env=TEST_INSTALL_BASE=C:/b/bazeltest_install_base - test:ci-windows --test_env=REPOSITORY_CACHE=C:/b/bazeltest_repo_cache - test:ci-windows --test_tag_filters=-no_windows,-slow -+ -+# Workaround for GCC segmentation faults on s390x under QEMU emulation -+# Disable optimization and limit parallelism during bootstrap -+build --jobs=1 -+build --local_ram_resources=2048 -+build --copt=-O0 -+build --host_copt=-O0 -+build --copt=-g0 -+build --host_copt=-g0 -+build --copt=-fno-inline -+build --host_copt=-fno-inline -+build --copt=-fno-inline-functions -+build --host_copt=-fno-inline-functions -+build --copt=-fno-var-tracking -+build --host_copt=-fno-var-tracking -+build --copt=-fno-var-tracking-assignments -+build --host_copt=-fno-var-tracking-assignments -+build --copt=-fno-schedule-insns -+build --host_copt=-fno-schedule-insns -+build --copt=-fno-schedule-insns2 -+build --host_copt=-fno-schedule-insns2 diff --git a/MODULE.bazel b/MODULE.bazel index 0a5ea5b..82411c9 100755 --- a/MODULE.bazel From e5c4feab1b6bd4c96ebc16fbddd90eed8152e46a Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 18:40:41 +0100 Subject: [PATCH 37/49] Patch bsd_cc_toolchain_config.bzl to eliminate remaining -O2 flags in Bazel bootstrap on s390x Signed-off-by: Matthieu MOREL --- bazel/external/bazel-v7.7.1.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index e85badf20..91328c4fa 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -22,6 +22,26 @@ index 0a5ea5b..82411c9 100755 local_path_override( module_name = "remoteapis", +diff --git a/tools/cpp/bsd_cc_toolchain_config.bzl b/tools/cpp/bsd_cc_toolchain_config.bzl +index 8dbecd9..7f5ab3e 100755 +--- a/tools/cpp/bsd_cc_toolchain_config.bzl ++++ b/tools/cpp/bsd_cc_toolchain_config.bzl +@@ -149,7 +149,14 @@ def _impl(ctx): + flag_group( + flags = [ + "-g0", +- "-O2", ++ # Workaround for GCC segmentation faults on s390x under QEMU emulation ++ "-O0", ++ "-fno-inline", ++ "-fno-inline-functions", ++ "-fno-var-tracking", ++ "-fno-var-tracking-assignments", ++ "-fno-schedule-insns", ++ "-fno-schedule-insns2", + "-DNDEBUG", + "-ffunction-sections", + "-fdata-sections", diff --git a/tools/cpp/unix_cc_configure.bzl b/tools/cpp/unix_cc_configure.bzl index bbbba7e..d2b37ee 100755 --- a/tools/cpp/unix_cc_configure.bzl From 2119ce98b6dcd913bbb87224041ed34f69e41767 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 19:29:23 +0100 Subject: [PATCH 38/49] Add missing LLVM libraries for WAMR JIT on LLVM 19.1.0 Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 8704bc601..8f63ad4dc 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -104,6 +104,7 @@ cmake( "libLLVMMCDisassembler.a", "libLLVMLTO.a", "libLLVMPasses.a", + "libLLVMHipStdPar.a", "libLLVMCFGuard.a", "libLLVMCoroutines.a", "libLLVMObjCARCOpts.a", @@ -112,6 +113,7 @@ cmake( "libLLVMLinker.a", "libLLVMInstrumentation.a", "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOffloading.a", "libLLVMFrontendOpenACC.a", "libLLVMExtensions.a", "libLLVMDWARFLinker.a", @@ -122,6 +124,7 @@ cmake( "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", "libLLVMCodeGen.a", + "libLLVMIRPrinter.a", "libLLVMIRReader.a", "libLLVMAsmParser.a", "libLLVMInterfaceStub.a", @@ -145,6 +148,7 @@ cmake( "libLLVMRemarks.a", "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", + "libLLVMWindowsDriver.a", "libLLVMTableGen.a", "libLLVMTargetParser.a", "libLLVMSupport.a", @@ -214,6 +218,7 @@ cmake( "libLLVMMCDisassembler.a", "libLLVMLTO.a", "libLLVMPasses.a", + "libLLVMHipStdPar.a", "libLLVMCFGuard.a", "libLLVMCoroutines.a", "libLLVMObjCARCOpts.a", @@ -222,6 +227,7 @@ cmake( "libLLVMLinker.a", "libLLVMInstrumentation.a", "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOffloading.a", "libLLVMFrontendOpenACC.a", "libLLVMExtensions.a", "libLLVMDWARFLinker.a", @@ -232,6 +238,7 @@ cmake( "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", "libLLVMCodeGen.a", + "libLLVMIRPrinter.a", "libLLVMIRReader.a", "libLLVMAsmParser.a", "libLLVMInterfaceStub.a", @@ -255,6 +262,7 @@ cmake( "libLLVMRemarks.a", "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", + "libLLVMWindowsDriver.a", "libLLVMTableGen.a", "libLLVMTargetParser.a", "libLLVMSupport.a", @@ -329,6 +337,7 @@ cmake( "libLLVMMCDisassembler.a", "libLLVMLTO.a", "libLLVMPasses.a", + "libLLVMHipStdPar.a", "libLLVMCFGuard.a", "libLLVMCoroutines.a", "libLLVMObjCARCOpts.a", @@ -337,6 +346,7 @@ cmake( "libLLVMLinker.a", "libLLVMInstrumentation.a", "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOffloading.a", "libLLVMFrontendOpenACC.a", "libLLVMExtensions.a", "libLLVMDWARFLinker.a", @@ -347,6 +357,7 @@ cmake( "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", "libLLVMCodeGen.a", + "libLLVMIRPrinter.a", "libLLVMIRReader.a", "libLLVMAsmParser.a", "libLLVMInterfaceStub.a", @@ -370,6 +381,7 @@ cmake( "libLLVMRemarks.a", "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", + "libLLVMWindowsDriver.a", "libLLVMTableGen.a", "libLLVMTargetParser.a", "libLLVMSupport.a", @@ -436,6 +448,7 @@ cmake( "libLLVMMCDisassembler.a", "libLLVMLTO.a", "libLLVMPasses.a", + "libLLVMHipStdPar.a", "libLLVMCFGuard.a", "libLLVMCoroutines.a", "libLLVMObjCARCOpts.a", @@ -444,6 +457,7 @@ cmake( "libLLVMLinker.a", "libLLVMInstrumentation.a", "libLLVMFrontendOpenMP.a", + "libLLVMFrontendOffloading.a", "libLLVMFrontendOpenACC.a", "libLLVMExtensions.a", "libLLVMDWARFLinker.a", @@ -454,6 +468,7 @@ cmake( "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", "libLLVMCodeGen.a", + "libLLVMIRPrinter.a", "libLLVMIRReader.a", "libLLVMAsmParser.a", "libLLVMInterfaceStub.a", @@ -477,6 +492,7 @@ cmake( "libLLVMRemarks.a", "libLLVMBitstreamReader.a", "libLLVMBinaryFormat.a", + "libLLVMWindowsDriver.a", "libLLVMTableGen.a", "libLLVMTargetParser.a", "libLLVMSupport.a", From 8d0ba17d64e8db99278874a9074ae49a4d3c63a5 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 19:43:17 +0100 Subject: [PATCH 39/49] Clear Bazel repository cache after patching to fix s390x build Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 9 +++++++-- bazel/external/bazel-v7.7.1.patch | 12 ++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 8fe29b528..94776091d 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -62,7 +62,8 @@ WORKDIR /tmp/src/bazel # - Force bazel_features v1.11.0 (avoids bzlmod macro requirement during bootstrap) # - Configure C++ toolchain compilation flags to avoid GCC segmentation faults on s390x under QEMU emulation COPY bazel/external/bazel-v7.7.1.patch /tmp/bazel-v7.7.1.patch -RUN git apply /tmp/bazel-v7.7.1.patch +RUN git apply /tmp/bazel-v7.7.1.patch && \ + rm -rf derived/repository_cache # Additional compilation flags for bootstrap build to avoid GCC crashes under QEMU emulation # Note: .bazelrc is ignored during bootstrap (BAZELRC=/dev/null), so flags must be in EXTRA_BAZEL_ARGS # These flags duplicate those in the unix_cc_configure.bzl patch to ensure they're applied even if @@ -77,7 +78,11 @@ ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk \ --copt=-fno-var-tracking --host_copt=-fno-var-tracking \ --copt=-fno-var-tracking-assignments --host_copt=-fno-var-tracking-assignments \ --copt=-fno-schedule-insns --host_copt=-fno-schedule-insns \ - --copt=-fno-schedule-insns2 --host_copt=-fno-schedule-insns2" + --copt=-fno-schedule-insns2 --host_copt=-fno-schedule-insns2 \ + --copt=-fno-tree-pre --host_copt=-fno-tree-pre \ + --copt=-fno-ira-hoist-pressure --host_copt=-fno-ira-hoist-pressure \ + --copt=-fno-reorder-blocks --host_copt=-fno-reorder-blocks \ + --copt=-fno-gcse --host_copt=-fno-gcse" RUN bash ./compile.sh && \ cp /tmp/src/bazel/output/bazel /tmp/bazel && \ chmod +x /tmp/bazel && \ diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index 91328c4fa..74786f0fc 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -26,7 +26,7 @@ diff --git a/tools/cpp/bsd_cc_toolchain_config.bzl b/tools/cpp/bsd_cc_toolchain_ index 8dbecd9..7f5ab3e 100755 --- a/tools/cpp/bsd_cc_toolchain_config.bzl +++ b/tools/cpp/bsd_cc_toolchain_config.bzl -@@ -149,7 +149,14 @@ def _impl(ctx): +@@ -149,7 +149,18 @@ def _impl(ctx): flag_group( flags = [ "-g0", @@ -39,6 +39,10 @@ index 8dbecd9..7f5ab3e 100755 + "-fno-var-tracking-assignments", + "-fno-schedule-insns", + "-fno-schedule-insns2", ++ "-fno-tree-pre", ++ "-fno-ira-hoist-pressure", ++ "-fno-reorder-blocks", ++ "-fno-gcse", "-DNDEBUG", "-ffunction-sections", "-fdata-sections", @@ -46,7 +50,7 @@ diff --git a/tools/cpp/unix_cc_configure.bzl b/tools/cpp/unix_cc_configure.bzl index bbbba7e..d2b37ee 100755 --- a/tools/cpp/unix_cc_configure.bzl +++ b/tools/cpp/unix_cc_configure.bzl -@@ -688,10 +688,17 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools): +@@ -688,10 +688,21 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools): # handling in Bazel. "-g0", @@ -65,6 +69,10 @@ index bbbba7e..d2b37ee 100755 + "-fno-var-tracking-assignments", + "-fno-schedule-insns", + "-fno-schedule-insns2", ++ "-fno-tree-pre", ++ "-fno-ira-hoist-pressure", ++ "-fno-reorder-blocks", ++ "-fno-gcse", # Security hardening on by default. # Conservative choice; -D_FORTIFY_SOURCE=2 may be unsafe in some cases. From 8f4013ab7d41788e63baf1e6a5e0feb3e0cb5879 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 21:21:29 +0100 Subject: [PATCH 40/49] Add libLLVMLowLevelType.a to fix WAMR JIT linking on Linux/x86_64 Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 8f63ad4dc..a4e33991b 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -118,6 +118,7 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", + "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", @@ -232,6 +233,7 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", + "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", @@ -351,6 +353,7 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", + "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", @@ -462,6 +465,7 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", + "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", From b3fbbf973c89b22a99eac40391b9c200e244f357 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 21:22:47 +0100 Subject: [PATCH 41/49] Fix s390x Bazel bootstrap by forcing debug compilation mode Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 94776091d..7a8d8e3c4 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -66,11 +66,13 @@ RUN git apply /tmp/bazel-v7.7.1.patch && \ rm -rf derived/repository_cache # Additional compilation flags for bootstrap build to avoid GCC crashes under QEMU emulation # Note: .bazelrc is ignored during bootstrap (BAZELRC=/dev/null), so flags must be in EXTRA_BAZEL_ARGS -# These flags duplicate those in the unix_cc_configure.bzl patch to ensure they're applied even if -# toolchain auto-configuration has issues. This belt-and-suspenders approach is warranted for s390x/QEMU. +# Use -c dbg and --host_compilation_mode=dbg to avoid default -O2 from opt mode +# This prevents both -O2 and -O0 from appearing simultaneously in compiler invocations ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk \ --jobs=1 \ --local_ram_resources=2048 \ + -c dbg \ + --host_compilation_mode=dbg \ --copt=-O0 --host_copt=-O0 \ --copt=-g0 --host_copt=-g0 \ --copt=-fno-inline --host_copt=-fno-inline \ From a2200d9a48f1a898a3b4338381154bd8ebc58fe0 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 22:01:19 +0100 Subject: [PATCH 42/49] Fix s390x Bazel 7.7.1 bootstrap build by using Ubuntu 24.04 and Clang Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 7a8d8e3c4..94c3e2cf9 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -34,7 +34,7 @@ # -- //test/... ARG BAZEL_VERSION=7.7.1 -ARG UBUNTU_VERSION=22.04 +ARG UBUNTU_VERSION=24.04 # Stage 1: build Bazel from release for the target platform FROM ubuntu:${UBUNTU_VERSION} AS bazel-builder @@ -43,6 +43,7 @@ ARG BAZEL_VERSION ARG DEPS_BUILDER="\ build-essential \ ca-certificates \ + clang \ curl \ git \ openjdk-21-jdk \ @@ -68,6 +69,9 @@ RUN git apply /tmp/bazel-v7.7.1.patch && \ # Note: .bazelrc is ignored during bootstrap (BAZELRC=/dev/null), so flags must be in EXTRA_BAZEL_ARGS # Use -c dbg and --host_compilation_mode=dbg to avoid default -O2 from opt mode # This prevents both -O2 and -O0 from appearing simultaneously in compiler invocations +# Use clang instead of gcc as it's more stable under QEMU emulation +ENV CC=clang +ENV CXX=clang++ ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk \ --jobs=1 \ --local_ram_resources=2048 \ From 7095ece7a1b157bfedc2467cad32b102311d6e55 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 1 Jan 2026 22:20:23 +0100 Subject: [PATCH 43/49] Remove libLLVMLowLevelType.a from LLVM 19.1.0 build configuration Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index a4e33991b..8f63ad4dc 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -118,7 +118,6 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", - "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", @@ -233,7 +232,6 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", - "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", @@ -353,7 +351,6 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", - "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", @@ -465,7 +462,6 @@ cmake( "libLLVMExtensions.a", "libLLVMDWARFLinker.a", "libLLVMGlobalISel.a", - "libLLVMLowLevelType.a", "libLLVMMIRParser.a", "libLLVMAsmPrinter.a", "libLLVMDebugInfoMSF.a", From 9fc3d818700789e6b3b154f9c1331f1c1ecdc5f6 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Fri, 2 Jan 2026 08:00:43 +0100 Subject: [PATCH 44/49] Fix LLVM linking on macOS and Linux by handling circular dependencies Signed-off-by: Matthieu MOREL --- BUILD | 4 ++++ bazel/external/wamr.BUILD | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/BUILD b/BUILD index 119830487..91792a801 100644 --- a/BUILD +++ b/BUILD @@ -149,6 +149,10 @@ cc_library( "PROXY_WASM_HAS_RUNTIME_WAMR", "PROXY_WASM_HOST_ENGINE_WAMR", ], + linkopts = select({ + "@platforms//os:macos": ["-Wl,-all_load"], + "//conditions:default": [], + }), deps = [ ":wasm_vm_headers", "@com_github_bytecodealliance_wasm_micro_runtime//:wamr_lib", diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index cee9dc2c3..11c16d6f5 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -68,6 +68,10 @@ cmake( linkopts = select({ "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["-ldl"], "//conditions:default": [], + }) + select({ + "@platforms//os:macos": ["-Wl,-all_load"], + "@platforms//os:linux": ["-Wl,--start-group", "-Wl,--end-group"], + "//conditions:default": [], }), out_static_libs = ["libiwasm.a"], deps = select({ From ff2dd88587716773f872d17fd8924810b7472ad3 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Fri, 2 Jan 2026 08:01:55 +0100 Subject: [PATCH 45/49] Fix LLVM build with clang by overriding GCC-specific flags Signed-off-by: Matthieu MOREL --- bazel/external/wamr_llvm.BUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 8f63ad4dc..30fce29a4 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -64,7 +64,8 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "X86", - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", }, # `lld` works on Linux generate_args = [ @@ -181,7 +182,8 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "AArch64", - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", }, # `lld` works on Linux generate_args = [ @@ -300,7 +302,8 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "X86", - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", }, # `lld` doesn't work on macOS generate_args = ["-GNinja"], @@ -414,7 +417,8 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "AArch64", - "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", }, # `lld` doesn't work on macOS generate_args = ["-GNinja"], From 17e6aa8d5173e6d4c784440bd541ee031afe6403 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 5 Jan 2026 19:07:12 +0100 Subject: [PATCH 46/49] Fix hunk header line counts in bazel-v7.7.1.patch Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 12 +----------- bazel/external/bazel-v7.7.1.patch | 29 ++--------------------------- bazel/external/wamr.BUILD | 5 ++++- bazel/external/wamr_llvm.BUILD | 15 +++++++-------- 4 files changed, 14 insertions(+), 47 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 94c3e2cf9..784ab0ba8 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -78,17 +78,7 @@ ENV EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk \ -c dbg \ --host_compilation_mode=dbg \ --copt=-O0 --host_copt=-O0 \ - --copt=-g0 --host_copt=-g0 \ - --copt=-fno-inline --host_copt=-fno-inline \ - --copt=-fno-inline-functions --host_copt=-fno-inline-functions \ - --copt=-fno-var-tracking --host_copt=-fno-var-tracking \ - --copt=-fno-var-tracking-assignments --host_copt=-fno-var-tracking-assignments \ - --copt=-fno-schedule-insns --host_copt=-fno-schedule-insns \ - --copt=-fno-schedule-insns2 --host_copt=-fno-schedule-insns2 \ - --copt=-fno-tree-pre --host_copt=-fno-tree-pre \ - --copt=-fno-ira-hoist-pressure --host_copt=-fno-ira-hoist-pressure \ - --copt=-fno-reorder-blocks --host_copt=-fno-reorder-blocks \ - --copt=-fno-gcse --host_copt=-fno-gcse" + --copt=-g0 --host_copt=-g0" RUN bash ./compile.sh && \ cp /tmp/src/bazel/output/bazel /tmp/bazel && \ chmod +x /tmp/bazel && \ diff --git a/bazel/external/bazel-v7.7.1.patch b/bazel/external/bazel-v7.7.1.patch index 74786f0fc..711f34c37 100644 --- a/bazel/external/bazel-v7.7.1.patch +++ b/bazel/external/bazel-v7.7.1.patch @@ -26,23 +26,12 @@ diff --git a/tools/cpp/bsd_cc_toolchain_config.bzl b/tools/cpp/bsd_cc_toolchain_ index 8dbecd9..7f5ab3e 100755 --- a/tools/cpp/bsd_cc_toolchain_config.bzl +++ b/tools/cpp/bsd_cc_toolchain_config.bzl -@@ -149,7 +149,18 @@ def _impl(ctx): +@@ -149,7 +149,7 @@ def _impl(ctx): flag_group( flags = [ "-g0", - "-O2", -+ # Workaround for GCC segmentation faults on s390x under QEMU emulation + "-O0", -+ "-fno-inline", -+ "-fno-inline-functions", -+ "-fno-var-tracking", -+ "-fno-var-tracking-assignments", -+ "-fno-schedule-insns", -+ "-fno-schedule-insns2", -+ "-fno-tree-pre", -+ "-fno-ira-hoist-pressure", -+ "-fno-reorder-blocks", -+ "-fno-gcse", "-DNDEBUG", "-ffunction-sections", "-fdata-sections", @@ -50,7 +39,7 @@ diff --git a/tools/cpp/unix_cc_configure.bzl b/tools/cpp/unix_cc_configure.bzl index bbbba7e..d2b37ee 100755 --- a/tools/cpp/unix_cc_configure.bzl +++ b/tools/cpp/unix_cc_configure.bzl -@@ -688,10 +688,21 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools): +@@ -688,10 +688,7 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools): # handling in Bazel. "-g0", @@ -58,21 +47,7 @@ index bbbba7e..d2b37ee 100755 - # -O3 can increase binary size and even slow down the resulting binaries. - # Profile first and / or use FDO if you need better performance than this. - "-O2", -+ # Workaround for GCC segmentation faults on s390x under QEMU emulation + "-O0", -+ -+ # Additional flags to prevent inlining and reduce memory usage -+ # which can cause GCC crashes under QEMU emulation -+ "-fno-inline", -+ "-fno-inline-functions", -+ "-fno-var-tracking", -+ "-fno-var-tracking-assignments", -+ "-fno-schedule-insns", -+ "-fno-schedule-insns2", -+ "-fno-tree-pre", -+ "-fno-ira-hoist-pressure", -+ "-fno-reorder-blocks", -+ "-fno-gcse", # Security hardening on by default. # Conservative choice; -D_FORTIFY_SOURCE=2 may be unsafe in some cases. diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index 11c16d6f5..cc7f87337 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -70,7 +70,10 @@ cmake( "//conditions:default": [], }) + select({ "@platforms//os:macos": ["-Wl,-all_load"], - "@platforms//os:linux": ["-Wl,--start-group", "-Wl,--end-group"], + "@platforms//os:linux": [ + "-Wl,--start-group", + "-Wl,--end-group", + ], "//conditions:default": [], }), out_static_libs = ["libiwasm.a"], diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index 30fce29a4..a524af4c4 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -64,8 +64,7 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "X86", - "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", - "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, # `lld` works on Linux generate_args = [ @@ -182,8 +181,7 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "AArch64", - "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", - "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, # `lld` works on Linux generate_args = [ @@ -239,6 +237,7 @@ cmake( "libLLVMDebugInfoMSF.a", "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", + "libLLVMCodeGenTypes.a", "libLLVMCodeGen.a", "libLLVMIRPrinter.a", "libLLVMIRReader.a", @@ -302,8 +301,7 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "X86", - "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", - "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, # `lld` doesn't work on macOS generate_args = ["-GNinja"], @@ -359,6 +357,7 @@ cmake( "libLLVMDebugInfoMSF.a", "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", + "libLLVMCodeGenTypes.a", "libLLVMCodeGen.a", "libLLVMIRPrinter.a", "libLLVMIRReader.a", @@ -417,8 +416,7 @@ cmake( "LLVM_INCLUDE_TOOLS": "off", "LLVM_INCLUDE_UTILS": "off", "LLVM_TARGETS_TO_BUILD": "AArch64", - "CMAKE_CXX_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", - "CMAKE_C_FLAGS": "-O0 -g0 -fno-inline -fno-inline-functions -Wno-unused-command-line-argument", + "CMAKE_CXX_FLAGS": "-Wno-unused-command-line-argument", }, # `lld` doesn't work on macOS generate_args = ["-GNinja"], @@ -471,6 +469,7 @@ cmake( "libLLVMDebugInfoMSF.a", "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", + "libLLVMCodeGenTypes.a", "libLLVMCodeGen.a", "libLLVMIRPrinter.a", "libLLVMIRReader.a", From ed35813b6551b714a5e5ac2820ad4a8494ad3988 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Tue, 6 Jan 2026 07:42:10 +0100 Subject: [PATCH 47/49] Set JAVA_HOME environment variable for Bazel build Signed-off-by: Matthieu MOREL --- .github/workflows/test.yml | 16 ++++++++++++++-- bazel/external/Dockerfile.bazel | 14 ++++++++++++-- bazel/external/wamr.BUILD | 7 ------- bazel/external/wamr_llvm.BUILD | 5 +++++ 4 files changed, 31 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d14710786..98aaee8ba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -258,7 +258,7 @@ jobs: - name: Compute job hash id: job-hash - run: echo "hash=$(echo -n '${{ matrix.name }}' | sha1sum | cut -c1-7)" >> $GITHUB_OUTPUT + run: echo "hash=$(echo -n '${{ matrix.engine }}-${{ matrix.flags }}-${{ matrix.os }}-${{ matrix.arch }}' | sha1sum | cut -c1-10)" >> $GITHUB_OUTPUT shell: bash - name: Install dependencies (Linux) @@ -278,6 +278,10 @@ jobs: if: startsWith(matrix.run_under, 'docker') run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + - name: Set up Docker Buildx + if: startsWith(matrix.run_under, 'docker') + uses: docker/setup-buildx-action@v3 + - uses: bazel-contrib/setup-bazel@0.16.0 with: bazelisk-cache: true @@ -301,7 +305,15 @@ jobs: - name: Build local Docker image if: ${{ startsWith(matrix.run_under, 'docker') }} - run: docker build --platform ${{ matrix.platform }} -f bazel/external/Dockerfile.bazel -t proxy-wasm/build-tools:local-ci . + uses: docker/build-push-action@v6 + with: + context: . + file: bazel/external/Dockerfile.bazel + platforms: ${{ matrix.platform }} + tags: proxy-wasm/build-tools:local-ci + load: true + cache-from: type=gha,scope=build-tools-${{ matrix.platform }} + cache-to: type=gha,mode=max,scope=build-tools-${{ matrix.platform }} - name: Bazel build/test shell: bash diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 784ab0ba8..91b565aed 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -20,7 +20,7 @@ # Need to see "F" flag: cat /proc/sys/fs/binfmt_misc/qemu-* # # Build: -# docker buildx build --platform linux/s390x -t $IMAGE -f Dockerfile.bazel . +# docker buildx build --platform linux/s390x -t $IMAGE -f Dockerfile.bazel # # Push: # docker image tag $IMAGE ghcr.io/proxy-wasm/$IMAGE @@ -35,6 +35,7 @@ ARG BAZEL_VERSION=7.7.1 ARG UBUNTU_VERSION=24.04 +ARG TARGETARCH # Stage 1: build Bazel from release for the target platform FROM ubuntu:${UBUNTU_VERSION} AS bazel-builder @@ -52,12 +53,14 @@ ARG DEPS_BUILDER="\ wget \ zip\ " +ARG TARGETARCH RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS_BUILDER && \ mkdir -p /tmp/src/bazel && \ wget --progress=dot:giga -O /tmp/bazel-dist.zip https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip && \ unzip /tmp/bazel-dist.zip -d /tmp/src/bazel && \ rm -f /tmp/bazel-dist.zip /tmp/src/bazel/MODULE.bazel.lock +ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk-${TARGETARCH} WORKDIR /tmp/src/bazel # Patch MODULE.bazel and tools/cpp/unix_cc_configure.bzl to: # - Force bazel_features v1.11.0 (avoids bzlmod macro requirement during bootstrap) @@ -88,14 +91,21 @@ RUN bash ./compile.sh && \ FROM ubuntu:${UBUNTU_VERSION} AS test-runtime ARG DEPS_RUNTIME="\ ca-certificates \ - openjdk-21-jre-headless \ + clang \ + git \ + libstdc++6 \ + libssl-dev \ + libz-dev \ + openjdk-21-jdk \ python3 \ unzip \ zip\ " +ARG TARGETARCH RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS_RUNTIME && \ rm -rf /var/lib/apt/lists/* +ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk-${TARGETARCH} # Copy Bazel binary from builder COPY --from=bazel-builder /tmp/bazel /usr/bin/bazel diff --git a/bazel/external/wamr.BUILD b/bazel/external/wamr.BUILD index cc7f87337..cee9dc2c3 100644 --- a/bazel/external/wamr.BUILD +++ b/bazel/external/wamr.BUILD @@ -68,13 +68,6 @@ cmake( linkopts = select({ "@proxy_wasm_cpp_host//bazel:engine_wamr_jit": ["-ldl"], "//conditions:default": [], - }) + select({ - "@platforms//os:macos": ["-Wl,-all_load"], - "@platforms//os:linux": [ - "-Wl,--start-group", - "-Wl,--end-group", - ], - "//conditions:default": [], }), out_static_libs = ["libiwasm.a"], deps = select({ diff --git a/bazel/external/wamr_llvm.BUILD b/bazel/external/wamr_llvm.BUILD index a524af4c4..726f56290 100644 --- a/bazel/external/wamr_llvm.BUILD +++ b/bazel/external/wamr_llvm.BUILD @@ -98,6 +98,7 @@ cmake( "libLLVMSymbolize.a", "libLLVMDebugInfoPDB.a", "libLLVMDebugInfoGSYM.a", + "libLLVMDebugInfoBTF.a", "libLLVMOption.a", "libLLVMObjectYAML.a", "libLLVMMCA.a", @@ -123,6 +124,7 @@ cmake( "libLLVMDebugInfoMSF.a", "libLLVMDebugInfoDWARF.a", "libLLVMSelectionDAG.a", + "libLLVMCodeGenTypes.a", "libLLVMCodeGen.a", "libLLVMIRPrinter.a", "libLLVMIRReader.a", @@ -212,6 +214,7 @@ cmake( "libLLVMSymbolize.a", "libLLVMDebugInfoPDB.a", "libLLVMDebugInfoGSYM.a", + "libLLVMDebugInfoBTF.a", "libLLVMOption.a", "libLLVMObjectYAML.a", "libLLVMMCA.a", @@ -332,6 +335,7 @@ cmake( "libLLVMSymbolize.a", "libLLVMDebugInfoPDB.a", "libLLVMDebugInfoGSYM.a", + "libLLVMDebugInfoBTF.a", "libLLVMOption.a", "libLLVMObjectYAML.a", "libLLVMMCA.a", @@ -444,6 +448,7 @@ cmake( "libLLVMSymbolize.a", "libLLVMDebugInfoPDB.a", "libLLVMDebugInfoGSYM.a", + "libLLVMDebugInfoBTF.a", "libLLVMOption.a", "libLLVMObjectYAML.a", "libLLVMMCA.a", From 3a3aafb094d6cea9304b92461624518639334ba7 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Tue, 6 Jan 2026 22:43:20 +0000 Subject: [PATCH 48/49] add external-cache for setup-bazel Signed-off-by: Matthieu MOREL --- .github/workflows/format.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 8db13e7e4..284006dc8 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -92,6 +92,7 @@ jobs: with: bazelisk-cache: true disk-cache: ${{ github.job }} + external-cache: true repository-cache: true - name: Format (bazel query) @@ -132,6 +133,7 @@ jobs: with: bazelisk-cache: true disk-cache: ${{ github.job }} + external-cache: true repository-cache: true - name: Bazel build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98aaee8ba..f4d9064b4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,6 +52,7 @@ jobs: with: bazelisk-cache: true disk-cache: ${{ github.job }} + external-cache: true repository-cache: true - name: Bazel build @@ -286,6 +287,7 @@ jobs: with: bazelisk-cache: true disk-cache: ${{ github.job }}-${{ steps.job-hash.outputs.hash }} + external-cache: true repository-cache: true - name: Download test data From 6af0bf74987c6c775de0e4e22cbae805f61d66c2 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Wed, 7 Jan 2026 07:06:36 +0100 Subject: [PATCH 49/49] Add missing dependencies for Bazel build in Dockerfile Signed-off-by: Matthieu MOREL --- bazel/external/Dockerfile.bazel | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bazel/external/Dockerfile.bazel b/bazel/external/Dockerfile.bazel index 91b565aed..0fc7d852a 100644 --- a/bazel/external/Dockerfile.bazel +++ b/bazel/external/Dockerfile.bazel @@ -51,8 +51,7 @@ ARG DEPS_BUILDER="\ python3 \ unzip \ wget \ - zip\ -" + zip" ARG TARGETARCH RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS_BUILDER && \ @@ -93,14 +92,17 @@ ARG DEPS_RUNTIME="\ ca-certificates \ clang \ git \ + libbz2-dev \ + libffi-dev \ + liblzma-dev \ libstdc++6 \ libssl-dev \ libz-dev \ openjdk-21-jdk \ python3 \ + python3-dev \ unzip \ - zip\ -" + zip" ARG TARGETARCH RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $DEPS_RUNTIME && \