From a7aba2d0317af14eccd7244ec72855ad21f35719 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Wed, 4 Dec 2024 14:09:00 -0800 Subject: [PATCH 01/11] Added bzlmod support to all extension rules. (#3037) Additional Changes: - The rules `rules_nodejs` for `rules_rust_wasm_bindgen` will no longer tested and will be dropped unless bzlmod support is added for the original `bazel_build_rules_nodejs` rules. - `rules_rust_bindgen` updated default clang version to 17.0.3 to match bzlmod available version. - `rules_rust_prost` updated protobuf version to `v28.3` Relates to: - https://github.com/bazelbuild/rules_rust/issues/2181 --- .bazelci/presubmit.yml | 4 + docs/BUILD.bazel | 7 - docs/src/rust_wasm_bindgen.md | 17 +- docs/src/rust_wasm_bindgen_rules_nodejs.md | 29 - extensions/bindgen/.bazelignore | 2 +- extensions/bindgen/.bazelrc | 5 +- extensions/bindgen/3rdparty/BUILD.zstd.bazel | 28 + extensions/bindgen/3rdparty/patches/README.md | 17 +- .../3rdparty/patches/llvm-project.cxx17.patch | 537 ------ ...ect.incompatible_disallow_empty_glob.patch | 1678 +++-------------- ...raw.incompatible_disallow_empty_glob.patch | 1025 ++++++++++ extensions/bindgen/BUILD.bazel | 19 +- extensions/bindgen/MODULE.bazel | 48 +- extensions/bindgen/extensions.bzl | 6 +- .../bindgen/private/internal_extensions.bzl | 26 + extensions/bindgen/private/llvm_utils.bzl | 103 + extensions/bindgen/repositories.bzl | 66 +- .../bindgen/transitive_repositories.bzl | 12 +- extensions/prost/.bazelignore | 2 +- extensions/prost/.bazelrc | 5 +- extensions/prost/MODULE.bazel | 32 +- extensions/prost/WORKSPACE.bazel | 5 + extensions/prost/extensions.bzl | 8 +- .../prost/private/internal_extensions.bzl | 26 + .../well_known_types/well_known_types_test.rs | 2 +- extensions/prost/repositories.bzl | 6 +- extensions/prost/transitive_repositories.bzl | 3 + extensions/protobuf/.bazelignore | 2 +- extensions/protobuf/.bazelrc | 5 +- .../protobuf/3rdparty/patches/README.md | 5 - ...ogle_protobuf-v3.10.0-bzl_visibility.patch | 14 - extensions/protobuf/MODULE.bazel | 31 +- extensions/protobuf/WORKSPACE.bazel | 5 + extensions/protobuf/extensions.bzl | 8 +- extensions/protobuf/private/BUILD.bazel | 0 .../protobuf/private/internal_extensions.bzl | 26 + extensions/protobuf/repositories.bzl | 13 +- .../protobuf/transitive_repositories.bzl | 3 + extensions/wasm_bindgen/.bazelignore | 6 +- extensions/wasm_bindgen/.bazelrc | 5 +- extensions/wasm_bindgen/MODULE.bazel | 37 +- extensions/wasm_bindgen/WORKSPACE.bazel | 14 - extensions/wasm_bindgen/defs.bzl | 17 +- extensions/wasm_bindgen/extensions.bzl | 8 +- .../private/internal_extensions.bzl | 26 + .../wasm_bindgen/rules_js/test/BUILD.bazel | 17 +- .../test/hello_world_wasm_test.js | 0 .../wasm_bindgen/rules_nodejs/BUILD.bazel | 3 +- .../rules_nodejs/test/BUILD.bazel | 68 - 49 files changed, 1804 insertions(+), 2227 deletions(-) delete mode 100644 docs/src/rust_wasm_bindgen_rules_nodejs.md create mode 100644 extensions/bindgen/3rdparty/BUILD.zstd.bazel delete mode 100644 extensions/bindgen/3rdparty/patches/llvm-project.cxx17.patch create mode 100644 extensions/bindgen/3rdparty/patches/llvm-raw.incompatible_disallow_empty_glob.patch create mode 100644 extensions/bindgen/private/internal_extensions.bzl create mode 100644 extensions/bindgen/private/llvm_utils.bzl create mode 100644 extensions/prost/private/internal_extensions.bzl delete mode 100644 extensions/protobuf/3rdparty/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch create mode 100644 extensions/protobuf/private/BUILD.bazel create mode 100644 extensions/protobuf/private/internal_extensions.bzl create mode 100644 extensions/wasm_bindgen/private/internal_extensions.bzl rename extensions/wasm_bindgen/{ => rules_js}/test/hello_world_wasm_test.js (100%) delete mode 100644 extensions/wasm_bindgen/rules_nodejs/test/BUILD.bazel diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index b241e1af85..aecde57d75 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -972,7 +972,11 @@ tasks: build_targets: - "//..." test_targets: + - "--" - "//..." + # TODO: https://github.com/bazelbuild/rules_rust/issues/3039 + - "-//rules_js/test:hello_world_wasm_lib_test" + - "-//rules_js/test:hello_world_wasm_direct_test" extensions_wasm_bindgen_macos: platform: macos_arm64 name: Extensions wasm-bindgen diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel index 896302f199..7eebe67ca5 100644 --- a/docs/BUILD.bazel +++ b/docs/BUILD.bazel @@ -220,13 +220,6 @@ stardoc( deps = ["@rules_rust_wasm_bindgen//rules_js:bzl_lib"], ) -stardoc( - name = "rust_wasm_bindgen_rules_nodejs", - out = "rust_wasm_bindgen_rules_nodejs.md", - input = "@rules_rust_wasm_bindgen//rules_nodejs:defs.bzl", - deps = ["@rules_rust_wasm_bindgen//rules_nodejs:bzl_lib"], -) - sh_binary( name = "update_docs", srcs = ["update_docs.sh"], diff --git a/docs/src/rust_wasm_bindgen.md b/docs/src/rust_wasm_bindgen.md index 7d33b7944f..0c0c29b265 100644 --- a/docs/src/rust_wasm_bindgen.md +++ b/docs/src/rust_wasm_bindgen.md @@ -4,6 +4,11 @@ Bazel rules for generating wasm modules for Javascript using [wasm-bindgen][wb]. +## Rules + +- [rust_wasm_bindgen](#rust_wasm_bindgen) +- [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain) + ## Setup To begin using the `wasm-bindgen` rules, users can load the necessary dependencies @@ -24,15 +29,15 @@ should avoid calling `rust_wasm_bindgen_register_toolchains` and instead use the [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain) rule to define their own toolchains to register in the workspace. -### Interfacing with Javascript rules +## Interfacing with Javascript rules While it's recommended for users to mantain their own , in the `@rules_rust_wasm_bindgen` package there exists interface sub-packages for various -Javascript Bazel rules. E.g. `build_bazel_rules_nodejs` or `aspect_rules_js`. The -rules defined there are a more convenient way to use `rust_wasm_bindgen` with the -associated javascript rules due to the inclusion of additional providers. Each -directory contains a `defs.bzl` file that defines the different variants of -`rust_wasm_bindgen`. (e.g. `nodejs_rust_wasm_bindgen` for the `rules_nodejs` submodule). +Javascript Bazel rules. E.g. `aspect_rules_js`. The rules defined there are a more +convenient way to use `rust_wasm_bindgen` with the associated javascript rules due +to the inclusion of additional providers. Each directory contains a `defs.bzl` file +that defines the different variants of `rust_wasm_bindgen`. (e.g. `js_rust_wasm_bindgen` +for the `rules_js` submodule). [wb]: https://github.com/rustwasm/wasm-bindgen diff --git a/docs/src/rust_wasm_bindgen_rules_nodejs.md b/docs/src/rust_wasm_bindgen_rules_nodejs.md deleted file mode 100644 index d27ca15e55..0000000000 --- a/docs/src/rust_wasm_bindgen_rules_nodejs.md +++ /dev/null @@ -1,29 +0,0 @@ - - -Rust WASM-bindgen rules for interfacing with bazelbuild/rules_nodejs - - - -## nodejs_rust_wasm_bindgen - -
-nodejs_rust_wasm_bindgen(name, bindgen_flags, target, target_arch, wasm_file)
-
- -Generates javascript and typescript bindings for a webassembly module using [wasm-bindgen][ws] that interface with [bazelbuild/rules_nodejs][bbnjs]. - -[ws]: https://rustwasm.github.io/docs/wasm-bindgen/ -[bbnjs]: https://github.com/bazelbuild/rules_nodejs - -**ATTRIBUTES** - - -| Name | Description | Type | Mandatory | Default | -| :------------- | :------------- | :------------- | :------------- | :------------- | -| name | A unique name for this target. | Name | required | | -| bindgen_flags | Flags to pass directly to the bindgen executable. See https://github.com/rustwasm/wasm-bindgen/ for details. | List of strings | optional | `[]` | -| target | The type of output to generate. See https://rustwasm.github.io/wasm-bindgen/reference/deployment.html for details. | String | optional | `"bundler"` | -| target_arch | The target architecture to use for the wasm-bindgen command line option. | String | optional | `"wasm32"` | -| wasm_file | The `.wasm` file or crate to generate bindings for. | Label | required | | - - diff --git a/extensions/bindgen/.bazelignore b/extensions/bindgen/.bazelignore index 8c29e7dd07..26abfdf00b 100644 --- a/extensions/bindgen/.bazelignore +++ b/extensions/bindgen/.bazelignore @@ -1,5 +1,5 @@ examples bazel-out bazel-testlogs -bazel-extensions +bazel-bindgen bazel-bin diff --git a/extensions/bindgen/.bazelrc b/extensions/bindgen/.bazelrc index 6b20ca4b70..f3e5a5d06f 100644 --- a/extensions/bindgen/.bazelrc +++ b/extensions/bindgen/.bazelrc @@ -60,9 +60,8 @@ build --incompatible_merge_fixed_and_default_shell_env ## Bzlmod ############################################################################### -# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel -# https://github.com/bazelbuild/rules_rust/issues/2181 -common --noenable_bzlmod --enable_workspace +# A configuration for disabling bzlmod. +common:no-bzlmod --noenable_bzlmod --enable_workspace # Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock common --lockfile_mode=off diff --git a/extensions/bindgen/3rdparty/BUILD.zstd.bazel b/extensions/bindgen/3rdparty/BUILD.zstd.bazel new file mode 100644 index 0000000000..a80cea2f70 --- /dev/null +++ b/extensions/bindgen/3rdparty/BUILD.zstd.bazel @@ -0,0 +1,28 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "zstd", + srcs = glob([ + "lib/common/*.c", + "lib/common/*.h", + "lib/compress/*.c", + "lib/compress/*.h", + "lib/decompress/*.c", + "lib/decompress/*.h", + "lib/decompress/*.S", + "lib/dictBuilder/*.c", + "lib/dictBuilder/*.h", + ]), + hdrs = [ + "lib/zdict.h", + "lib/zstd.h", + "lib/zstd_errors.h", + ], + defines = [ + "LLVM_ENABLE_ZSTD=1", + "ZSTD_MULTITHREAD", + ], + strip_include_prefix = "lib", +) diff --git a/extensions/bindgen/3rdparty/patches/README.md b/extensions/bindgen/3rdparty/patches/README.md index 296fbfda3a..a8cb5c4cdb 100644 --- a/extensions/bindgen/3rdparty/patches/README.md +++ b/extensions/bindgen/3rdparty/patches/README.md @@ -2,24 +2,11 @@ All patches pair with the versions of the referenced repositories defined in `@rules_rust_bindgen//:repositories.bzl`. -## [llvm-project.cxx17](./llvm-project.cxx17.patch) - -The llvm-project requires a compiler that builds with at least C++14 but there's no configuration -for this on the targets defined in the repo. This patch plumbs through flags for setting the C++ -version on targets to avoid any need for bazel configuration flags. If this patch causes issues -for users with their current toolchain or toolchain definitions then simply defining the `llvm-raw` -repository before loading `rust_bindgen_dependencies` should avoid this. - ## [llvm-project.incompatible_disallow_empty_glob](./llvm-project.incompatible_disallow_empty_glob.patch) Uses of `glob` are updated to have `allow_empty = True` added so the llvm-project repo is compatible with consumers building with [--incompatible_disallow_empty_glob](https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob). -Most of this patch is generated using the following regex and replace patterns. There are a handful -of additional modifications for more extravagant globs. +## [llvm-raw.incompatible_disallow_empty_glob](./llvm-raw.incompatible_disallow_empty_glob.patch) -| regex | replace | -| --- | --- | -| `glob\(([\[\w\d_\-\*\/\.\],=\n\s"]+)\) \+` | `glob($1, allow_empty = True) +` | -| `glob\(([\[\w\d_\-\*\/\.\],=\n\s"]+)\),` | `glob($1, allow_empty = True),` | -| `(,[\s\n]+), ` | `$1` | +Similar to the `llvm-project` variant but is used outside of bzlmod. diff --git a/extensions/bindgen/3rdparty/patches/llvm-project.cxx17.patch b/extensions/bindgen/3rdparty/patches/llvm-project.cxx17.patch deleted file mode 100644 index fba538489f..0000000000 --- a/extensions/bindgen/3rdparty/patches/llvm-project.cxx17.patch +++ /dev/null @@ -1,537 +0,0 @@ -diff --git a/utils/bazel/configure.bzl b/utils/bazel/configure.bzl -index 4c5ab8bd0972..44de2da1a136 100644 ---- a/utils/bazel/configure.bzl -+++ b/utils/bazel/configure.bzl -@@ -70,6 +70,11 @@ def _overlay_directories(repository_ctx): - )) - - def _llvm_configure_impl(repository_ctx): -+ # Force this repository rule to update if any of the overlay -+ # sources change. -+ for target in repository_ctx.attr._srcs: -+ repository_ctx.path(target) -+ - _overlay_directories(repository_ctx) - - # Create a starlark file with the requested LLVM targets. -@@ -86,6 +91,16 @@ llvm_configure = repository_rule( - configure = True, - attrs = { - "targets": attr.string_list(default = DEFAULT_TARGETS), -+ "_srcs": attr.label_list(default = [ -+ Label("//utils/bazel/llvm-project-overlay/clang:BUILD.bazel"), -+ Label("//utils/bazel/llvm-project-overlay/libunwind:BUILD.bazel"), -+ Label("//utils/bazel/llvm-project-overlay/llvm:binary_alias.bzl"), -+ Label("//utils/bazel/llvm-project-overlay/llvm:BUILD.bazel"), -+ Label("//utils/bazel/llvm-project-overlay/llvm:cc_plugin_library.bzl"), -+ Label("//utils/bazel/llvm-project-overlay/llvm:config.bzl"), -+ Label("//utils/bazel/llvm-project-overlay/llvm:tblgen.bzl"), -+ Label("//utils/bazel/llvm-project-overlay/llvm:template_rule.bzl"), -+ ]), - }, - ) - -diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel -index a2b1e0f33073..0c1abe607b58 100644 ---- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel -+++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel -@@ -5,6 +5,7 @@ - load("//llvm:tblgen.bzl", "gentbl") - load("//llvm:binary_alias.bzl", "binary_alias") - load("//llvm:cc_plugin_library.bzl", "cc_plugin_library") -+load("//llvm:config.bzl", "llvm_stdcxx_copts") - - package( - default_visibility = ["//visibility:public"], -@@ -28,7 +29,7 @@ cc_binary( - ]), - copts = [ - "$(STACK_FRAME_UNLIMITED)", -- ], -+ ] + llvm_stdcxx_copts, - stamp = 0, - deps = [ - "//llvm:Support", -@@ -391,8 +392,8 @@ cc_library( - cc_library( - name = "basic", - srcs = [ -- "include/clang/Basic/Version.inc", - "include/VCSVersion.inc", -+ "include/clang/Basic/Version.inc", - ] + glob([ - "lib/Basic/*.cpp", - "lib/Basic/*.c", -@@ -406,7 +407,7 @@ cc_library( - copts = [ - "-DHAVE_VCS_VERSION_INC", - "$(STACK_FRAME_UNLIMITED)", -- ], -+ ] + llvm_stdcxx_copts, - includes = ["include"], - textual_hdrs = [ - "include/clang/Basic/arm_fp16.inc", -@@ -471,6 +472,7 @@ cc_library( - hdrs = glob([ - "include/clang/Lex/*.h", - ]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":basic", -@@ -711,7 +713,7 @@ cc_library( - # headers such as `CXXABI.h`. - "-I$(GENDIR)/external/llvm-project/clang/lib/AST", - "-I$(GENDIR)/external/llvm-project/clang/lib/AST/Interp", -- ], -+ ] + llvm_stdcxx_copts, - textual_hdrs = [ - "include/clang/AST/AttrImpl.inc", - "include/clang/AST/AttrNodeTraverse.inc", -@@ -763,6 +765,7 @@ cc_library( - "include/clang/Index/*.h", - "include/clang-c/*.h", - ]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -786,6 +789,7 @@ cc_library( - hdrs = glob([ - "include/clang/Analysis/**/*.h", - ]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - textual_hdrs = glob([ - "include/clang/Analysis/**/*.def", -@@ -844,7 +848,7 @@ cc_library( - "include/clang/Sema/*.h", - "include/clang-c/*.h", - ]), -- copts = ["$(STACK_FRAME_UNLIMITED)"], -+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = ["include"], - textual_hdrs = [ - "include/clang/Sema/AttrParsedAttrImpl.inc", -@@ -911,6 +915,7 @@ cc_library( - "include/clang/Parse/AttrParserStringSwitches.inc", - "include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc", - ] + glob(["include/clang/Parse/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -932,6 +937,7 @@ cc_library( - "lib/ASTMatchers/*.h", - ]), - hdrs = glob(["include/clang/ASTMatchers/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -948,7 +954,7 @@ cc_library( - "lib/ASTMatchers/Dynamic/*.h", - ]), - hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"]), -- copts = ["$(STACK_FRAME_UNLIMITED)"], -+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -966,6 +972,7 @@ cc_library( - "lib/Rewrite/*.h", - ]), - hdrs = glob(["include/clang/Rewrite/Core/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -982,6 +989,7 @@ cc_library( - "lib/Testing/*.cpp", - ]), - hdrs = glob(["include/clang/Testing/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":basic", -@@ -996,6 +1004,7 @@ cc_library( - "lib/Tooling/Core/*.h", - ]), - hdrs = glob(["include/clang/Tooling/Core/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -1018,6 +1027,7 @@ cc_library( - hdrs = glob([ - "include/clang/Tooling/*.h", - ]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -1042,6 +1052,7 @@ cc_library( - hdrs = glob([ - "include/clang/Tooling/Inclusions/**/*.h", - ]), -+ copts = llvm_stdcxx_copts, - deps = [ - ":basic", - ":lex", -@@ -1061,6 +1072,7 @@ cc_library( - "include/clang/Tooling/Refactoring/**/*.h", - "include/clang/Tooling/Refactoring/**/*.def", - ]), -+ copts = llvm_stdcxx_copts, - deps = [ - ":ast", - ":ast_matchers", -@@ -1094,6 +1106,7 @@ cc_library( - name = "tooling_syntax", - srcs = glob(["lib/Tooling/Syntax/**/*.cpp"]), - hdrs = glob(["include/clang/Tooling/Syntax/**/*.h"]), -+ copts = llvm_stdcxx_copts, - deps = [ - ":ast", - ":basic", -@@ -1108,6 +1121,7 @@ cc_library( - name = "tooling_dependency_scanning", - srcs = glob(["lib/Tooling/DependencyScanning/**/*.cpp"]), - hdrs = glob(["include/clang/Tooling/DependencyScanning/**/*.h"]), -+ copts = llvm_stdcxx_copts, - deps = [ - ":basic", - ":codegen", -@@ -1123,6 +1137,7 @@ cc_library( - name = "transformer", - srcs = glob(["lib/Tooling/Transformer/**/*.cpp"]), - hdrs = glob(["include/clang/Tooling/Transformer/**/*.h"]), -+ copts = llvm_stdcxx_copts, - deps = [ - ":ast", - ":ast_matchers", -@@ -1138,6 +1153,7 @@ cc_library( - name = "ast-diff", - srcs = glob(["lib/Tooling/ASTDiff/*.cpp"]), - hdrs = glob(["include/clang/Tooling/ASTDiff/*.h"]), -+ copts = llvm_stdcxx_copts, - deps = [ - ":ast", - ":basic", -@@ -1150,6 +1166,7 @@ cc_library( - name = "crosstu", - srcs = glob(["lib/CrossTU/*.cpp"]), - hdrs = glob(["include/clang/CrossTU/*.h"]), -+ copts = llvm_stdcxx_copts, - deps = [ - ":ast", - ":basic", -@@ -1174,6 +1191,7 @@ cc_library( - ] + glob([ - "include/clang/Format/*.h", - ]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":basic", -@@ -1188,6 +1206,7 @@ cc_library( - name = "edit", - srcs = glob(["lib/Edit/*.cpp"]), - hdrs = glob(["include/clang/Edit/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -1222,6 +1241,7 @@ cc_library( - hdrs = glob([ - "include/clang/StaticAnalyzer/Core/**/*.h", - ]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - textual_hdrs = glob([ - "include/clang/StaticAnalyzer/Core/**/*.def", -@@ -1268,7 +1288,7 @@ cc_library( - ] + glob([ - "include/clang/StaticAnalyzer/Checkers/**/*.h", - ]), -- copts = ["$(STACK_FRAME_UNLIMITED)"], -+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":analysis", -@@ -1316,7 +1336,7 @@ cc_library( - hdrs = glob([ - "include/clang/Driver/*.h", - ]), -- copts = ["$(STACK_FRAME_UNLIMITED)"], -+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = [ - "include", - # TODO: This is likely a layering issue, but files in Arch are currently -@@ -1479,7 +1499,7 @@ cc_library( - hdrs = glob([ - "include/clang/Frontend/*.h", - ]), -- copts = ["$(STACK_FRAME_UNLIMITED)"], -+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - data = [":builtin_headers_gen"], - includes = ["include"], - textual_hdrs = glob([ -@@ -1519,6 +1539,7 @@ cc_library( - "lib/Frontend/Rewrite/*.h", - ]), - hdrs = glob(["include/clang/Rewrite/Frontend/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":ast", -@@ -1541,6 +1562,7 @@ cc_library( - "lib/Interpreter/*.h", - ]), - hdrs = glob(["include/clang/Interpreter/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":analysis", -@@ -1573,7 +1595,7 @@ cc_library( - "lib/CodeGen/*.h", - ]), - hdrs = glob(["include/clang/CodeGen/*.h"]), -- copts = ["$(STACK_FRAME_UNLIMITED)"], -+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":analysis", -@@ -1624,6 +1646,7 @@ cc_library( - "lib/StaticAnalyzer/Frontend/**/*.h", - ]), - hdrs = glob(["include/clang/StaticAnalyzer/Frontend/**/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":analysis", -@@ -1678,6 +1701,7 @@ cc_library( - hdrs = glob([ - "include/clang/Serialization/*.h", - ]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - textual_hdrs = glob([ - "include/clang/Serialization/*.def", -@@ -1705,6 +1729,7 @@ cc_library( - "lib/FrontendTool/*.h", - ]), - hdrs = glob(["include/clang/FrontendTool/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":arc_migrate", -@@ -1726,6 +1751,7 @@ cc_library( - "lib/ARCMigrate/*.h", - ]), - hdrs = glob(["include/clang/ARCMigrate/*.h"]), -+ copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ - ":analysis", -@@ -1752,6 +1778,7 @@ cc_library( - "tools/libclang/*.h", - ]), - hdrs = glob(["include/clang-c/*.h"]), -+ copts = llvm_stdcxx_copts, - defines = ["CINDEX_NO_EXPORTS"], - deps = [ - ":arc_migrate", -@@ -1783,7 +1810,7 @@ cc_plugin_library( - copts = select({ - "@bazel_tools//src/conditions:windows": ["-D_CINDEX_LIB_"], - "//conditions:default": [], -- }), -+ }) + llvm_stdcxx_copts, - strip_include_prefix = "include", - deps = [ - ":arc_migrate", -@@ -1912,7 +1939,7 @@ cc_library( - # Disable stack frame size checks in the driver because - # clang::ensureStackAddressSpace allocates a large array on the stack. - "$(STACK_FRAME_UNLIMITED)", -- ], -+ ] + llvm_stdcxx_copts, - deps = [ - ":analysis", - ":ast", -@@ -1947,6 +1974,7 @@ cc_library( - cc_binary( - name = "clang", - srcs = [], -+ copts = llvm_stdcxx_copts, - stamp = 0, - deps = [ - ":clang-driver", -diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel -index 85d79a29b571..716d7f5d9645 100644 ---- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel -+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel -@@ -4,7 +4,7 @@ - - load(":template_rule.bzl", "template_rule") - load(":tblgen.bzl", "gentbl") --load(":config.bzl", "llvm_config_defines") -+load(":config.bzl", "llvm_config_defines", "llvm_stdcxx_copts") - load(":targets.bzl", "llvm_targets") - load(":enum_targets_gen.bzl", "enum_targets_gen") - load(":binary_alias.bzl", "binary_alias") -@@ -21,10 +21,12 @@ exports_files(["LICENSE.TXT"]) - # toolchain or the `.bazelrc` file. This is just a workaround until we have a - # widely available feature to enable unlimited stack frame instead of using - # this `Make` variable. --llvm_copts = [ -+llvm_c_only_opts = [ - "$(STACK_FRAME_UNLIMITED)", - ] - -+llvm_copts = llvm_c_only_opts + llvm_stdcxx_copts -+ - enum_targets_gen( - name = "targets_def_gen", - src = "include/llvm/Config/Targets.def.in", -@@ -167,10 +169,69 @@ genrule( - "echo -e '#undef HANDLE_EXTENSION' >> $@\n", - ) - -+# TODO: This separation is required to separate out C++ and C opts -+# https://github.com/bazelbuild/bazel/issues/16551 - cc_library( -- name = "Support", -+ name = "Support-c", - srcs = glob([ - "lib/Support/*.c", -+ ]), -+ hdrs = glob([ -+ "include/llvm/Support/**/*.h", -+ "include/llvm/ADT/*.h", -+ ]) + [ -+ "include/llvm-c/Core.h", -+ "include/llvm-c/DataTypes.h", -+ "include/llvm-c/Deprecated.h", -+ "include/llvm-c/DisassemblerTypes.h", -+ "include/llvm-c/Error.h", -+ "include/llvm-c/ErrorHandling.h", -+ "include/llvm-c/ExternC.h", -+ "include/llvm-c/Support.h", -+ "include/llvm-c/Types.h", -+ "include/llvm/ExecutionEngine/JITSymbol.h", -+ "include/llvm/Support/Extension.def", -+ "include/llvm/Support/VCSRevision.h", -+ ], -+ copts = llvm_c_only_opts, -+ includes = ["include"], -+ linkopts = select({ -+ "@bazel_tools//src/conditions:windows": [], -+ "@bazel_tools//src/conditions:freebsd": [ -+ "-pthread", -+ "-lexecinfo", -+ "-ldl", -+ "-lm", -+ ], -+ "//conditions:default": [ -+ "-pthread", -+ "-ldl", -+ "-lm", -+ ], -+ }), -+ textual_hdrs = glob([ -+ "include/llvm/Support/*.def", -+ "lib/Support/*.h", -+ "lib/Support/*.inc", -+ ]), -+ deps = [ -+ ":config", -+ ":Demangle", -+ # We unconditionally depend on the custom LLVM terminfo wrapper. This -+ # will be an empty library unless terminfo is enabled, in which case it -+ # will both provide the necessary dependencies and configuration -+ # defines. -+ "@llvm_terminfo//:terminfo", -+ # We unconditionally depend on the custom LLVM zlib wrapper. This will -+ # be an empty library unless zlib is enabled, in which case it will -+ # both provide the necessary dependencies and configuration defines. -+ "@llvm_zlib//:zlib", -+ ], -+) -+ -+cc_library( -+ name = "Support", -+ srcs = glob([ - "lib/Support/*.cpp", - "lib/Support/*.h", - "lib/Support/*.inc", -@@ -223,6 +284,7 @@ cc_library( - "include/llvm/Support/*.def", - ]), - deps = [ -+ ":Support-c", - ":config", - ":Demangle", - # We unconditionally depend on the custom LLVM terminfo wrapper. This -diff --git a/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl b/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl -index 2ebd39c630dc..e45bd8a1ce92 100644 ---- a/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl -+++ b/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl -@@ -16,6 +16,7 @@ configure generic aspects of all generated rules such as `testonly`. Lastly, - """ - - load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_import", "cc_library") -+load(":config.bzl", "llvm_stdcxx_copts") - - def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_prefix = None, alwayslink = False, features = [], tags = [], testonly = False, **kwargs): - # Neither the name of the plugin binary nor tags on whether it is built are -@@ -29,6 +30,7 @@ def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_pre - dylib_name = name + ".dylib" - interface_output_name = name + "_interface_output" - import_name = name + "_import" -+ copts = kwargs.pop("copts", []) - for impl_name in [dll_name, dylib_name, so_name]: - cc_binary( - name = impl_name, -@@ -38,6 +40,7 @@ def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_pre - features = features, - tags = ["manual"] + tags, - testonly = testonly, -+ copts = copts + llvm_stdcxx_copts, - **kwargs - ) - native.filegroup( -diff --git a/utils/bazel/llvm-project-overlay/llvm/config.bzl b/utils/bazel/llvm-project-overlay/llvm/config.bzl -index 2046b2645362..736844bfc2d0 100644 ---- a/utils/bazel/llvm-project-overlay/llvm/config.bzl -+++ b/utils/bazel/llvm-project-overlay/llvm/config.bzl -@@ -97,3 +97,8 @@ llvm_config_defines = os_defines + select({ - "__STDC_CONSTANT_MACROS", - "__STDC_FORMAT_MACROS", - ] -+ -+llvm_stdcxx_copts = select({ -+ "@platforms//os:windows": ["/std:c++17"], -+ "//conditions:default": ["-std=c++17"], -+}) -diff --git a/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl b/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl -index d43390918e39..e0482a6fd4fa 100644 ---- a/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl -+++ b/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl -@@ -12,6 +12,8 @@ TODO(chandlerc): Currently this expresses include-based dependencies as - correctly understood by the build system. - """ - -+load(":config.bzl", "llvm_stdcxx_copts") -+ - def gentbl( - name, - tblgen, -@@ -77,5 +79,6 @@ def gentbl( - # distinction between these two. - hdrs = [f for (_, f) in tbl_outs], - features = ["-parse_headers", "-header_modules"], -+ copts = llvm_stdcxx_copts, - **kwargs - ) diff --git a/extensions/bindgen/3rdparty/patches/llvm-project.incompatible_disallow_empty_glob.patch b/extensions/bindgen/3rdparty/patches/llvm-project.incompatible_disallow_empty_glob.patch index 001affa6a0..d534ec5f65 100644 --- a/extensions/bindgen/3rdparty/patches/llvm-project.incompatible_disallow_empty_glob.patch +++ b/extensions/bindgen/3rdparty/patches/llvm-project.incompatible_disallow_empty_glob.patch @@ -1,49 +1,8 @@ -diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel -index 0c1abe607b58..a382a3bc3d69 100644 ---- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel -+++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel -@@ -26,7 +26,7 @@ cc_binary( - srcs = glob([ - "utils/TableGen/*.cpp", - "utils/TableGen/*.h", -- ]), -+ ], allow_empty = True), - copts = [ - "$(STACK_FRAME_UNLIMITED)", - ] + llvm_stdcxx_copts, -@@ -68,7 +68,7 @@ gentbl( - ], - tblgen = ":clang-tblgen", - td_file = "include/clang/Basic/Diagnostic.td", -- td_srcs = glob(["include/clang/Basic/*.td"]), -+ td_srcs = glob(["include/clang/Basic/*.td"], allow_empty = True), - ) - - gentbl( -@@ -333,11 +333,11 @@ gentbl( - # Table definition files can be used for documentation: - filegroup( - name = "all_table_defs", -- srcs = glob(["include/**/*.td"]), -+ srcs = glob(["include/**/*.td"], allow_empty = True), - ) - - exports_files( -- glob(["include/**/*.td"]), -+ glob(["include/**/*.td"], allow_empty = True), - ) - - genrule( -@@ -384,7 +384,7 @@ cc_library( - name = "basic_internal_headers", - hdrs = glob([ - "lib/Basic/*.h", -- ]), -+ ], allow_empty = True), - features = ["-header_modules"], - strip_include_prefix = "lib/Basic", - ) -@@ -400,10 +400,10 @@ cc_library( +diff --git a/clang/BUILD.bazel b/clang/BUILD.bazel +index ec87a37e2..3cc9d21cb 100644 +--- a/clang/BUILD.bazel ++++ b/clang/BUILD.bazel +@@ -533,7 +533,7 @@ cc_library( "lib/Basic/*.h", "lib/Basic/Targets/*.cpp", "lib/Basic/Targets/*.h", @@ -51,96 +10,17 @@ index 0c1abe607b58..a382a3bc3d69 100644 + ], allow_empty = True), hdrs = glob([ "include/clang/Basic/*.h", -- ]), -+ ], allow_empty = True), - copts = [ - "-DHAVE_VCS_VERSION_INC", - "$(STACK_FRAME_UNLIMITED)", -@@ -435,7 +435,7 @@ cc_library( - "include/clang/Basic/DiagnosticIndexName.inc", - ] + glob([ - "include/clang/Basic/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":basic_arm_cde_gen", - ":basic_arm_fp16_inc_gen", -@@ -468,10 +468,10 @@ cc_library( - srcs = glob([ - "lib/Lex/*.cpp", - "lib/Lex/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/clang/Lex/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -694,13 +694,13 @@ cc_library( - "lib/AST/*.h", - "lib/AST/Interp/*.cpp", - "lib/AST/Interp/*.h", + ]), +@@ -944,7 +944,7 @@ cc_library( + "lib/Analysis/FlowSensitive/*.cpp", + "lib/Analysis/*.cpp", + "lib/Analysis/*.h", - ]) + [ + ], allow_empty = True) + [ - "lib/AST/AttrDocTable.inc", - "lib/AST/Interp/Opcodes.inc", + ":analysis_htmllogger_gen", ], hdrs = glob([ - "include/clang/AST/*.h", -- ]), -+ ], allow_empty = True), - copts = [ - # FIXME: This is necessary to allow "file relative" include paths from - # non-generated `srcs` to find generated `srcs` above. Bazel should -@@ -731,7 +731,7 @@ cc_library( - "include/clang/AST/StmtNodes.inc", - ] + glob([ - "include/clang/AST/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":ast_attr_gen", - ":ast_comment_command_info_gen", -@@ -760,7 +760,7 @@ cc_library( - srcs = glob([ - "lib/Index/*.cpp", - "lib/Index/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/clang/Index/*.h", - "include/clang-c/*.h", -@@ -785,15 +785,15 @@ cc_library( - srcs = glob([ - "lib/Analysis/*.cpp", - "lib/Analysis/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/clang/Analysis/**/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - textual_hdrs = glob([ - "include/clang/Analysis/**/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":ast", - ":ast_matchers", -@@ -843,7 +843,7 @@ cc_library( - srcs = glob([ - "lib/Sema/*.cpp", - "lib/Sema/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/clang/Sema/*.h", - "include/clang-c/*.h", -@@ -910,11 +910,11 @@ cc_library( +@@ -1080,7 +1080,7 @@ cc_library( ] + glob([ "lib/Parse/*.cpp", "lib/Parse/*.h", @@ -149,89 +29,34 @@ index 0c1abe607b58..a382a3bc3d69 100644 hdrs = [ "include/clang/Parse/AttrParserStringSwitches.inc", "include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc", -- ] + glob(["include/clang/Parse/*.h"]), -+ ] + glob(["include/clang/Parse/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -935,8 +935,8 @@ cc_library( +@@ -1104,7 +1104,7 @@ cc_library( srcs = glob([ "lib/ASTMatchers/*.cpp", "lib/ASTMatchers/*.h", - ]), -- hdrs = glob(["include/clang/ASTMatchers/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/clang/ASTMatchers/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, + hdrs = glob(["include/clang/ASTMatchers/*.h"]), includes = ["include"], deps = [ -@@ -952,8 +952,8 @@ cc_library( - srcs = glob([ - "lib/ASTMatchers/Dynamic/*.cpp", - "lib/ASTMatchers/Dynamic/*.h", -- ]), -- hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"], allow_empty = True), - copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -970,8 +970,8 @@ cc_library( +@@ -1138,7 +1138,7 @@ cc_library( srcs = glob([ "lib/Rewrite/*.cpp", "lib/Rewrite/*.h", - ]), -- hdrs = glob(["include/clang/Rewrite/Core/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/clang/Rewrite/Core/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, + hdrs = glob(["include/clang/Rewrite/Core/*.h"]), includes = ["include"], deps = [ -@@ -987,8 +987,8 @@ cc_library( - name = "testing", - srcs = glob([ - "lib/Testing/*.cpp", -- ]), -- hdrs = glob(["include/clang/Testing/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/Testing/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1002,8 +1002,8 @@ cc_library( +@@ -1172,7 +1172,7 @@ cc_library( srcs = glob([ "lib/Tooling/Core/*.cpp", "lib/Tooling/Core/*.h", - ]), -- hdrs = glob(["include/clang/Tooling/Core/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/Tooling/Core/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1026,7 +1026,7 @@ cc_library( - ), - hdrs = glob([ - "include/clang/Tooling/*.h", -- ]), + ], allow_empty = True), - copts = llvm_stdcxx_copts, + hdrs = glob(["include/clang/Tooling/Core/*.h"]), includes = ["include"], deps = [ -@@ -1048,10 +1048,10 @@ cc_library( - name = "tooling_inclusions", - srcs = glob([ - "lib/Tooling/Inclusions/**/*.cpp", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/clang/Tooling/Inclusions/**/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_stdcxx_copts, - deps = [ - ":basic", -@@ -1067,11 +1067,11 @@ cc_library( +@@ -1237,11 +1237,11 @@ cc_library( srcs = glob([ "lib/Tooling/Refactoring/**/*.cpp", "lib/Tooling/Refactoring/**/*.h", @@ -241,169 +66,19 @@ index 0c1abe607b58..a382a3bc3d69 100644 "include/clang/Tooling/Refactoring/**/*.h", "include/clang/Tooling/Refactoring/**/*.def", - ]), -+ ], allow_empty = True), - copts = llvm_stdcxx_copts, - deps = [ - ":ast", -@@ -1104,8 +1104,8 @@ gentbl( - - cc_library( - name = "tooling_syntax", -- srcs = glob(["lib/Tooling/Syntax/**/*.cpp"]), -- hdrs = glob(["include/clang/Tooling/Syntax/**/*.h"]), -+ srcs = glob(["lib/Tooling/Syntax/**/*.cpp"], allow_empty = True), -+ hdrs = glob(["include/clang/Tooling/Syntax/**/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - deps = [ - ":ast", -@@ -1119,8 +1119,8 @@ cc_library( - - cc_library( - name = "tooling_dependency_scanning", -- srcs = glob(["lib/Tooling/DependencyScanning/**/*.cpp"]), -- hdrs = glob(["include/clang/Tooling/DependencyScanning/**/*.h"]), -+ srcs = glob(["lib/Tooling/DependencyScanning/**/*.cpp"], allow_empty = True), -+ hdrs = glob(["include/clang/Tooling/DependencyScanning/**/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - deps = [ - ":basic", -@@ -1135,8 +1135,8 @@ cc_library( - - cc_library( - name = "transformer", -- srcs = glob(["lib/Tooling/Transformer/**/*.cpp"]), -- hdrs = glob(["include/clang/Tooling/Transformer/**/*.h"]), -+ srcs = glob(["lib/Tooling/Transformer/**/*.cpp"], allow_empty = True), -+ hdrs = glob(["include/clang/Tooling/Transformer/**/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - deps = [ - ":ast", -@@ -1151,8 +1151,8 @@ cc_library( - - cc_library( - name = "ast-diff", -- srcs = glob(["lib/Tooling/ASTDiff/*.cpp"]), -- hdrs = glob(["include/clang/Tooling/ASTDiff/*.h"]), -+ srcs = glob(["lib/Tooling/ASTDiff/*.cpp"], allow_empty = True), -+ hdrs = glob(["include/clang/Tooling/ASTDiff/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - deps = [ - ":ast", -@@ -1164,8 +1164,8 @@ cc_library( - - cc_library( - name = "crosstu", -- srcs = glob(["lib/CrossTU/*.cpp"]), -- hdrs = glob(["include/clang/CrossTU/*.h"]), -+ srcs = glob(["lib/CrossTU/*.cpp"], allow_empty = True), -+ hdrs = glob(["include/clang/CrossTU/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - deps = [ - ":ast", -@@ -1184,13 +1184,13 @@ cc_library( - "lib/Format/*.cpp", - "lib/Format/*.h", - ], -- ), -+ allow_empty = True), - hdrs = [ - "lib/Format/FormatTokenLexer.h", - "lib/Format/Macros.h", - ] + glob([ - "include/clang/Format/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1204,8 +1204,8 @@ cc_library( - - cc_library( - name = "edit", -- srcs = glob(["lib/Edit/*.cpp"]), -- hdrs = glob(["include/clang/Edit/*.h"]), -+ srcs = glob(["lib/Edit/*.cpp"], allow_empty = True), -+ hdrs = glob(["include/clang/Edit/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1237,15 +1237,15 @@ cc_library( - srcs = glob([ - "lib/StaticAnalyzer/Core/**/*.cpp", - "lib/StaticAnalyzer/Core/**/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/clang/StaticAnalyzer/Core/**/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - textual_hdrs = glob([ - "include/clang/StaticAnalyzer/Core/**/*.def", -- ]), + ], allow_empty = True), deps = [ - ":analysis", ":ast", -@@ -1282,12 +1282,12 @@ cc_library( - srcs = glob([ - "lib/StaticAnalyzer/Checkers/**/*.cpp", - "lib/StaticAnalyzer/Checkers/**/*.h", -- ]), -+ ], allow_empty = True), - hdrs = [ - "include/clang/StaticAnalyzer/Checkers/Checkers.inc", - ] + glob([ - "include/clang/StaticAnalyzer/Checkers/**/*.h", -- ]), -+ ], allow_empty = True), - copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1332,10 +1332,10 @@ cc_library( + ":ast_matchers", +@@ -1500,6 +1500,7 @@ cc_library( exclude = [ "lib/Driver/ToolChains/MSVCSetupApi.h", ], -- ), -+ allow_empty = True), ++ allow_empty = True, + ), hdrs = glob([ "include/clang/Driver/*.h", -- ]), -+ ], allow_empty = True), - copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = [ - "include", -@@ -1349,7 +1349,7 @@ cc_library( - }), - textual_hdrs = glob([ - "include/clang/Driver/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":ast", - ":basic", -@@ -1466,7 +1466,7 @@ gentbl( - # We generate the set of builtin headers under a special subdirectory in the - # 'bin' section of the bazel output so that they can be used as data - # dependencies. It requires listing explicitly all the generated inputs here. --builtin_headers = glob(["lib/Headers/**/*.h"]) + [ -+builtin_headers = glob(["lib/Headers/**/*.h"], allow_empty = True) + [ - "lib/Headers/arm_cde.h", - "lib/Headers/arm_fp16.h", - "lib/Headers/arm_mve.h", -@@ -1495,16 +1495,16 @@ cc_library( - srcs = glob([ - "lib/Frontend/*.cpp", - "lib/Frontend/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/clang/Frontend/*.h", -- ]), -+ ], allow_empty = True), - copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - data = [":builtin_headers_gen"], +@@ -1716,7 +1717,7 @@ cc_library( includes = ["include"], textual_hdrs = glob([ "include/clang/Frontend/*.def", @@ -412,110 +87,25 @@ index 0c1abe607b58..a382a3bc3d69 100644 deps = [ ":ast", ":basic", -@@ -1537,8 +1537,8 @@ cc_library( +@@ -1752,7 +1753,7 @@ cc_library( srcs = glob([ "lib/Frontend/Rewrite/*.cpp", "lib/Frontend/Rewrite/*.h", - ]), -- hdrs = glob(["include/clang/Rewrite/Frontend/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/Rewrite/Frontend/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1560,8 +1560,8 @@ cc_library( - srcs = glob([ - "lib/Interpreter/*.cpp", - "lib/Interpreter/*.h", -- ]), -- hdrs = glob(["include/clang/Interpreter/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/Interpreter/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1593,8 +1593,8 @@ cc_library( - srcs = glob([ - "lib/CodeGen/*.cpp", - "lib/CodeGen/*.h", -- ]), -- hdrs = glob(["include/clang/CodeGen/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/CodeGen/*.h"], allow_empty = True), - copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1644,8 +1644,8 @@ cc_library( - srcs = glob([ - "lib/StaticAnalyzer/Frontend/**/*.cpp", - "lib/StaticAnalyzer/Frontend/**/*.h", -- ]), -- hdrs = glob(["include/clang/StaticAnalyzer/Frontend/**/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/StaticAnalyzer/Frontend/**/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1697,15 +1697,15 @@ cc_library( - ] + glob([ - "lib/Serialization/*.cpp", - "lib/Serialization/*.h", -- ]), + ], allow_empty = True), - hdrs = glob([ - "include/clang/Serialization/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_stdcxx_copts, + hdrs = glob(["include/clang/Rewrite/Frontend/*.h"]), includes = ["include"], - textual_hdrs = glob([ - "include/clang/Serialization/*.def", -- ]), -+ ], allow_empty = True), deps = [ - ":ast", - ":basic", -@@ -1727,8 +1727,8 @@ cc_library( +@@ -1967,7 +1968,7 @@ cc_library( srcs = glob([ "lib/FrontendTool/*.cpp", "lib/FrontendTool/*.h", - ]), -- hdrs = glob(["include/clang/FrontendTool/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/clang/FrontendTool/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, - includes = ["include"], - deps = [ -@@ -1749,8 +1749,8 @@ cc_library( - srcs = glob([ - "lib/ARCMigrate/*.cpp", - "lib/ARCMigrate/*.h", -- ]), -- hdrs = glob(["include/clang/ARCMigrate/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/clang/ARCMigrate/*.h"], allow_empty = True), - copts = llvm_stdcxx_copts, + hdrs = glob(["include/clang/FrontendTool/*.h"]), includes = ["include"], deps = [ -@@ -1776,7 +1776,7 @@ cc_library( - srcs = glob([ - "tools/libclang/*.cpp", - "tools/libclang/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob(["include/clang-c/*.h"]), - copts = llvm_stdcxx_copts, - defines = ["CINDEX_NO_EXPORTS"], -@@ -1805,7 +1805,7 @@ cc_plugin_library( - srcs = glob([ - "tools/libclang/*.cpp", - "tools/libclang/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob(["include/clang-c/*.h"]), - copts = select({ - "@bazel_tools//src/conditions:windows": ["-D_CINDEX_LIB_"], -@@ -1914,7 +1914,7 @@ cc_binary( +@@ -2155,7 +2156,7 @@ cc_binary( srcs = glob([ "tools/clang-import-test/*.cpp", "tools/clang-import-test/*.h", @@ -524,38 +114,29 @@ index 0c1abe607b58..a382a3bc3d69 100644 stamp = 0, deps = [ ":ast", -@@ -1934,7 +1934,7 @@ cc_library( +@@ -2185,7 +2186,7 @@ cc_library( srcs = glob([ "tools/driver/*.cpp", "tools/driver/*.h", -- ]), -+ ], allow_empty = True), +- ]) + ["clang-driver.cpp"], ++ ], allow_empty = True) + ["clang-driver.cpp"], copts = [ # Disable stack frame size checks in the driver because # clang::ensureStackAddressSpace allocates a large array on the stack. -@@ -1986,7 +1986,7 @@ cc_binary( +@@ -2500,7 +2501,7 @@ cc_library( srcs = glob([ - "tools/diagtool/*.cpp", - "tools/diagtool/*.h", + "lib/ExtractAPI/**/*.cpp", + "lib/ExtractAPI/**/*.h", - ]), + ], allow_empty = True), - stamp = 0, + hdrs = glob(["include/clang/ExtractAPI/**/*.h"]), + includes = ["include"], deps = [ - ":basic", -diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel -index 716d7f5d9645..1e3e7a8ff0e7 100644 ---- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel -+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel -@@ -39,7 +39,7 @@ enum_targets_gen( - llvm_target_asm_printers = [ - t - for t in llvm_targets -- if glob(["lib/Target/{}/*AsmPrinter.cpp".format(t)]) -+ if glob(["lib/Target/{}/*AsmPrinter.cpp".format(t)], allow_empty = True) - ] - - enum_targets_gen( -@@ -54,7 +54,7 @@ enum_targets_gen( +diff --git a/llvm/BUILD.bazel b/llvm/BUILD.bazel +index 836d4049e..ffbdee993 100644 +--- a/llvm/BUILD.bazel ++++ b/llvm/BUILD.bazel +@@ -66,7 +66,7 @@ enum_targets_gen( llvm_target_asm_parsers = [ t for t in llvm_targets @@ -564,7 +145,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 ] enum_targets_gen( -@@ -69,7 +69,7 @@ enum_targets_gen( +@@ -81,7 +81,7 @@ enum_targets_gen( llvm_target_disassemblers = [ t for t in llvm_targets @@ -573,7 +154,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 ] enum_targets_gen( -@@ -84,7 +84,7 @@ enum_targets_gen( +@@ -96,7 +96,7 @@ enum_targets_gen( llvm_target_mcas = [ t for t in llvm_targets @@ -582,42 +163,26 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 ] enum_targets_gen( -@@ -149,8 +149,8 @@ cc_library( +@@ -111,7 +111,7 @@ enum_targets_gen( + llvm_target_exegesis = [ + t + for t in llvm_targets +- if glob(["tools/llvm-exegesis/lib/{}/CMakeLists.txt".format(t)]) ++ if glob(["tools/llvm-exegesis/lib/{}/CMakeLists.txt".format(t)], allow_empty = True) + ] + + enum_targets_gen( +@@ -169,7 +169,7 @@ cc_library( srcs = glob([ "lib/Demangle/*.cpp", "lib/Demangle/*.h", - ]), -- hdrs = glob(["include/llvm/Demangle/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/llvm/Demangle/*.h"], allow_empty = True), - copts = llvm_copts, - deps = [":config"], - ) -@@ -175,11 +175,11 @@ cc_library( - name = "Support-c", - srcs = glob([ - "lib/Support/*.c", -- ]), + ], allow_empty = True), hdrs = glob([ - "include/llvm/Support/**/*.h", - "include/llvm/ADT/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Core.h", - "include/llvm-c/DataTypes.h", - "include/llvm-c/Deprecated.h", -@@ -213,7 +213,7 @@ cc_library( - "include/llvm/Support/*.def", - "lib/Support/*.h", - "lib/Support/*.inc", -- ]), -+ ], allow_empty = True), - deps = [ - ":config", - ":Demangle", -@@ -241,16 +241,16 @@ cc_library( - "@bazel_tools//src/conditions:windows": glob([ + "include/llvm/Demangle/*.h", + "include/llvm/Demangle/*.def", +@@ -205,7 +205,7 @@ cc_library( + "@platforms//os:windows": glob([ "lib/Support/Windows/*.h", "lib/Support/Windows/*.inc", - ]), @@ -625,80 +190,25 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 "//conditions:default": glob([ "lib/Support/Unix/*.h", "lib/Support/Unix/*.inc", -- ]), -+ ], allow_empty = True), - }), - hdrs = glob([ - "include/llvm/Support/**/*.h", - "include/llvm/ADT/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Core.h", - "include/llvm-c/DataTypes.h", - "include/llvm-c/Deprecated.h", -@@ -282,7 +282,7 @@ cc_library( - }), - textual_hdrs = glob([ - "include/llvm/Support/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":Support-c", - ":config", -@@ -306,8 +306,8 @@ cc_library( - srcs = glob([ - "lib/FileCheck/*.cpp", - "lib/FileCheck/*.h", -- ]), -- hdrs = glob(["include/llvm/FileCheck/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/llvm/FileCheck/*.h"], allow_empty = True), - copts = llvm_copts, - deps = [":Support"], - ) -@@ -317,8 +317,8 @@ cc_library( +@@ -314,7 +314,7 @@ cc_library( srcs = glob([ "lib/LineEditor/*.cpp", "lib/LineEditor/*.h", - ]), -- hdrs = glob(["include/llvm/LineEditor/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/LineEditor/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/LineEditor/*.h"]), copts = llvm_copts, deps = [ - ":Support", -@@ -331,8 +331,8 @@ cc_library( +@@ -328,7 +328,7 @@ cc_library( srcs = glob([ "lib/Option/*.cpp", "lib/Option/*.h", - ]), -- hdrs = glob(["include/llvm/Option/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/llvm/Option/*.h"], allow_empty = True), - copts = llvm_copts, - deps = [ - ":Support", -@@ -345,8 +345,8 @@ cc_library( - srcs = glob([ - "lib/TableGen/*.cpp", - "lib/TableGen/*.h", -- ]), -- hdrs = glob(["include/llvm/TableGen/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/TableGen/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/Option/*.h"]), copts = llvm_copts, deps = [ - ":Support", -@@ -365,7 +365,7 @@ cc_library( - exclude = [ - "include/llvm/LinkAllPasses.h", - ], -- ) + [ -+ allow_empty = True) + [ - "include/llvm/IR/Value.def", - "include/llvm-c/Comdat.h", - "include/llvm-c/DebugInfo.h", -@@ -379,16 +379,16 @@ cc_library( +@@ -376,7 +376,7 @@ cc_library( "lib/BinaryFormat/*.cpp", "lib/BinaryFormat/*.def", "lib/BinaryFormat/*.h", @@ -706,39 +216,26 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 + ], allow_empty = True), hdrs = glob([ "include/llvm/BinaryFormat/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - includes = ["include"], - textual_hdrs = glob([ - "include/llvm/BinaryFormat/*.def", - "include/llvm/BinaryFormat/ELFRelocs/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":Support", - ], -@@ -396,7 +396,7 @@ cc_library( - - cc_library( - name = "DebugInfo", -- hdrs = glob(["include/llvm/DebugInfo/*.h"]), -+ hdrs = glob(["include/llvm/DebugInfo/*.h"], allow_empty = True), - copts = llvm_copts, - deps = [ - ":Object", -@@ -409,8 +409,8 @@ cc_library( + ]), +@@ -408,7 +408,7 @@ cc_library( srcs = glob([ "lib/DebugInfo/MSF/*.cpp", "lib/DebugInfo/MSF/*.h", - ]), -- hdrs = glob(["include/llvm/DebugInfo/MSF/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/DebugInfo/MSF/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/MSF/*.h"]), copts = llvm_copts, deps = [":Support"], - ) -@@ -420,14 +420,14 @@ cc_library( +@@ -419,7 +419,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/BTF/*.cpp", + "lib/DebugInfo/BTF/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/BTF/*.h"]) + [ + "include/llvm/DebugInfo/BTF/BTF.def", + ], +@@ -436,7 +436,7 @@ cc_library( srcs = glob([ "lib/DebugInfo/CodeView/*.cpp", "lib/DebugInfo/CodeView/*.h", @@ -746,17 +243,8 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 + ], allow_empty = True), hdrs = glob([ "include/llvm/DebugInfo/CodeView/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - textual_hdrs = glob([ - "include/llvm/DebugInfo/CodeView/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":BinaryFormat", - ":DebugInfoMSF", -@@ -442,11 +442,11 @@ cc_library( + ]), +@@ -481,7 +481,7 @@ cc_library( "lib/DebugInfo/PDB/*.h", "lib/DebugInfo/PDB/Native/*.cpp", "lib/DebugInfo/PDB/Native/*.h", @@ -765,25 +253,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 hdrs = glob([ "include/llvm/DebugInfo/PDB/*.h", "include/llvm/DebugInfo/PDB/Native/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":BinaryFormat", -@@ -463,10 +463,10 @@ cc_library( - name = "Debuginfod", - srcs = glob([ - "lib/Debuginfod/*.cpp", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/Debuginfod/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":Support", -@@ -478,12 +478,12 @@ cc_library( +@@ -522,12 +522,12 @@ cc_library( srcs = glob([ "lib/MC/*.cpp", "lib/MC/*.h", @@ -798,182 +268,87 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, deps = [ ":BinaryFormat", -@@ -499,8 +499,8 @@ cc_library( +@@ -544,7 +544,7 @@ cc_library( srcs = glob([ "lib/DebugInfo/DWARF/*.cpp", "lib/DebugInfo/DWARF/*.h", - ]), -- hdrs = glob(["include/llvm/DebugInfo/DWARF/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/DebugInfo/DWARF/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/DWARF/*.h"]), copts = llvm_copts, deps = [ - ":BinaryFormat", -@@ -516,8 +516,8 @@ cc_library( +@@ -562,7 +562,7 @@ cc_library( srcs = glob([ - "lib/DebugInfo/Symbolize/*.cpp", - "lib/DebugInfo/Symbolize/*.h", + "lib/DebugInfo/GSYM/*.cpp", + "lib/DebugInfo/GSYM/*.h", - ]), -- hdrs = glob(["include/llvm/DebugInfo/Symbolize/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/DebugInfo/Symbolize/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/GSYM/*.h"]), copts = llvm_copts, deps = [ - ":BinaryFormat", -@@ -553,7 +553,7 @@ cc_library( - hdrs = glob([ - "utils/TableGen/*.h", - "utils/TableGen/GlobalISel/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - features = ["-header_modules"], - strip_include_prefix = "utils/TableGen", -@@ -581,7 +581,7 @@ gentbl( - td_srcs = glob([ - "include/llvm/CodeGen/*.td", - "include/llvm/IR/Intrinsics*.td", +@@ -579,7 +579,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/Symbolize/*.cpp", + "lib/DebugInfo/Symbolize/*.h", - ]), + ], allow_empty = True), - ) - - gentbl( -@@ -592,7 +592,7 @@ gentbl( - td_srcs = glob([ - "include/llvm/CodeGen/*.td", - "include/llvm/IR/Intrinsics*.td", + hdrs = glob([ + "include/llvm/DebugInfo/Symbolize/*.h", + "include/llvm/Debuginfod/*.h", +@@ -664,7 +664,7 @@ cc_binary( + # regular dependency. + "include/llvm/MC/*.h", + "include/llvm/TargetParser/SubtargetFeature.h", - ]), + ], allow_empty = True), - ) - - # Note that the intrinsics are not currently set up so they can be pruned for -@@ -672,7 +672,7 @@ llvm_target_intrinsics_list = [ - td_srcs = glob([ - "include/llvm/CodeGen/*.td", - "include/llvm/IR/*.td", -- ]), -+ ], allow_empty = True), - ), - ] for target in llvm_target_intrinsics_list] - -@@ -692,7 +692,7 @@ cc_library( + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -812,7 +812,7 @@ cc_library( srcs = glob([ "lib/Bitstream/Reader/*.cpp", "lib/Bitstream/Reader/*.h", - ]), + ], allow_empty = True), hdrs = [ + "include/llvm/Bitstream/BitCodeEnums.h", "include/llvm/Bitstream/BitCodes.h", - "include/llvm/Bitstream/BitstreamReader.h", -@@ -707,7 +707,7 @@ cc_library( +@@ -828,7 +828,7 @@ cc_library( name = "BitstreamWriter", srcs = glob([ "lib/Bitstream/Writer/*.h", - ]), + ], allow_empty = True), hdrs = [ + "include/llvm/Bitstream/BitCodeEnums.h", "include/llvm/Bitstream/BitCodes.h", - "include/llvm/Bitstream/BitstreamWriter.h", -@@ -726,13 +726,13 @@ cc_library( +@@ -848,6 +848,7 @@ cc_library( "lib/Remarks/*.h", ], exclude = ["lib/Remarks/RemarkLinker.cpp"], -- ), -+ allow_empty = True), - hdrs = glob( - [ - "include/llvm/Remarks/*.h", - ], - exclude = ["include/llvm/Remarks/RemarkLinker.h"], -- ) + [ -+ allow_empty = True) + [ - "include/llvm-c/Remarks.h", - ], - copts = llvm_copts, -@@ -767,7 +767,7 @@ cc_library( - srcs = glob([ - "lib/IR/*.cpp", - "lib/IR/*.h", -- ]), -+ ], allow_empty = True), ++ allow_empty = True, + ), hdrs = glob( [ - "include/llvm/*.h", -@@ -776,12 +776,12 @@ cc_library( - exclude = [ - "include/llvm/LinkAllPasses.h", - ], -- ) + [ -+ allow_empty = True) + [ - "include/llvm-c/Comdat.h", - "include/llvm-c/DebugInfo.h", - ] + [":llvm_intrinsics_headers"], - copts = llvm_copts, -- textual_hdrs = glob(["include/llvm/IR/*.def"]), -+ textual_hdrs = glob(["include/llvm/IR/*.def"], allow_empty = True), - deps = [ - ":BinaryFormat", - ":Remarks", -@@ -798,7 +798,7 @@ cc_library( - srcs = glob([ - "lib/Bitcode/Reader/*.cpp", - "lib/Bitcode/Reader/*.h", -- ]), -+ ], allow_empty = True), - hdrs = [ - "include/llvm-c/BitReader.h", - "include/llvm/Bitcode/BitcodeAnalyzer.h", -@@ -820,8 +820,8 @@ cc_library( +@@ -947,7 +948,7 @@ cc_library( srcs = glob([ "lib/MC/MCParser/*.cpp", "lib/MC/MCParser/*.h", - ]), -- hdrs = glob(["include/llvm/MC/MCParser/*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/llvm/MC/MCParser/*.h"], allow_empty = True), - copts = llvm_copts, - deps = [ - ":BinaryFormat", -@@ -835,12 +835,12 @@ cc_library( - name = "TextAPI", - srcs = glob([ - "lib/TextAPI/**/*.cpp", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/TextAPI/**/*.h", - "include/llvm/TextAPI/**/*.def", - "lib/TextAPI/**/*.h", -- ]), + ], allow_empty = True), + hdrs = glob(["include/llvm/MC/MCParser/*.h"]), copts = llvm_copts, deps = [ - ":BinaryFormat", -@@ -853,10 +853,10 @@ cc_library( - srcs = glob([ - "lib/Object/*.cpp", - "lib/Object/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/Object/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Object.h", - ], - copts = llvm_copts, -@@ -877,8 +877,8 @@ cc_library( +@@ -1032,7 +1033,7 @@ cc_library( srcs = glob([ "lib/ObjectYAML/*.cpp", "lib/ObjectYAML/*.h", - ]), -- hdrs = glob(["include/llvm/ObjectYAML/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/ObjectYAML/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/ObjectYAML/*.h"]), copts = llvm_copts, deps = [ - ":BinaryFormat", -@@ -893,11 +893,11 @@ cc_library( +@@ -1050,7 +1051,7 @@ cc_library( srcs = glob([ "lib/ProfileData/*.cpp", "lib/ProfileData/*.h", @@ -982,56 +357,24 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 hdrs = glob([ "include/llvm/ProfileData/*.h", "include/llvm/ProfileData/*.inc", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":Core", -@@ -912,8 +912,8 @@ cc_library( +@@ -1074,7 +1075,7 @@ cc_library( srcs = glob([ "lib/ProfileData/Coverage/*.cpp", "lib/ProfileData/Coverage/*.h", - ]), -- hdrs = glob(["include/llvm/ProfileData/Coverage/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/ProfileData/Coverage/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/ProfileData/Coverage/*.h"]), copts = llvm_copts, deps = [ - ":Object", -@@ -930,20 +930,20 @@ cc_library( +@@ -1093,6 +1094,7 @@ cc_library( "lib/Analysis/*.h", "lib/Analysis/*.def", ], -- ), -+ allow_empty = True), ++ allow_empty = True, + ), hdrs = glob( [ - "include/llvm/Analysis/*.h", - "include/llvm/Analysis/Utils/*.h", - ], -- ) + [ -+ allow_empty = True) + [ - "include/llvm-c/Analysis.h", - "include/llvm-c/Initialization.h", - ], - copts = llvm_copts, - textual_hdrs = glob([ - "include/llvm/Analysis/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":BinaryFormat", - ":Core", -@@ -959,7 +959,7 @@ cc_library( - srcs = glob([ - "lib/Bitcode/Writer/*.cpp", - "lib/Bitcode/Writer/*.h", -- ]), -+ ], allow_empty = True), - hdrs = [ - "include/llvm-c/BitWriter.h", - "include/llvm/Bitcode/BitcodeCommon.h", -@@ -984,10 +984,10 @@ cc_library( +@@ -1149,7 +1151,7 @@ cc_library( srcs = glob([ "lib/Target/*.cpp", "lib/Target/*.h", @@ -1039,122 +382,63 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 + ], allow_empty = True), hdrs = glob([ "include/llvm/Target/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Target.h", - "include/llvm-c/TargetMachine.h", - ], -@@ -1007,8 +1007,8 @@ cc_library( + ]) + [ +@@ -1185,15 +1187,15 @@ cc_library( + srcs = glob([ + "lib/TargetParser/*.cpp", + "lib/TargetParser/*.h", +- ]) + select({ ++ ], allow_empty = True) + select({ + "@platforms//os:windows": glob([ + "lib/TargetParser/Windows/*.h", + "lib/TargetParser/Windows/*.inc", +- ]), ++ ], allow_empty = True), + "//conditions:default": glob([ + "lib/TargetParser/Unix/*.h", + "lib/TargetParser/Unix/*.inc", +- ]), ++ ], allow_empty = True), + }), + hdrs = glob([ + "include/llvm/TargetParser/*.h", +@@ -1216,7 +1218,7 @@ cc_library( srcs = glob([ "lib/DWP/*.cpp", "lib/DWP/*.h", - ]), -- hdrs = glob(["include/llvm/DWP/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/DWP/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/DWP/*.h"]), copts = llvm_copts, deps = [ - ":DebugInfoDWARF", -@@ -1024,8 +1024,8 @@ cc_library( +@@ -1233,7 +1235,7 @@ cc_library( srcs = glob([ "lib/Transforms/Utils/*.cpp", "lib/Transforms/Utils/*.h", - ]), -- hdrs = glob(["include/llvm/Transforms/Utils/*.h"]) + [ + ], allow_empty = True), -+ hdrs = glob(["include/llvm/Transforms/Utils/*.h"], allow_empty = True) + [ + hdrs = glob(["include/llvm/Transforms/Utils/*.h"]) + [ "include/llvm/Transforms/Utils.h", - "include/llvm-c/Transforms/Utils.h", - ], -@@ -1053,7 +1053,7 @@ gentbl( - td_srcs = glob([ - "include/llvm/CodeGen/*.td", - "include/llvm/IR/Intrinsics*.td", -- ]) + [ -+ ], allow_empty = True) + [ - "lib/Target/AMDGPU/InstCombineTables.td", - "include/llvm/TableGen/SearchableTable.td", - ], -@@ -1064,8 +1064,8 @@ cc_library( - srcs = glob([ - "lib/Transforms/InstCombine/*.cpp", - "lib/Transforms/InstCombine/*.h", -- ]), -- hdrs = glob(["include/llvm/Transforms/InstCombine/*.h"]) + [ -+ ], allow_empty = True), -+ hdrs = glob(["include/llvm/Transforms/InstCombine/*.h"], allow_empty = True) + [ - "include/llvm-c/Transforms/InstCombine.h", - ], - copts = llvm_copts, -@@ -1085,7 +1085,7 @@ cc_library( - srcs = glob([ - "lib/Transforms/AggressiveInstCombine/*.cpp", - "lib/Transforms/AggressiveInstCombine/*.h", -- ]), -+ ], allow_empty = True), - hdrs = [ - "include/llvm-c/Transforms/AggressiveInstCombine.h", - "include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h", -@@ -1105,8 +1105,8 @@ cc_library( - "lib/Transforms/Instrumentation/*.cpp", - "lib/Transforms/Instrumentation/*.h", - "lib/Transforms/Instrumentation/*.inc", -- ]), -- hdrs = glob(["include/llvm/Transforms/Instrumentation/*.h"]) + [ -+ ], allow_empty = True), -+ hdrs = glob(["include/llvm/Transforms/Instrumentation/*.h"], allow_empty = True) + [ - "include/llvm/Transforms/Instrumentation.h", ], - copts = llvm_copts, -@@ -1127,7 +1127,7 @@ cc_library( - srcs = glob([ - "lib/Transforms/ObjCARC/*.cpp", - "lib/Transforms/ObjCARC/*.h", -- ]), -+ ], allow_empty = True), - hdrs = ["include/llvm/Transforms/ObjCARC.h"], - copts = llvm_copts, - deps = [ -@@ -1145,8 +1145,8 @@ cc_library( +@@ -1354,7 +1356,7 @@ cc_library( srcs = glob([ "lib/Transforms/Scalar/*.cpp", "lib/Transforms/Scalar/*.h", - ]), -- hdrs = glob(["include/llvm/Transforms/Scalar/*.h"]) + [ + ], allow_empty = True), -+ hdrs = glob(["include/llvm/Transforms/Scalar/*.h"], allow_empty = True) + [ - "include/llvm-c/Transforms/Scalar.h", + hdrs = glob(["include/llvm/Transforms/Scalar/*.h"]) + [ "include/llvm/Transforms/Scalar.h", ], -@@ -1169,10 +1169,10 @@ cc_library( - srcs = glob([ - "lib/Transforms/Vectorize/*.cpp", - "lib/Transforms/Vectorize/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/Transforms/Vectorize/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Transforms/Vectorize.h", - "include/llvm/Transforms/Vectorize.h", - ], -@@ -1192,7 +1192,7 @@ filegroup( +@@ -1399,7 +1401,7 @@ cc_library( + name = "FrontendDebug", srcs = glob([ - "include/llvm/Frontend/OpenMP/*.td", - "include/llvm/Frontend/Directive/*.td", -- ]), -+ ], allow_empty = True), - ) - - gentbl( -@@ -1221,19 +1221,19 @@ cc_library( - name = "FrontendOpenMP", - srcs = glob([ - "lib/Frontend/OpenMP/*.cpp", + "lib/Frontend/Debug/*.cpp", - ]), + ], allow_empty = True), hdrs = glob([ + "include/llvm/Frontend/Debug/*.h", + ]), +@@ -1463,7 +1465,7 @@ cc_library( "include/llvm/Frontend/OpenMP/*.h", "include/llvm/Frontend/OpenMP/OMP/*.h", "include/llvm/Frontend/*.h", @@ -1163,30 +447,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 "include/llvm/Frontend/OpenMP/OMP.h.inc", "include/llvm/Frontend/OpenMP/OMP.inc", ], - copts = llvm_copts, - textual_hdrs = glob([ - "include/llvm/Frontend/OpenMP/*.def", -- ]), -+ ], allow_empty = True), - deps = [ - ":Analysis", - ":Core", -@@ -1248,7 +1248,7 @@ filegroup( - srcs = glob([ - "include/llvm/Frontend/OpenACC/*.td", - "include/llvm/Frontend/Directive/*.td", -- ]), -+ ], allow_empty = True), - ) - - gentbl( -@@ -1277,12 +1277,12 @@ cc_library( - name = "FrontendOpenACC", - srcs = glob([ - "lib/Frontend/OpenACC/*.cpp", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm/Frontend/OpenACC/ACC.inc", +@@ -1523,7 +1525,7 @@ cc_library( ], hdrs = glob([ "include/llvm/Frontend/OpenACC/*.h", @@ -1195,44 +456,34 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, deps = [ ":Analysis", -@@ -1297,8 +1297,8 @@ cc_library( +@@ -1538,7 +1540,7 @@ cc_library( srcs = glob([ "lib/AsmParser/*.cpp", "lib/AsmParser/*.h", - ]), -- hdrs = glob(["include/llvm/AsmParser/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/AsmParser/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/AsmParser/*.h"]), copts = llvm_copts, deps = [ - ":BinaryFormat", -@@ -1312,10 +1312,10 @@ cc_library( +@@ -1554,7 +1556,7 @@ cc_library( srcs = glob([ - "lib/IRReader/*.cpp", - "lib/IRReader/*.h", + "lib/IRPrinter/*.cpp", + "lib/IRPrinter/*.h", - ]), + ], allow_empty = True), hdrs = glob([ - "include/llvm/IRReader/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/IRReader.h", - ], - copts = llvm_copts, -@@ -1333,10 +1333,10 @@ cc_library( + "include/llvm/IRPrinter/*.h", + ]), +@@ -1571,7 +1573,7 @@ cc_library( srcs = glob([ - "lib/Linker/*.cpp", - "lib/Linker/*.h", + "lib/IRReader/*.cpp", + "lib/IRReader/*.h", - ]), + ], allow_empty = True), hdrs = glob([ - "include/llvm/Linker/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Linker.h", - ], - copts = llvm_copts, -@@ -1353,10 +1353,10 @@ cc_library( + "include/llvm/IRReader/*.h", + ]) + [ +@@ -1614,7 +1616,7 @@ cc_library( srcs = glob([ "lib/Transforms/IPO/*.cpp", "lib/Transforms/IPO/*.h", @@ -1240,12 +491,8 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 + ], allow_empty = True), hdrs = glob([ "include/llvm/Transforms/IPO/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Transforms/IPO.h", - "include/llvm-c/Transforms/PassManagerBuilder.h", - "include/llvm/Transforms/IPO.h", -@@ -1391,7 +1391,7 @@ cc_library( + ]) + [ +@@ -1652,7 +1654,7 @@ cc_library( srcs = glob([ "lib/Transforms/CFGuard/*.cpp", "lib/Transforms/CFGuard/*.h", @@ -1254,88 +501,16 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 hdrs = ["include/llvm/Transforms/CFGuard.h"], copts = llvm_copts, deps = [ -@@ -1405,7 +1405,7 @@ cc_library( - srcs = glob([ - "lib/Transforms/Coroutines/*.cpp", - "lib/Transforms/Coroutines/*.h", -- ]), -+ ], allow_empty = True), - hdrs = [ - "include/llvm-c/Transforms/Coroutines.h", - "include/llvm/Transforms/Coroutines.h", -@@ -1445,7 +1445,7 @@ cc_library( - cc_library( - name = "asm_printer_defs", - copts = llvm_copts, -- textual_hdrs = glob(["lib/CodeGen/AsmPrinter/*.def"]), -+ textual_hdrs = glob(["lib/CodeGen/AsmPrinter/*.def"], allow_empty = True), - ) - - cc_library( -@@ -1457,19 +1457,19 @@ cc_library( - "lib/CodeGen/SelectionDAG/*.cpp", - "lib/CodeGen/SelectionDAG/*.h", - ], -- ), -+ allow_empty = True), - hdrs = [ - "include/llvm/LinkAllPasses.h", - ] + glob( - [ - "include/llvm/CodeGen/**/*.h", - ], -- ), -+ allow_empty = True), - copts = llvm_copts, +@@ -1744,7 +1746,7 @@ cc_library( textual_hdrs = glob([ "include/llvm/CodeGen/**/*.def", "include/llvm/CodeGen/**/*.inc", - ]), + ], allow_empty = True), deps = [ + ":AggressiveInstCombine", ":Analysis", - ":AsmParser", -@@ -1498,10 +1498,10 @@ cc_library( - srcs = glob([ - "lib/MC/MCDisassembler/*.cpp", - "lib/MC/MCDisassembler/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/MC/MCDisassembler/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/Disassembler.h", - ], - copts = llvm_copts, -@@ -1818,7 +1818,7 @@ filegroup( - "include/llvm/TableGen/*.td", - "include/llvm/Target/*.td", - "include/llvm/Target/GlobalISel/*.td", -- ]), -+ ], allow_empty = True), - ) - - gentbl( -@@ -1836,7 +1836,7 @@ gentbl( - ":common_target_td_sources", - ] + glob([ - "lib/Target/AMDGPU/*.td", -- ]), -+ ], allow_empty = True), - ) - - gentbl( -@@ -1858,7 +1858,7 @@ gentbl( - ":common_target_td_sources", - ] + glob([ - "lib/Target/AMDGPU/*.td", -- ]), -+ ], allow_empty = True), - ) - - [[ -@@ -1880,7 +1880,7 @@ gentbl( +@@ -2200,7 +2202,7 @@ gentbl( ] + glob([ "lib/Target/" + target["name"] + "/*.td", "lib/Target/" + target["name"] + "/GISel/*.td", @@ -1344,7 +519,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 deps = target.get("tbl_deps", []), )], [cc_library( -@@ -1914,7 +1914,7 @@ gentbl( +@@ -2235,7 +2237,7 @@ gentbl( # library. This mixture is likely incompatible with header modules. "lib/Target/" + target["name"] + "/MCTargetDesc/*.h", "lib/Target/" + target["name"] + "/Utils/*.h", @@ -1353,16 +528,16 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 hdrs = glob([ "lib/Target/" + target["name"] + "/MCTargetDesc/*.h", "lib/Target/" + target["name"] + "/Utils/*.h", -@@ -1938,7 +1938,7 @@ gentbl( - # distinction between these two. +@@ -2260,7 +2262,7 @@ gentbl( "lib/Target/" + target["name"] + "/*.def", "lib/Target/" + target["name"] + "/*.inc", + "lib/Target/" + target["name"] + "/MCTargetDesc/*.def", - ]), + ], allow_empty = True), copts = llvm_copts, features = [ "-parse_headers", -@@ -1967,14 +1967,14 @@ gentbl( +@@ -2292,7 +2294,7 @@ gentbl( "lib/Target/" + target["name"] + "/GISel/*.h", "lib/Target/" + target["name"] + "/*.cpp", "lib/Target/" + target["name"] + "/*.h", @@ -1370,7 +545,8 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 + ], allow_empty = True), hdrs = ["lib/Target/" + target["name"] + "/" + target["short_name"] + ".h"], copts = llvm_copts, - strip_include_prefix = "lib/Target/" + target["name"], + features = ["-layering_check"], +@@ -2300,7 +2302,7 @@ gentbl( textual_hdrs = glob([ "lib/Target/" + target["name"] + "/*.def", "lib/Target/" + target["name"] + "/*.inc", @@ -1379,7 +555,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 deps = [ ":Analysis", ":BinaryFormat", -@@ -2001,7 +2001,7 @@ gentbl( +@@ -2328,7 +2330,7 @@ gentbl( srcs = glob([ "lib/Target/" + target["name"] + "/AsmParser/*.cpp", "lib/Target/" + target["name"] + "/AsmParser/*.h", @@ -1388,7 +564,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, deps = [ ":BinaryFormat", -@@ -2031,7 +2031,7 @@ gentbl( +@@ -2361,7 +2363,7 @@ gentbl( # distinction between these two. hdrs = glob([ "lib/Target/" + target["name"] + "/Disassembler/*.h", @@ -1397,25 +573,25 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 features = [ "-parse_headers", "-header_modules", -@@ -2044,7 +2044,7 @@ gentbl( +@@ -2374,7 +2376,7 @@ gentbl( "lib/Target/" + target["name"] + "/Disassembler/*.cpp", "lib/Target/" + target["name"] + "/Disassembler/*.c", "lib/Target/" + target["name"] + "/Disassembler/*.h", - ]), + ], allow_empty = True), copts = llvm_copts, + features = ["-layering_check"], deps = [ - ":CodeGen", -@@ -2065,7 +2065,7 @@ gentbl( +@@ -2396,7 +2398,7 @@ gentbl( "lib/Target/" + target["name"] + "/MCA/*.cpp", "lib/Target/" + target["name"] + "/MCA/*.c", "lib/Target/" + target["name"] + "/MCA/*.h", - ]), + ], allow_empty = True), copts = llvm_copts, + features = ["-layering_check"], deps = [ - ":MC", -@@ -2126,10 +2126,10 @@ cc_library( +@@ -2459,10 +2461,10 @@ cc_library( srcs = glob([ "lib/Analysis/ML/*.cpp", "lib/Analysis/ML/*.h", @@ -1428,18 +604,16 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, deps = [ ":Analysis", -@@ -2143,8 +2143,8 @@ cc_library( +@@ -2476,7 +2478,7 @@ cc_library( srcs = glob([ "lib/Passes/*.cpp", "lib/Passes/*.h", - ]), -- hdrs = glob(["include/llvm/Passes/*.h"]) + ["include/llvm-c/Transforms/PassBuilder.h"], + ], allow_empty = True), -+ hdrs = glob(["include/llvm/Passes/*.h"], allow_empty = True) + ["include/llvm-c/Transforms/PassBuilder.h"], + hdrs = glob(["include/llvm/Passes/*.h"]) + ["include/llvm-c/Transforms/PassBuilder.h"], copts = llvm_copts, deps = [ - ":Analysis", -@@ -2166,11 +2166,11 @@ cc_library( +@@ -2507,7 +2509,7 @@ cc_library( srcs = glob([ "lib/LTO/*.cpp", "lib/LTO/*.h", @@ -1448,12 +622,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 hdrs = glob([ "include/llvm/LTO/*.h", "include/llvm/LTO/legacy/*.h", -- ]) + [ -+ ], allow_empty = True) + [ - "include/llvm-c/lto.h", - ], - copts = llvm_copts, -@@ -2203,7 +2203,7 @@ cc_library( +@@ -2551,7 +2553,7 @@ cc_library( "lib/ExecutionEngine/RuntimeDyld/*.h", "lib/ExecutionEngine/RuntimeDyld/Targets/*.cpp", "lib/ExecutionEngine/RuntimeDyld/Targets/*.h", @@ -1462,49 +631,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 hdrs = glob( [ "include/llvm/ExecutionEngine/*.h", -@@ -2212,7 +2212,7 @@ cc_library( - "include/llvm/ExecutionEngine/MCJIT*.h", - "include/llvm/ExecutionEngine/OProfileWrapper.h", - ], -- ) + [ -+ allow_empty = True) + [ - "include/llvm-c/ExecutionEngine.h", - ], - copts = llvm_copts, -@@ -2237,7 +2237,7 @@ cc_library( - srcs = glob([ - "lib/ExecutionEngine/Interpreter/*.cpp", - "lib/ExecutionEngine/Interpreter/*.h", -- ]), -+ ], allow_empty = True), - hdrs = ["include/llvm/ExecutionEngine/Interpreter.h"], - copts = llvm_copts, - deps = [ -@@ -2255,10 +2255,10 @@ cc_library( - srcs = glob([ - "lib/ExecutionEngine/JITLink/*.cpp", - "lib/ExecutionEngine/JITLink/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/ExecutionEngine/JITLink/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":ExecutionEngine", -@@ -2274,8 +2274,8 @@ cc_library( - srcs = glob([ - "lib/ExecutionEngine/MCJIT/*.cpp", - "lib/ExecutionEngine/MCJIT/*.h", -- ]), -- hdrs = glob(["include/llvm/ExecutionEngine/MCJIT*.h"]), -+ ], allow_empty = True), -+ hdrs = glob(["include/llvm/ExecutionEngine/MCJIT*.h"], allow_empty = True), - copts = llvm_copts, - deps = [ - ":CodeGen", -@@ -2294,11 +2294,11 @@ cc_library( +@@ -2660,11 +2662,11 @@ cc_library( srcs = glob([ "lib/ExecutionEngine/Orc/*.cpp", "lib/ExecutionEngine/Orc/*.h", @@ -1518,44 +645,16 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 "include/llvm-c/LLJIT.h", "include/llvm-c/Orc.h", "include/llvm-c/OrcEE.h", -@@ -2325,10 +2325,10 @@ cc_library( - name = "OrcShared", - srcs = glob([ - "lib/ExecutionEngine/Orc/Shared/*.cpp", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/ExecutionEngine/Orc/Shared/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":BinaryFormat", -@@ -2350,10 +2350,10 @@ cc_library( - srcs = glob([ - "lib/ExecutionEngine/Orc/TargetProcess/*.cpp", - "lib/ExecutionEngine/Orc/TargetProcess/*.h", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/ExecutionEngine/Orc/TargetProcess/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":BinaryFormat", -@@ -2376,8 +2376,8 @@ cc_library( +@@ -2767,7 +2769,7 @@ cc_library( srcs = glob([ "lib/DWARFLinker/*.cpp", "lib/DWARFLinker/*.h", - ]), -- hdrs = glob(["include/llvm/DWARFLinker/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/DWARFLinker/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/DWARFLinker/*.h"]), copts = llvm_copts, deps = [ - ":CodeGen", -@@ -2442,10 +2442,10 @@ cc_library( +@@ -2860,7 +2862,7 @@ cc_library( srcs = glob([ "lib/InterfaceStub/*.cpp", "lib/InterfaceStub/*.h", @@ -1563,25 +662,8 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 + ], allow_empty = True), hdrs = glob([ "include/llvm/InterfaceStub/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":Object", -@@ -2458,10 +2458,10 @@ cc_library( - name = "WindowsManifest", - srcs = glob([ - "lib/WindowsManifest/*.cpp", -- ]), -+ ], allow_empty = True), - hdrs = glob([ - "include/llvm/WindowsManifest/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - linkopts = [ - # Libxml2 is required to process Windows manifests. Without this, -@@ -2499,10 +2499,10 @@ cc_library( + ]), +@@ -2911,7 +2913,7 @@ cc_library( srcs = glob([ "lib/MCA/**/*.cpp", "lib/MCA/**/*.h", @@ -1589,32 +671,35 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 + ], allow_empty = True), hdrs = glob([ "include/llvm/MCA/**/*.h", + ]), +@@ -2929,7 +2931,7 @@ cc_library( + hdrs = glob([ + "tools/llvm-mca/*.h", + "tools/llvm-mca/Views/*.h", - ]), + ], allow_empty = True), - copts = llvm_copts, - deps = [ - ":MC", -@@ -2526,8 +2526,8 @@ cc_library( + strip_include_prefix = "tools/llvm-mca", + ) + +@@ -2938,7 +2940,7 @@ cc_library( srcs = glob([ "lib/XRay/*.cpp", "lib/XRay/*.h", - ]), -- hdrs = glob(["include/llvm/XRay/*.h"]), + ], allow_empty = True), -+ hdrs = glob(["include/llvm/XRay/*.h"], allow_empty = True), + hdrs = glob(["include/llvm/XRay/*.h"]), copts = llvm_copts, deps = [ - ":Object", -@@ -2594,7 +2594,7 @@ cc_binary( - srcs = glob([ - "tools/dsymutil/*.cpp", - "tools/dsymutil/*.h", +@@ -3008,7 +3010,7 @@ cc_library( + ] + [ + "tools/llvm-exegesis/lib/{}/*.h".format(t) + for t in llvm_target_exegesis - ]), + ], allow_empty = True), + hdrs = glob(["tools/llvm-exegesis/lib/*.h"]), copts = llvm_copts, - stamp = 0, - deps = [ -@@ -2620,7 +2620,7 @@ cc_binary( + features = [ +@@ -3095,7 +3097,7 @@ cc_binary( srcs = glob([ "tools/llc/*.cpp", "tools/llc/*.h", @@ -1623,25 +708,16 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -2644,7 +2644,7 @@ cc_binary( - srcs = glob([ - "tools/lli/*.cpp", - "tools/lli/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - # ll scripts rely on symbols from dependent - # libraries being resolvable. -@@ -2689,7 +2689,7 @@ cc_binary( +@@ -3180,7 +3182,7 @@ cc_binary( srcs = glob([ "tools/llvm-ar/*.cpp", "tools/llvm-ar/*.h", -- ]), -+ ], allow_empty = True), +- ]) + ["llvm-ar-driver.cpp"], ++ ], allow_empty = True) + ["llvm-ar-driver.cpp"], copts = llvm_copts, stamp = 0, deps = [ -@@ -2725,7 +2725,7 @@ cc_binary( +@@ -3218,7 +3220,7 @@ cc_binary( srcs = glob([ "tools/llvm-as/*.cpp", "tools/llvm-as/*.h", @@ -1650,7 +726,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -2742,7 +2742,7 @@ cc_binary( +@@ -3235,7 +3237,7 @@ cc_binary( srcs = glob([ "tools/llvm-bcanalyzer/*.cpp", "tools/llvm-bcanalyzer/*.h", @@ -1659,34 +735,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -2755,7 +2755,7 @@ cc_binary( - name = "llvm-cat", - srcs = glob([ - "tools/llvm-cat/*.cpp", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -2773,7 +2773,7 @@ cc_binary( - "tools/llvm-cfi-verify/*.cpp", - "tools/llvm-cfi-verify/lib/*.cpp", - "tools/llvm-cfi-verify/lib/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -2796,7 +2796,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-cov/*.cpp", - "tools/llvm-cov/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -2825,7 +2825,7 @@ cc_binary( +@@ -3322,7 +3324,7 @@ cc_binary( srcs = glob([ "tools/llvm-cvtres/*.cpp", "tools/llvm-cvtres/*.h", @@ -1695,16 +744,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -2841,7 +2841,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-cxxdump/*.cpp", - "tools/llvm-cxxdump/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -2857,7 +2857,7 @@ cc_binary( +@@ -3356,7 +3358,7 @@ cc_binary( srcs = glob([ "tools/llvm-cxxmap/*.cpp", "tools/llvm-cxxmap/*.h", @@ -1713,34 +753,34 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -2882,7 +2882,7 @@ cc_binary( +@@ -3391,7 +3393,7 @@ cc_binary( srcs = glob([ "tools/llvm-cxxfilt/*.cpp", "tools/llvm-cxxfilt/*.h", -- ]), -+ ], allow_empty = True), +- ]) + ["llvm-cxxfilt-driver.cpp"], ++ ], allow_empty = True) + ["llvm-cxxfilt-driver.cpp"], copts = llvm_copts, stamp = 0, deps = [ -@@ -2898,7 +2898,7 @@ cc_binary( +@@ -3424,7 +3426,7 @@ cc_binary( srcs = glob([ - "tools/llvm-dis/*.cpp", - "tools/llvm-dis/*.h", + "tools/llvm-debuginfod-find/*.cpp", + "tools/llvm-debuginfod-find/*.h", - ]), + ], allow_empty = True), copts = llvm_copts, stamp = 0, deps = [ -@@ -2914,7 +2914,7 @@ cc_binary( +@@ -3441,7 +3443,7 @@ cc_binary( srcs = glob([ - "tools/llvm-dwarfdump/*.cpp", - "tools/llvm-dwarfdump/*.h", + "tools/llvm-dis/*.cpp", + "tools/llvm-dis/*.h", - ]), + ], allow_empty = True), copts = llvm_copts, stamp = 0, deps = [ -@@ -2933,7 +2933,7 @@ cc_binary( +@@ -3527,7 +3529,7 @@ cc_binary( srcs = glob([ "tools/llvm-dwp/*.cpp", "tools/llvm-dwp/*.h", @@ -1749,7 +789,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -2974,7 +2974,7 @@ cc_binary( +@@ -3567,7 +3569,7 @@ cc_binary( srcs = glob([ "tools/llvm-extract/*.cpp", "tools/llvm-extract/*.h", @@ -1758,34 +798,16 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -2993,7 +2993,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-ifs/*.cpp", - "tools/llvm-ifs/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3009,7 +3009,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-jitlink/*.cpp", - "tools/llvm-jitlink/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - # Make symbols from the standard library dynamically resolvable. - linkopts = select({ -@@ -3048,7 +3048,7 @@ cc_binary( +@@ -3609,7 +3611,7 @@ cc_binary( srcs = glob([ - "tools/llvm-libtool-darwin/*.cpp", - "tools/llvm-libtool-darwin/*.h", -- ]), -+ ], allow_empty = True), + "tools/llvm-gsymutil/*.cpp", + "tools/llvm-gsymutil/*.h", +- ]) + ["llvm-gsymutil-driver.cpp"], ++ ], allow_empty = True) + ["llvm-gsymutil-driver.cpp"], copts = llvm_copts, stamp = 0, deps = [ -@@ -3063,7 +3063,7 @@ cc_binary( +@@ -3751,7 +3753,7 @@ cc_binary( srcs = glob([ "tools/llvm-link/*.cpp", "tools/llvm-link/*.h", @@ -1794,7 +816,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3112,7 +3112,7 @@ cc_binary( +@@ -3816,7 +3818,7 @@ cc_binary( srcs = glob([ "tools/llvm-lto/*.cpp", "tools/llvm-lto/*.h", @@ -1803,7 +825,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3134,7 +3134,7 @@ cc_binary( +@@ -3839,7 +3841,7 @@ cc_binary( srcs = glob([ "tools/llvm-lto2/*.cpp", "tools/llvm-lto2/*.h", @@ -1812,61 +834,25 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3153,7 +3153,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-mc/*.cpp", - "tools/llvm-mc/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3175,7 +3175,7 @@ cc_binary( - "tools/llvm-mca/*.h", - "tools/llvm-mca/Views/*.cpp", - "tools/llvm-mca/Views/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3208,7 +3208,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-ml/*.cpp", - "tools/llvm-ml/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3227,7 +3227,7 @@ cc_binary( - name = "llvm-modextract", - srcs = glob([ - "tools/llvm-modextract/*.cpp", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3255,7 +3255,7 @@ cc_binary( +@@ -3976,7 +3978,7 @@ cc_binary( srcs = glob([ "tools/llvm-mt/*.cpp", "tools/llvm-mt/*.h", -- ]), -+ ], allow_empty = True), +- ]) + ["llvm-mt-driver.cpp"], ++ ], allow_empty = True) + ["llvm-mt-driver.cpp"], copts = llvm_copts, stamp = 0, - tags = [ -@@ -3287,7 +3287,7 @@ cc_binary( + deps = [ +@@ -4013,7 +4015,7 @@ cc_binary( srcs = glob([ "tools/llvm-nm/*.cpp", "tools/llvm-nm/*.h", -- ]), -+ ], allow_empty = True), +- ]) + ["llvm-nm-driver.cpp"], ++ ], allow_empty = True) + ["llvm-nm-driver.cpp"], copts = llvm_copts, stamp = 0, deps = [ -@@ -3369,7 +3369,7 @@ cc_binary( +@@ -4096,7 +4098,7 @@ cc_binary( srcs = glob([ "tools/llvm-stress/*.cpp", "tools/llvm-stress/*.h", @@ -1875,79 +861,25 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3425,7 +3425,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-objdump/*.cpp", - "tools/llvm-objdump/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3482,7 +3482,7 @@ cc_binary( - name = "llvm-opt-report", - srcs = glob([ - "tools/llvm-opt-report/*.cpp", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3498,7 +3498,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-pdbutil/*.cpp", - "tools/llvm-pdbutil/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3518,7 +3518,7 @@ cc_binary( +@@ -4264,7 +4266,7 @@ cc_binary( srcs = glob([ "tools/llvm-profdata/*.cpp", "tools/llvm-profdata/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3533,7 +3533,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-profgen/*.cpp", - "tools/llvm-profgen/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -3578,7 +3578,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-rc/*.cpp", - "tools/llvm-rc/*.h", -- ]), -+ ], allow_empty = True), +- ]) + ["llvm-profdata-driver.cpp"], ++ ], allow_empty = True) + ["llvm-profdata-driver.cpp"], copts = llvm_copts, stamp = 0, deps = [ -@@ -3613,7 +3613,7 @@ cc_binary( +@@ -4448,7 +4450,7 @@ cc_binary( srcs = glob([ - "tools/llvm-readobj/*.cpp", - "tools/llvm-readobj/*.h", + "tools/llvm-remark-size-diff/**/*.cpp", + "tools/llvm-remark-size-diff/**/*.h", - ]), + ], allow_empty = True), copts = llvm_copts, + includes = ["tools/llvm-reark-size-diff"], stamp = 0, - deps = [ -@@ -3641,7 +3641,7 @@ cc_binary( - srcs = glob([ - "tools/llvm-reduce/**/*.cpp", - "tools/llvm-reduce/**/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - includes = ["tools/llvm-reduce"], - stamp = 0, -@@ -3658,7 +3658,7 @@ cc_binary( +@@ -4466,7 +4468,7 @@ cc_binary( srcs = glob([ "tools/llvm-rtdyld/*.cpp", "tools/llvm-rtdyld/*.h", @@ -1956,16 +888,16 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3691,7 +3691,7 @@ cc_binary( +@@ -4508,7 +4510,7 @@ cc_binary( srcs = glob([ "tools/llvm-size/*.cpp", "tools/llvm-size/*.h", -- ]), -+ ], allow_empty = True), +- ]) + ["llvm-size-driver.cpp"], ++ ], allow_empty = True) + ["llvm-size-driver.cpp"], copts = llvm_copts, stamp = 0, deps = [ -@@ -3707,7 +3707,7 @@ cc_binary( +@@ -4524,7 +4526,7 @@ cc_binary( srcs = glob([ "tools/llvm-split/*.cpp", "tools/llvm-split/*.h", @@ -1974,7 +906,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3736,7 +3736,7 @@ cc_binary( +@@ -4554,7 +4556,7 @@ cc_binary( srcs = glob([ "tools/llvm-strings/*.cpp", "tools/llvm-strings/*.h", @@ -1983,7 +915,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3764,7 +3764,7 @@ cc_binary( +@@ -4582,7 +4584,7 @@ cc_binary( srcs = glob([ "tools/llvm-symbolizer/*.cpp", "tools/llvm-symbolizer/*.h", @@ -1992,7 +924,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3789,7 +3789,7 @@ cc_binary( +@@ -4608,7 +4610,7 @@ cc_binary( srcs = glob([ "tools/llvm-undname/*.cpp", "tools/llvm-undname/*.h", @@ -2001,7 +933,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3804,7 +3804,7 @@ cc_binary( +@@ -4623,7 +4625,7 @@ cc_binary( "tools/llvm-xray/*.cpp", "tools/llvm-xray/*.cc", "tools/llvm-xray/*.h", @@ -2010,16 +942,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3821,7 +3821,7 @@ cc_binary( - srcs = glob([ - "tools/opt/*.cpp", - "tools/opt/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - linkopts = select({ - "@bazel_tools//src/conditions:windows": [], -@@ -3854,7 +3854,7 @@ cc_binary( +@@ -4679,7 +4681,7 @@ cc_binary( srcs = glob([ "tools/sancov/*.cpp", "tools/sancov/*.h", @@ -2028,7 +951,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3875,7 +3875,7 @@ cc_binary( +@@ -4700,7 +4702,7 @@ cc_binary( srcs = glob([ "tools/sanstats/*.cpp", "tools/sanstats/*.h", @@ -2037,78 +960,34 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -3890,7 +3890,7 @@ cc_binary( +@@ -4715,7 +4717,7 @@ cc_binary( srcs = glob([ - "tools/split-file/*.cpp", - "tools/split-file/*.h", + "utils/split-file/*.cpp", + "utils/split-file/*.h", - ]), + ], allow_empty = True), copts = llvm_copts, stamp = 0, deps = [ -@@ -3904,8 +3904,8 @@ cc_binary( - cc_library( - name = "FuzzMutate", - testonly = True, -- srcs = glob(["lib/FuzzMutate/*.cpp"]), -- hdrs = glob(["include/llvm/FuzzMutate/*.h"]), -+ srcs = glob(["lib/FuzzMutate/*.cpp"], allow_empty = True), -+ hdrs = glob(["include/llvm/FuzzMutate/*.h"], allow_empty = True), - copts = llvm_copts, - includes = ["include"], - deps = [ -@@ -3921,8 +3921,8 @@ cc_library( - cc_library( - name = "Diff", - testonly = True, -- srcs = glob(["tools/llvm-diff/lib/*.cpp"]), -- hdrs = glob(["tools/llvm-diff/lib/*.h"]), -+ srcs = glob(["tools/llvm-diff/lib/*.cpp"], allow_empty = True), -+ hdrs = glob(["tools/llvm-diff/lib/*.h"], allow_empty = True), - deps = [ - ":Core", - ":Support", -@@ -4023,7 +4023,7 @@ cc_library( - py_binary( - name = "lit", - testonly = True, -- srcs = ["utils/lit/lit.py"] + glob(["utils/lit/lit/**/*.py"]), -+ srcs = ["utils/lit/lit.py"] + glob(["utils/lit/lit/**/*.py"], allow_empty = True), - ) - - cc_library( -@@ -4032,10 +4032,10 @@ cc_library( +@@ -4781,7 +4783,7 @@ cc_library( srcs = glob([ "lib/Testing/Support/*.cpp", "lib/Testing/Support/*.h", - ]), + ], allow_empty = True), - hdrs = glob([ - "include/llvm/Testing/Support/*.h", -- ]), -+ ], allow_empty = True), + hdrs = glob(["include/llvm/Testing/Support/*.h"]), copts = llvm_copts, deps = [ - ":Support", -@@ -4054,7 +4054,7 @@ cc_binary( +@@ -4810,7 +4812,7 @@ cc_binary( srcs = glob([ "utils/FileCheck/*.cpp", "utils/FileCheck/*.h", - ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [":FileCheckLib"], -@@ -4065,7 +4065,7 @@ cc_binary( - srcs = glob([ - "tools/bugpoint/*.cpp", - "tools/bugpoint/*.h", -- ]), + ], allow_empty = True), copts = llvm_copts, stamp = 0, deps = [ -@@ -4093,7 +4093,7 @@ cc_binary( +@@ -4856,7 +4858,7 @@ cc_binary( srcs = glob([ "utils/count/*.c", "utils/count/*.h", @@ -2117,7 +996,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 stamp = 0, ) -@@ -4103,7 +4103,7 @@ cc_binary( +@@ -4866,7 +4868,7 @@ cc_binary( srcs = glob([ "tools/lli/ChildTarget/*.cpp", "tools/lli/ChildTarget/*.h", @@ -2126,7 +1005,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, # The tests load code into this binary that expect to see symbols # from libstdc++ such as __cxa_begin_catch and _ZTIi. The latter -@@ -4164,7 +4164,7 @@ cc_binary( +@@ -4933,7 +4935,7 @@ cc_binary( srcs = glob([ "tools/llvm-diff/*.cpp", "tools/llvm-diff/*.h", @@ -2135,7 +1014,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -4181,7 +4181,7 @@ cc_binary( +@@ -4951,7 +4953,7 @@ cc_binary( srcs = glob([ "tools/llvm-isel-fuzzer/*.cpp", "tools/llvm-isel-fuzzer/*.h", @@ -2144,7 +1023,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -4225,7 +4225,7 @@ cc_binary( +@@ -4997,7 +4999,7 @@ cc_binary( srcs = glob([ "utils/not/*.cpp", "utils/not/*.h", @@ -2153,7 +1032,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [":Support"], -@@ -4287,7 +4287,7 @@ cc_binary( +@@ -5061,7 +5063,7 @@ cc_binary( srcs = glob([ "tools/llvm-tli-checker/*.cpp", "tools/llvm-tli-checker/*.h", @@ -2162,16 +1041,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -4314,7 +4314,7 @@ cc_binary( - srcs = glob([ - "tools/obj2yaml/*.cpp", - "tools/obj2yaml/*.h", -- ]), -+ ], allow_empty = True), - copts = llvm_copts, - stamp = 0, - deps = [ -@@ -4332,7 +4332,7 @@ cc_binary( +@@ -5108,7 +5110,7 @@ cc_binary( srcs = glob([ "tools/verify-uselistorder/*.cpp", "tools/verify-uselistorder/*.h", @@ -2180,7 +1050,7 @@ index 716d7f5d9645..1e3e7a8ff0e7 100644 copts = llvm_copts, stamp = 0, deps = [ -@@ -4351,7 +4351,7 @@ cc_binary( +@@ -5128,7 +5130,7 @@ cc_binary( srcs = glob([ "tools/yaml2obj/*.cpp", "tools/yaml2obj/*.h", diff --git a/extensions/bindgen/3rdparty/patches/llvm-raw.incompatible_disallow_empty_glob.patch b/extensions/bindgen/3rdparty/patches/llvm-raw.incompatible_disallow_empty_glob.patch new file mode 100644 index 0000000000..224dbbe748 --- /dev/null +++ b/extensions/bindgen/3rdparty/patches/llvm-raw.incompatible_disallow_empty_glob.patch @@ -0,0 +1,1025 @@ +diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel +index 037719a51..476efdde8 100644 +--- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel ++++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel +@@ -533,7 +533,7 @@ cc_library( + "lib/Basic/*.h", + "lib/Basic/Targets/*.cpp", + "lib/Basic/Targets/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/clang/Basic/*.h", + ]), +@@ -944,7 +944,7 @@ cc_library( + "lib/Analysis/FlowSensitive/*.cpp", + "lib/Analysis/*.cpp", + "lib/Analysis/*.h", +- ]) + [ ++ ], allow_empty = True) + [ + ":analysis_htmllogger_gen", + ], + hdrs = glob([ +@@ -1080,7 +1080,7 @@ cc_library( + ] + glob([ + "lib/Parse/*.cpp", + "lib/Parse/*.h", +- ]), ++ ], allow_empty = True), + hdrs = [ + "include/clang/Parse/AttrParserStringSwitches.inc", + "include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc", +@@ -1104,7 +1104,7 @@ cc_library( + srcs = glob([ + "lib/ASTMatchers/*.cpp", + "lib/ASTMatchers/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/clang/ASTMatchers/*.h"]), + includes = ["include"], + deps = [ +@@ -1138,7 +1138,7 @@ cc_library( + srcs = glob([ + "lib/Rewrite/*.cpp", + "lib/Rewrite/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/clang/Rewrite/Core/*.h"]), + includes = ["include"], + deps = [ +@@ -1172,7 +1172,7 @@ cc_library( + srcs = glob([ + "lib/Tooling/Core/*.cpp", + "lib/Tooling/Core/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/clang/Tooling/Core/*.h"]), + includes = ["include"], + deps = [ +@@ -1237,11 +1237,11 @@ cc_library( + srcs = glob([ + "lib/Tooling/Refactoring/**/*.cpp", + "lib/Tooling/Refactoring/**/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/clang/Tooling/Refactoring/**/*.h", + "include/clang/Tooling/Refactoring/**/*.def", +- ]), ++ ], allow_empty = True), + deps = [ + ":ast", + ":ast_matchers", +@@ -1500,6 +1500,7 @@ cc_library( + exclude = [ + "lib/Driver/ToolChains/MSVCSetupApi.h", + ], ++ allow_empty = True, + ), + hdrs = glob([ + "include/clang/Driver/*.h", +@@ -1716,7 +1717,7 @@ cc_library( + includes = ["include"], + textual_hdrs = glob([ + "include/clang/Frontend/*.def", +- ]), ++ ], allow_empty = True), + deps = [ + ":ast", + ":basic", +@@ -1752,7 +1753,7 @@ cc_library( + srcs = glob([ + "lib/Frontend/Rewrite/*.cpp", + "lib/Frontend/Rewrite/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/clang/Rewrite/Frontend/*.h"]), + includes = ["include"], + deps = [ +@@ -1967,7 +1968,7 @@ cc_library( + srcs = glob([ + "lib/FrontendTool/*.cpp", + "lib/FrontendTool/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/clang/FrontendTool/*.h"]), + includes = ["include"], + deps = [ +@@ -2155,7 +2156,7 @@ cc_binary( + srcs = glob([ + "tools/clang-import-test/*.cpp", + "tools/clang-import-test/*.h", +- ]), ++ ], allow_empty = True), + stamp = 0, + deps = [ + ":ast", +@@ -2185,7 +2186,7 @@ cc_library( + srcs = glob([ + "tools/driver/*.cpp", + "tools/driver/*.h", +- ]) + ["clang-driver.cpp"], ++ ], allow_empty = True) + ["clang-driver.cpp"], + copts = [ + # Disable stack frame size checks in the driver because + # clang::ensureStackAddressSpace allocates a large array on the stack. +@@ -2500,7 +2501,7 @@ cc_library( + srcs = glob([ + "lib/ExtractAPI/**/*.cpp", + "lib/ExtractAPI/**/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/clang/ExtractAPI/**/*.h"]), + includes = ["include"], + deps = [ +diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel +index a7e9398ea..703103cc9 100644 +--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel ++++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel +@@ -96,7 +96,7 @@ enum_targets_gen( + llvm_target_mcas = [ + t + for t in llvm_targets +- if glob(["lib/Target/{}/MCA/CMakeLists.txt".format(t)]) ++ if glob(["lib/Target/{}/MCA/CMakeLists.txt".format(t)], allow_empty = True) + ] + + enum_targets_gen( +@@ -169,7 +169,7 @@ cc_library( + srcs = glob([ + "lib/Demangle/*.cpp", + "lib/Demangle/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/Demangle/*.h", + "include/llvm/Demangle/*.def", +@@ -205,7 +205,7 @@ cc_library( + "@platforms//os:windows": glob([ + "lib/Support/Windows/*.h", + "lib/Support/Windows/*.inc", +- ]), ++ ], allow_empty = True), + "//conditions:default": glob([ + "lib/Support/Unix/*.h", + "lib/Support/Unix/*.inc", +@@ -314,7 +314,7 @@ cc_library( + srcs = glob([ + "lib/LineEditor/*.cpp", + "lib/LineEditor/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/LineEditor/*.h"]), + copts = llvm_copts, + deps = [ +@@ -328,7 +328,7 @@ cc_library( + srcs = glob([ + "lib/Option/*.cpp", + "lib/Option/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/Option/*.h"]), + copts = llvm_copts, + deps = [ +@@ -376,7 +376,7 @@ cc_library( + "lib/BinaryFormat/*.cpp", + "lib/BinaryFormat/*.def", + "lib/BinaryFormat/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/BinaryFormat/*.h", + ]), +@@ -408,7 +408,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/MSF/*.cpp", + "lib/DebugInfo/MSF/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/MSF/*.h"]), + copts = llvm_copts, + deps = [":Support"], +@@ -419,7 +419,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/BTF/*.cpp", + "lib/DebugInfo/BTF/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/BTF/*.h"]) + [ + "include/llvm/DebugInfo/BTF/BTF.def", + ], +@@ -436,7 +436,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/CodeView/*.cpp", + "lib/DebugInfo/CodeView/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/DebugInfo/CodeView/*.h", + ]), +@@ -481,7 +481,7 @@ cc_library( + "lib/DebugInfo/PDB/*.h", + "lib/DebugInfo/PDB/Native/*.cpp", + "lib/DebugInfo/PDB/Native/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/DebugInfo/PDB/*.h", + "include/llvm/DebugInfo/PDB/Native/*.h", +@@ -522,12 +522,12 @@ cc_library( + srcs = glob([ + "lib/MC/*.cpp", + "lib/MC/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/MC/*.h", + "include/llvm/MC/*.def", + "include/llvm/MC/*.inc", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + deps = [ + ":BinaryFormat", +@@ -544,7 +544,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/DWARF/*.cpp", + "lib/DebugInfo/DWARF/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/DWARF/*.h"]), + copts = llvm_copts, + deps = [ +@@ -562,7 +562,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/GSYM/*.cpp", + "lib/DebugInfo/GSYM/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/DebugInfo/GSYM/*.h"]), + copts = llvm_copts, + deps = [ +@@ -579,7 +579,7 @@ cc_library( + srcs = glob([ + "lib/DebugInfo/Symbolize/*.cpp", + "lib/DebugInfo/Symbolize/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/DebugInfo/Symbolize/*.h", + "include/llvm/Debuginfod/*.h", +@@ -664,7 +664,7 @@ cc_binary( + # regular dependency. + "include/llvm/MC/*.h", + "include/llvm/TargetParser/SubtargetFeature.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -812,7 +812,7 @@ cc_library( + srcs = glob([ + "lib/Bitstream/Reader/*.cpp", + "lib/Bitstream/Reader/*.h", +- ]), ++ ], allow_empty = True), + hdrs = [ + "include/llvm/Bitstream/BitCodeEnums.h", + "include/llvm/Bitstream/BitCodes.h", +@@ -828,7 +828,7 @@ cc_library( + name = "BitstreamWriter", + srcs = glob([ + "lib/Bitstream/Writer/*.h", +- ]), ++ ], allow_empty = True), + hdrs = [ + "include/llvm/Bitstream/BitCodeEnums.h", + "include/llvm/Bitstream/BitCodes.h", +@@ -848,6 +848,7 @@ cc_library( + "lib/Remarks/*.h", + ], + exclude = ["lib/Remarks/RemarkLinker.cpp"], ++ allow_empty = True, + ), + hdrs = glob( + [ +@@ -947,7 +948,7 @@ cc_library( + srcs = glob([ + "lib/MC/MCParser/*.cpp", + "lib/MC/MCParser/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/MC/MCParser/*.h"]), + copts = llvm_copts, + deps = [ +@@ -1032,7 +1033,7 @@ cc_library( + srcs = glob([ + "lib/ObjectYAML/*.cpp", + "lib/ObjectYAML/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/ObjectYAML/*.h"]), + copts = llvm_copts, + deps = [ +@@ -1050,7 +1051,7 @@ cc_library( + srcs = glob([ + "lib/ProfileData/*.cpp", + "lib/ProfileData/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/ProfileData/*.h", + "include/llvm/ProfileData/*.inc", +@@ -1074,7 +1075,7 @@ cc_library( + srcs = glob([ + "lib/ProfileData/Coverage/*.cpp", + "lib/ProfileData/Coverage/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/ProfileData/Coverage/*.h"]), + copts = llvm_copts, + deps = [ +@@ -1093,6 +1094,7 @@ cc_library( + "lib/Analysis/*.h", + "lib/Analysis/*.def", + ], ++ allow_empty = True, + ), + hdrs = glob( + [ +@@ -1149,7 +1151,7 @@ cc_library( + srcs = glob([ + "lib/Target/*.cpp", + "lib/Target/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/Target/*.h", + ]) + [ +@@ -1185,15 +1187,15 @@ cc_library( + srcs = glob([ + "lib/TargetParser/*.cpp", + "lib/TargetParser/*.h", +- ]) + select({ ++ ], allow_empty = True) + select({ + "@platforms//os:windows": glob([ + "lib/TargetParser/Windows/*.h", + "lib/TargetParser/Windows/*.inc", +- ]), ++ ], allow_empty = True), + "//conditions:default": glob([ + "lib/TargetParser/Unix/*.h", + "lib/TargetParser/Unix/*.inc", +- ]), ++ ], allow_empty = True), + }), + hdrs = glob([ + "include/llvm/TargetParser/*.h", +@@ -1216,7 +1218,7 @@ cc_library( + srcs = glob([ + "lib/DWP/*.cpp", + "lib/DWP/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/DWP/*.h"]), + copts = llvm_copts, + deps = [ +@@ -1233,7 +1235,7 @@ cc_library( + srcs = glob([ + "lib/Transforms/Utils/*.cpp", + "lib/Transforms/Utils/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/Transforms/Utils/*.h"]) + [ + "include/llvm/Transforms/Utils.h", + ], +@@ -1354,7 +1356,7 @@ cc_library( + srcs = glob([ + "lib/Transforms/Scalar/*.cpp", + "lib/Transforms/Scalar/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/Transforms/Scalar/*.h"]) + [ + "include/llvm/Transforms/Scalar.h", + ], +@@ -1399,7 +1401,7 @@ cc_library( + name = "FrontendDebug", + srcs = glob([ + "lib/Frontend/Debug/*.cpp", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/Frontend/Debug/*.h", + ]), +@@ -1463,7 +1465,7 @@ cc_library( + "include/llvm/Frontend/OpenMP/*.h", + "include/llvm/Frontend/OpenMP/OMP/*.h", + "include/llvm/Frontend/*.h", +- ]) + [ ++ ], allow_empty = True) + [ + "include/llvm/Frontend/OpenMP/OMP.h.inc", + "include/llvm/Frontend/OpenMP/OMP.inc", + ], +@@ -1523,7 +1525,7 @@ cc_library( + ], + hdrs = glob([ + "include/llvm/Frontend/OpenACC/*.h", +- ]) + ["include/llvm/Frontend/OpenACC/ACC.h.inc"], ++ ], allow_empty = True) + ["include/llvm/Frontend/OpenACC/ACC.h.inc"], + copts = llvm_copts, + deps = [ + ":Analysis", +@@ -1538,7 +1540,7 @@ cc_library( + srcs = glob([ + "lib/AsmParser/*.cpp", + "lib/AsmParser/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/AsmParser/*.h"]), + copts = llvm_copts, + deps = [ +@@ -1554,7 +1556,7 @@ cc_library( + srcs = glob([ + "lib/IRPrinter/*.cpp", + "lib/IRPrinter/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/IRPrinter/*.h", + ]), +@@ -1571,7 +1573,7 @@ cc_library( + srcs = glob([ + "lib/IRReader/*.cpp", + "lib/IRReader/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/IRReader/*.h", + ]) + [ +@@ -1614,7 +1616,7 @@ cc_library( + srcs = glob([ + "lib/Transforms/IPO/*.cpp", + "lib/Transforms/IPO/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/Transforms/IPO/*.h", + ]) + [ +@@ -1652,7 +1654,7 @@ cc_library( + srcs = glob([ + "lib/Transforms/CFGuard/*.cpp", + "lib/Transforms/CFGuard/*.h", +- ]), ++ ], allow_empty = True), + hdrs = ["include/llvm/Transforms/CFGuard.h"], + copts = llvm_copts, + deps = [ +@@ -1744,7 +1746,7 @@ cc_library( + textual_hdrs = glob([ + "include/llvm/CodeGen/**/*.def", + "include/llvm/CodeGen/**/*.inc", +- ]), ++ ], allow_empty = True), + deps = [ + ":AggressiveInstCombine", + ":Analysis", +@@ -2200,7 +2202,7 @@ gentbl( + ] + glob([ + "lib/Target/" + target["name"] + "/*.td", + "lib/Target/" + target["name"] + "/GISel/*.td", +- ]), ++ ], allow_empty = True), + deps = target.get("tbl_deps", []), + )], + [cc_library( +@@ -2235,7 +2237,7 @@ gentbl( + # library. This mixture is likely incompatible with header modules. + "lib/Target/" + target["name"] + "/MCTargetDesc/*.h", + "lib/Target/" + target["name"] + "/Utils/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "lib/Target/" + target["name"] + "/MCTargetDesc/*.h", + "lib/Target/" + target["name"] + "/Utils/*.h", +@@ -2260,7 +2262,7 @@ gentbl( + "lib/Target/" + target["name"] + "/*.def", + "lib/Target/" + target["name"] + "/*.inc", + "lib/Target/" + target["name"] + "/MCTargetDesc/*.def", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + features = [ + "-parse_headers", +@@ -2292,7 +2294,7 @@ gentbl( + "lib/Target/" + target["name"] + "/GISel/*.h", + "lib/Target/" + target["name"] + "/*.cpp", + "lib/Target/" + target["name"] + "/*.h", +- ]), ++ ], allow_empty = True), + hdrs = ["lib/Target/" + target["name"] + "/" + target["short_name"] + ".h"], + copts = llvm_copts, + features = ["-layering_check"], +@@ -2300,7 +2302,7 @@ gentbl( + textual_hdrs = glob([ + "lib/Target/" + target["name"] + "/*.def", + "lib/Target/" + target["name"] + "/*.inc", +- ]), ++ ], allow_empty = True), + deps = [ + ":Analysis", + ":BinaryFormat", +@@ -2328,7 +2330,7 @@ gentbl( + srcs = glob([ + "lib/Target/" + target["name"] + "/AsmParser/*.cpp", + "lib/Target/" + target["name"] + "/AsmParser/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + deps = [ + ":BinaryFormat", +@@ -2374,7 +2376,7 @@ gentbl( + "lib/Target/" + target["name"] + "/Disassembler/*.cpp", + "lib/Target/" + target["name"] + "/Disassembler/*.c", + "lib/Target/" + target["name"] + "/Disassembler/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + features = ["-layering_check"], + deps = [ +@@ -2396,7 +2398,7 @@ gentbl( + "lib/Target/" + target["name"] + "/MCA/*.cpp", + "lib/Target/" + target["name"] + "/MCA/*.c", + "lib/Target/" + target["name"] + "/MCA/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + features = ["-layering_check"], + deps = [ +@@ -2459,10 +2461,10 @@ cc_library( + srcs = glob([ + "lib/Analysis/ML/*.cpp", + "lib/Analysis/ML/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/Analysis/ML/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + deps = [ + ":Analysis", +@@ -2476,7 +2478,7 @@ cc_library( + srcs = glob([ + "lib/Passes/*.cpp", + "lib/Passes/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/Passes/*.h"]) + ["include/llvm-c/Transforms/PassBuilder.h"], + copts = llvm_copts, + deps = [ +@@ -2507,7 +2509,7 @@ cc_library( + srcs = glob([ + "lib/LTO/*.cpp", + "lib/LTO/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/LTO/*.h", + "include/llvm/LTO/legacy/*.h", +@@ -2551,7 +2553,7 @@ cc_library( + "lib/ExecutionEngine/RuntimeDyld/*.h", + "lib/ExecutionEngine/RuntimeDyld/Targets/*.cpp", + "lib/ExecutionEngine/RuntimeDyld/Targets/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob( + [ + "include/llvm/ExecutionEngine/*.h", +@@ -2660,11 +2662,11 @@ cc_library( + srcs = glob([ + "lib/ExecutionEngine/Orc/*.cpp", + "lib/ExecutionEngine/Orc/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/ExecutionEngine/Orc/*.h", + "include/llvm/ExecutionEngine/Orc/RPC/*.h", +- ]) + [ ++ ], allow_empty = True) + [ + "include/llvm-c/LLJIT.h", + "include/llvm-c/Orc.h", + "include/llvm-c/OrcEE.h", +@@ -2767,7 +2769,7 @@ cc_library( + srcs = glob([ + "lib/DWARFLinker/*.cpp", + "lib/DWARFLinker/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/DWARFLinker/*.h"]), + copts = llvm_copts, + deps = [ +@@ -2860,7 +2862,7 @@ cc_library( + srcs = glob([ + "lib/InterfaceStub/*.cpp", + "lib/InterfaceStub/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/InterfaceStub/*.h", + ]), +@@ -2911,7 +2913,7 @@ cc_library( + srcs = glob([ + "lib/MCA/**/*.cpp", + "lib/MCA/**/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob([ + "include/llvm/MCA/**/*.h", + ]), +@@ -2929,7 +2931,7 @@ cc_library( + hdrs = glob([ + "tools/llvm-mca/*.h", + "tools/llvm-mca/Views/*.h", +- ]), ++ ], allow_empty = True), + strip_include_prefix = "tools/llvm-mca", + ) + +@@ -2938,7 +2940,7 @@ cc_library( + srcs = glob([ + "lib/XRay/*.cpp", + "lib/XRay/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/XRay/*.h"]), + copts = llvm_copts, + deps = [ +@@ -3008,7 +3010,7 @@ cc_library( + ] + [ + "tools/llvm-exegesis/lib/{}/*.h".format(t) + for t in llvm_target_exegesis +- ]), ++ ], allow_empty = True), + hdrs = glob(["tools/llvm-exegesis/lib/*.h"]), + copts = llvm_copts, + features = [ +@@ -3095,7 +3097,7 @@ cc_binary( + srcs = glob([ + "tools/llc/*.cpp", + "tools/llc/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3180,7 +3182,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-ar/*.cpp", + "tools/llvm-ar/*.h", +- ]) + ["llvm-ar-driver.cpp"], ++ ], allow_empty = True) + ["llvm-ar-driver.cpp"], + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3218,7 +3220,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-as/*.cpp", + "tools/llvm-as/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3235,7 +3237,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-bcanalyzer/*.cpp", + "tools/llvm-bcanalyzer/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3322,7 +3324,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-cvtres/*.cpp", + "tools/llvm-cvtres/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3356,7 +3358,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-cxxmap/*.cpp", + "tools/llvm-cxxmap/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3391,7 +3393,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-cxxfilt/*.cpp", + "tools/llvm-cxxfilt/*.h", +- ]) + ["llvm-cxxfilt-driver.cpp"], ++ ], allow_empty = True) + ["llvm-cxxfilt-driver.cpp"], + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3424,7 +3426,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-debuginfod-find/*.cpp", + "tools/llvm-debuginfod-find/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3441,7 +3443,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-dis/*.cpp", + "tools/llvm-dis/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3527,7 +3529,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-dwp/*.cpp", + "tools/llvm-dwp/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3567,7 +3569,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-extract/*.cpp", + "tools/llvm-extract/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3609,7 +3611,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-gsymutil/*.cpp", + "tools/llvm-gsymutil/*.h", +- ]) + ["llvm-gsymutil-driver.cpp"], ++ ], allow_empty = True) + ["llvm-gsymutil-driver.cpp"], + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3751,7 +3753,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-link/*.cpp", + "tools/llvm-link/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3816,7 +3818,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-lto/*.cpp", + "tools/llvm-lto/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3839,7 +3841,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-lto2/*.cpp", + "tools/llvm-lto2/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -3976,7 +3978,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-mt/*.cpp", + "tools/llvm-mt/*.h", +- ]) + ["llvm-mt-driver.cpp"], ++ ], allow_empty = True) + ["llvm-mt-driver.cpp"], + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4013,7 +4015,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-nm/*.cpp", + "tools/llvm-nm/*.h", +- ]) + ["llvm-nm-driver.cpp"], ++ ], allow_empty = True) + ["llvm-nm-driver.cpp"], + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4096,7 +4098,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-stress/*.cpp", + "tools/llvm-stress/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4264,7 +4266,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-profdata/*.cpp", + "tools/llvm-profdata/*.h", +- ]) + ["llvm-profdata-driver.cpp"], ++ ], allow_empty = True) + ["llvm-profdata-driver.cpp"], + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4448,7 +4450,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-remark-size-diff/**/*.cpp", + "tools/llvm-remark-size-diff/**/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + includes = ["tools/llvm-reark-size-diff"], + stamp = 0, +@@ -4466,7 +4468,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-rtdyld/*.cpp", + "tools/llvm-rtdyld/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4508,7 +4510,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-size/*.cpp", + "tools/llvm-size/*.h", +- ]) + ["llvm-size-driver.cpp"], ++ ], allow_empty = True) + ["llvm-size-driver.cpp"], + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4524,7 +4526,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-split/*.cpp", + "tools/llvm-split/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4554,7 +4556,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-strings/*.cpp", + "tools/llvm-strings/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4582,7 +4584,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-symbolizer/*.cpp", + "tools/llvm-symbolizer/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4608,7 +4610,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-undname/*.cpp", + "tools/llvm-undname/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4623,7 +4625,7 @@ cc_binary( + "tools/llvm-xray/*.cpp", + "tools/llvm-xray/*.cc", + "tools/llvm-xray/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4679,7 +4681,7 @@ cc_binary( + srcs = glob([ + "tools/sancov/*.cpp", + "tools/sancov/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4700,7 +4702,7 @@ cc_binary( + srcs = glob([ + "tools/sanstats/*.cpp", + "tools/sanstats/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4715,7 +4717,7 @@ cc_binary( + srcs = glob([ + "utils/split-file/*.cpp", + "utils/split-file/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4781,7 +4783,7 @@ cc_library( + srcs = glob([ + "lib/Testing/Support/*.cpp", + "lib/Testing/Support/*.h", +- ]), ++ ], allow_empty = True), + hdrs = glob(["include/llvm/Testing/Support/*.h"]), + copts = llvm_copts, + deps = [ +@@ -4810,7 +4812,7 @@ cc_binary( + srcs = glob([ + "utils/FileCheck/*.cpp", + "utils/FileCheck/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4856,7 +4858,7 @@ cc_binary( + srcs = glob([ + "utils/count/*.c", + "utils/count/*.h", +- ]), ++ ], allow_empty = True), + stamp = 0, + ) + +@@ -4866,7 +4868,7 @@ cc_binary( + srcs = glob([ + "tools/lli/ChildTarget/*.cpp", + "tools/lli/ChildTarget/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + # The tests load code into this binary that expect to see symbols + # from libstdc++ such as __cxa_begin_catch and _ZTIi. The latter +@@ -4933,7 +4935,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-diff/*.cpp", + "tools/llvm-diff/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4951,7 +4953,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-isel-fuzzer/*.cpp", + "tools/llvm-isel-fuzzer/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -4997,7 +4999,7 @@ cc_binary( + srcs = glob([ + "utils/not/*.cpp", + "utils/not/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [":Support"], +@@ -5061,7 +5063,7 @@ cc_binary( + srcs = glob([ + "tools/llvm-tli-checker/*.cpp", + "tools/llvm-tli-checker/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -5108,7 +5110,7 @@ cc_binary( + srcs = glob([ + "tools/verify-uselistorder/*.cpp", + "tools/verify-uselistorder/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ +@@ -5128,7 +5130,7 @@ cc_binary( + srcs = glob([ + "tools/yaml2obj/*.cpp", + "tools/yaml2obj/*.h", +- ]), ++ ], allow_empty = True), + copts = llvm_copts, + stamp = 0, + deps = [ diff --git a/extensions/bindgen/BUILD.bazel b/extensions/bindgen/BUILD.bazel index b3cccb2ee5..b2a958a507 100644 --- a/extensions/bindgen/BUILD.bazel +++ b/extensions/bindgen/BUILD.bazel @@ -1,5 +1,10 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library") load("//:defs.bzl", "rust_bindgen_toolchain") +load( + "//private:llvm_utils.bzl", + "cc_stdcc17_transitioned_binary", + "cc_stdcc17_transitioned_library", +) package(default_visibility = ["//visibility:public"]) @@ -20,11 +25,21 @@ bzl_library( ], ) +cc_stdcc17_transitioned_binary( + name = "clang", + target = "@llvm-project//clang:clang", +) + +cc_stdcc17_transitioned_library( + name = "libclang", + target = "@llvm-project//clang:libclang", +) + rust_bindgen_toolchain( name = "default_bindgen_toolchain_impl", bindgen = "//3rdparty:bindgen", - clang = "@llvm-project//clang:clang", - libclang = "@llvm-project//clang:libclang", + clang = ":clang", + libclang = ":libclang", ) toolchain( diff --git a/extensions/bindgen/MODULE.bazel b/extensions/bindgen/MODULE.bazel index 87470c9be8..d8cc3ad6a4 100644 --- a/extensions/bindgen/MODULE.bazel +++ b/extensions/bindgen/MODULE.bazel @@ -16,20 +16,33 @@ local_path_override( bazel_dep( name = "bazel_skylib", - version = "1.5.0", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", ) bazel_dep( name = "rules_cc", - version = "0.0.9", + version = "0.0.17", +) +bazel_dep( + name = "llvm-project", + version = "17.0.3", +) +single_version_override( + module_name = "llvm-project", + patch_strip = 1, + patches = [ + "@//3rdparty/patches:llvm-project.incompatible_disallow_empty_glob.patch", + ], ) -rust_ext_bindgen = use_extension("//:extensions.bzl", "rust_ext_bindgen") +rust_ext = use_extension("//:extensions.bzl", "rust_ext") use_repo( - rust_ext_bindgen, - "llvm-raw", - "rules_rust_bindgen_deps", + rust_ext, + "rules_rust_bindgen__bindgen-cli-0.70.1", "rules_rust_bindgen_deps__bindgen-0.70.1", - "rules_rust_bindgen_deps__bindgen-cli-0.70.1", "rules_rust_bindgen_deps__clang-sys-1.8.1", "rules_rust_bindgen_deps__clap-4.5.17", "rules_rust_bindgen_deps__clap_complete-4.5.26", @@ -39,3 +52,24 @@ use_repo( register_toolchains( "//:default_bindgen_toolchain", ) + +bazel_dep( + name = "rules_testing", + version = "0.7.0", + dev_dependency = True, +) +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/extensions/bindgen/extensions.bzl b/extensions/bindgen/extensions.bzl index b480a597ee..48d12a32e4 100644 --- a/extensions/bindgen/extensions.bzl +++ b/extensions/bindgen/extensions.bzl @@ -2,7 +2,7 @@ load("//:repositories.bzl", "rust_bindgen_dependencies") -def _rust_ext_bindgen_impl(module_ctx): +def _rust_ext_impl(module_ctx): # This should contain the subset of WORKSPACE.bazel that defines # repositories. direct_deps = [] @@ -17,7 +17,7 @@ def _rust_ext_bindgen_impl(module_ctx): root_module_direct_dev_deps = [], ) -rust_ext_bindgen = module_extension( +rust_ext = module_extension( doc = "Dependencies for the rules_rust_bindgen extension.", - implementation = _rust_ext_bindgen_impl, + implementation = _rust_ext_impl, ) diff --git a/extensions/bindgen/private/internal_extensions.bzl b/extensions/bindgen/private/internal_extensions.bzl new file mode 100644 index 0000000000..8a3c0e3add --- /dev/null +++ b/extensions/bindgen/private/internal_extensions.bzl @@ -0,0 +1,26 @@ +"""Bzlmod internal extensions""" + +load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") + +def _rust_ext_dev_impl(module_ctx): + deps = [] + + rbe_preconfig( + name = "buildkite_config", + toolchain = "ubuntu1804-bazel-java11", + ) + + deps.append(struct(repo = "buildkite_config")) + + # is_dev_dep is ignored here. It's not relevant for internal_deps, as dev + # dependencies are only relevant for module extensions that can be used + # by other MODULES. + return module_ctx.extension_metadata( + root_module_direct_deps = [], + root_module_direct_dev_deps = [repo.repo for repo in deps], + ) + +rust_ext_dev = module_extension( + doc = "Development dependencies for the rules_rust_bindgen extension.", + implementation = _rust_ext_dev_impl, +) diff --git a/extensions/bindgen/private/llvm_utils.bzl b/extensions/bindgen/private/llvm_utils.bzl new file mode 100644 index 0000000000..3df256c671 --- /dev/null +++ b/extensions/bindgen/private/llvm_utils.bzl @@ -0,0 +1,103 @@ +"""Utilities for llvm targets""" + +load("@rules_cc//cc:defs.bzl", "CcInfo") + +def _cc_stdcc17_transition_impl(settings, attr): + # clang --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 + # msvc --cxxopt=/std:c++17 --host_cxxopt=/std:c++17 + host_opt = settings["//command_line_option:host_cxxopt"] + tgt_opt = settings["//command_line_option:cxxopt"] + + host_opt.extend(attr.cxxopts) + tgt_opt.extend(attr.cxxopts) + + return { + "//command_line_option:cxxopt": tgt_opt, + "//command_line_option:host_cxxopt": host_opt, + } + +_cc_stdcc17_transition = transition( + implementation = _cc_stdcc17_transition_impl, + inputs = [ + "//command_line_option:host_cxxopt", + "//command_line_option:cxxopt", + ], + outputs = [ + "//command_line_option:host_cxxopt", + "//command_line_option:cxxopt", + ], +) + +_CXX_OPTS = select({ + "@platforms//os:windows": ["/std:c++17"], + "//conditions:default": ["-std=c++17"], +}) + +_COMMON_ATTRS = { + "cxxopts": attr.string_list( + doc = "Flags to inject into `--host_cxxopt` and `--cxxopt` command line flags.", + mandatory = True, + ), + "target": attr.label( + doc = "The target to transition.", + mandatory = True, + ), +} + +def _cc_stdcc17_transitioned_target_impl(ctx): + providers = [] + + if CcInfo in ctx.attr.target: + providers.append(ctx.attr.target[CcInfo]) + + if DefaultInfo in ctx.attr.target: + info = ctx.attr.target[DefaultInfo] + kwargs = { + "files": info.files, + "runfiles": info.default_runfiles, + } + + if info.files_to_run and info.files_to_run.executable: + exe = info.files_to_run.executable + kwargs["executable"] = ctx.actions.declare_file("{}.{}".format(ctx.label.name, exe.extension).rstrip(".")) + ctx.actions.symlink( + output = kwargs["executable"], + target_file = exe, + is_executable = True, + ) + + providers.append(DefaultInfo(**kwargs)) + + if OutputGroupInfo in ctx.attr.target: + providers.append(ctx.attr.target[OutputGroupInfo]) + + return providers + +_cc_stdcc17_transitioned_library = rule( + doc = "A rule to transition a C++ library to build with stdc++17.", + implementation = _cc_stdcc17_transitioned_target_impl, + cfg = _cc_stdcc17_transition, + attrs = _COMMON_ATTRS, +) + +_cc_stdcc17_transitioned_binary = rule( + doc = "A rule to transition a C++ binary to build with stdc++17.", + implementation = _cc_stdcc17_transitioned_target_impl, + cfg = _cc_stdcc17_transition, + attrs = _COMMON_ATTRS, + executable = True, +) + +def cc_stdcc17_transitioned_library(name, **kwargs): + _cc_stdcc17_transitioned_library( + name = name, + cxxopts = _CXX_OPTS, + **kwargs + ) + +def cc_stdcc17_transitioned_binary(name, **kwargs): + _cc_stdcc17_transitioned_binary( + name = name, + cxxopts = _CXX_OPTS, + **kwargs + ) diff --git a/extensions/bindgen/repositories.bzl b/extensions/bindgen/repositories.bzl index 7f1eaa27f1..8e7d8ddc29 100644 --- a/extensions/bindgen/repositories.bzl +++ b/extensions/bindgen/repositories.bzl @@ -21,39 +21,54 @@ load("//3rdparty/crates:defs.bzl", "crate_repositories") BINDGEN_VERSION = "0.70.1" # buildifier: disable=unnamed-macro -def rust_bindgen_dependencies(): +def rust_bindgen_dependencies(is_bzlmod = False): """Declare dependencies needed for bindgen. + Args: + is_bzlmod (bool): Whether or not this macro is called in a bzlmod context. + Returns: list[struct(repo=str, is_dev_dep=bool)]: A list of the repositories defined by this macro. """ - maybe( - http_archive, - name = "llvm-raw", - urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/llvm-project-14.0.6.src.tar.xz"], - strip_prefix = "llvm-project-14.0.6.src", - sha256 = "8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a", - build_file_content = "# empty", - patch_args = ["-p1"], - patches = [ - Label("//3rdparty/patches:llvm-project.cxx17.patch"), - Label("//3rdparty/patches:llvm-project.incompatible_disallow_empty_glob.patch"), - ], - ) + if not is_bzlmod: + maybe( + http_archive, + name = "llvm-raw", + urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.3/llvm-project-17.0.3.src.tar.xz"], + strip_prefix = "llvm-project-17.0.3.src", + integrity = "sha256-vloeRNZPMGu0T859NuOzmTaU6OYSKyNIYIkGKDwXbbg=", + build_file_content = "# empty", + patch_args = ["-p1"], + patches = [ + # Label("//3rdparty/patches:llvm-project.cxx17.patch"), + Label("//3rdparty/patches:llvm-raw.incompatible_disallow_empty_glob.patch"), + ], + ) - maybe( - http_archive, - name = "zlib", - build_file = Label("//3rdparty:BUILD.zlib.bazel"), - sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", - strip_prefix = "zlib-1.2.11", - urls = [ - "https://zlib.net/zlib-1.2.11.tar.gz", - "https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz", - ], - ) + maybe( + http_archive, + name = "zlib", + build_file = Label("//3rdparty:BUILD.zlib.bazel"), + sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", + strip_prefix = "zlib-1.2.11", + urls = [ + "https://zlib.net/zlib-1.2.11.tar.gz", + "https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz", + ], + ) + + maybe( + http_archive, + name = "zstd", + build_file = Label("//3rdparty:BUILD.zstd.bazel"), + sha256 = "7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0", + strip_prefix = "zstd-1.5.2", + urls = [ + "https://github.com/facebook/zstd/releases/download/v1.5.2/zstd-1.5.2.tar.gz", + ], + ) bindgen_name = "rules_rust_bindgen__bindgen-cli-{}".format(BINDGEN_VERSION) maybe( @@ -67,7 +82,6 @@ def rust_bindgen_dependencies(): ) direct_deps = [ - struct(repo = "llvm-raw", is_dev_dep = False), struct(repo = bindgen_name, is_dev_dep = False), ] direct_deps.extend(crate_repositories()) diff --git a/extensions/bindgen/transitive_repositories.bzl b/extensions/bindgen/transitive_repositories.bzl index 66c80ee5fc..6e142775c2 100644 --- a/extensions/bindgen/transitive_repositories.bzl +++ b/extensions/bindgen/transitive_repositories.bzl @@ -1,6 +1,6 @@ """Transitive dependencies for the Rust `bindgen` rules""" -load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure", "llvm_disable_optional_support_deps") +load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure") # buildifier: disable=unnamed-macro def rust_bindgen_transitive_dependencies(): @@ -8,14 +8,12 @@ def rust_bindgen_transitive_dependencies(): llvm_configure( name = "llvm-project", - repo_mapping = {"@llvm_zlib": "@zlib"}, + repo_mapping = { + "@llvm_zlib": "@zlib", + "@llvm_zstd": "@zstd", + }, targets = [ "AArch64", "X86", ], ) - - # Disables optional dependencies for Support like zlib and terminfo. You may - # instead want to configure them using the macros in the corresponding bzl - # files. - llvm_disable_optional_support_deps() diff --git a/extensions/prost/.bazelignore b/extensions/prost/.bazelignore index 8c29e7dd07..68062bda56 100644 --- a/extensions/prost/.bazelignore +++ b/extensions/prost/.bazelignore @@ -1,5 +1,5 @@ examples bazel-out bazel-testlogs -bazel-extensions +bazel-prost bazel-bin diff --git a/extensions/prost/.bazelrc b/extensions/prost/.bazelrc index 6b20ca4b70..f3e5a5d06f 100644 --- a/extensions/prost/.bazelrc +++ b/extensions/prost/.bazelrc @@ -60,9 +60,8 @@ build --incompatible_merge_fixed_and_default_shell_env ## Bzlmod ############################################################################### -# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel -# https://github.com/bazelbuild/rules_rust/issues/2181 -common --noenable_bzlmod --enable_workspace +# A configuration for disabling bzlmod. +common:no-bzlmod --noenable_bzlmod --enable_workspace # Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock common --lockfile_mode=off diff --git a/extensions/prost/MODULE.bazel b/extensions/prost/MODULE.bazel index fa1842e434..7b59f68316 100644 --- a/extensions/prost/MODULE.bazel +++ b/extensions/prost/MODULE.bazel @@ -16,11 +16,11 @@ local_path_override( bazel_dep( name = "bazel_skylib", - version = "1.5.0", + version = "1.7.1", ) bazel_dep( name = "rules_cc", - version = "0.0.9", + version = "0.0.17", ) bazel_dep( name = "rules_proto", @@ -28,13 +28,13 @@ bazel_dep( ) bazel_dep( name = "protobuf", - version = "21.7", + version = "28.3", repo_name = "com_google_protobuf", ) -rust_ext_prost = use_extension("//:extensions.bzl", "rust_ext_prost") +rust_ext = use_extension("//:extensions.bzl", "rust_ext") use_repo( - rust_ext_prost, + rust_ext, "rules_rust_prost_deps", "rules_rust_prost_deps__h2-0.4.6", "rules_rust_prost_deps__heck", @@ -50,3 +50,25 @@ use_repo( register_toolchains( "//:default_prost_toolchain", ) + +bazel_dep( + name = "googleapis", + version = "0.0.0-20240819-fe8ba054a", + dev_dependency = True, + repo_name = "com_google_googleapis", +) +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/extensions/prost/WORKSPACE.bazel b/extensions/prost/WORKSPACE.bazel index 7b6296a252..f59107e98b 100644 --- a/extensions/prost/WORKSPACE.bazel +++ b/extensions/prost/WORKSPACE.bazel @@ -33,6 +33,11 @@ load("//:transitive_repositories.bzl", "rust_prost_transitive_repositories") rust_prost_transitive_repositories() +# Needed by protobuf +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + # buildifier: disable=bzl-visibility load("//private/tests:deps.bzl", "prost_test_deps") diff --git a/extensions/prost/extensions.bzl b/extensions/prost/extensions.bzl index 1fc8e4bf37..f3b956933c 100644 --- a/extensions/prost/extensions.bzl +++ b/extensions/prost/extensions.bzl @@ -2,7 +2,7 @@ load("//:repositories.bzl", "rust_prost_dependencies") -def _rust_ext_prost_impl(module_ctx): +def _rust_ext_impl(module_ctx): # This should contain the subset of WORKSPACE.bazel that defines # repositories. direct_deps = [] @@ -17,7 +17,7 @@ def _rust_ext_prost_impl(module_ctx): root_module_direct_dev_deps = [], ) -rust_ext_prost = module_extension( - doc = "Dependencies for rules_rust extensions.", - implementation = _rust_ext_prost_impl, +rust_ext = module_extension( + doc = "Dependencies for the rules_rust prost extension.", + implementation = _rust_ext_impl, ) diff --git a/extensions/prost/private/internal_extensions.bzl b/extensions/prost/private/internal_extensions.bzl new file mode 100644 index 0000000000..3b76d5e6ad --- /dev/null +++ b/extensions/prost/private/internal_extensions.bzl @@ -0,0 +1,26 @@ +"""Bzlmod internal extensions""" + +load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") + +def _rust_ext_dev_impl(module_ctx): + deps = [] + + rbe_preconfig( + name = "buildkite_config", + toolchain = "ubuntu1804-bazel-java11", + ) + + deps.append(struct(repo = "buildkite_config")) + + # is_dev_dep is ignored here. It's not relevant for internal_deps, as dev + # dependencies are only relevant for module extensions that can be used + # by other MODULES. + return module_ctx.extension_metadata( + root_module_direct_deps = [], + root_module_direct_dev_deps = [repo.repo for repo in deps], + ) + +rust_ext_dev = module_extension( + doc = "Development dependencies for the rules_rust_prost extension.", + implementation = _rust_ext_dev_impl, +) diff --git a/extensions/prost/private/tests/well_known_types/well_known_types_test.rs b/extensions/prost/private/tests/well_known_types/well_known_types_test.rs index f74796ee6d..eb985dc53d 100644 --- a/extensions/prost/private/tests/well_known_types/well_known_types_test.rs +++ b/extensions/prost/private/tests/well_known_types/well_known_types_test.rs @@ -2,11 +2,11 @@ use well_known_types_proto::any_proto::google::protobuf::Any; use well_known_types_proto::api_proto::google::protobuf::{Api, Method, Mixin}; -use well_known_types_proto::compiler_plugin_proto::google::protobuf::compiler::Version; use well_known_types_proto::descriptor_proto::google::protobuf::DescriptorProto; use well_known_types_proto::duration_proto::google::protobuf::Duration; use well_known_types_proto::empty_proto::google::protobuf::Empty; use well_known_types_proto::field_mask_proto::google::protobuf::FieldMask; +use well_known_types_proto::plugin_proto::google::protobuf::compiler::Version; use well_known_types_proto::source_context_proto::google::protobuf::SourceContext; use well_known_types_proto::struct_proto::google::protobuf::Struct; use well_known_types_proto::struct_proto::google::protobuf::Value; diff --git a/extensions/prost/repositories.bzl b/extensions/prost/repositories.bzl index 27a0772519..57180921a7 100644 --- a/extensions/prost/repositories.bzl +++ b/extensions/prost/repositories.bzl @@ -36,9 +36,9 @@ def rust_prost_dependencies(bzlmod = False): maybe( http_archive, name = "com_google_protobuf", - sha256 = "52b6160ae9266630adb5e96a9fc645215336371a740e87d411bfb63ea2f268a0", - strip_prefix = "protobuf-3.18.0", - urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v3.18.0/protobuf-all-3.18.0.tar.gz"], + integrity = "sha256-fD69eq7dhvpdxHmg/agD9gLKr3jYr/fOg7ieG4rnRCo=", + strip_prefix = "protobuf-28.3", + urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protobuf-28.3.tar.gz"], ) maybe( http_archive, diff --git a/extensions/prost/transitive_repositories.bzl b/extensions/prost/transitive_repositories.bzl index 60c99ed545..277fd41169 100644 --- a/extensions/prost/transitive_repositories.bzl +++ b/extensions/prost/transitive_repositories.bzl @@ -1,6 +1,7 @@ """Definitions for loading transitive `@rules_rust//proto` dependencies""" load("@bazel_features//:deps.bzl", "bazel_features_deps") +load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies") def rust_prost_transitive_repositories(): @@ -11,3 +12,5 @@ def rust_prost_transitive_repositories(): rules_proto_dependencies() bazel_features_deps() + + protobuf_deps() diff --git a/extensions/protobuf/.bazelignore b/extensions/protobuf/.bazelignore index 8c29e7dd07..8233d3bb0d 100644 --- a/extensions/protobuf/.bazelignore +++ b/extensions/protobuf/.bazelignore @@ -1,5 +1,5 @@ examples bazel-out bazel-testlogs -bazel-extensions +bazel-protobuf bazel-bin diff --git a/extensions/protobuf/.bazelrc b/extensions/protobuf/.bazelrc index 57431732ce..b29663d9c4 100644 --- a/extensions/protobuf/.bazelrc +++ b/extensions/protobuf/.bazelrc @@ -64,9 +64,8 @@ build --incompatible_merge_fixed_and_default_shell_env ## Bzlmod ############################################################################### -# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel -# https://github.com/bazelbuild/rules_rust/issues/2181 -common --noenable_bzlmod --enable_workspace +# A configuration for disabling bzlmod. +common:no-bzlmod --noenable_bzlmod --enable_workspace # Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock common --lockfile_mode=off diff --git a/extensions/protobuf/3rdparty/patches/README.md b/extensions/protobuf/3rdparty/patches/README.md index 1b19afb6c7..082164365c 100644 --- a/extensions/protobuf/3rdparty/patches/README.md +++ b/extensions/protobuf/3rdparty/patches/README.md @@ -20,8 +20,3 @@ For this crate, the patch that is applied is replacing the include! macro with what would be generated by the build.rs file. This lets us avoid running the build file altogether, at the expense of having to update the patch for every version. - - -## com_google_protobuf-v3.10.0-bzl_visibility - -The patches here provide the required visibility to `*.bzl` files used by the rules defined in `com_google_protobuf`. diff --git a/extensions/protobuf/3rdparty/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch b/extensions/protobuf/3rdparty/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch deleted file mode 100644 index ad694e22d1..0000000000 --- a/extensions/protobuf/3rdparty/patches/com_google_protobuf-v3.10.0-bzl_visibility.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/BUILD b/BUILD -index efc3d8e7f..77e3ea413 100644 ---- a/BUILD -+++ b/BUILD -@@ -1236,3 +1236,9 @@ sh_test( - "update_file_lists.sh", - ], - ) -+ -+filegroup( -+ name = "bzl_srcs", -+ srcs = glob(["**/*.bzl"]), -+ visibility = ["//visibility:public"], -+) diff --git a/extensions/protobuf/MODULE.bazel b/extensions/protobuf/MODULE.bazel index a362f1954d..43dda3f5f5 100644 --- a/extensions/protobuf/MODULE.bazel +++ b/extensions/protobuf/MODULE.bazel @@ -16,11 +16,15 @@ local_path_override( bazel_dep( name = "bazel_skylib", - version = "1.5.0", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", ) bazel_dep( name = "rules_cc", - version = "0.0.9", + version = "0.0.17", ) bazel_dep( name = "rules_proto", @@ -28,14 +32,19 @@ bazel_dep( ) bazel_dep( name = "protobuf", - version = "21.7", + version = "28.3", repo_name = "com_google_protobuf", ) -rust_ext_protobuf = use_extension("//:extensions.bzl", "rust_ext_protobuf") +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext = use_extension("//:extensions.bzl", "rust_ext") use_repo( - rust_ext_protobuf, - "rules_rust_protobuf_deps", + rust_ext, "rules_rust_protobuf_deps__grpc-0.6.2", "rules_rust_protobuf_deps__grpc-compiler-0.6.2", "rules_rust_protobuf_deps__log-0.4.17", @@ -48,3 +57,13 @@ use_repo( register_toolchains( "//:default_proto_toolchain", ) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", +) diff --git a/extensions/protobuf/WORKSPACE.bazel b/extensions/protobuf/WORKSPACE.bazel index e0a8bc7075..fe7c379926 100644 --- a/extensions/protobuf/WORKSPACE.bazel +++ b/extensions/protobuf/WORKSPACE.bazel @@ -32,6 +32,11 @@ load("//:transitive_repositories.bzl", "rust_proto_protobuf_transitive_repositor rust_proto_protobuf_transitive_repositories() +# Needed by protobuf +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() diff --git a/extensions/protobuf/extensions.bzl b/extensions/protobuf/extensions.bzl index fb37952d0a..9a6df1c598 100644 --- a/extensions/protobuf/extensions.bzl +++ b/extensions/protobuf/extensions.bzl @@ -2,7 +2,7 @@ load("//:repositories.bzl", "rust_proto_protobuf_dependencies") -def _rust_ext_protobuf_impl(module_ctx): +def _rust_ext_impl(module_ctx): # This should contain the subset of WORKSPACE.bazel that defines # repositories. direct_deps = [] @@ -17,7 +17,7 @@ def _rust_ext_protobuf_impl(module_ctx): root_module_direct_dev_deps = [], ) -rust_ext_protobuf = module_extension( - doc = "Dependencies for rules_rust extensions.", - implementation = _rust_ext_protobuf_impl, +rust_ext = module_extension( + doc = "Dependencies for the rules_rust protobuf extension.", + implementation = _rust_ext_impl, ) diff --git a/extensions/protobuf/private/BUILD.bazel b/extensions/protobuf/private/BUILD.bazel new file mode 100644 index 0000000000..e69de29bb2 diff --git a/extensions/protobuf/private/internal_extensions.bzl b/extensions/protobuf/private/internal_extensions.bzl new file mode 100644 index 0000000000..06c51353d3 --- /dev/null +++ b/extensions/protobuf/private/internal_extensions.bzl @@ -0,0 +1,26 @@ +"""Bzlmod internal extensions""" + +load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") + +def _rust_ext_dev_impl(module_ctx): + deps = [] + + rbe_preconfig( + name = "buildkite_config", + toolchain = "ubuntu1804-bazel-java11", + ) + + deps.append(struct(repo = "buildkite_config")) + + # is_dev_dep is ignored here. It's not relevant for internal_deps, as dev + # dependencies are only relevant for module extensions that can be used + # by other MODULES. + return module_ctx.extension_metadata( + root_module_direct_deps = [], + root_module_direct_dev_deps = [repo.repo for repo in deps], + ) + +rust_ext_dev = module_extension( + doc = "Development dependencies for the rules_rust_protobuf extension.", + implementation = _rust_ext_dev_impl, +) diff --git a/extensions/protobuf/repositories.bzl b/extensions/protobuf/repositories.bzl index 0d6f7d0c5e..6b7dfb80f9 100644 --- a/extensions/protobuf/repositories.bzl +++ b/extensions/protobuf/repositories.bzl @@ -40,16 +40,9 @@ def rust_proto_protobuf_dependencies(bzlmod = False): maybe( http_archive, name = "com_google_protobuf", - sha256 = "758249b537abba2f21ebc2d02555bf080917f0f2f88f4cbe2903e0e28c4187ed", - strip_prefix = "protobuf-3.10.0", - urls = [ - "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.10.0.tar.gz", - "https://github.com/protocolbuffers/protobuf/archive/v3.10.0.tar.gz", - ], - patch_args = ["-p1"], - patches = [ - Label("//3rdparty/patches:com_google_protobuf-v3.10.0-bzl_visibility.patch"), - ], + integrity = "sha256-fD69eq7dhvpdxHmg/agD9gLKr3jYr/fOg7ieG4rnRCo=", + strip_prefix = "protobuf-28.3", + urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protobuf-28.3.tar.gz"], ) return crate_repositories() diff --git a/extensions/protobuf/transitive_repositories.bzl b/extensions/protobuf/transitive_repositories.bzl index 06c80470f7..0241e6bf74 100644 --- a/extensions/protobuf/transitive_repositories.bzl +++ b/extensions/protobuf/transitive_repositories.bzl @@ -3,6 +3,7 @@ load("@bazel_features//:deps.bzl", "bazel_features_deps") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") +load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies") def rust_proto_protobuf_transitive_repositories(): @@ -25,3 +26,5 @@ def rust_proto_protobuf_transitive_repositories(): "https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz", ], ) + + protobuf_deps() diff --git a/extensions/wasm_bindgen/.bazelignore b/extensions/wasm_bindgen/.bazelignore index 8c29e7dd07..4fda9c604c 100644 --- a/extensions/wasm_bindgen/.bazelignore +++ b/extensions/wasm_bindgen/.bazelignore @@ -1,5 +1,7 @@ -examples bazel-out bazel-testlogs -bazel-extensions +bazel-wasm_bindgen bazel-bin + +# Deprecated +rules_nodejs diff --git a/extensions/wasm_bindgen/.bazelrc b/extensions/wasm_bindgen/.bazelrc index 6b20ca4b70..f3e5a5d06f 100644 --- a/extensions/wasm_bindgen/.bazelrc +++ b/extensions/wasm_bindgen/.bazelrc @@ -60,9 +60,8 @@ build --incompatible_merge_fixed_and_default_shell_env ## Bzlmod ############################################################################### -# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel -# https://github.com/bazelbuild/rules_rust/issues/2181 -common --noenable_bzlmod --enable_workspace +# A configuration for disabling bzlmod. +common:no-bzlmod --noenable_bzlmod --enable_workspace # Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock common --lockfile_mode=off diff --git a/extensions/wasm_bindgen/MODULE.bazel b/extensions/wasm_bindgen/MODULE.bazel index a0e3e4920c..ae74450730 100644 --- a/extensions/wasm_bindgen/MODULE.bazel +++ b/extensions/wasm_bindgen/MODULE.bazel @@ -16,25 +16,24 @@ local_path_override( bazel_dep( name = "bazel_skylib", - version = "1.5.0", + version = "1.7.1", ) bazel_dep( - name = "rules_cc", - version = "0.0.9", + name = "platforms", + version = "0.0.10", ) bazel_dep( - name = "aspect_rules_js", - version = "1.39.0", + name = "rules_cc", + version = "0.0.17", ) bazel_dep( - name = "rules_nodejs", - version = "5.8.5", + name = "aspect_rules_js", + version = "2.1.1", ) -rust_ext_wasm_bindgen = use_extension("//:extensions.bzl", "rust_ext_wasm_bindgen") +rust_ext = use_extension("//:extensions.bzl", "rust_ext") use_repo( - rust_ext_wasm_bindgen, - "rrwbd", + rust_ext, "rrwbd__anyhow-1.0.71", "rrwbd__assert_cmd-1.0.8", "rrwbd__diff-0.1.13", @@ -60,4 +59,22 @@ use_repo( register_toolchains( "//:default_wasm_bindgen_toolchain", + "@rules_rust//rust/private/dummy_cc_toolchain:dummy_cc_wasm32_toolchain", + "@rules_rust//rust/private/dummy_cc_toolchain:dummy_cc_wasm64_toolchain", +) + +bazel_dep( + name = "bazel_ci_rules", + version = "1.0.0", + dev_dependency = True, +) + +rust_ext_dev = use_extension( + "//private:internal_extensions.bzl", + "rust_ext_dev", + dev_dependency = True, +) +use_repo( + rust_ext_dev, + "buildkite_config", ) diff --git a/extensions/wasm_bindgen/WORKSPACE.bazel b/extensions/wasm_bindgen/WORKSPACE.bazel index 7a2baf56d1..9ff1eae1ca 100644 --- a/extensions/wasm_bindgen/WORKSPACE.bazel +++ b/extensions/wasm_bindgen/WORKSPACE.bazel @@ -30,10 +30,6 @@ load("//rules_js:repositories.bzl", "js_rust_wasm_bindgen_dependencies") js_rust_wasm_bindgen_dependencies() -load("//rules_nodejs:repositories.bzl", "nodejs_rust_wasm_bindgen_dependencies") - -nodejs_rust_wasm_bindgen_dependencies() - load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() @@ -50,16 +46,6 @@ rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION) load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -http_archive( - name = "build_bazel_rules_nodejs", - sha256 = "709cc0dcb51cf9028dd57c268066e5bc8f03a119ded410a13b5c3925d6e43c48", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-5.8.4.tar.gz"], -) - -load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories") - -node_repositories() - http_archive( name = "bazel_ci_rules", sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", diff --git a/extensions/wasm_bindgen/defs.bzl b/extensions/wasm_bindgen/defs.bzl index 181f1dc0d5..c838f80071 100644 --- a/extensions/wasm_bindgen/defs.bzl +++ b/extensions/wasm_bindgen/defs.bzl @@ -2,6 +2,11 @@ Bazel rules for generating wasm modules for Javascript using [wasm-bindgen][wb]. +## Rules + +- [rust_wasm_bindgen](#rust_wasm_bindgen) +- [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain) + ## Setup To begin using the `wasm-bindgen` rules, users can load the necessary dependencies @@ -22,15 +27,15 @@ should avoid calling `rust_wasm_bindgen_register_toolchains` and instead use the [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain) rule to define their own toolchains to register in the workspace. -### Interfacing with Javascript rules +## Interfacing with Javascript rules While it's recommended for users to mantain their own , in the `@rules_rust_wasm_bindgen` package there exists interface sub-packages for various -Javascript Bazel rules. E.g. `build_bazel_rules_nodejs` or `aspect_rules_js`. The -rules defined there are a more convenient way to use `rust_wasm_bindgen` with the -associated javascript rules due to the inclusion of additional providers. Each -directory contains a `defs.bzl` file that defines the different variants of -`rust_wasm_bindgen`. (e.g. `nodejs_rust_wasm_bindgen` for the `rules_nodejs` submodule). +Javascript Bazel rules. E.g. `aspect_rules_js`. The rules defined there are a more +convenient way to use `rust_wasm_bindgen` with the associated javascript rules due +to the inclusion of additional providers. Each directory contains a `defs.bzl` file +that defines the different variants of `rust_wasm_bindgen`. (e.g. `js_rust_wasm_bindgen` +for the `rules_js` submodule). [wb]: https://github.com/rustwasm/wasm-bindgen diff --git a/extensions/wasm_bindgen/extensions.bzl b/extensions/wasm_bindgen/extensions.bzl index 37444316b6..bb7dd76865 100644 --- a/extensions/wasm_bindgen/extensions.bzl +++ b/extensions/wasm_bindgen/extensions.bzl @@ -1,18 +1,12 @@ """Bzlmod module extensions""" load("//:repositories.bzl", "rust_wasm_bindgen_dependencies") -load("//bindgen:repositories.bzl", "rust_bindgen_dependencies") -load("//prost:repositories.bzl", "rust_prost_dependencies") -load("//protobuf:repositories.bzl", "rust_proto_protobuf_dependencies") def _rust_ext_impl(module_ctx): # This should contain the subset of WORKSPACE.bazel that defines # repositories. direct_deps = [] - direct_deps.extend(rust_prost_dependencies(bzlmod = True)) - direct_deps.extend(rust_proto_protobuf_dependencies(bzlmod = True)) - direct_deps.extend(rust_bindgen_dependencies()) direct_deps.extend(rust_wasm_bindgen_dependencies()) # is_dev_dep is ignored here. It's not relevant for internal_deps, as dev @@ -24,6 +18,6 @@ def _rust_ext_impl(module_ctx): ) rust_ext = module_extension( - doc = "Dependencies for rules_rust extensions.", + doc = "Dependencies for the rules_rust wasm_bindgen extension.", implementation = _rust_ext_impl, ) diff --git a/extensions/wasm_bindgen/private/internal_extensions.bzl b/extensions/wasm_bindgen/private/internal_extensions.bzl new file mode 100644 index 0000000000..23c40d64e6 --- /dev/null +++ b/extensions/wasm_bindgen/private/internal_extensions.bzl @@ -0,0 +1,26 @@ +"""Bzlmod internal extensions""" + +load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig") + +def _rust_ext_dev_impl(module_ctx): + deps = [] + + rbe_preconfig( + name = "buildkite_config", + toolchain = "ubuntu1804-bazel-java11", + ) + + deps.append(struct(repo = "buildkite_config")) + + # is_dev_dep is ignored here. It's not relevant for internal_deps, as dev + # dependencies are only relevant for module extensions that can be used + # by other MODULES. + return module_ctx.extension_metadata( + root_module_direct_deps = [], + root_module_direct_dev_deps = [repo.repo for repo in deps], + ) + +rust_ext_dev = module_extension( + doc = "Development dependencies for the rules_rust_wasm_bindgen extension.", + implementation = _rust_ext_dev_impl, +) diff --git a/extensions/wasm_bindgen/rules_js/test/BUILD.bazel b/extensions/wasm_bindgen/rules_js/test/BUILD.bazel index 03b221ca24..b587ca0f01 100644 --- a/extensions/wasm_bindgen/rules_js/test/BUILD.bazel +++ b/extensions/wasm_bindgen/rules_js/test/BUILD.bazel @@ -1,14 +1,8 @@ load("@aspect_rules_js//js:defs.bzl", "js_library", "js_test") -load("@bazel_skylib//rules:copy_file.bzl", "copy_file") +load("@bazel_skylib//rules:build_test.bzl", "build_test") load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_shared_library") load("@rules_rust_wasm_bindgen//rules_js:defs.bzl", "js_rust_wasm_bindgen") -copy_file( - name = "hello_world_wasm_test.src", - src = "//test:hello_world_wasm_test.js", - out = "hello_world_wasm_test.js", -) - rust_binary( name = "hello_world_bin_wasm", srcs = ["//test:main.rs"], @@ -76,13 +70,13 @@ _WASM_DATA = [ js_test( name = "hello_world_wasm_direct_test", data = _WASM_DATA, - entry_point = ":hello_world_wasm_test.js", + entry_point = "hello_world_wasm_test.js", ) js_library( name = "hello_world_wasm_lib", srcs = [ - ":hello_world_wasm_test.js", + "hello_world_wasm_test.js", ], data = _WASM_DATA, deps = [], @@ -95,3 +89,8 @@ js_test( ], entry_point = ":hello_world_wasm_lib", ) + +build_test( + name = "build_test", + targets = _WASM_DATA, +) diff --git a/extensions/wasm_bindgen/test/hello_world_wasm_test.js b/extensions/wasm_bindgen/rules_js/test/hello_world_wasm_test.js similarity index 100% rename from extensions/wasm_bindgen/test/hello_world_wasm_test.js rename to extensions/wasm_bindgen/rules_js/test/hello_world_wasm_test.js diff --git a/extensions/wasm_bindgen/rules_nodejs/BUILD.bazel b/extensions/wasm_bindgen/rules_nodejs/BUILD.bazel index 153f72df79..a289cdf9aa 100644 --- a/extensions/wasm_bindgen/rules_nodejs/BUILD.bazel +++ b/extensions/wasm_bindgen/rules_nodejs/BUILD.bazel @@ -9,8 +9,9 @@ exports_files([ bzl_library( name = "bzl_lib", srcs = glob(["**/*.bzl"]), + tags = ["manuel"], deps = [ "//:bzl_lib", - "@rules_nodejs//nodejs:bzl", + "@rules_nodejs//nodejs:bzl_lib", ], ) diff --git a/extensions/wasm_bindgen/rules_nodejs/test/BUILD.bazel b/extensions/wasm_bindgen/rules_nodejs/test/BUILD.bazel deleted file mode 100644 index 610033fd58..0000000000 --- a/extensions/wasm_bindgen/rules_nodejs/test/BUILD.bazel +++ /dev/null @@ -1,68 +0,0 @@ -load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_test") -load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_shared_library") -load("@rules_rust_wasm_bindgen//rules_nodejs:defs.bzl", "nodejs_rust_wasm_bindgen") - -rust_binary( - name = "hello_world_bin_wasm", - srcs = ["//test:main.rs"], - edition = "2018", - deps = [ - "@rules_rust_wasm_bindgen//3rdparty:wasm_bindgen", - ], -) - -rust_shared_library( - name = "hello_world_lib_wasm", - srcs = ["//test:main.rs"], - edition = "2018", - deps = [ - "@rules_rust_wasm_bindgen//3rdparty:wasm_bindgen", - ], -) - -nodejs_rust_wasm_bindgen( - name = "hello_world_bundler_wasm_bindgen", - wasm_file = ":hello_world_bin_wasm", -) - -nodejs_rust_wasm_bindgen( - name = "hello_world_web_wasm_bindgen", - target = "web", - wasm_file = ":hello_world_lib_wasm", -) - -nodejs_rust_wasm_bindgen( - name = "hello_world_deno_wasm_bindgen", - target = "deno", - wasm_file = ":hello_world_lib_wasm", -) - -nodejs_rust_wasm_bindgen( - name = "hello_world_nomodules_wasm_bindgen", - target = "no-modules", - wasm_file = ":hello_world_lib_wasm", -) - -nodejs_rust_wasm_bindgen( - name = "hello_world_nodejs_wasm_bindgen", - target = "nodejs", - wasm_file = ":hello_world_lib_wasm", -) - -nodejs_test( - name = "hello_world_wasm_test", - args = ["rules_nodejs"], - data = [ - ":hello_world_bundler_wasm_bindgen", - ":hello_world_deno_wasm_bindgen", - ":hello_world_nodejs_wasm_bindgen", - ":hello_world_nomodules_wasm_bindgen", - ":hello_world_web_wasm_bindgen", - ], - entry_point = "//test:hello_world_wasm_test.js", - # TODO: Fix test on Windows - target_compatible_with = select({ - "@platforms//os:windows": ["@platforms//:incompatible"], - "//conditions:default": [], - }), -) From 1374678997ca4d3ac6ab927cb0a1fe9753882632 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Wed, 4 Dec 2024 17:03:49 -0800 Subject: [PATCH 02/11] Allow rust_wasm_bindgen rules to re-expose rust-analyzer providers (#3035) This is useful for targets which are gated behind `target_compatible_with = ["@platforms//os:wasm32"]` but developers still want them to analyzed by rust-analyzer. --- docs/src/rust_wasm_bindgen_rules_js.md | 2 +- .../wasm_bindgen/private/wasm_bindgen.bzl | 37 ++++++++++++------- extensions/wasm_bindgen/rules_js/defs.bzl | 15 +++++++- extensions/wasm_bindgen/rules_nodejs/defs.bzl | 15 +++++++- 4 files changed, 51 insertions(+), 18 deletions(-) diff --git a/docs/src/rust_wasm_bindgen_rules_js.md b/docs/src/rust_wasm_bindgen_rules_js.md index c358bccd0e..9ed570c74d 100644 --- a/docs/src/rust_wasm_bindgen_rules_js.md +++ b/docs/src/rust_wasm_bindgen_rules_js.md @@ -21,7 +21,7 @@ Generates javascript and typescript bindings for a webassembly module using [was | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | -| bindgen_flags | Flags to pass directly to the bindgen executable. See https://github.com/rustwasm/wasm-bindgen/ for details. | List of strings | optional | `[]` | +| bindgen_flags | Flags to pass directly to the wasm-bindgen executable. See https://github.com/rustwasm/wasm-bindgen/ for details. | List of strings | optional | `[]` | | target | The type of output to generate. See https://rustwasm.github.io/wasm-bindgen/reference/deployment.html for details. | String | optional | `"bundler"` | | target_arch | The target architecture to use for the wasm-bindgen command line option. | String | optional | `"wasm32"` | | wasm_file | The `.wasm` file or crate to generate bindings for. | Label | required | | diff --git a/extensions/wasm_bindgen/private/wasm_bindgen.bzl b/extensions/wasm_bindgen/private/wasm_bindgen.bzl index c0336055d2..a3ee605914 100644 --- a/extensions/wasm_bindgen/private/wasm_bindgen.bzl +++ b/extensions/wasm_bindgen/private/wasm_bindgen.bzl @@ -1,21 +1,24 @@ """Bazel rules for [wasm-bindgen](https://crates.io/crates/wasm-bindgen)""" load("@rules_rust//rust:defs.bzl", "rust_common") + +# buildifier: disable=bzl-visibility +load("@rules_rust//rust/private:providers.bzl", "RustAnalyzerGroupInfo", "RustAnalyzerInfo") load("//:providers.bzl", "RustWasmBindgenInfo") load(":transitions.bzl", "wasm_bindgen_transition") -def rust_wasm_bindgen_action(ctx, toolchain, wasm_file, target_output, bindgen_flags = []): +def rust_wasm_bindgen_action(*, ctx, toolchain, wasm_file, target_output, flags = []): """Spawn a `RustWasmBindgen` action. Args: - ctx (ctx): _description_ - toolchain (ToolchainInfo): _description_ - wasm_file (Target): _description_ + ctx (ctx): The rule's context object. + toolchain (ToolchainInfo): The current `rust_wasm_bindgen_toolchain`. + wasm_file (Target): The target representing the `.wasm` file. target_output (str): _description_ - bindgen_flags (list, optional): _description_. Defaults to []. + flags (list, optional): Flags to pass to `wasm-bindgen`. Returns: - RustWasmBindgenInfo: _description_ + RustWasmBindgenInfo: A provider containing action outputs. """ bindgen_bin = toolchain.bindgen @@ -54,12 +57,12 @@ def rust_wasm_bindgen_action(ctx, toolchain, wasm_file, target_output, bindgen_f js_out = [ctx.actions.declare_file(ctx.label.name + ".js")] ts_out = [] - if not "--no-typescript" in bindgen_flags: + if not "--no-typescript" in flags: ts_out.append(ctx.actions.declare_file(ctx.label.name + ".d.ts")) if target_output == "bundler": js_out.append(ctx.actions.declare_file(ctx.label.name + "_bg.js")) - if not "--no-typescript" in bindgen_flags: + if not "--no-typescript" in flags: ts_out.append(ctx.actions.declare_file(ctx.label.name + "_bg.wasm.d.ts")) outputs = [bindgen_wasm_module] + js_out + ts_out @@ -68,7 +71,7 @@ def rust_wasm_bindgen_action(ctx, toolchain, wasm_file, target_output, bindgen_f args.add("--target", target_output) args.add("--out-dir", bindgen_wasm_module.dirname) args.add("--out-name", ctx.label.name) - args.add_all(bindgen_flags) + args.add_all(flags) args.add(input_file) ctx.actions.run( @@ -76,7 +79,7 @@ def rust_wasm_bindgen_action(ctx, toolchain, wasm_file, target_output, bindgen_f inputs = [input_file], outputs = outputs, mnemonic = "RustWasmBindgen", - progress_message = "Generating WebAssembly bindings for {}...".format(progress_message_label), + progress_message = "Generating WebAssembly bindings for {}".format(progress_message_label), arguments = [args], toolchain = str(Label("//:toolchain_type")), ) @@ -95,19 +98,27 @@ def _rust_wasm_bindgen_impl(ctx): toolchain = toolchain, wasm_file = ctx.attr.wasm_file, target_output = ctx.attr.target, - bindgen_flags = ctx.attr.bindgen_flags, + flags = ctx.attr.bindgen_flags, ) - return [ + providers = [ DefaultInfo( files = depset([info.wasm], transitive = [info.js, info.ts]), ), info, ] + if RustAnalyzerGroupInfo in ctx.attr.wasm_file: + providers.append(ctx.attr.wasm_file[RustAnalyzerGroupInfo]) + + if RustAnalyzerInfo in ctx.attr.wasm_file: + providers.append(ctx.attr.wasm_file[RustAnalyzerInfo]) + + return providers + WASM_BINDGEN_ATTR = { "bindgen_flags": attr.string_list( - doc = "Flags to pass directly to the bindgen executable. See https://github.com/rustwasm/wasm-bindgen/ for details.", + doc = "Flags to pass directly to the wasm-bindgen executable. See https://github.com/rustwasm/wasm-bindgen/ for details.", ), "target": attr.string( doc = "The type of output to generate. See https://rustwasm.github.io/wasm-bindgen/reference/deployment.html for details.", diff --git a/extensions/wasm_bindgen/rules_js/defs.bzl b/extensions/wasm_bindgen/rules_js/defs.bzl index aa42e7142b..70dc0a9813 100644 --- a/extensions/wasm_bindgen/rules_js/defs.bzl +++ b/extensions/wasm_bindgen/rules_js/defs.bzl @@ -1,6 +1,9 @@ """Rust WASM-bindgen rules for interfacing with aspect-build/rules_js""" load("@aspect_rules_js//js:providers.bzl", "js_info") + +# buildifier: disable=bzl-visibility +load("@rules_rust//rust/private:providers.bzl", "RustAnalyzerGroupInfo", "RustAnalyzerInfo") load("//private:wasm_bindgen.bzl", "WASM_BINDGEN_ATTR", "rust_wasm_bindgen_action") def _js_rust_wasm_bindgen_impl(ctx): @@ -11,10 +14,10 @@ def _js_rust_wasm_bindgen_impl(ctx): toolchain = toolchain, wasm_file = ctx.attr.wasm_file, target_output = ctx.attr.target, - bindgen_flags = ctx.attr.bindgen_flags, + flags = ctx.attr.bindgen_flags, ) - return [ + providers = [ DefaultInfo( files = depset([info.wasm], transitive = [info.js, info.ts]), ), @@ -29,6 +32,14 @@ def _js_rust_wasm_bindgen_impl(ctx): ), ] + if RustAnalyzerGroupInfo in ctx.attr.wasm_file: + providers.append(ctx.attr.wasm_file[RustAnalyzerGroupInfo]) + + if RustAnalyzerInfo in ctx.attr.wasm_file: + providers.append(ctx.attr.wasm_file[RustAnalyzerInfo]) + + return providers + js_rust_wasm_bindgen = rule( doc = """\ Generates javascript and typescript bindings for a webassembly module using [wasm-bindgen][ws] that interface with [aspect-build/rules_js][abjs]. diff --git a/extensions/wasm_bindgen/rules_nodejs/defs.bzl b/extensions/wasm_bindgen/rules_nodejs/defs.bzl index 081086d516..784b78de88 100644 --- a/extensions/wasm_bindgen/rules_nodejs/defs.bzl +++ b/extensions/wasm_bindgen/rules_nodejs/defs.bzl @@ -1,6 +1,9 @@ """Rust WASM-bindgen rules for interfacing with bazelbuild/rules_nodejs""" load("@rules_nodejs//nodejs:providers.bzl", "DeclarationInfo", "JSModuleInfo") + +# buildifier: disable=bzl-visibility +load("@rules_rust//rust/private:providers.bzl", "RustAnalyzerGroupInfo", "RustAnalyzerInfo") load("//private:wasm_bindgen.bzl", "WASM_BINDGEN_ATTR", "rust_wasm_bindgen_action") def _nodejs_rust_wasm_bindgen_impl(ctx): @@ -11,14 +14,14 @@ def _nodejs_rust_wasm_bindgen_impl(ctx): toolchain = toolchain, wasm_file = ctx.attr.wasm_file, target_output = ctx.attr.target, - bindgen_flags = ctx.attr.bindgen_flags, + flags = ctx.attr.bindgen_flags, ) # Return a structure that is compatible with the deps[] of a ts_library. declarations = info.ts es5_sources = info.js - return [ + providers = [ DefaultInfo( files = depset([info.wasm], transitive = [info.js, info.ts]), ), @@ -34,6 +37,14 @@ def _nodejs_rust_wasm_bindgen_impl(ctx): info, ] + if RustAnalyzerGroupInfo in ctx.attr.wasm_file: + providers.append(ctx.attr.wasm_file[RustAnalyzerGroupInfo]) + + if RustAnalyzerInfo in ctx.attr.wasm_file: + providers.append(ctx.attr.wasm_file[RustAnalyzerInfo]) + + return providers + nodejs_rust_wasm_bindgen = rule( doc = """\ Generates javascript and typescript bindings for a webassembly module using [wasm-bindgen][ws] that interface with [bazelbuild/rules_nodejs][bbnjs]. From 7edda6f1b314931725e0a17f70287b21579f4a43 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Thu, 5 Dec 2024 02:54:34 +0000 Subject: [PATCH 03/11] External path dependencies work (#3025) This allows dependencies of kind path to work, both in the [dependencies] table and the [patches] table. The intention is that this is used for third-party code not first-party code. --- .bazelci/presubmit.yml | 16 + .../3rdparty/crates/BUILD.adler-1.0.2.bazel | 2 +- .../3rdparty/crates/BUILD.ahash-0.8.11.bazel | 2 +- .../crates/BUILD.aho-corasick-1.0.2.bazel | 2 +- .../crates/BUILD.allocator-api2-0.2.18.bazel | 2 +- .../crates/BUILD.anstream-0.3.2.bazel | 2 +- .../3rdparty/crates/BUILD.anstyle-1.0.1.bazel | 2 +- .../crates/BUILD.anstyle-parse-0.2.1.bazel | 2 +- .../crates/BUILD.anstyle-query-1.0.0.bazel | 2 +- .../crates/BUILD.anstyle-wincon-1.0.1.bazel | 2 +- .../3rdparty/crates/BUILD.anyhow-1.0.89.bazel | 2 +- .../crates/BUILD.arc-swap-1.6.0.bazel | 2 +- .../crates/BUILD.arrayvec-0.7.4.bazel | 2 +- .../3rdparty/crates/BUILD.autocfg-1.1.0.bazel | 2 +- crate_universe/3rdparty/crates/BUILD.bazel | 2 +- .../crates/BUILD.bitflags-1.3.2.bazel | 2 +- .../crates/BUILD.bitflags-2.4.1.bazel | 2 +- .../crates/BUILD.block-buffer-0.10.4.bazel | 2 +- .../3rdparty/crates/BUILD.bstr-1.6.0.bazel | 2 +- .../3rdparty/crates/BUILD.camino-1.1.9.bazel | 2 +- .../crates/BUILD.cargo-lock-10.0.0.bazel | 2 +- .../crates/BUILD.cargo-platform-0.1.7.bazel | 2 +- .../crates/BUILD.cargo_metadata-0.18.1.bazel | 2 +- .../crates/BUILD.cargo_toml-0.20.5.bazel | 2 +- .../crates/BUILD.cfg-expr-0.17.0.bazel | 2 +- .../3rdparty/crates/BUILD.cfg-if-1.0.0.bazel | 2 +- .../3rdparty/crates/BUILD.clap-4.3.11.bazel | 2 +- .../crates/BUILD.clap_builder-4.3.11.bazel | 2 +- .../crates/BUILD.clap_derive-4.3.2.bazel | 2 +- .../crates/BUILD.clap_lex-0.5.0.bazel | 2 +- .../3rdparty/crates/BUILD.clru-0.6.1.bazel | 2 +- .../crates/BUILD.colorchoice-1.0.0.bazel | 2 +- .../crates/BUILD.cpufeatures-0.2.9.bazel | 2 +- .../crates/BUILD.crates-index-3.2.0.bazel | 2 +- .../crates/BUILD.crc32fast-1.3.2.bazel | 2 +- .../BUILD.crossbeam-channel-0.5.8.bazel | 2 +- .../crates/BUILD.crossbeam-utils-0.8.16.bazel | 2 +- .../crates/BUILD.crypto-common-0.1.6.bazel | 2 +- .../3rdparty/crates/BUILD.digest-0.10.7.bazel | 2 +- .../3rdparty/crates/BUILD.dunce-1.0.4.bazel | 2 +- .../3rdparty/crates/BUILD.either-1.9.0.bazel | 2 +- .../crates/BUILD.encoding_rs-0.8.33.bazel | 2 +- .../crates/BUILD.equivalent-1.0.1.bazel | 2 +- .../3rdparty/crates/BUILD.errno-0.3.9.bazel | 2 +- .../crates/BUILD.faster-hex-0.9.0.bazel | 2 +- .../crates/BUILD.fastrand-2.1.1.bazel | 2 +- .../crates/BUILD.filetime-0.2.22.bazel | 2 +- .../3rdparty/crates/BUILD.flate2-1.0.28.bazel | 2 +- .../3rdparty/crates/BUILD.fnv-1.0.7.bazel | 2 +- .../crates/BUILD.form_urlencoded-1.2.1.bazel | 2 +- .../crates/BUILD.generic-array-0.14.7.bazel | 2 +- .../3rdparty/crates/BUILD.gix-0.66.0.bazel | 2 +- .../crates/BUILD.gix-actor-0.32.0.bazel | 2 +- .../crates/BUILD.gix-attributes-0.22.5.bazel | 2 +- .../crates/BUILD.gix-bitmap-0.2.11.bazel | 2 +- .../crates/BUILD.gix-chunk-0.4.8.bazel | 2 +- .../crates/BUILD.gix-command-0.3.9.bazel | 2 +- .../crates/BUILD.gix-commitgraph-0.24.3.bazel | 2 +- .../crates/BUILD.gix-config-0.40.0.bazel | 2 +- .../BUILD.gix-config-value-0.14.8.bazel | 2 +- .../crates/BUILD.gix-credentials-0.24.5.bazel | 2 +- .../crates/BUILD.gix-date-0.9.0.bazel | 2 +- .../crates/BUILD.gix-diff-0.46.0.bazel | 2 +- .../crates/BUILD.gix-discover-0.35.0.bazel | 2 +- .../crates/BUILD.gix-features-0.38.2.bazel | 2 +- .../crates/BUILD.gix-filter-0.13.0.bazel | 2 +- .../3rdparty/crates/BUILD.gix-fs-0.11.3.bazel | 2 +- .../crates/BUILD.gix-glob-0.16.5.bazel | 2 +- .../crates/BUILD.gix-hash-0.14.2.bazel | 2 +- .../crates/BUILD.gix-hashtable-0.5.2.bazel | 2 +- .../crates/BUILD.gix-ignore-0.11.4.bazel | 2 +- .../crates/BUILD.gix-index-0.35.0.bazel | 2 +- .../crates/BUILD.gix-lock-14.0.0.bazel | 2 +- .../crates/BUILD.gix-negotiate-0.15.0.bazel | 2 +- .../crates/BUILD.gix-object-0.44.0.bazel | 2 +- .../crates/BUILD.gix-odb-0.63.0.bazel | 2 +- .../crates/BUILD.gix-pack-0.53.0.bazel | 2 +- .../crates/BUILD.gix-packetline-0.17.6.bazel | 2 +- ...BUILD.gix-packetline-blocking-0.17.5.bazel | 2 +- .../crates/BUILD.gix-path-0.10.11.bazel | 2 +- .../crates/BUILD.gix-pathspec-0.7.7.bazel | 2 +- .../crates/BUILD.gix-prompt-0.8.7.bazel | 2 +- .../crates/BUILD.gix-protocol-0.45.3.bazel | 2 +- .../crates/BUILD.gix-quote-0.4.12.bazel | 2 +- .../crates/BUILD.gix-ref-0.47.0.bazel | 2 +- .../crates/BUILD.gix-refspec-0.25.0.bazel | 2 +- .../crates/BUILD.gix-revision-0.29.0.bazel | 2 +- .../crates/BUILD.gix-revwalk-0.15.0.bazel | 2 +- .../crates/BUILD.gix-sec-0.10.8.bazel | 2 +- .../crates/BUILD.gix-submodule-0.14.0.bazel | 2 +- .../crates/BUILD.gix-tempfile-14.0.2.bazel | 2 +- .../crates/BUILD.gix-trace-0.1.10.bazel | 2 +- .../crates/BUILD.gix-transport-0.42.3.bazel | 2 +- .../crates/BUILD.gix-traverse-0.41.0.bazel | 2 +- .../crates/BUILD.gix-url-0.27.5.bazel | 2 +- .../crates/BUILD.gix-utils-0.1.12.bazel | 2 +- .../crates/BUILD.gix-validate-0.9.0.bazel | 2 +- .../crates/BUILD.gix-worktree-0.36.0.bazel | 2 +- .../crates/BUILD.globset-0.4.11.bazel | 2 +- .../crates/BUILD.globwalk-0.8.1.bazel | 2 +- .../crates/BUILD.hashbrown-0.14.3.bazel | 2 +- .../crates/BUILD.hashbrown-0.15.0.bazel | 2 +- .../3rdparty/crates/BUILD.heck-0.4.1.bazel | 2 +- .../crates/BUILD.hermit-abi-0.3.2.bazel | 2 +- .../3rdparty/crates/BUILD.hex-0.4.3.bazel | 2 +- .../3rdparty/crates/BUILD.home-0.5.5.bazel | 2 +- .../3rdparty/crates/BUILD.idna-0.5.0.bazel | 2 +- .../3rdparty/crates/BUILD.ignore-0.4.18.bazel | 2 +- .../crates/BUILD.indexmap-2.6.0.bazel | 2 +- .../3rdparty/crates/BUILD.indoc-2.0.5.bazel | 2 +- .../crates/BUILD.io-lifetimes-1.0.11.bazel | 2 +- .../crates/BUILD.is-terminal-0.4.7.bazel | 2 +- .../crates/BUILD.itertools-0.13.0.bazel | 2 +- .../3rdparty/crates/BUILD.itoa-1.0.8.bazel | 2 +- .../3rdparty/crates/BUILD.jiff-0.1.13.bazel | 2 +- .../crates/BUILD.jiff-tzdb-0.1.1.bazel | 2 +- .../BUILD.jiff-tzdb-platform-0.1.1.bazel | 2 +- .../3rdparty/crates/BUILD.kstring-2.0.2.bazel | 2 +- .../crates/BUILD.lazy_static-1.4.0.bazel | 2 +- .../3rdparty/crates/BUILD.libc-0.2.161.bazel | 2 +- .../crates/BUILD.linux-raw-sys-0.3.8.bazel | 2 +- .../crates/BUILD.linux-raw-sys-0.4.14.bazel | 2 +- .../crates/BUILD.lock_api-0.4.11.bazel | 2 +- .../3rdparty/crates/BUILD.log-0.4.19.bazel | 2 +- .../3rdparty/crates/BUILD.maplit-1.0.2.bazel | 2 +- .../crates/BUILD.maybe-async-0.2.7.bazel | 2 +- .../3rdparty/crates/BUILD.memchr-2.6.4.bazel | 2 +- .../3rdparty/crates/BUILD.memmap2-0.9.5.bazel | 2 +- .../crates/BUILD.miniz_oxide-0.7.1.bazel | 2 +- .../crates/BUILD.normpath-1.3.0.bazel | 2 +- .../crates/BUILD.nu-ansi-term-0.46.0.bazel | 2 +- .../crates/BUILD.once_cell-1.20.2.bazel | 2 +- .../crates/BUILD.overload-0.1.1.bazel | 2 +- .../crates/BUILD.parking_lot-0.12.1.bazel | 2 +- .../crates/BUILD.parking_lot_core-0.9.9.bazel | 2 +- .../crates/BUILD.pathdiff-0.2.2.bazel | 2 +- .../crates/BUILD.percent-encoding-2.3.1.bazel | 2 +- .../3rdparty/crates/BUILD.pest-2.7.0.bazel | 2 +- .../crates/BUILD.pest_derive-2.7.0.bazel | 2 +- .../crates/BUILD.pest_generator-2.7.0.bazel | 2 +- .../crates/BUILD.pest_meta-2.7.0.bazel | 2 +- .../BUILD.pin-project-lite-0.2.13.bazel | 2 +- .../crates/BUILD.proc-macro2-1.0.88.bazel | 2 +- .../crates/BUILD.prodash-28.0.0.bazel | 2 +- .../3rdparty/crates/BUILD.quote-1.0.37.bazel | 2 +- .../crates/BUILD.redox_syscall-0.3.5.bazel | 2 +- .../crates/BUILD.redox_syscall-0.4.1.bazel | 2 +- .../3rdparty/crates/BUILD.regex-1.11.0.bazel | 2 +- .../crates/BUILD.regex-automata-0.3.3.bazel | 2 +- .../crates/BUILD.regex-automata-0.4.8.bazel | 2 +- .../crates/BUILD.regex-syntax-0.8.5.bazel | 2 +- .../crates/BUILD.rustc-hash-2.0.0.bazel | 2 +- .../crates/BUILD.rustix-0.37.23.bazel | 2 +- .../crates/BUILD.rustix-0.38.37.bazel | 2 +- .../3rdparty/crates/BUILD.ryu-1.0.14.bazel | 2 +- .../crates/BUILD.same-file-1.0.6.bazel | 2 +- .../crates/BUILD.scopeguard-1.2.0.bazel | 2 +- .../3rdparty/crates/BUILD.semver-1.0.23.bazel | 2 +- .../3rdparty/crates/BUILD.serde-1.0.210.bazel | 2 +- .../crates/BUILD.serde_derive-1.0.210.bazel | 2 +- .../crates/BUILD.serde_json-1.0.129.bazel | 2 +- .../crates/BUILD.serde_spanned-0.6.8.bazel | 2 +- .../crates/BUILD.serde_starlark-0.1.16.bazel | 2 +- .../crates/BUILD.sha1_smol-1.0.0.bazel | 2 +- .../3rdparty/crates/BUILD.sha2-0.10.8.bazel | 2 +- .../crates/BUILD.sharded-slab-0.1.7.bazel | 2 +- .../crates/BUILD.shell-words-1.1.0.bazel | 2 +- .../crates/BUILD.smallvec-1.11.0.bazel | 2 +- .../3rdparty/crates/BUILD.smawk-0.3.1.bazel | 2 +- .../crates/BUILD.smol_str-0.2.0.bazel | 2 +- .../3rdparty/crates/BUILD.spdx-0.10.6.bazel | 2 +- .../BUILD.static_assertions-1.1.0.bazel | 2 +- .../3rdparty/crates/BUILD.strsim-0.10.0.bazel | 2 +- .../3rdparty/crates/BUILD.syn-1.0.109.bazel | 2 +- .../3rdparty/crates/BUILD.syn-2.0.79.bazel | 2 +- .../crates/BUILD.tempfile-3.13.0.bazel | 2 +- .../3rdparty/crates/BUILD.tera-1.19.1.bazel | 2 +- .../crates/BUILD.textwrap-0.16.1.bazel | 2 +- .../crates/BUILD.thiserror-1.0.50.bazel | 2 +- .../crates/BUILD.thiserror-impl-1.0.50.bazel | 2 +- .../crates/BUILD.thread_local-1.1.4.bazel | 2 +- .../3rdparty/crates/BUILD.tinyvec-1.6.0.bazel | 2 +- .../crates/BUILD.tinyvec_macros-0.1.1.bazel | 2 +- .../3rdparty/crates/BUILD.toml-0.8.19.bazel | 2 +- .../crates/BUILD.toml_datetime-0.6.8.bazel | 2 +- .../crates/BUILD.toml_edit-0.22.22.bazel | 2 +- .../crates/BUILD.tracing-0.1.40.bazel | 2 +- .../BUILD.tracing-attributes-0.1.27.bazel | 2 +- .../crates/BUILD.tracing-core-0.1.32.bazel | 2 +- .../crates/BUILD.tracing-log-0.2.0.bazel | 2 +- .../BUILD.tracing-subscriber-0.3.18.bazel | 2 +- .../crates/BUILD.typenum-1.16.0.bazel | 2 +- .../crates/BUILD.ucd-trie-0.1.6.bazel | 2 +- .../3rdparty/crates/BUILD.uluru-3.0.0.bazel | 2 +- .../BUILD.unic-char-property-0.9.0.bazel | 2 +- .../crates/BUILD.unic-char-range-0.9.0.bazel | 2 +- .../crates/BUILD.unic-common-0.9.0.bazel | 2 +- .../crates/BUILD.unic-segment-0.9.0.bazel | 2 +- .../crates/BUILD.unic-ucd-segment-0.9.0.bazel | 2 +- .../crates/BUILD.unic-ucd-version-0.9.0.bazel | 2 +- .../crates/BUILD.unicode-bidi-0.3.13.bazel | 2 +- .../crates/BUILD.unicode-bom-2.0.2.bazel | 2 +- .../crates/BUILD.unicode-ident-1.0.10.bazel | 2 +- .../BUILD.unicode-linebreak-0.1.5.bazel | 2 +- .../BUILD.unicode-normalization-0.1.22.bazel | 2 +- .../crates/BUILD.unicode-width-0.1.10.bazel | 2 +- .../3rdparty/crates/BUILD.url-2.5.2.bazel | 2 +- .../crates/BUILD.utf8parse-0.2.1.bazel | 2 +- .../crates/BUILD.valuable-0.1.0.bazel | 2 +- .../crates/BUILD.version_check-0.9.4.bazel | 2 +- .../3rdparty/crates/BUILD.walkdir-2.3.3.bazel | 2 +- .../3rdparty/crates/BUILD.winapi-0.3.9.bazel | 2 +- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 2 +- .../crates/BUILD.winapi-util-0.1.5.bazel | 2 +- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 2 +- .../crates/BUILD.windows-sys-0.48.0.bazel | 2 +- .../crates/BUILD.windows-sys-0.52.0.bazel | 2 +- .../crates/BUILD.windows-sys-0.59.0.bazel | 2 +- .../crates/BUILD.windows-targets-0.48.1.bazel | 2 +- .../crates/BUILD.windows-targets-0.52.6.bazel | 2 +- ...BUILD.windows_aarch64_gnullvm-0.48.0.bazel | 2 +- ...BUILD.windows_aarch64_gnullvm-0.52.6.bazel | 2 +- .../BUILD.windows_aarch64_msvc-0.48.0.bazel | 2 +- .../BUILD.windows_aarch64_msvc-0.52.6.bazel | 2 +- .../BUILD.windows_i686_gnu-0.48.0.bazel | 2 +- .../BUILD.windows_i686_gnu-0.52.6.bazel | 2 +- .../BUILD.windows_i686_gnullvm-0.52.6.bazel | 2 +- .../BUILD.windows_i686_msvc-0.48.0.bazel | 2 +- .../BUILD.windows_i686_msvc-0.52.6.bazel | 2 +- .../BUILD.windows_x86_64_gnu-0.48.0.bazel | 2 +- .../BUILD.windows_x86_64_gnu-0.52.6.bazel | 2 +- .../BUILD.windows_x86_64_gnullvm-0.48.0.bazel | 2 +- .../BUILD.windows_x86_64_gnullvm-0.52.6.bazel | 2 +- .../BUILD.windows_x86_64_msvc-0.48.0.bazel | 2 +- .../BUILD.windows_x86_64_msvc-0.52.6.bazel | 2 +- .../3rdparty/crates/BUILD.winnow-0.6.20.bazel | 2 +- .../crates/BUILD.zerocopy-0.7.35.bazel | 2 +- .../crates/BUILD.zerocopy-derive-0.7.35.bazel | 2 +- crate_universe/3rdparty/crates/crates.bzl | 8 +- crate_universe/3rdparty/crates/defs.bzl | 474 +++++++++--------- crate_universe/extensions.bzl | 37 ++ crate_universe/private/crates_repository.bzl | 16 + crate_universe/private/crates_vendor.bzl | 3 +- crate_universe/private/generate_utils.bzl | 16 + crate_universe/private/local_crate_mirror.bzl | 64 +++ crate_universe/private/srcs.bzl | 1 + crate_universe/src/cli.rs | 8 +- crate_universe/src/cli/generate.rs | 112 ++++- crate_universe/src/cli/render.rs | 55 ++ crate_universe/src/cli/vendor.rs | 22 +- crate_universe/src/context.rs | 33 +- crate_universe/src/context/crate_context.rs | 8 + crate_universe/src/lockfile.rs | 8 +- crate_universe/src/main.rs | 4 + .../src/metadata/metadata_annotation.rs | 114 ++++- crate_universe/src/rendering.rs | 166 ++++-- .../src/rendering/template_engine.rs | 54 +- .../src/rendering/templates/module_bzl.j2 | 12 + examples/.bazelignore | 1 + examples/bzlmod/hello_world/MODULE.bazel.lock | 2 +- ...zel-lock_global_alias_annotation_none.json | 5 +- ...azel-lock_global_alias_annotation_opt.json | 5 +- ...el-lock_global_custom_annotation_none.json | 5 +- ...-lock_global_dbg_annotation_fastbuild.json | 5 +- ...azel-lock_global_opt_annotation_alias.json | 5 +- ...-bazel-lock_global_opt_annotation_dbg.json | 5 +- ...bazel-lock_global_opt_annotation_none.json | 5 +- .../cargo_aliases/cargo-bazel-lock.json | 5 +- .../cargo-bazel-lock.json | 5 +- .../cargo_workspace/cargo-bazel-lock.json | 5 +- .../cargo-bazel-lock.json | 5 +- .../multi_package/cargo-bazel-lock.json | 5 +- .../no_cargo_manifests/cargo-bazel-lock.json | 5 +- .../override_target/cargo-bazel-lock.json | 5 +- .../using_cxx/cargo-bazel-lock.json | 5 +- .../using_cxx/cxxbridge-cmd.Cargo.Bazel.lock | 5 +- .../vendor_local_manifests/crates/BUILD.bazel | 2 +- .../vendor_local_manifests/crates/defs.bzl | 2 +- .../BUILD.bazel | 2 +- .../crates/tokio-stream-0.1.16/BUILD.bazel | 2 +- .../crates/tokio-test-0.4.4/BUILD.bazel | 2 +- .../vendor_local_pkgs/crates/BUILD.bazel | 2 +- .../crates/axum-0.4.8/BUILD.bazel | 2 +- .../vendor_local_pkgs/crates/defs.bzl | 2 +- .../crates/h2-0.3.26/BUILD.bazel | 6 +- .../crates/hyper-0.14.31/BUILD.bazel | 2 +- .../BUILD.bazel | 2 +- .../BUILD.bazel | 2 +- .../BUILD.bazel | 4 +- .../crates/tower-0.4.13/BUILD.bazel | 4 +- .../crates/BUILD.bazel | 2 +- ...-1.41.1.bazel => BUILD.tokio-1.42.0.bazel} | 2 +- .../crates/BUILD.tokio-stream-0.1.16.bazel | 2 +- .../crates/BUILD.tokio-test-0.4.4.bazel | 2 +- .../vendor_remote_manifests/crates/defs.bzl | 14 +- .../crates/BUILD.axum-0.4.8.bazel | 2 +- .../vendor_remote_pkgs/crates/BUILD.bazel | 2 +- .../crates/BUILD.h2-0.3.26.bazel | 6 +- .../crates/BUILD.hyper-0.14.31.bazel | 2 +- ...2.6.0.bazel => BUILD.indexmap-2.7.0.bazel} | 2 +- ...-1.41.1.bazel => BUILD.tokio-1.42.0.bazel} | 2 +- ...12.bazel => BUILD.tokio-util-0.7.13.bazel} | 4 +- .../crates/BUILD.tower-0.4.13.bazel | 4 +- .../vendor_remote_pkgs/crates/defs.bzl | 34 +- examples/crate_universe_local_path/.gitignore | 1 + .../crate_universe_local_path/BUILD.bazel | 12 + .../crate_universe_local_path/MODULE.bazel | 27 + examples/crate_universe_local_path/README.md | 11 + .../crate_universe_local_path/WORKSPACE.bazel | 31 ++ .../crates_from_workspace/BUILD.bazel | 15 + .../crates_from_workspace/Cargo.lock | 16 + .../crates_from_workspace/Cargo.toml | 18 + .../crates_from_workspace/test.rs | 19 + .../.github/workflows/rust.yml | 60 +++ .../lazy_static_1.5.0_copy/.gitignore | 5 + .../lazy_static_1.5.0_copy/Cargo.toml | 28 ++ .../lazy_static_1.5.0_copy/LICENSE-APACHE | 201 ++++++++ .../lazy_static_1.5.0_copy/LICENSE-MIT | 25 + .../lazy_static_1.5.0_copy/README.md | 105 ++++ .../examples/mutex_map.rs | 23 + .../lazy_static_1.5.0_copy/src/core_lazy.rs | 32 ++ .../lazy_static_1.5.0_copy/src/inline_lazy.rs | 48 ++ .../lazy_static_1.5.0_copy/src/lib.rs | 208 ++++++++ .../incorrect_visibility_restriction.rs | 8 + .../incorrect_visibility_restriction.stderr | 10 + .../tests/compile_fail/static_is_private.rs | 14 + .../compile_fail/static_is_private.stderr | 14 + .../tests/compile_fail/static_is_sized.rs | 9 + .../tests/compile_fail/static_is_sized.stderr | 64 +++ .../lazy_static_1.5.0_copy/tests/no_std.rs | 19 + .../lazy_static_1.5.0_copy/tests/test.rs | 185 +++++++ .../lazy_static_1.5.0_copy/tests/ui.rs | 6 + .../vendor_lazy_static.sh | 28 ++ .../Cargo.Bazel.lock.json | 5 +- .../bazel/cargo/cargo-bazel-lock.json | 5 +- test/3rdparty/crates/BUILD.bazel | 2 +- test/3rdparty/crates/BUILD.itoa-1.0.14.bazel | 2 +- test/3rdparty/crates/BUILD.memchr-2.7.4.bazel | 2 +- .../crates/BUILD.proc-macro2-1.0.92.bazel | 2 +- test/3rdparty/crates/BUILD.quote-1.0.37.bazel | 2 +- test/3rdparty/crates/BUILD.ryu-1.0.18.bazel | 2 +- .../3rdparty/crates/BUILD.serde-1.0.215.bazel | 2 +- .../crates/BUILD.serde_derive-1.0.215.bazel | 2 +- .../crates/BUILD.serde_json-1.0.133.bazel | 2 +- test/3rdparty/crates/BUILD.syn-2.0.90.bazel | 2 +- .../crates/BUILD.unicode-ident-1.0.14.bazel | 2 +- test/3rdparty/crates/crates.bzl | 6 +- test/3rdparty/crates/defs.bzl | 22 +- test/no_std/cargo-bazel-lock.json | 5 +- .../crates/BUILD.aho-corasick-1.0.2.bazel | 2 +- .../crates/BUILD.anstream-0.3.2.bazel | 2 +- .../3rdparty/crates/BUILD.anstyle-1.0.1.bazel | 2 +- .../crates/BUILD.anstyle-parse-0.2.1.bazel | 2 +- .../crates/BUILD.anstyle-query-1.0.0.bazel | 2 +- .../crates/BUILD.anstyle-wincon-1.0.1.bazel | 2 +- .../3rdparty/crates/BUILD.anyhow-1.0.71.bazel | 2 +- .../rust_analyzer/3rdparty/crates/BUILD.bazel | 2 +- .../crates/BUILD.bitflags-1.3.2.bazel | 2 +- .../3rdparty/crates/BUILD.cc-1.0.79.bazel | 2 +- .../3rdparty/crates/BUILD.clap-4.3.11.bazel | 2 +- .../crates/BUILD.clap_builder-4.3.11.bazel | 2 +- .../crates/BUILD.clap_derive-4.3.2.bazel | 2 +- .../crates/BUILD.clap_lex-0.5.0.bazel | 2 +- .../crates/BUILD.colorchoice-1.0.0.bazel | 2 +- .../3rdparty/crates/BUILD.either-1.8.1.bazel | 2 +- .../crates/BUILD.env_logger-0.10.0.bazel | 2 +- .../3rdparty/crates/BUILD.errno-0.3.1.bazel | 2 +- .../crates/BUILD.errno-dragonfly-0.1.2.bazel | 2 +- .../3rdparty/crates/BUILD.heck-0.4.1.bazel | 2 +- .../crates/BUILD.hermit-abi-0.3.2.bazel | 2 +- .../crates/BUILD.humantime-2.1.0.bazel | 2 +- .../crates/BUILD.io-lifetimes-1.0.11.bazel | 2 +- .../crates/BUILD.is-terminal-0.4.7.bazel | 2 +- .../crates/BUILD.itertools-0.11.0.bazel | 2 +- .../3rdparty/crates/BUILD.itoa-1.0.8.bazel | 2 +- .../3rdparty/crates/BUILD.libc-0.2.147.bazel | 2 +- .../crates/BUILD.linux-raw-sys-0.3.8.bazel | 2 +- .../3rdparty/crates/BUILD.log-0.4.19.bazel | 2 +- .../3rdparty/crates/BUILD.memchr-2.5.0.bazel | 2 +- .../crates/BUILD.once_cell-1.18.0.bazel | 2 +- .../crates/BUILD.proc-macro2-1.0.64.bazel | 2 +- .../3rdparty/crates/BUILD.quote-1.0.29.bazel | 2 +- .../3rdparty/crates/BUILD.regex-1.9.1.bazel | 2 +- .../crates/BUILD.regex-automata-0.3.3.bazel | 2 +- .../crates/BUILD.regex-syntax-0.7.4.bazel | 2 +- .../crates/BUILD.rustix-0.37.23.bazel | 2 +- .../3rdparty/crates/BUILD.ryu-1.0.14.bazel | 2 +- .../3rdparty/crates/BUILD.serde-1.0.171.bazel | 2 +- .../crates/BUILD.serde_derive-1.0.171.bazel | 2 +- .../crates/BUILD.serde_json-1.0.102.bazel | 2 +- .../3rdparty/crates/BUILD.strsim-0.10.0.bazel | 2 +- .../3rdparty/crates/BUILD.syn-2.0.25.bazel | 2 +- .../crates/BUILD.termcolor-1.2.0.bazel | 2 +- .../crates/BUILD.unicode-ident-1.0.10.bazel | 2 +- .../crates/BUILD.utf8parse-0.2.1.bazel | 2 +- .../3rdparty/crates/BUILD.winapi-0.3.9.bazel | 2 +- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 2 +- .../crates/BUILD.winapi-util-0.1.5.bazel | 2 +- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 2 +- .../crates/BUILD.windows-sys-0.48.0.bazel | 2 +- .../crates/BUILD.windows-targets-0.48.1.bazel | 2 +- ...BUILD.windows_aarch64_gnullvm-0.48.0.bazel | 2 +- .../BUILD.windows_aarch64_msvc-0.48.0.bazel | 2 +- .../BUILD.windows_i686_gnu-0.48.0.bazel | 2 +- .../BUILD.windows_i686_msvc-0.48.0.bazel | 2 +- .../BUILD.windows_x86_64_gnu-0.48.0.bazel | 2 +- .../BUILD.windows_x86_64_gnullvm-0.48.0.bazel | 2 +- .../BUILD.windows_x86_64_msvc-0.48.0.bazel | 2 +- .../rust_analyzer/3rdparty/crates/crates.bzl | 6 +- tools/rust_analyzer/3rdparty/crates/defs.bzl | 118 ++--- 410 files changed, 2635 insertions(+), 818 deletions(-) create mode 100644 crate_universe/private/local_crate_mirror.bzl create mode 100644 crate_universe/src/cli/render.rs rename examples/crate_universe/vendor_local_manifests/crates/{tokio-1.41.1 => tokio-1.42.0}/BUILD.bazel (99%) rename examples/crate_universe/vendor_local_pkgs/crates/{indexmap-2.6.0 => indexmap-2.7.0}/BUILD.bazel (99%) rename examples/crate_universe/vendor_local_pkgs/crates/{tokio-1.41.1 => tokio-1.42.0}/BUILD.bazel (99%) rename examples/crate_universe/vendor_local_pkgs/crates/{tokio-util-0.7.12 => tokio-util-0.7.13}/BUILD.bazel (97%) rename examples/crate_universe/vendor_remote_manifests/crates/{BUILD.tokio-1.41.1.bazel => BUILD.tokio-1.42.0.bazel} (99%) rename examples/crate_universe/vendor_remote_pkgs/crates/{BUILD.indexmap-2.6.0.bazel => BUILD.indexmap-2.7.0.bazel} (99%) rename examples/crate_universe/vendor_remote_pkgs/crates/{BUILD.tokio-1.41.1.bazel => BUILD.tokio-1.42.0.bazel} (99%) rename examples/crate_universe/vendor_remote_pkgs/crates/{BUILD.tokio-util-0.7.12.bazel => BUILD.tokio-util-0.7.13.bazel} (98%) create mode 100644 examples/crate_universe_local_path/.gitignore create mode 100644 examples/crate_universe_local_path/BUILD.bazel create mode 100644 examples/crate_universe_local_path/MODULE.bazel create mode 100644 examples/crate_universe_local_path/README.md create mode 100644 examples/crate_universe_local_path/WORKSPACE.bazel create mode 100644 examples/crate_universe_local_path/crates_from_workspace/BUILD.bazel create mode 100644 examples/crate_universe_local_path/crates_from_workspace/Cargo.lock create mode 100644 examples/crate_universe_local_path/crates_from_workspace/Cargo.toml create mode 100644 examples/crate_universe_local_path/crates_from_workspace/test.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/.github/workflows/rust.yml create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/.gitignore create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/Cargo.toml create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/LICENSE-APACHE create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/LICENSE-MIT create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/README.md create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/examples/mutex_map.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/src/core_lazy.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/src/inline_lazy.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/src/lib.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/compile_fail/incorrect_visibility_restriction.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/compile_fail/incorrect_visibility_restriction.stderr create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/compile_fail/static_is_private.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/compile_fail/static_is_private.stderr create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/compile_fail/static_is_sized.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/compile_fail/static_is_sized.stderr create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/no_std.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/test.rs create mode 100644 examples/crate_universe_local_path/lazy_static_1.5.0_copy/tests/ui.rs create mode 100755 examples/crate_universe_local_path/vendor_lazy_static.sh diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index aecde57d75..6d4bfb4177 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -533,6 +533,22 @@ tasks: test_targets: - "//..." build_flags: *aspects_flags + crate_universe_local_path_external: + name: Crate Universe Local Path External + platform: ubuntu2004 + working_directory: examples/crate_universe_local_path + run_targets: + - "//:vendor_lazy_static_out_of_tree" + test_targets: + - "//..." + crate_universe_local_path_in_tree: + name: Crate Universe Local Path In Tree + platform: ubuntu2004 + working_directory: examples/crate_universe_local_path + run_targets: + - "//:vendor_lazy_static_in_tree" + test_targets: + - "//..." # See https://github.com/bazelbuild/rules_rust/issues/2186 about re-enabling these. # crate_universe_examples_windows: # name: Crate Universe Examples diff --git a/crate_universe/3rdparty/crates/BUILD.adler-1.0.2.bazel b/crate_universe/3rdparty/crates/BUILD.adler-1.0.2.bazel index 8242d7c637..7686047795 100644 --- a/crate_universe/3rdparty/crates/BUILD.adler-1.0.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.adler-1.0.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.ahash-0.8.11.bazel b/crate_universe/3rdparty/crates/BUILD.ahash-0.8.11.bazel index 89d0ba432f..2b099d0de1 100644 --- a/crate_universe/3rdparty/crates/BUILD.ahash-0.8.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.ahash-0.8.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.aho-corasick-1.0.2.bazel b/crate_universe/3rdparty/crates/BUILD.aho-corasick-1.0.2.bazel index 0dee63dc36..bbbf3933a4 100644 --- a/crate_universe/3rdparty/crates/BUILD.aho-corasick-1.0.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.aho-corasick-1.0.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.allocator-api2-0.2.18.bazel b/crate_universe/3rdparty/crates/BUILD.allocator-api2-0.2.18.bazel index c93854b57f..2c4c7a883d 100644 --- a/crate_universe/3rdparty/crates/BUILD.allocator-api2-0.2.18.bazel +++ b/crate_universe/3rdparty/crates/BUILD.allocator-api2-0.2.18.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.anstream-0.3.2.bazel b/crate_universe/3rdparty/crates/BUILD.anstream-0.3.2.bazel index 981b87fd39..7f686b6de7 100644 --- a/crate_universe/3rdparty/crates/BUILD.anstream-0.3.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.anstream-0.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.anstyle-1.0.1.bazel b/crate_universe/3rdparty/crates/BUILD.anstyle-1.0.1.bazel index bd599e85ca..1643432a7a 100644 --- a/crate_universe/3rdparty/crates/BUILD.anstyle-1.0.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.anstyle-1.0.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.anstyle-parse-0.2.1.bazel b/crate_universe/3rdparty/crates/BUILD.anstyle-parse-0.2.1.bazel index 2f1dd99fa5..2324d44b0b 100644 --- a/crate_universe/3rdparty/crates/BUILD.anstyle-parse-0.2.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.anstyle-parse-0.2.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.anstyle-query-1.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.anstyle-query-1.0.0.bazel index 88928d2eea..435ee43b2f 100644 --- a/crate_universe/3rdparty/crates/BUILD.anstyle-query-1.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.anstyle-query-1.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.anstyle-wincon-1.0.1.bazel b/crate_universe/3rdparty/crates/BUILD.anstyle-wincon-1.0.1.bazel index 9af64ca671..a32718394a 100644 --- a/crate_universe/3rdparty/crates/BUILD.anstyle-wincon-1.0.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.anstyle-wincon-1.0.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.anyhow-1.0.89.bazel b/crate_universe/3rdparty/crates/BUILD.anyhow-1.0.89.bazel index d4a734fb86..d8bc157155 100644 --- a/crate_universe/3rdparty/crates/BUILD.anyhow-1.0.89.bazel +++ b/crate_universe/3rdparty/crates/BUILD.anyhow-1.0.89.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.arc-swap-1.6.0.bazel b/crate_universe/3rdparty/crates/BUILD.arc-swap-1.6.0.bazel index 09204dd055..e0a6bf1ead 100644 --- a/crate_universe/3rdparty/crates/BUILD.arc-swap-1.6.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.arc-swap-1.6.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.arrayvec-0.7.4.bazel b/crate_universe/3rdparty/crates/BUILD.arrayvec-0.7.4.bazel index c0c7f91cb1..8f0a538cbb 100644 --- a/crate_universe/3rdparty/crates/BUILD.arrayvec-0.7.4.bazel +++ b/crate_universe/3rdparty/crates/BUILD.arrayvec-0.7.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/crate_universe/3rdparty/crates/BUILD.autocfg-1.1.0.bazel index 96d176b6b9..7bfac18faf 100644 --- a/crate_universe/3rdparty/crates/BUILD.autocfg-1.1.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.autocfg-1.1.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.bazel b/crate_universe/3rdparty/crates/BUILD.bazel index c574328c0c..0979fe1a52 100644 --- a/crate_universe/3rdparty/crates/BUILD.bazel +++ b/crate_universe/3rdparty/crates/BUILD.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### package(default_visibility = ["//visibility:public"]) diff --git a/crate_universe/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/crate_universe/3rdparty/crates/BUILD.bitflags-1.3.2.bazel index 09fb2eaf73..57905203b1 100644 --- a/crate_universe/3rdparty/crates/BUILD.bitflags-1.3.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.bitflags-1.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.bitflags-2.4.1.bazel b/crate_universe/3rdparty/crates/BUILD.bitflags-2.4.1.bazel index 51b7cc8237..e9d5292535 100644 --- a/crate_universe/3rdparty/crates/BUILD.bitflags-2.4.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.bitflags-2.4.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.block-buffer-0.10.4.bazel b/crate_universe/3rdparty/crates/BUILD.block-buffer-0.10.4.bazel index ed052f6daa..b832e156e8 100644 --- a/crate_universe/3rdparty/crates/BUILD.block-buffer-0.10.4.bazel +++ b/crate_universe/3rdparty/crates/BUILD.block-buffer-0.10.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.bstr-1.6.0.bazel b/crate_universe/3rdparty/crates/BUILD.bstr-1.6.0.bazel index 874f461ccd..9ef8a19f94 100644 --- a/crate_universe/3rdparty/crates/BUILD.bstr-1.6.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.bstr-1.6.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.camino-1.1.9.bazel b/crate_universe/3rdparty/crates/BUILD.camino-1.1.9.bazel index a3c96286ab..4f2cd06272 100644 --- a/crate_universe/3rdparty/crates/BUILD.camino-1.1.9.bazel +++ b/crate_universe/3rdparty/crates/BUILD.camino-1.1.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.cargo-lock-10.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.cargo-lock-10.0.0.bazel index e050647965..4e39f1523a 100644 --- a/crate_universe/3rdparty/crates/BUILD.cargo-lock-10.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.cargo-lock-10.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.cargo-platform-0.1.7.bazel b/crate_universe/3rdparty/crates/BUILD.cargo-platform-0.1.7.bazel index b61ab3f0f0..c6ecb0b2e8 100644 --- a/crate_universe/3rdparty/crates/BUILD.cargo-platform-0.1.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.cargo-platform-0.1.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.cargo_metadata-0.18.1.bazel b/crate_universe/3rdparty/crates/BUILD.cargo_metadata-0.18.1.bazel index f0ebf6b6d1..f9a9ec9da4 100644 --- a/crate_universe/3rdparty/crates/BUILD.cargo_metadata-0.18.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.cargo_metadata-0.18.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.cargo_toml-0.20.5.bazel b/crate_universe/3rdparty/crates/BUILD.cargo_toml-0.20.5.bazel index 37d8a718e2..4d8bca00c6 100644 --- a/crate_universe/3rdparty/crates/BUILD.cargo_toml-0.20.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.cargo_toml-0.20.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.cfg-expr-0.17.0.bazel b/crate_universe/3rdparty/crates/BUILD.cfg-expr-0.17.0.bazel index 5549fa6836..201603981e 100644 --- a/crate_universe/3rdparty/crates/BUILD.cfg-expr-0.17.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.cfg-expr-0.17.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel index 5f227edb02..cf72f0e83a 100644 --- a/crate_universe/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.clap-4.3.11.bazel b/crate_universe/3rdparty/crates/BUILD.clap-4.3.11.bazel index b35e211c94..26fd0721d1 100644 --- a/crate_universe/3rdparty/crates/BUILD.clap-4.3.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.clap-4.3.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.clap_builder-4.3.11.bazel b/crate_universe/3rdparty/crates/BUILD.clap_builder-4.3.11.bazel index 2dc13e42ae..d961d062fe 100644 --- a/crate_universe/3rdparty/crates/BUILD.clap_builder-4.3.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.clap_builder-4.3.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.clap_derive-4.3.2.bazel b/crate_universe/3rdparty/crates/BUILD.clap_derive-4.3.2.bazel index 9b5b43c139..bc4c6805e3 100644 --- a/crate_universe/3rdparty/crates/BUILD.clap_derive-4.3.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.clap_derive-4.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/BUILD.clap_lex-0.5.0.bazel b/crate_universe/3rdparty/crates/BUILD.clap_lex-0.5.0.bazel index 6e37ee30c6..fa0b32e1ab 100644 --- a/crate_universe/3rdparty/crates/BUILD.clap_lex-0.5.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.clap_lex-0.5.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.clru-0.6.1.bazel b/crate_universe/3rdparty/crates/BUILD.clru-0.6.1.bazel index 8b429dc63a..80cc4b3c09 100644 --- a/crate_universe/3rdparty/crates/BUILD.clru-0.6.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.clru-0.6.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel index f21bd6fdf6..3e959ed86e 100644 --- a/crate_universe/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.cpufeatures-0.2.9.bazel b/crate_universe/3rdparty/crates/BUILD.cpufeatures-0.2.9.bazel index f19944dca9..45e13bf6b9 100644 --- a/crate_universe/3rdparty/crates/BUILD.cpufeatures-0.2.9.bazel +++ b/crate_universe/3rdparty/crates/BUILD.cpufeatures-0.2.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.crates-index-3.2.0.bazel b/crate_universe/3rdparty/crates/BUILD.crates-index-3.2.0.bazel index 9030bfbf99..72fdaf30a1 100644 --- a/crate_universe/3rdparty/crates/BUILD.crates-index-3.2.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.crates-index-3.2.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.crc32fast-1.3.2.bazel b/crate_universe/3rdparty/crates/BUILD.crc32fast-1.3.2.bazel index a860561f82..b13c7fcc0a 100644 --- a/crate_universe/3rdparty/crates/BUILD.crc32fast-1.3.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.crc32fast-1.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.crossbeam-channel-0.5.8.bazel b/crate_universe/3rdparty/crates/BUILD.crossbeam-channel-0.5.8.bazel index 4dfe902095..54a08fe969 100644 --- a/crate_universe/3rdparty/crates/BUILD.crossbeam-channel-0.5.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.crossbeam-channel-0.5.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.crossbeam-utils-0.8.16.bazel b/crate_universe/3rdparty/crates/BUILD.crossbeam-utils-0.8.16.bazel index 2900703f5f..200e04043a 100644 --- a/crate_universe/3rdparty/crates/BUILD.crossbeam-utils-0.8.16.bazel +++ b/crate_universe/3rdparty/crates/BUILD.crossbeam-utils-0.8.16.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.crypto-common-0.1.6.bazel b/crate_universe/3rdparty/crates/BUILD.crypto-common-0.1.6.bazel index 24f4433ff4..1169398bd6 100644 --- a/crate_universe/3rdparty/crates/BUILD.crypto-common-0.1.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.crypto-common-0.1.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.digest-0.10.7.bazel b/crate_universe/3rdparty/crates/BUILD.digest-0.10.7.bazel index 52a3b543b3..163960edf9 100644 --- a/crate_universe/3rdparty/crates/BUILD.digest-0.10.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.digest-0.10.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.dunce-1.0.4.bazel b/crate_universe/3rdparty/crates/BUILD.dunce-1.0.4.bazel index fe13191d2e..0b56b36a23 100644 --- a/crate_universe/3rdparty/crates/BUILD.dunce-1.0.4.bazel +++ b/crate_universe/3rdparty/crates/BUILD.dunce-1.0.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.either-1.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.either-1.9.0.bazel index 77c4e4f9b6..b33c7cb490 100644 --- a/crate_universe/3rdparty/crates/BUILD.either-1.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.either-1.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.encoding_rs-0.8.33.bazel b/crate_universe/3rdparty/crates/BUILD.encoding_rs-0.8.33.bazel index f7c66307f3..abacec4337 100644 --- a/crate_universe/3rdparty/crates/BUILD.encoding_rs-0.8.33.bazel +++ b/crate_universe/3rdparty/crates/BUILD.encoding_rs-0.8.33.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.equivalent-1.0.1.bazel b/crate_universe/3rdparty/crates/BUILD.equivalent-1.0.1.bazel index 03cdeb97bc..b7df4f61cc 100644 --- a/crate_universe/3rdparty/crates/BUILD.equivalent-1.0.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.equivalent-1.0.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.errno-0.3.9.bazel b/crate_universe/3rdparty/crates/BUILD.errno-0.3.9.bazel index 2537e032c5..49b21b7ebe 100644 --- a/crate_universe/3rdparty/crates/BUILD.errno-0.3.9.bazel +++ b/crate_universe/3rdparty/crates/BUILD.errno-0.3.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.faster-hex-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.faster-hex-0.9.0.bazel index d1af07df90..61be5d37e1 100644 --- a/crate_universe/3rdparty/crates/BUILD.faster-hex-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.faster-hex-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.fastrand-2.1.1.bazel b/crate_universe/3rdparty/crates/BUILD.fastrand-2.1.1.bazel index 8e043d0ef0..3de0dec0f4 100644 --- a/crate_universe/3rdparty/crates/BUILD.fastrand-2.1.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.fastrand-2.1.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.filetime-0.2.22.bazel b/crate_universe/3rdparty/crates/BUILD.filetime-0.2.22.bazel index d8b1a23d4f..2ddfa2e95d 100644 --- a/crate_universe/3rdparty/crates/BUILD.filetime-0.2.22.bazel +++ b/crate_universe/3rdparty/crates/BUILD.filetime-0.2.22.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.flate2-1.0.28.bazel b/crate_universe/3rdparty/crates/BUILD.flate2-1.0.28.bazel index 25469c1b6f..2f96851a2b 100644 --- a/crate_universe/3rdparty/crates/BUILD.flate2-1.0.28.bazel +++ b/crate_universe/3rdparty/crates/BUILD.flate2-1.0.28.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.fnv-1.0.7.bazel b/crate_universe/3rdparty/crates/BUILD.fnv-1.0.7.bazel index 645b2127fd..823fdf275e 100644 --- a/crate_universe/3rdparty/crates/BUILD.fnv-1.0.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.fnv-1.0.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.form_urlencoded-1.2.1.bazel b/crate_universe/3rdparty/crates/BUILD.form_urlencoded-1.2.1.bazel index 39e15bfaec..ea60d5b9cf 100644 --- a/crate_universe/3rdparty/crates/BUILD.form_urlencoded-1.2.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.form_urlencoded-1.2.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.generic-array-0.14.7.bazel b/crate_universe/3rdparty/crates/BUILD.generic-array-0.14.7.bazel index 9d112ab8dc..4ddf5ca658 100644 --- a/crate_universe/3rdparty/crates/BUILD.generic-array-0.14.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.generic-array-0.14.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-0.66.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-0.66.0.bazel index 498192d1b5..97f4f7ff9a 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-0.66.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-0.66.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-actor-0.32.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-actor-0.32.0.bazel index d41d8ee08b..ab13db2cbd 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-actor-0.32.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-actor-0.32.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-attributes-0.22.5.bazel b/crate_universe/3rdparty/crates/BUILD.gix-attributes-0.22.5.bazel index a352be62a2..856b01dc44 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-attributes-0.22.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-attributes-0.22.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-bitmap-0.2.11.bazel b/crate_universe/3rdparty/crates/BUILD.gix-bitmap-0.2.11.bazel index 0f46ccc5ae..c0df828f2b 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-bitmap-0.2.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-bitmap-0.2.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-chunk-0.4.8.bazel b/crate_universe/3rdparty/crates/BUILD.gix-chunk-0.4.8.bazel index b45b844a34..62a0af0f47 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-chunk-0.4.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-chunk-0.4.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-command-0.3.9.bazel b/crate_universe/3rdparty/crates/BUILD.gix-command-0.3.9.bazel index 4a3e75586a..885a0d4324 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-command-0.3.9.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-command-0.3.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-commitgraph-0.24.3.bazel b/crate_universe/3rdparty/crates/BUILD.gix-commitgraph-0.24.3.bazel index 49b81cab97..64da5f1aa9 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-commitgraph-0.24.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-commitgraph-0.24.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-config-0.40.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-config-0.40.0.bazel index cea56b1d67..876c99252c 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-config-0.40.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-config-0.40.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-config-value-0.14.8.bazel b/crate_universe/3rdparty/crates/BUILD.gix-config-value-0.14.8.bazel index 7d3660de9d..5d10f8bb52 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-config-value-0.14.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-config-value-0.14.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-credentials-0.24.5.bazel b/crate_universe/3rdparty/crates/BUILD.gix-credentials-0.24.5.bazel index 25efb18514..3fa3c1db3b 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-credentials-0.24.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-credentials-0.24.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-date-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-date-0.9.0.bazel index 4de41abaaf..b2335c2557 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-date-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-date-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-diff-0.46.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-diff-0.46.0.bazel index 77e75be8ec..52eeb3e97c 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-diff-0.46.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-diff-0.46.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-discover-0.35.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-discover-0.35.0.bazel index e71db2978e..74ba0d6671 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-discover-0.35.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-discover-0.35.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-features-0.38.2.bazel b/crate_universe/3rdparty/crates/BUILD.gix-features-0.38.2.bazel index c12df95deb..06e1d4f828 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-features-0.38.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-features-0.38.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-filter-0.13.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-filter-0.13.0.bazel index 11e7188765..ee9e6750a2 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-filter-0.13.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-filter-0.13.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-fs-0.11.3.bazel b/crate_universe/3rdparty/crates/BUILD.gix-fs-0.11.3.bazel index a108a9a692..a164fb9ed0 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-fs-0.11.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-fs-0.11.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-glob-0.16.5.bazel b/crate_universe/3rdparty/crates/BUILD.gix-glob-0.16.5.bazel index bf8a36f2f9..cd23156615 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-glob-0.16.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-glob-0.16.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-hash-0.14.2.bazel b/crate_universe/3rdparty/crates/BUILD.gix-hash-0.14.2.bazel index c74134bf68..9850c63437 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-hash-0.14.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-hash-0.14.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-hashtable-0.5.2.bazel b/crate_universe/3rdparty/crates/BUILD.gix-hashtable-0.5.2.bazel index d8be0346e1..1319f165e7 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-hashtable-0.5.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-hashtable-0.5.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-ignore-0.11.4.bazel b/crate_universe/3rdparty/crates/BUILD.gix-ignore-0.11.4.bazel index d276aaabef..5a6d14518e 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-ignore-0.11.4.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-ignore-0.11.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-index-0.35.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-index-0.35.0.bazel index 90d0cb7f84..cad6f168ab 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-index-0.35.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-index-0.35.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-lock-14.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-lock-14.0.0.bazel index 1051685e8b..ec1664d330 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-lock-14.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-lock-14.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-negotiate-0.15.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-negotiate-0.15.0.bazel index c6eeb1e63e..78fb5b0ddf 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-negotiate-0.15.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-negotiate-0.15.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-object-0.44.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-object-0.44.0.bazel index 89d665e4e8..2bb2a6ed5b 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-object-0.44.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-object-0.44.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-odb-0.63.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-odb-0.63.0.bazel index 2f740c00c6..396b0f211e 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-odb-0.63.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-odb-0.63.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-pack-0.53.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-pack-0.53.0.bazel index 249283c11b..532852b4de 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-pack-0.53.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-pack-0.53.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-packetline-0.17.6.bazel b/crate_universe/3rdparty/crates/BUILD.gix-packetline-0.17.6.bazel index 1ac51c6b89..79ea443a16 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-packetline-0.17.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-packetline-0.17.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-packetline-blocking-0.17.5.bazel b/crate_universe/3rdparty/crates/BUILD.gix-packetline-blocking-0.17.5.bazel index 0c17e85232..9f2e358d0a 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-packetline-blocking-0.17.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-packetline-blocking-0.17.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-path-0.10.11.bazel b/crate_universe/3rdparty/crates/BUILD.gix-path-0.10.11.bazel index 9005c4b9cb..8a57f4fdf5 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-path-0.10.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-path-0.10.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-pathspec-0.7.7.bazel b/crate_universe/3rdparty/crates/BUILD.gix-pathspec-0.7.7.bazel index b997fadb1d..59d7a77d96 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-pathspec-0.7.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-pathspec-0.7.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-prompt-0.8.7.bazel b/crate_universe/3rdparty/crates/BUILD.gix-prompt-0.8.7.bazel index c81ca9dbe9..5f233be165 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-prompt-0.8.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-prompt-0.8.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-protocol-0.45.3.bazel b/crate_universe/3rdparty/crates/BUILD.gix-protocol-0.45.3.bazel index 6152967b8c..770736bbbe 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-protocol-0.45.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-protocol-0.45.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-quote-0.4.12.bazel b/crate_universe/3rdparty/crates/BUILD.gix-quote-0.4.12.bazel index 03db700b3b..e93b0d5262 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-quote-0.4.12.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-quote-0.4.12.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-ref-0.47.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-ref-0.47.0.bazel index 7827dcfc8b..1bf47aff89 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-ref-0.47.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-ref-0.47.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-refspec-0.25.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-refspec-0.25.0.bazel index 3f2218cc6f..0e623def74 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-refspec-0.25.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-refspec-0.25.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-revision-0.29.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-revision-0.29.0.bazel index 2b163d1430..845785b34b 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-revision-0.29.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-revision-0.29.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-revwalk-0.15.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-revwalk-0.15.0.bazel index 17d27006dd..b8ade4d23a 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-revwalk-0.15.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-revwalk-0.15.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-sec-0.10.8.bazel b/crate_universe/3rdparty/crates/BUILD.gix-sec-0.10.8.bazel index 35b0bd0cc1..ecce3e7469 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-sec-0.10.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-sec-0.10.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-submodule-0.14.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-submodule-0.14.0.bazel index 8c23f28ae9..87bc501269 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-submodule-0.14.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-submodule-0.14.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-tempfile-14.0.2.bazel b/crate_universe/3rdparty/crates/BUILD.gix-tempfile-14.0.2.bazel index 1e0c8d5827..56198ef09e 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-tempfile-14.0.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-tempfile-14.0.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-trace-0.1.10.bazel b/crate_universe/3rdparty/crates/BUILD.gix-trace-0.1.10.bazel index baedf66a67..6fbc6b49ac 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-trace-0.1.10.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-trace-0.1.10.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-transport-0.42.3.bazel b/crate_universe/3rdparty/crates/BUILD.gix-transport-0.42.3.bazel index 34afb3ba9d..a651a0e9b3 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-transport-0.42.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-transport-0.42.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-traverse-0.41.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-traverse-0.41.0.bazel index 2d833892a9..b0db56cdd0 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-traverse-0.41.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-traverse-0.41.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-url-0.27.5.bazel b/crate_universe/3rdparty/crates/BUILD.gix-url-0.27.5.bazel index 263a604ef0..06da7d1bdc 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-url-0.27.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-url-0.27.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-utils-0.1.12.bazel b/crate_universe/3rdparty/crates/BUILD.gix-utils-0.1.12.bazel index c70dc47541..da9034af87 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-utils-0.1.12.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-utils-0.1.12.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-validate-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-validate-0.9.0.bazel index a51306899c..3a16bfd812 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-validate-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-validate-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.gix-worktree-0.36.0.bazel b/crate_universe/3rdparty/crates/BUILD.gix-worktree-0.36.0.bazel index a77f6842b2..22bdd5aeee 100644 --- a/crate_universe/3rdparty/crates/BUILD.gix-worktree-0.36.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.gix-worktree-0.36.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.globset-0.4.11.bazel b/crate_universe/3rdparty/crates/BUILD.globset-0.4.11.bazel index 9dfc63d1c0..f7d4409caa 100644 --- a/crate_universe/3rdparty/crates/BUILD.globset-0.4.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.globset-0.4.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.globwalk-0.8.1.bazel b/crate_universe/3rdparty/crates/BUILD.globwalk-0.8.1.bazel index d845c1ebac..7a00110357 100644 --- a/crate_universe/3rdparty/crates/BUILD.globwalk-0.8.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.globwalk-0.8.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.hashbrown-0.14.3.bazel b/crate_universe/3rdparty/crates/BUILD.hashbrown-0.14.3.bazel index 042c7c4601..5128e57067 100644 --- a/crate_universe/3rdparty/crates/BUILD.hashbrown-0.14.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.hashbrown-0.14.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.hashbrown-0.15.0.bazel b/crate_universe/3rdparty/crates/BUILD.hashbrown-0.15.0.bazel index 6031b428c2..f984425929 100644 --- a/crate_universe/3rdparty/crates/BUILD.hashbrown-0.15.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.hashbrown-0.15.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.heck-0.4.1.bazel b/crate_universe/3rdparty/crates/BUILD.heck-0.4.1.bazel index ee7fe1e09a..625dc743e1 100644 --- a/crate_universe/3rdparty/crates/BUILD.heck-0.4.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.heck-0.4.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.hermit-abi-0.3.2.bazel b/crate_universe/3rdparty/crates/BUILD.hermit-abi-0.3.2.bazel index 1301531b98..c1f343ce63 100644 --- a/crate_universe/3rdparty/crates/BUILD.hermit-abi-0.3.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.hermit-abi-0.3.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.hex-0.4.3.bazel b/crate_universe/3rdparty/crates/BUILD.hex-0.4.3.bazel index 2a73755105..8736218b34 100644 --- a/crate_universe/3rdparty/crates/BUILD.hex-0.4.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.hex-0.4.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.home-0.5.5.bazel b/crate_universe/3rdparty/crates/BUILD.home-0.5.5.bazel index 35e726d83d..6c3a9f8a54 100644 --- a/crate_universe/3rdparty/crates/BUILD.home-0.5.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.home-0.5.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.idna-0.5.0.bazel b/crate_universe/3rdparty/crates/BUILD.idna-0.5.0.bazel index 6d7eb4bb55..d70a2b043b 100644 --- a/crate_universe/3rdparty/crates/BUILD.idna-0.5.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.idna-0.5.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.ignore-0.4.18.bazel b/crate_universe/3rdparty/crates/BUILD.ignore-0.4.18.bazel index a1541ff29d..4af93d1664 100644 --- a/crate_universe/3rdparty/crates/BUILD.ignore-0.4.18.bazel +++ b/crate_universe/3rdparty/crates/BUILD.ignore-0.4.18.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.indexmap-2.6.0.bazel b/crate_universe/3rdparty/crates/BUILD.indexmap-2.6.0.bazel index cf8b1805e2..35afaefb0c 100644 --- a/crate_universe/3rdparty/crates/BUILD.indexmap-2.6.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.indexmap-2.6.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.indoc-2.0.5.bazel b/crate_universe/3rdparty/crates/BUILD.indoc-2.0.5.bazel index 06ceb533a0..28c69fe418 100644 --- a/crate_universe/3rdparty/crates/BUILD.indoc-2.0.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.indoc-2.0.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel b/crate_universe/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel index 30efed6138..d1e317f650 100644 --- a/crate_universe/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel b/crate_universe/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel index aab5763049..258350d7fd 100644 --- a/crate_universe/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.itertools-0.13.0.bazel b/crate_universe/3rdparty/crates/BUILD.itertools-0.13.0.bazel index f9c796b452..eb06bba516 100644 --- a/crate_universe/3rdparty/crates/BUILD.itertools-0.13.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.itertools-0.13.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.itoa-1.0.8.bazel b/crate_universe/3rdparty/crates/BUILD.itoa-1.0.8.bazel index 79b3a00198..8de5ab9c59 100644 --- a/crate_universe/3rdparty/crates/BUILD.itoa-1.0.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.itoa-1.0.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.jiff-0.1.13.bazel b/crate_universe/3rdparty/crates/BUILD.jiff-0.1.13.bazel index 1e51241363..15fa81fc75 100644 --- a/crate_universe/3rdparty/crates/BUILD.jiff-0.1.13.bazel +++ b/crate_universe/3rdparty/crates/BUILD.jiff-0.1.13.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-0.1.1.bazel b/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-0.1.1.bazel index a5507433c2..e6be492490 100644 --- a/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-0.1.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-0.1.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-platform-0.1.1.bazel b/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-platform-0.1.1.bazel index 5514f25538..7030ea5a89 100644 --- a/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-platform-0.1.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.jiff-tzdb-platform-0.1.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.kstring-2.0.2.bazel b/crate_universe/3rdparty/crates/BUILD.kstring-2.0.2.bazel index c08b9f42b4..db9d534a15 100644 --- a/crate_universe/3rdparty/crates/BUILD.kstring-2.0.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.kstring-2.0.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel b/crate_universe/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel index ce17c74f77..9ce2107f70 100644 --- a/crate_universe/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.libc-0.2.161.bazel b/crate_universe/3rdparty/crates/BUILD.libc-0.2.161.bazel index 8f7357a49a..09f4845523 100644 --- a/crate_universe/3rdparty/crates/BUILD.libc-0.2.161.bazel +++ b/crate_universe/3rdparty/crates/BUILD.libc-0.2.161.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel b/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel index e72b86ed40..4cad6f6c2d 100644 --- a/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.4.14.bazel b/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.4.14.bazel index e9f2aaeedb..586ed941b3 100644 --- a/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.4.14.bazel +++ b/crate_universe/3rdparty/crates/BUILD.linux-raw-sys-0.4.14.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.lock_api-0.4.11.bazel b/crate_universe/3rdparty/crates/BUILD.lock_api-0.4.11.bazel index 02db5734d7..15acde56bf 100644 --- a/crate_universe/3rdparty/crates/BUILD.lock_api-0.4.11.bazel +++ b/crate_universe/3rdparty/crates/BUILD.lock_api-0.4.11.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.log-0.4.19.bazel b/crate_universe/3rdparty/crates/BUILD.log-0.4.19.bazel index 48fce9ef92..b3ecb531a2 100644 --- a/crate_universe/3rdparty/crates/BUILD.log-0.4.19.bazel +++ b/crate_universe/3rdparty/crates/BUILD.log-0.4.19.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.maplit-1.0.2.bazel b/crate_universe/3rdparty/crates/BUILD.maplit-1.0.2.bazel index 07ffee1907..e5a6cd285c 100644 --- a/crate_universe/3rdparty/crates/BUILD.maplit-1.0.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.maplit-1.0.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.maybe-async-0.2.7.bazel b/crate_universe/3rdparty/crates/BUILD.maybe-async-0.2.7.bazel index 9a2efcf27d..3be0b44262 100644 --- a/crate_universe/3rdparty/crates/BUILD.maybe-async-0.2.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.maybe-async-0.2.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/BUILD.memchr-2.6.4.bazel b/crate_universe/3rdparty/crates/BUILD.memchr-2.6.4.bazel index e1500867bd..b02d7092fd 100644 --- a/crate_universe/3rdparty/crates/BUILD.memchr-2.6.4.bazel +++ b/crate_universe/3rdparty/crates/BUILD.memchr-2.6.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.memmap2-0.9.5.bazel b/crate_universe/3rdparty/crates/BUILD.memmap2-0.9.5.bazel index d363bc5984..4e3b2f1f40 100644 --- a/crate_universe/3rdparty/crates/BUILD.memmap2-0.9.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.memmap2-0.9.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.miniz_oxide-0.7.1.bazel b/crate_universe/3rdparty/crates/BUILD.miniz_oxide-0.7.1.bazel index 199e0ee1a5..dbe276fa20 100644 --- a/crate_universe/3rdparty/crates/BUILD.miniz_oxide-0.7.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.miniz_oxide-0.7.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.normpath-1.3.0.bazel b/crate_universe/3rdparty/crates/BUILD.normpath-1.3.0.bazel index 1137b2da39..b483ef923e 100644 --- a/crate_universe/3rdparty/crates/BUILD.normpath-1.3.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.normpath-1.3.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.nu-ansi-term-0.46.0.bazel b/crate_universe/3rdparty/crates/BUILD.nu-ansi-term-0.46.0.bazel index 581adc362b..1c9c541aaa 100644 --- a/crate_universe/3rdparty/crates/BUILD.nu-ansi-term-0.46.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.nu-ansi-term-0.46.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.once_cell-1.20.2.bazel b/crate_universe/3rdparty/crates/BUILD.once_cell-1.20.2.bazel index e1e76166d7..c507c14536 100644 --- a/crate_universe/3rdparty/crates/BUILD.once_cell-1.20.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.once_cell-1.20.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.overload-0.1.1.bazel b/crate_universe/3rdparty/crates/BUILD.overload-0.1.1.bazel index b1aa0ece59..32e704c6b1 100644 --- a/crate_universe/3rdparty/crates/BUILD.overload-0.1.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.overload-0.1.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.parking_lot-0.12.1.bazel b/crate_universe/3rdparty/crates/BUILD.parking_lot-0.12.1.bazel index 68c3719557..6d8a2c2224 100644 --- a/crate_universe/3rdparty/crates/BUILD.parking_lot-0.12.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.parking_lot-0.12.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.parking_lot_core-0.9.9.bazel b/crate_universe/3rdparty/crates/BUILD.parking_lot_core-0.9.9.bazel index 52a82c807f..a0ec0473dd 100644 --- a/crate_universe/3rdparty/crates/BUILD.parking_lot_core-0.9.9.bazel +++ b/crate_universe/3rdparty/crates/BUILD.parking_lot_core-0.9.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.pathdiff-0.2.2.bazel b/crate_universe/3rdparty/crates/BUILD.pathdiff-0.2.2.bazel index b466730c3b..28e3505f5f 100644 --- a/crate_universe/3rdparty/crates/BUILD.pathdiff-0.2.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.pathdiff-0.2.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.percent-encoding-2.3.1.bazel b/crate_universe/3rdparty/crates/BUILD.percent-encoding-2.3.1.bazel index 51a16d224e..174ff799c2 100644 --- a/crate_universe/3rdparty/crates/BUILD.percent-encoding-2.3.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.percent-encoding-2.3.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.pest-2.7.0.bazel b/crate_universe/3rdparty/crates/BUILD.pest-2.7.0.bazel index 50d5c31df0..27f6676f90 100644 --- a/crate_universe/3rdparty/crates/BUILD.pest-2.7.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.pest-2.7.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.pest_derive-2.7.0.bazel b/crate_universe/3rdparty/crates/BUILD.pest_derive-2.7.0.bazel index f772d58bbb..4b2d19f937 100644 --- a/crate_universe/3rdparty/crates/BUILD.pest_derive-2.7.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.pest_derive-2.7.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/BUILD.pest_generator-2.7.0.bazel b/crate_universe/3rdparty/crates/BUILD.pest_generator-2.7.0.bazel index 253826139d..bb4a139e36 100644 --- a/crate_universe/3rdparty/crates/BUILD.pest_generator-2.7.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.pest_generator-2.7.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.pest_meta-2.7.0.bazel b/crate_universe/3rdparty/crates/BUILD.pest_meta-2.7.0.bazel index f91875b75f..ecd677cba2 100644 --- a/crate_universe/3rdparty/crates/BUILD.pest_meta-2.7.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.pest_meta-2.7.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.pin-project-lite-0.2.13.bazel b/crate_universe/3rdparty/crates/BUILD.pin-project-lite-0.2.13.bazel index bd2c53e0a5..5d452a514b 100644 --- a/crate_universe/3rdparty/crates/BUILD.pin-project-lite-0.2.13.bazel +++ b/crate_universe/3rdparty/crates/BUILD.pin-project-lite-0.2.13.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.proc-macro2-1.0.88.bazel b/crate_universe/3rdparty/crates/BUILD.proc-macro2-1.0.88.bazel index 3ee6e695cb..739ec2e915 100644 --- a/crate_universe/3rdparty/crates/BUILD.proc-macro2-1.0.88.bazel +++ b/crate_universe/3rdparty/crates/BUILD.proc-macro2-1.0.88.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.prodash-28.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.prodash-28.0.0.bazel index 16dcbd2d73..acaa09d17b 100644 --- a/crate_universe/3rdparty/crates/BUILD.prodash-28.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.prodash-28.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.quote-1.0.37.bazel b/crate_universe/3rdparty/crates/BUILD.quote-1.0.37.bazel index c3a7663c0f..19e53f3e40 100644 --- a/crate_universe/3rdparty/crates/BUILD.quote-1.0.37.bazel +++ b/crate_universe/3rdparty/crates/BUILD.quote-1.0.37.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel b/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel index 0c8acd5f7e..5ad901c414 100644 --- a/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.4.1.bazel b/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.4.1.bazel index 010ec16499..4f38ee8722 100644 --- a/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.4.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.redox_syscall-0.4.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.regex-1.11.0.bazel b/crate_universe/3rdparty/crates/BUILD.regex-1.11.0.bazel index 3db7304e99..e0465fd984 100644 --- a/crate_universe/3rdparty/crates/BUILD.regex-1.11.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.regex-1.11.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.regex-automata-0.3.3.bazel b/crate_universe/3rdparty/crates/BUILD.regex-automata-0.3.3.bazel index 49acc68681..adc9735b52 100644 --- a/crate_universe/3rdparty/crates/BUILD.regex-automata-0.3.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.regex-automata-0.3.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.regex-automata-0.4.8.bazel b/crate_universe/3rdparty/crates/BUILD.regex-automata-0.4.8.bazel index 1d0b2f37d9..fe622fca69 100644 --- a/crate_universe/3rdparty/crates/BUILD.regex-automata-0.4.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.regex-automata-0.4.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.regex-syntax-0.8.5.bazel b/crate_universe/3rdparty/crates/BUILD.regex-syntax-0.8.5.bazel index 0d23708dbe..ed79a66570 100644 --- a/crate_universe/3rdparty/crates/BUILD.regex-syntax-0.8.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.regex-syntax-0.8.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.rustc-hash-2.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.rustc-hash-2.0.0.bazel index ab6802fac7..4894abde37 100644 --- a/crate_universe/3rdparty/crates/BUILD.rustc-hash-2.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.rustc-hash-2.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.rustix-0.37.23.bazel b/crate_universe/3rdparty/crates/BUILD.rustix-0.37.23.bazel index e9ee4f9591..65d822954b 100644 --- a/crate_universe/3rdparty/crates/BUILD.rustix-0.37.23.bazel +++ b/crate_universe/3rdparty/crates/BUILD.rustix-0.37.23.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.rustix-0.38.37.bazel b/crate_universe/3rdparty/crates/BUILD.rustix-0.38.37.bazel index e78b08e524..c607afefcb 100644 --- a/crate_universe/3rdparty/crates/BUILD.rustix-0.38.37.bazel +++ b/crate_universe/3rdparty/crates/BUILD.rustix-0.38.37.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.ryu-1.0.14.bazel b/crate_universe/3rdparty/crates/BUILD.ryu-1.0.14.bazel index c8387a876f..510f85a146 100644 --- a/crate_universe/3rdparty/crates/BUILD.ryu-1.0.14.bazel +++ b/crate_universe/3rdparty/crates/BUILD.ryu-1.0.14.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.same-file-1.0.6.bazel b/crate_universe/3rdparty/crates/BUILD.same-file-1.0.6.bazel index 3ef93157a4..2e8f8e44e1 100644 --- a/crate_universe/3rdparty/crates/BUILD.same-file-1.0.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.same-file-1.0.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.scopeguard-1.2.0.bazel b/crate_universe/3rdparty/crates/BUILD.scopeguard-1.2.0.bazel index c568efdc5f..c5967270ff 100644 --- a/crate_universe/3rdparty/crates/BUILD.scopeguard-1.2.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.scopeguard-1.2.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.semver-1.0.23.bazel b/crate_universe/3rdparty/crates/BUILD.semver-1.0.23.bazel index edbb028a9c..424ce7860b 100644 --- a/crate_universe/3rdparty/crates/BUILD.semver-1.0.23.bazel +++ b/crate_universe/3rdparty/crates/BUILD.semver-1.0.23.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.serde-1.0.210.bazel b/crate_universe/3rdparty/crates/BUILD.serde-1.0.210.bazel index a97b574e53..a025cc55b6 100644 --- a/crate_universe/3rdparty/crates/BUILD.serde-1.0.210.bazel +++ b/crate_universe/3rdparty/crates/BUILD.serde-1.0.210.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.serde_derive-1.0.210.bazel b/crate_universe/3rdparty/crates/BUILD.serde_derive-1.0.210.bazel index d495601606..3f1db5e0dd 100644 --- a/crate_universe/3rdparty/crates/BUILD.serde_derive-1.0.210.bazel +++ b/crate_universe/3rdparty/crates/BUILD.serde_derive-1.0.210.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/BUILD.serde_json-1.0.129.bazel b/crate_universe/3rdparty/crates/BUILD.serde_json-1.0.129.bazel index c1766706be..e3cf980c46 100644 --- a/crate_universe/3rdparty/crates/BUILD.serde_json-1.0.129.bazel +++ b/crate_universe/3rdparty/crates/BUILD.serde_json-1.0.129.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.serde_spanned-0.6.8.bazel b/crate_universe/3rdparty/crates/BUILD.serde_spanned-0.6.8.bazel index 00838ef711..0bf8e8b072 100644 --- a/crate_universe/3rdparty/crates/BUILD.serde_spanned-0.6.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.serde_spanned-0.6.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.serde_starlark-0.1.16.bazel b/crate_universe/3rdparty/crates/BUILD.serde_starlark-0.1.16.bazel index 5e35660656..9833ce1d35 100644 --- a/crate_universe/3rdparty/crates/BUILD.serde_starlark-0.1.16.bazel +++ b/crate_universe/3rdparty/crates/BUILD.serde_starlark-0.1.16.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.sha1_smol-1.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.sha1_smol-1.0.0.bazel index a57d4bf8bb..2cf5bd1ac3 100644 --- a/crate_universe/3rdparty/crates/BUILD.sha1_smol-1.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.sha1_smol-1.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.sha2-0.10.8.bazel b/crate_universe/3rdparty/crates/BUILD.sha2-0.10.8.bazel index 4b0d02d11a..024166f356 100644 --- a/crate_universe/3rdparty/crates/BUILD.sha2-0.10.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.sha2-0.10.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.sharded-slab-0.1.7.bazel b/crate_universe/3rdparty/crates/BUILD.sharded-slab-0.1.7.bazel index fdc70a11d5..9f4f74633d 100644 --- a/crate_universe/3rdparty/crates/BUILD.sharded-slab-0.1.7.bazel +++ b/crate_universe/3rdparty/crates/BUILD.sharded-slab-0.1.7.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.shell-words-1.1.0.bazel b/crate_universe/3rdparty/crates/BUILD.shell-words-1.1.0.bazel index b1a6475c25..273abc0892 100644 --- a/crate_universe/3rdparty/crates/BUILD.shell-words-1.1.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.shell-words-1.1.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.smallvec-1.11.0.bazel b/crate_universe/3rdparty/crates/BUILD.smallvec-1.11.0.bazel index 0073e3a919..ea7764fd57 100644 --- a/crate_universe/3rdparty/crates/BUILD.smallvec-1.11.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.smallvec-1.11.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.smawk-0.3.1.bazel b/crate_universe/3rdparty/crates/BUILD.smawk-0.3.1.bazel index 036ac2c867..0595dcb141 100644 --- a/crate_universe/3rdparty/crates/BUILD.smawk-0.3.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.smawk-0.3.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.smol_str-0.2.0.bazel b/crate_universe/3rdparty/crates/BUILD.smol_str-0.2.0.bazel index 0d2fbf7c93..22743a10b0 100644 --- a/crate_universe/3rdparty/crates/BUILD.smol_str-0.2.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.smol_str-0.2.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.spdx-0.10.6.bazel b/crate_universe/3rdparty/crates/BUILD.spdx-0.10.6.bazel index 9fb8458b9d..d3d38f11f6 100644 --- a/crate_universe/3rdparty/crates/BUILD.spdx-0.10.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.spdx-0.10.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.static_assertions-1.1.0.bazel b/crate_universe/3rdparty/crates/BUILD.static_assertions-1.1.0.bazel index 9eaaa6312b..b91194641d 100644 --- a/crate_universe/3rdparty/crates/BUILD.static_assertions-1.1.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.static_assertions-1.1.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.strsim-0.10.0.bazel b/crate_universe/3rdparty/crates/BUILD.strsim-0.10.0.bazel index ec6a8e680d..4f598f4516 100644 --- a/crate_universe/3rdparty/crates/BUILD.strsim-0.10.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.strsim-0.10.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.syn-1.0.109.bazel b/crate_universe/3rdparty/crates/BUILD.syn-1.0.109.bazel index 0a4b9651cf..13d9d06e66 100644 --- a/crate_universe/3rdparty/crates/BUILD.syn-1.0.109.bazel +++ b/crate_universe/3rdparty/crates/BUILD.syn-1.0.109.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.syn-2.0.79.bazel b/crate_universe/3rdparty/crates/BUILD.syn-2.0.79.bazel index a205cf6e69..e776bb009f 100644 --- a/crate_universe/3rdparty/crates/BUILD.syn-2.0.79.bazel +++ b/crate_universe/3rdparty/crates/BUILD.syn-2.0.79.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tempfile-3.13.0.bazel b/crate_universe/3rdparty/crates/BUILD.tempfile-3.13.0.bazel index 160ecb85a9..d11e486f4d 100644 --- a/crate_universe/3rdparty/crates/BUILD.tempfile-3.13.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tempfile-3.13.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tera-1.19.1.bazel b/crate_universe/3rdparty/crates/BUILD.tera-1.19.1.bazel index 9888587160..c82017c59b 100644 --- a/crate_universe/3rdparty/crates/BUILD.tera-1.19.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tera-1.19.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.textwrap-0.16.1.bazel b/crate_universe/3rdparty/crates/BUILD.textwrap-0.16.1.bazel index 2a45bc2dda..7829bf94d6 100644 --- a/crate_universe/3rdparty/crates/BUILD.textwrap-0.16.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.textwrap-0.16.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.thiserror-1.0.50.bazel b/crate_universe/3rdparty/crates/BUILD.thiserror-1.0.50.bazel index a9a375fa02..08e3d31283 100644 --- a/crate_universe/3rdparty/crates/BUILD.thiserror-1.0.50.bazel +++ b/crate_universe/3rdparty/crates/BUILD.thiserror-1.0.50.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.thiserror-impl-1.0.50.bazel b/crate_universe/3rdparty/crates/BUILD.thiserror-impl-1.0.50.bazel index 401c140695..ae3dbdcd14 100644 --- a/crate_universe/3rdparty/crates/BUILD.thiserror-impl-1.0.50.bazel +++ b/crate_universe/3rdparty/crates/BUILD.thiserror-impl-1.0.50.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/BUILD.thread_local-1.1.4.bazel b/crate_universe/3rdparty/crates/BUILD.thread_local-1.1.4.bazel index f08b89b769..517db28077 100644 --- a/crate_universe/3rdparty/crates/BUILD.thread_local-1.1.4.bazel +++ b/crate_universe/3rdparty/crates/BUILD.thread_local-1.1.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel b/crate_universe/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel index 54c9608e2e..8ea0a98a1e 100644 --- a/crate_universe/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tinyvec-1.6.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tinyvec_macros-0.1.1.bazel b/crate_universe/3rdparty/crates/BUILD.tinyvec_macros-0.1.1.bazel index 54ec51f6c1..f540ff883a 100644 --- a/crate_universe/3rdparty/crates/BUILD.tinyvec_macros-0.1.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tinyvec_macros-0.1.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.toml-0.8.19.bazel b/crate_universe/3rdparty/crates/BUILD.toml-0.8.19.bazel index 57156eb129..b9f5333a2a 100644 --- a/crate_universe/3rdparty/crates/BUILD.toml-0.8.19.bazel +++ b/crate_universe/3rdparty/crates/BUILD.toml-0.8.19.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.toml_datetime-0.6.8.bazel b/crate_universe/3rdparty/crates/BUILD.toml_datetime-0.6.8.bazel index c5e0137775..b7c63dc28d 100644 --- a/crate_universe/3rdparty/crates/BUILD.toml_datetime-0.6.8.bazel +++ b/crate_universe/3rdparty/crates/BUILD.toml_datetime-0.6.8.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.toml_edit-0.22.22.bazel b/crate_universe/3rdparty/crates/BUILD.toml_edit-0.22.22.bazel index 8b22b3bd10..3408f0d0fe 100644 --- a/crate_universe/3rdparty/crates/BUILD.toml_edit-0.22.22.bazel +++ b/crate_universe/3rdparty/crates/BUILD.toml_edit-0.22.22.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tracing-0.1.40.bazel b/crate_universe/3rdparty/crates/BUILD.tracing-0.1.40.bazel index e11e0c9870..55e2a4f738 100644 --- a/crate_universe/3rdparty/crates/BUILD.tracing-0.1.40.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tracing-0.1.40.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tracing-attributes-0.1.27.bazel b/crate_universe/3rdparty/crates/BUILD.tracing-attributes-0.1.27.bazel index 1541deed74..c6c39b15c6 100644 --- a/crate_universe/3rdparty/crates/BUILD.tracing-attributes-0.1.27.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tracing-attributes-0.1.27.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/BUILD.tracing-core-0.1.32.bazel b/crate_universe/3rdparty/crates/BUILD.tracing-core-0.1.32.bazel index b0caae0e29..015566c8fe 100644 --- a/crate_universe/3rdparty/crates/BUILD.tracing-core-0.1.32.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tracing-core-0.1.32.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tracing-log-0.2.0.bazel b/crate_universe/3rdparty/crates/BUILD.tracing-log-0.2.0.bazel index 98005ebdd8..16ded2bbf4 100644 --- a/crate_universe/3rdparty/crates/BUILD.tracing-log-0.2.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tracing-log-0.2.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.tracing-subscriber-0.3.18.bazel b/crate_universe/3rdparty/crates/BUILD.tracing-subscriber-0.3.18.bazel index ce110681c2..85bb605375 100644 --- a/crate_universe/3rdparty/crates/BUILD.tracing-subscriber-0.3.18.bazel +++ b/crate_universe/3rdparty/crates/BUILD.tracing-subscriber-0.3.18.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.typenum-1.16.0.bazel b/crate_universe/3rdparty/crates/BUILD.typenum-1.16.0.bazel index 35ed4768e6..d08128498f 100644 --- a/crate_universe/3rdparty/crates/BUILD.typenum-1.16.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.typenum-1.16.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.ucd-trie-0.1.6.bazel b/crate_universe/3rdparty/crates/BUILD.ucd-trie-0.1.6.bazel index e142612b24..581d362fe8 100644 --- a/crate_universe/3rdparty/crates/BUILD.ucd-trie-0.1.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.ucd-trie-0.1.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.uluru-3.0.0.bazel b/crate_universe/3rdparty/crates/BUILD.uluru-3.0.0.bazel index 508b9daf16..b53a7dc00c 100644 --- a/crate_universe/3rdparty/crates/BUILD.uluru-3.0.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.uluru-3.0.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unic-char-property-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.unic-char-property-0.9.0.bazel index 4d5744a651..222627d83d 100644 --- a/crate_universe/3rdparty/crates/BUILD.unic-char-property-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unic-char-property-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unic-char-range-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.unic-char-range-0.9.0.bazel index 61bbff146c..e24cdf2959 100644 --- a/crate_universe/3rdparty/crates/BUILD.unic-char-range-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unic-char-range-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unic-common-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.unic-common-0.9.0.bazel index 72f738235a..3f1992d848 100644 --- a/crate_universe/3rdparty/crates/BUILD.unic-common-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unic-common-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unic-segment-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.unic-segment-0.9.0.bazel index b404eb5fbb..99406eaec0 100644 --- a/crate_universe/3rdparty/crates/BUILD.unic-segment-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unic-segment-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unic-ucd-segment-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.unic-ucd-segment-0.9.0.bazel index c0c3d20945..2b77fc6a45 100644 --- a/crate_universe/3rdparty/crates/BUILD.unic-ucd-segment-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unic-ucd-segment-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unic-ucd-version-0.9.0.bazel b/crate_universe/3rdparty/crates/BUILD.unic-ucd-version-0.9.0.bazel index 3846f63ae8..5603007e2f 100644 --- a/crate_universe/3rdparty/crates/BUILD.unic-ucd-version-0.9.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unic-ucd-version-0.9.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unicode-bidi-0.3.13.bazel b/crate_universe/3rdparty/crates/BUILD.unicode-bidi-0.3.13.bazel index ace8fddd6d..737992f781 100644 --- a/crate_universe/3rdparty/crates/BUILD.unicode-bidi-0.3.13.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unicode-bidi-0.3.13.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unicode-bom-2.0.2.bazel b/crate_universe/3rdparty/crates/BUILD.unicode-bom-2.0.2.bazel index ec4f792f33..2b009f5c57 100644 --- a/crate_universe/3rdparty/crates/BUILD.unicode-bom-2.0.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unicode-bom-2.0.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unicode-ident-1.0.10.bazel b/crate_universe/3rdparty/crates/BUILD.unicode-ident-1.0.10.bazel index 98f61c0f1e..43cb25b4c5 100644 --- a/crate_universe/3rdparty/crates/BUILD.unicode-ident-1.0.10.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unicode-ident-1.0.10.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unicode-linebreak-0.1.5.bazel b/crate_universe/3rdparty/crates/BUILD.unicode-linebreak-0.1.5.bazel index 7b4aba5983..86b503d548 100644 --- a/crate_universe/3rdparty/crates/BUILD.unicode-linebreak-0.1.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unicode-linebreak-0.1.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unicode-normalization-0.1.22.bazel b/crate_universe/3rdparty/crates/BUILD.unicode-normalization-0.1.22.bazel index ca50d7de5f..7228055ac8 100644 --- a/crate_universe/3rdparty/crates/BUILD.unicode-normalization-0.1.22.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unicode-normalization-0.1.22.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.unicode-width-0.1.10.bazel b/crate_universe/3rdparty/crates/BUILD.unicode-width-0.1.10.bazel index 3fb08bd846..0e64c1e82f 100644 --- a/crate_universe/3rdparty/crates/BUILD.unicode-width-0.1.10.bazel +++ b/crate_universe/3rdparty/crates/BUILD.unicode-width-0.1.10.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.url-2.5.2.bazel b/crate_universe/3rdparty/crates/BUILD.url-2.5.2.bazel index 005888cb1b..a017bf45ca 100644 --- a/crate_universe/3rdparty/crates/BUILD.url-2.5.2.bazel +++ b/crate_universe/3rdparty/crates/BUILD.url-2.5.2.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel b/crate_universe/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel index d2252ef08b..b7360da3bf 100644 --- a/crate_universe/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel b/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel index 41a14a1c78..0b9bb308db 100644 --- a/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.version_check-0.9.4.bazel b/crate_universe/3rdparty/crates/BUILD.version_check-0.9.4.bazel index 877f57a0c9..2c5d74c645 100644 --- a/crate_universe/3rdparty/crates/BUILD.version_check-0.9.4.bazel +++ b/crate_universe/3rdparty/crates/BUILD.version_check-0.9.4.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.walkdir-2.3.3.bazel b/crate_universe/3rdparty/crates/BUILD.walkdir-2.3.3.bazel index f6b0a0a688..e0330a89fb 100644 --- a/crate_universe/3rdparty/crates/BUILD.walkdir-2.3.3.bazel +++ b/crate_universe/3rdparty/crates/BUILD.walkdir-2.3.3.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/crate_universe/3rdparty/crates/BUILD.winapi-0.3.9.bazel index 8b4ec7feae..66cb547439 100644 --- a/crate_universe/3rdparty/crates/BUILD.winapi-0.3.9.bazel +++ b/crate_universe/3rdparty/crates/BUILD.winapi-0.3.9.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/crate_universe/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index 4e678c1daa..f6a917dd03 100644 --- a/crate_universe/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel b/crate_universe/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel index a7e2f43b4a..d3d2aa65c1 100644 --- a/crate_universe/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel +++ b/crate_universe/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/crate_universe/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index b2d95c76d1..3d3e06175a 100644 --- a/crate_universe/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel index 798da237ca..3421ecce16 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.windows-sys-0.52.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows-sys-0.52.0.bazel index 93bffa1d4e..69af1ad2a5 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows-sys-0.52.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows-sys-0.52.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.windows-sys-0.59.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows-sys-0.59.0.bazel index 3be9c658de..57101949a4 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows-sys-0.59.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows-sys-0.59.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.windows-targets-0.48.1.bazel b/crate_universe/3rdparty/crates/BUILD.windows-targets-0.48.1.bazel index 20e3bc45ab..81ea2a4123 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows-targets-0.48.1.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows-targets-0.48.1.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.windows-targets-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows-targets-0.52.6.bazel index d1541e6a2c..4b22171eab 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows-targets-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows-targets-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel index 86b26a3447..4d476edd50 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.52.6.bazel index 6224cec46d..e13ab07e8f 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel index 68e4662196..561db39168 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.52.6.bazel index 89636b68e1..a8bf1c3b29 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_aarch64_msvc-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel index 863dd05f5e..553059e479 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.52.6.bazel index 9cfdb01249..be002f076a 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_i686_gnu-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_i686_gnullvm-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_i686_gnullvm-0.52.6.bazel index a13d48d12f..e7ae0c3e7f 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_i686_gnullvm-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_i686_gnullvm-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel index 64f0e9de46..b3e93887c8 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.52.6.bazel index d65204a5b8..8d5d6023e3 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_i686_msvc-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel index a470c53361..683666a059 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.6.bazel index 131684cc2b..a4d956fbc2 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnu-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel index ab6ce5d53f..22b3823910 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.6.bazel index 38d8e4950c..2203a2bca9 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel index f36685f7fc..89bc6f750a 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.6.bazel b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.6.bazel index d4f3ffb1ac..6ec1cd6919 100644 --- a/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.6.bazel +++ b/crate_universe/3rdparty/crates/BUILD.windows_x86_64_msvc-0.52.6.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//cargo:defs.bzl", "cargo_build_script") diff --git a/crate_universe/3rdparty/crates/BUILD.winnow-0.6.20.bazel b/crate_universe/3rdparty/crates/BUILD.winnow-0.6.20.bazel index d05474f4e3..d104a33d10 100644 --- a/crate_universe/3rdparty/crates/BUILD.winnow-0.6.20.bazel +++ b/crate_universe/3rdparty/crates/BUILD.winnow-0.6.20.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.zerocopy-0.7.35.bazel b/crate_universe/3rdparty/crates/BUILD.zerocopy-0.7.35.bazel index 4b93330847..ba60b10cf9 100644 --- a/crate_universe/3rdparty/crates/BUILD.zerocopy-0.7.35.bazel +++ b/crate_universe/3rdparty/crates/BUILD.zerocopy-0.7.35.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_library") diff --git a/crate_universe/3rdparty/crates/BUILD.zerocopy-derive-0.7.35.bazel b/crate_universe/3rdparty/crates/BUILD.zerocopy-derive-0.7.35.bazel index 432def4a26..a84a93f3a3 100644 --- a/crate_universe/3rdparty/crates/BUILD.zerocopy-derive-0.7.35.bazel +++ b/crate_universe/3rdparty/crates/BUILD.zerocopy-derive-0.7.35.bazel @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### load("@rules_rust//rust:defs.bzl", "rust_proc_macro") diff --git a/crate_universe/3rdparty/crates/crates.bzl b/crate_universe/3rdparty/crates/crates.bzl index cb38f5c496..d48bcdcf9d 100644 --- a/crate_universe/3rdparty/crates/crates.bzl +++ b/crate_universe/3rdparty/crates/crates.bzl @@ -9,10 +9,10 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/3rdparty/crates:defs.bzl", _crate_repositories = "crate_repositories") +load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository") # buildifier: disable=bzl-visibility -load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository") +load("//crate_universe/3rdparty/crates:defs.bzl", _crate_repositories = "crate_repositories") def crate_repositories(): """Generates repositories for vendored crates. @@ -23,8 +23,8 @@ def crate_repositories(): maybe( crates_vendor_remote_repository, name = "cui", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.bazel"), - defs_module = Label("@rules_rust//crate_universe/3rdparty/crates:defs.bzl"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.bazel"), + defs_module = Label("//crate_universe/3rdparty/crates:defs.bzl"), ) direct_deps = [struct(repo = "cui", is_dev_dep = False)] diff --git a/crate_universe/3rdparty/crates/defs.bzl b/crate_universe/3rdparty/crates/defs.bzl index ba05fdb560..a48ffc1d01 100644 --- a/crate_universe/3rdparty/crates/defs.bzl +++ b/crate_universe/3rdparty/crates/defs.bzl @@ -3,7 +3,7 @@ # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # -# bazel run @//crate_universe/3rdparty:crates_vendor +# bazel run @@//crate_universe/3rdparty:crates_vendor ############################################################################### """ # `crates_repository` API @@ -540,7 +540,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/adler/1.0.2/download"], strip_prefix = "adler-1.0.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.adler-1.0.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.adler-1.0.2.bazel"), ) maybe( @@ -550,7 +550,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/ahash/0.8.11/download"], strip_prefix = "ahash-0.8.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.ahash-0.8.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.ahash-0.8.11.bazel"), ) maybe( @@ -560,7 +560,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/aho-corasick/1.0.2/download"], strip_prefix = "aho-corasick-1.0.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.aho-corasick-1.0.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.aho-corasick-1.0.2.bazel"), ) maybe( @@ -570,7 +570,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/allocator-api2/0.2.18/download"], strip_prefix = "allocator-api2-0.2.18", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.allocator-api2-0.2.18.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.allocator-api2-0.2.18.bazel"), ) maybe( @@ -580,7 +580,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/anstream/0.3.2/download"], strip_prefix = "anstream-0.3.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.anstream-0.3.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.anstream-0.3.2.bazel"), ) maybe( @@ -590,7 +590,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/anstyle/1.0.1/download"], strip_prefix = "anstyle-1.0.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.anstyle-1.0.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.anstyle-1.0.1.bazel"), ) maybe( @@ -600,7 +600,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/anstyle-parse/0.2.1/download"], strip_prefix = "anstyle-parse-0.2.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.anstyle-parse-0.2.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.anstyle-parse-0.2.1.bazel"), ) maybe( @@ -610,7 +610,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/anstyle-query/1.0.0/download"], strip_prefix = "anstyle-query-1.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.anstyle-query-1.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.anstyle-query-1.0.0.bazel"), ) maybe( @@ -620,7 +620,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/anstyle-wincon/1.0.1/download"], strip_prefix = "anstyle-wincon-1.0.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.anstyle-wincon-1.0.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.anstyle-wincon-1.0.1.bazel"), ) maybe( @@ -630,7 +630,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/anyhow/1.0.89/download"], strip_prefix = "anyhow-1.0.89", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.anyhow-1.0.89.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.anyhow-1.0.89.bazel"), ) maybe( @@ -640,7 +640,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/arc-swap/1.6.0/download"], strip_prefix = "arc-swap-1.6.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.arc-swap-1.6.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.arc-swap-1.6.0.bazel"), ) maybe( @@ -650,7 +650,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/arrayvec/0.7.4/download"], strip_prefix = "arrayvec-0.7.4", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.arrayvec-0.7.4.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.arrayvec-0.7.4.bazel"), ) maybe( @@ -660,7 +660,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/autocfg/1.1.0/download"], strip_prefix = "autocfg-1.1.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"), ) maybe( @@ -670,7 +670,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"], strip_prefix = "bitflags-1.3.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"), ) maybe( @@ -680,7 +680,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/bitflags/2.4.1/download"], strip_prefix = "bitflags-2.4.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.bitflags-2.4.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.bitflags-2.4.1.bazel"), ) maybe( @@ -690,7 +690,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/block-buffer/0.10.4/download"], strip_prefix = "block-buffer-0.10.4", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.block-buffer-0.10.4.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.block-buffer-0.10.4.bazel"), ) maybe( @@ -700,7 +700,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/bstr/1.6.0/download"], strip_prefix = "bstr-1.6.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.bstr-1.6.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.bstr-1.6.0.bazel"), ) maybe( @@ -710,7 +710,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/camino/1.1.9/download"], strip_prefix = "camino-1.1.9", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.camino-1.1.9.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.camino-1.1.9.bazel"), ) maybe( @@ -720,7 +720,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/cargo-lock/10.0.0/download"], strip_prefix = "cargo-lock-10.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.cargo-lock-10.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.cargo-lock-10.0.0.bazel"), ) maybe( @@ -730,7 +730,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/cargo-platform/0.1.7/download"], strip_prefix = "cargo-platform-0.1.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.cargo-platform-0.1.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.cargo-platform-0.1.7.bazel"), ) maybe( @@ -740,7 +740,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/cargo_metadata/0.18.1/download"], strip_prefix = "cargo_metadata-0.18.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.cargo_metadata-0.18.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.cargo_metadata-0.18.1.bazel"), ) maybe( @@ -750,7 +750,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/cargo_toml/0.20.5/download"], strip_prefix = "cargo_toml-0.20.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.cargo_toml-0.20.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.cargo_toml-0.20.5.bazel"), ) maybe( @@ -760,7 +760,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/cfg-expr/0.17.0/download"], strip_prefix = "cfg-expr-0.17.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.cfg-expr-0.17.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.cfg-expr-0.17.0.bazel"), ) maybe( @@ -770,7 +770,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/cfg-if/1.0.0/download"], strip_prefix = "cfg-if-1.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"), ) maybe( @@ -780,7 +780,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/clap/4.3.11/download"], strip_prefix = "clap-4.3.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.clap-4.3.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.clap-4.3.11.bazel"), ) maybe( @@ -790,7 +790,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/clap_builder/4.3.11/download"], strip_prefix = "clap_builder-4.3.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.clap_builder-4.3.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.clap_builder-4.3.11.bazel"), ) maybe( @@ -800,7 +800,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/clap_derive/4.3.2/download"], strip_prefix = "clap_derive-4.3.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.clap_derive-4.3.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.clap_derive-4.3.2.bazel"), ) maybe( @@ -810,7 +810,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/clap_lex/0.5.0/download"], strip_prefix = "clap_lex-0.5.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.clap_lex-0.5.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.clap_lex-0.5.0.bazel"), ) maybe( @@ -820,7 +820,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/clru/0.6.1/download"], strip_prefix = "clru-0.6.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.clru-0.6.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.clru-0.6.1.bazel"), ) maybe( @@ -830,7 +830,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/colorchoice/1.0.0/download"], strip_prefix = "colorchoice-1.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.colorchoice-1.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.colorchoice-1.0.0.bazel"), ) maybe( @@ -840,7 +840,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/cpufeatures/0.2.9/download"], strip_prefix = "cpufeatures-0.2.9", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.cpufeatures-0.2.9.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.cpufeatures-0.2.9.bazel"), ) maybe( @@ -850,7 +850,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/crates-index/3.2.0/download"], strip_prefix = "crates-index-3.2.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.crates-index-3.2.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.crates-index-3.2.0.bazel"), ) maybe( @@ -860,7 +860,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/crc32fast/1.3.2/download"], strip_prefix = "crc32fast-1.3.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.crc32fast-1.3.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.crc32fast-1.3.2.bazel"), ) maybe( @@ -870,7 +870,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/crossbeam-channel/0.5.8/download"], strip_prefix = "crossbeam-channel-0.5.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.crossbeam-channel-0.5.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.crossbeam-channel-0.5.8.bazel"), ) maybe( @@ -880,7 +880,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/crossbeam-utils/0.8.16/download"], strip_prefix = "crossbeam-utils-0.8.16", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.crossbeam-utils-0.8.16.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.crossbeam-utils-0.8.16.bazel"), ) maybe( @@ -890,7 +890,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/crypto-common/0.1.6/download"], strip_prefix = "crypto-common-0.1.6", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.crypto-common-0.1.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.crypto-common-0.1.6.bazel"), ) maybe( @@ -900,7 +900,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/digest/0.10.7/download"], strip_prefix = "digest-0.10.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.digest-0.10.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.digest-0.10.7.bazel"), ) maybe( @@ -910,7 +910,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/dunce/1.0.4/download"], strip_prefix = "dunce-1.0.4", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.dunce-1.0.4.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.dunce-1.0.4.bazel"), ) maybe( @@ -920,7 +920,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/either/1.9.0/download"], strip_prefix = "either-1.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.either-1.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.either-1.9.0.bazel"), ) maybe( @@ -930,7 +930,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/encoding_rs/0.8.33/download"], strip_prefix = "encoding_rs-0.8.33", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.encoding_rs-0.8.33.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.encoding_rs-0.8.33.bazel"), ) maybe( @@ -940,7 +940,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/equivalent/1.0.1/download"], strip_prefix = "equivalent-1.0.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.equivalent-1.0.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.equivalent-1.0.1.bazel"), ) maybe( @@ -950,7 +950,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/errno/0.3.9/download"], strip_prefix = "errno-0.3.9", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.errno-0.3.9.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.errno-0.3.9.bazel"), ) maybe( @@ -960,7 +960,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/faster-hex/0.9.0/download"], strip_prefix = "faster-hex-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.faster-hex-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.faster-hex-0.9.0.bazel"), ) maybe( @@ -970,7 +970,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/fastrand/2.1.1/download"], strip_prefix = "fastrand-2.1.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.fastrand-2.1.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.fastrand-2.1.1.bazel"), ) maybe( @@ -980,7 +980,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/filetime/0.2.22/download"], strip_prefix = "filetime-0.2.22", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.filetime-0.2.22.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.filetime-0.2.22.bazel"), ) maybe( @@ -990,7 +990,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/flate2/1.0.28/download"], strip_prefix = "flate2-1.0.28", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.flate2-1.0.28.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.flate2-1.0.28.bazel"), ) maybe( @@ -1000,7 +1000,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/fnv/1.0.7/download"], strip_prefix = "fnv-1.0.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.fnv-1.0.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.fnv-1.0.7.bazel"), ) maybe( @@ -1010,7 +1010,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/form_urlencoded/1.2.1/download"], strip_prefix = "form_urlencoded-1.2.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.form_urlencoded-1.2.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.form_urlencoded-1.2.1.bazel"), ) maybe( @@ -1020,7 +1020,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/generic-array/0.14.7/download"], strip_prefix = "generic-array-0.14.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.generic-array-0.14.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.generic-array-0.14.7.bazel"), ) maybe( @@ -1030,7 +1030,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix/0.66.0/download"], strip_prefix = "gix-0.66.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-0.66.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-0.66.0.bazel"), ) maybe( @@ -1040,7 +1040,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-actor/0.32.0/download"], strip_prefix = "gix-actor-0.32.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-actor-0.32.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-actor-0.32.0.bazel"), ) maybe( @@ -1050,7 +1050,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-attributes/0.22.5/download"], strip_prefix = "gix-attributes-0.22.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-attributes-0.22.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-attributes-0.22.5.bazel"), ) maybe( @@ -1060,7 +1060,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-bitmap/0.2.11/download"], strip_prefix = "gix-bitmap-0.2.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-bitmap-0.2.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-bitmap-0.2.11.bazel"), ) maybe( @@ -1070,7 +1070,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-chunk/0.4.8/download"], strip_prefix = "gix-chunk-0.4.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-chunk-0.4.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-chunk-0.4.8.bazel"), ) maybe( @@ -1080,7 +1080,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-command/0.3.9/download"], strip_prefix = "gix-command-0.3.9", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-command-0.3.9.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-command-0.3.9.bazel"), ) maybe( @@ -1090,7 +1090,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-commitgraph/0.24.3/download"], strip_prefix = "gix-commitgraph-0.24.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-commitgraph-0.24.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-commitgraph-0.24.3.bazel"), ) maybe( @@ -1100,7 +1100,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-config/0.40.0/download"], strip_prefix = "gix-config-0.40.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-config-0.40.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-config-0.40.0.bazel"), ) maybe( @@ -1110,7 +1110,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-config-value/0.14.8/download"], strip_prefix = "gix-config-value-0.14.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-config-value-0.14.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-config-value-0.14.8.bazel"), ) maybe( @@ -1120,7 +1120,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-credentials/0.24.5/download"], strip_prefix = "gix-credentials-0.24.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-credentials-0.24.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-credentials-0.24.5.bazel"), ) maybe( @@ -1130,7 +1130,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-date/0.9.0/download"], strip_prefix = "gix-date-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-date-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-date-0.9.0.bazel"), ) maybe( @@ -1140,7 +1140,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-diff/0.46.0/download"], strip_prefix = "gix-diff-0.46.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-diff-0.46.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-diff-0.46.0.bazel"), ) maybe( @@ -1150,7 +1150,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-discover/0.35.0/download"], strip_prefix = "gix-discover-0.35.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-discover-0.35.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-discover-0.35.0.bazel"), ) maybe( @@ -1160,7 +1160,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-features/0.38.2/download"], strip_prefix = "gix-features-0.38.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-features-0.38.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-features-0.38.2.bazel"), ) maybe( @@ -1170,7 +1170,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-filter/0.13.0/download"], strip_prefix = "gix-filter-0.13.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-filter-0.13.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-filter-0.13.0.bazel"), ) maybe( @@ -1180,7 +1180,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-fs/0.11.3/download"], strip_prefix = "gix-fs-0.11.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-fs-0.11.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-fs-0.11.3.bazel"), ) maybe( @@ -1190,7 +1190,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-glob/0.16.5/download"], strip_prefix = "gix-glob-0.16.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-glob-0.16.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-glob-0.16.5.bazel"), ) maybe( @@ -1200,7 +1200,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-hash/0.14.2/download"], strip_prefix = "gix-hash-0.14.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-hash-0.14.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-hash-0.14.2.bazel"), ) maybe( @@ -1210,7 +1210,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-hashtable/0.5.2/download"], strip_prefix = "gix-hashtable-0.5.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-hashtable-0.5.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-hashtable-0.5.2.bazel"), ) maybe( @@ -1220,7 +1220,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-ignore/0.11.4/download"], strip_prefix = "gix-ignore-0.11.4", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-ignore-0.11.4.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-ignore-0.11.4.bazel"), ) maybe( @@ -1230,7 +1230,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-index/0.35.0/download"], strip_prefix = "gix-index-0.35.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-index-0.35.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-index-0.35.0.bazel"), ) maybe( @@ -1240,7 +1240,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-lock/14.0.0/download"], strip_prefix = "gix-lock-14.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-lock-14.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-lock-14.0.0.bazel"), ) maybe( @@ -1250,7 +1250,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-negotiate/0.15.0/download"], strip_prefix = "gix-negotiate-0.15.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-negotiate-0.15.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-negotiate-0.15.0.bazel"), ) maybe( @@ -1260,7 +1260,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-object/0.44.0/download"], strip_prefix = "gix-object-0.44.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-object-0.44.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-object-0.44.0.bazel"), ) maybe( @@ -1270,7 +1270,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-odb/0.63.0/download"], strip_prefix = "gix-odb-0.63.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-odb-0.63.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-odb-0.63.0.bazel"), ) maybe( @@ -1280,7 +1280,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-pack/0.53.0/download"], strip_prefix = "gix-pack-0.53.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-pack-0.53.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-pack-0.53.0.bazel"), ) maybe( @@ -1290,7 +1290,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-packetline/0.17.6/download"], strip_prefix = "gix-packetline-0.17.6", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-packetline-0.17.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-packetline-0.17.6.bazel"), ) maybe( @@ -1300,7 +1300,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-packetline-blocking/0.17.5/download"], strip_prefix = "gix-packetline-blocking-0.17.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-packetline-blocking-0.17.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-packetline-blocking-0.17.5.bazel"), ) maybe( @@ -1310,7 +1310,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-path/0.10.11/download"], strip_prefix = "gix-path-0.10.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-path-0.10.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-path-0.10.11.bazel"), ) maybe( @@ -1320,7 +1320,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-pathspec/0.7.7/download"], strip_prefix = "gix-pathspec-0.7.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-pathspec-0.7.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-pathspec-0.7.7.bazel"), ) maybe( @@ -1330,7 +1330,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-prompt/0.8.7/download"], strip_prefix = "gix-prompt-0.8.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-prompt-0.8.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-prompt-0.8.7.bazel"), ) maybe( @@ -1340,7 +1340,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-protocol/0.45.3/download"], strip_prefix = "gix-protocol-0.45.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-protocol-0.45.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-protocol-0.45.3.bazel"), ) maybe( @@ -1350,7 +1350,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-quote/0.4.12/download"], strip_prefix = "gix-quote-0.4.12", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-quote-0.4.12.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-quote-0.4.12.bazel"), ) maybe( @@ -1360,7 +1360,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-ref/0.47.0/download"], strip_prefix = "gix-ref-0.47.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-ref-0.47.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-ref-0.47.0.bazel"), ) maybe( @@ -1370,7 +1370,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-refspec/0.25.0/download"], strip_prefix = "gix-refspec-0.25.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-refspec-0.25.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-refspec-0.25.0.bazel"), ) maybe( @@ -1380,7 +1380,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-revision/0.29.0/download"], strip_prefix = "gix-revision-0.29.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-revision-0.29.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-revision-0.29.0.bazel"), ) maybe( @@ -1390,7 +1390,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-revwalk/0.15.0/download"], strip_prefix = "gix-revwalk-0.15.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-revwalk-0.15.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-revwalk-0.15.0.bazel"), ) maybe( @@ -1400,7 +1400,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-sec/0.10.8/download"], strip_prefix = "gix-sec-0.10.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-sec-0.10.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-sec-0.10.8.bazel"), ) maybe( @@ -1410,7 +1410,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-submodule/0.14.0/download"], strip_prefix = "gix-submodule-0.14.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-submodule-0.14.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-submodule-0.14.0.bazel"), ) maybe( @@ -1420,7 +1420,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-tempfile/14.0.2/download"], strip_prefix = "gix-tempfile-14.0.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-tempfile-14.0.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-tempfile-14.0.2.bazel"), ) maybe( @@ -1430,7 +1430,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-trace/0.1.10/download"], strip_prefix = "gix-trace-0.1.10", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-trace-0.1.10.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-trace-0.1.10.bazel"), ) maybe( @@ -1440,7 +1440,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-transport/0.42.3/download"], strip_prefix = "gix-transport-0.42.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-transport-0.42.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-transport-0.42.3.bazel"), ) maybe( @@ -1450,7 +1450,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-traverse/0.41.0/download"], strip_prefix = "gix-traverse-0.41.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-traverse-0.41.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-traverse-0.41.0.bazel"), ) maybe( @@ -1460,7 +1460,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-url/0.27.5/download"], strip_prefix = "gix-url-0.27.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-url-0.27.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-url-0.27.5.bazel"), ) maybe( @@ -1470,7 +1470,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-utils/0.1.12/download"], strip_prefix = "gix-utils-0.1.12", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-utils-0.1.12.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-utils-0.1.12.bazel"), ) maybe( @@ -1480,7 +1480,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-validate/0.9.0/download"], strip_prefix = "gix-validate-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-validate-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-validate-0.9.0.bazel"), ) maybe( @@ -1490,7 +1490,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/gix-worktree/0.36.0/download"], strip_prefix = "gix-worktree-0.36.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.gix-worktree-0.36.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.gix-worktree-0.36.0.bazel"), ) maybe( @@ -1500,7 +1500,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/globset/0.4.11/download"], strip_prefix = "globset-0.4.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.globset-0.4.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.globset-0.4.11.bazel"), ) maybe( @@ -1510,7 +1510,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/globwalk/0.8.1/download"], strip_prefix = "globwalk-0.8.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.globwalk-0.8.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.globwalk-0.8.1.bazel"), ) maybe( @@ -1520,7 +1520,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/hashbrown/0.14.3/download"], strip_prefix = "hashbrown-0.14.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.hashbrown-0.14.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.hashbrown-0.14.3.bazel"), ) maybe( @@ -1530,7 +1530,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/hashbrown/0.15.0/download"], strip_prefix = "hashbrown-0.15.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.hashbrown-0.15.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.hashbrown-0.15.0.bazel"), ) maybe( @@ -1540,7 +1540,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/heck/0.4.1/download"], strip_prefix = "heck-0.4.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.heck-0.4.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.heck-0.4.1.bazel"), ) maybe( @@ -1550,7 +1550,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/hermit-abi/0.3.2/download"], strip_prefix = "hermit-abi-0.3.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.hermit-abi-0.3.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.hermit-abi-0.3.2.bazel"), ) maybe( @@ -1560,7 +1560,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/hex/0.4.3/download"], strip_prefix = "hex-0.4.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.hex-0.4.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.hex-0.4.3.bazel"), ) maybe( @@ -1570,7 +1570,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/home/0.5.5/download"], strip_prefix = "home-0.5.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.home-0.5.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.home-0.5.5.bazel"), ) maybe( @@ -1580,7 +1580,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/idna/0.5.0/download"], strip_prefix = "idna-0.5.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.idna-0.5.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.idna-0.5.0.bazel"), ) maybe( @@ -1590,7 +1590,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/ignore/0.4.18/download"], strip_prefix = "ignore-0.4.18", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.ignore-0.4.18.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.ignore-0.4.18.bazel"), ) maybe( @@ -1600,7 +1600,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/indexmap/2.6.0/download"], strip_prefix = "indexmap-2.6.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.indexmap-2.6.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.indexmap-2.6.0.bazel"), ) maybe( @@ -1610,7 +1610,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/indoc/2.0.5/download"], strip_prefix = "indoc-2.0.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.indoc-2.0.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.indoc-2.0.5.bazel"), ) maybe( @@ -1620,7 +1620,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/io-lifetimes/1.0.11/download"], strip_prefix = "io-lifetimes-1.0.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.io-lifetimes-1.0.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.io-lifetimes-1.0.11.bazel"), ) maybe( @@ -1630,7 +1630,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/is-terminal/0.4.7/download"], strip_prefix = "is-terminal-0.4.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.is-terminal-0.4.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.is-terminal-0.4.7.bazel"), ) maybe( @@ -1640,7 +1640,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/itertools/0.13.0/download"], strip_prefix = "itertools-0.13.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.itertools-0.13.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.itertools-0.13.0.bazel"), ) maybe( @@ -1650,7 +1650,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/itoa/1.0.8/download"], strip_prefix = "itoa-1.0.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.itoa-1.0.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.itoa-1.0.8.bazel"), ) maybe( @@ -1660,7 +1660,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/jiff/0.1.13/download"], strip_prefix = "jiff-0.1.13", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.jiff-0.1.13.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.jiff-0.1.13.bazel"), ) maybe( @@ -1670,7 +1670,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/jiff-tzdb/0.1.1/download"], strip_prefix = "jiff-tzdb-0.1.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.jiff-tzdb-0.1.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.jiff-tzdb-0.1.1.bazel"), ) maybe( @@ -1680,7 +1680,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/jiff-tzdb-platform/0.1.1/download"], strip_prefix = "jiff-tzdb-platform-0.1.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.jiff-tzdb-platform-0.1.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.jiff-tzdb-platform-0.1.1.bazel"), ) maybe( @@ -1690,7 +1690,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/kstring/2.0.2/download"], strip_prefix = "kstring-2.0.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.kstring-2.0.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.kstring-2.0.2.bazel"), ) maybe( @@ -1700,7 +1700,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/lazy_static/1.4.0/download"], strip_prefix = "lazy_static-1.4.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"), ) maybe( @@ -1710,7 +1710,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/libc/0.2.161/download"], strip_prefix = "libc-0.2.161", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.libc-0.2.161.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.libc-0.2.161.bazel"), ) maybe( @@ -1720,7 +1720,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.linux-raw-sys-0.3.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.linux-raw-sys-0.3.8.bazel"), ) maybe( @@ -1730,7 +1730,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/linux-raw-sys/0.4.14/download"], strip_prefix = "linux-raw-sys-0.4.14", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.linux-raw-sys-0.4.14.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.linux-raw-sys-0.4.14.bazel"), ) maybe( @@ -1740,7 +1740,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/lock_api/0.4.11/download"], strip_prefix = "lock_api-0.4.11", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.lock_api-0.4.11.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.lock_api-0.4.11.bazel"), ) maybe( @@ -1750,7 +1750,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/log/0.4.19/download"], strip_prefix = "log-0.4.19", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.log-0.4.19.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.log-0.4.19.bazel"), ) maybe( @@ -1760,7 +1760,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/maplit/1.0.2/download"], strip_prefix = "maplit-1.0.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.maplit-1.0.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.maplit-1.0.2.bazel"), ) maybe( @@ -1770,7 +1770,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/maybe-async/0.2.7/download"], strip_prefix = "maybe-async-0.2.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.maybe-async-0.2.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.maybe-async-0.2.7.bazel"), ) maybe( @@ -1780,7 +1780,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/memchr/2.6.4/download"], strip_prefix = "memchr-2.6.4", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.memchr-2.6.4.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.memchr-2.6.4.bazel"), ) maybe( @@ -1790,7 +1790,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/memmap2/0.9.5/download"], strip_prefix = "memmap2-0.9.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.memmap2-0.9.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.memmap2-0.9.5.bazel"), ) maybe( @@ -1800,7 +1800,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/miniz_oxide/0.7.1/download"], strip_prefix = "miniz_oxide-0.7.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.miniz_oxide-0.7.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.miniz_oxide-0.7.1.bazel"), ) maybe( @@ -1810,7 +1810,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/normpath/1.3.0/download"], strip_prefix = "normpath-1.3.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.normpath-1.3.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.normpath-1.3.0.bazel"), ) maybe( @@ -1820,7 +1820,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/nu-ansi-term/0.46.0/download"], strip_prefix = "nu-ansi-term-0.46.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.nu-ansi-term-0.46.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.nu-ansi-term-0.46.0.bazel"), ) maybe( @@ -1830,7 +1830,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/once_cell/1.20.2/download"], strip_prefix = "once_cell-1.20.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.once_cell-1.20.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.once_cell-1.20.2.bazel"), ) maybe( @@ -1840,7 +1840,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/overload/0.1.1/download"], strip_prefix = "overload-0.1.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.overload-0.1.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.overload-0.1.1.bazel"), ) maybe( @@ -1850,7 +1850,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/parking_lot/0.12.1/download"], strip_prefix = "parking_lot-0.12.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.parking_lot-0.12.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.parking_lot-0.12.1.bazel"), ) maybe( @@ -1860,7 +1860,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/parking_lot_core/0.9.9/download"], strip_prefix = "parking_lot_core-0.9.9", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.parking_lot_core-0.9.9.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.parking_lot_core-0.9.9.bazel"), ) maybe( @@ -1870,7 +1870,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/pathdiff/0.2.2/download"], strip_prefix = "pathdiff-0.2.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.pathdiff-0.2.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.pathdiff-0.2.2.bazel"), ) maybe( @@ -1880,7 +1880,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/percent-encoding/2.3.1/download"], strip_prefix = "percent-encoding-2.3.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.percent-encoding-2.3.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.percent-encoding-2.3.1.bazel"), ) maybe( @@ -1890,7 +1890,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/pest/2.7.0/download"], strip_prefix = "pest-2.7.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.pest-2.7.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.pest-2.7.0.bazel"), ) maybe( @@ -1900,7 +1900,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/pest_derive/2.7.0/download"], strip_prefix = "pest_derive-2.7.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.pest_derive-2.7.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.pest_derive-2.7.0.bazel"), ) maybe( @@ -1910,7 +1910,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/pest_generator/2.7.0/download"], strip_prefix = "pest_generator-2.7.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.pest_generator-2.7.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.pest_generator-2.7.0.bazel"), ) maybe( @@ -1920,7 +1920,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/pest_meta/2.7.0/download"], strip_prefix = "pest_meta-2.7.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.pest_meta-2.7.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.pest_meta-2.7.0.bazel"), ) maybe( @@ -1930,7 +1930,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/pin-project-lite/0.2.13/download"], strip_prefix = "pin-project-lite-0.2.13", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.pin-project-lite-0.2.13.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.pin-project-lite-0.2.13.bazel"), ) maybe( @@ -1940,7 +1940,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/proc-macro2/1.0.88/download"], strip_prefix = "proc-macro2-1.0.88", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.proc-macro2-1.0.88.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.proc-macro2-1.0.88.bazel"), ) maybe( @@ -1950,7 +1950,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/prodash/28.0.0/download"], strip_prefix = "prodash-28.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.prodash-28.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.prodash-28.0.0.bazel"), ) maybe( @@ -1960,7 +1960,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/quote/1.0.37/download"], strip_prefix = "quote-1.0.37", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.quote-1.0.37.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.quote-1.0.37.bazel"), ) maybe( @@ -1970,7 +1970,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/redox_syscall/0.3.5/download"], strip_prefix = "redox_syscall-0.3.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.redox_syscall-0.3.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.redox_syscall-0.3.5.bazel"), ) maybe( @@ -1980,7 +1980,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/redox_syscall/0.4.1/download"], strip_prefix = "redox_syscall-0.4.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.redox_syscall-0.4.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.redox_syscall-0.4.1.bazel"), ) maybe( @@ -1990,7 +1990,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/regex/1.11.0/download"], strip_prefix = "regex-1.11.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.regex-1.11.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.regex-1.11.0.bazel"), ) maybe( @@ -2000,7 +2000,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/regex-automata/0.3.3/download"], strip_prefix = "regex-automata-0.3.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.regex-automata-0.3.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.regex-automata-0.3.3.bazel"), ) maybe( @@ -2010,7 +2010,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/regex-automata/0.4.8/download"], strip_prefix = "regex-automata-0.4.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.regex-automata-0.4.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.regex-automata-0.4.8.bazel"), ) maybe( @@ -2020,7 +2020,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/regex-syntax/0.8.5/download"], strip_prefix = "regex-syntax-0.8.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.regex-syntax-0.8.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.regex-syntax-0.8.5.bazel"), ) maybe( @@ -2030,7 +2030,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/rustc-hash/2.0.0/download"], strip_prefix = "rustc-hash-2.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.rustc-hash-2.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.rustc-hash-2.0.0.bazel"), ) maybe( @@ -2040,7 +2040,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/rustix/0.37.23/download"], strip_prefix = "rustix-0.37.23", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.rustix-0.37.23.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.rustix-0.37.23.bazel"), ) maybe( @@ -2050,7 +2050,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/rustix/0.38.37/download"], strip_prefix = "rustix-0.38.37", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.rustix-0.38.37.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.rustix-0.38.37.bazel"), ) maybe( @@ -2060,7 +2060,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/ryu/1.0.14/download"], strip_prefix = "ryu-1.0.14", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.ryu-1.0.14.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.ryu-1.0.14.bazel"), ) maybe( @@ -2070,7 +2070,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/same-file/1.0.6/download"], strip_prefix = "same-file-1.0.6", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.same-file-1.0.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.same-file-1.0.6.bazel"), ) maybe( @@ -2080,7 +2080,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/scopeguard/1.2.0/download"], strip_prefix = "scopeguard-1.2.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.scopeguard-1.2.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.scopeguard-1.2.0.bazel"), ) maybe( @@ -2090,7 +2090,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/semver/1.0.23/download"], strip_prefix = "semver-1.0.23", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.semver-1.0.23.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.semver-1.0.23.bazel"), ) maybe( @@ -2100,7 +2100,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/serde/1.0.210/download"], strip_prefix = "serde-1.0.210", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.serde-1.0.210.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.serde-1.0.210.bazel"), ) maybe( @@ -2110,7 +2110,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/serde_derive/1.0.210/download"], strip_prefix = "serde_derive-1.0.210", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.serde_derive-1.0.210.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.serde_derive-1.0.210.bazel"), ) maybe( @@ -2120,7 +2120,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/serde_json/1.0.129/download"], strip_prefix = "serde_json-1.0.129", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.serde_json-1.0.129.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.serde_json-1.0.129.bazel"), ) maybe( @@ -2130,7 +2130,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/serde_spanned/0.6.8/download"], strip_prefix = "serde_spanned-0.6.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.serde_spanned-0.6.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.serde_spanned-0.6.8.bazel"), ) maybe( @@ -2140,7 +2140,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/serde_starlark/0.1.16/download"], strip_prefix = "serde_starlark-0.1.16", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.serde_starlark-0.1.16.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.serde_starlark-0.1.16.bazel"), ) maybe( @@ -2150,7 +2150,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/sha1_smol/1.0.0/download"], strip_prefix = "sha1_smol-1.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.sha1_smol-1.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.sha1_smol-1.0.0.bazel"), ) maybe( @@ -2160,7 +2160,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/sha2/0.10.8/download"], strip_prefix = "sha2-0.10.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.sha2-0.10.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.sha2-0.10.8.bazel"), ) maybe( @@ -2170,7 +2170,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/sharded-slab/0.1.7/download"], strip_prefix = "sharded-slab-0.1.7", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.sharded-slab-0.1.7.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.sharded-slab-0.1.7.bazel"), ) maybe( @@ -2180,7 +2180,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/shell-words/1.1.0/download"], strip_prefix = "shell-words-1.1.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.shell-words-1.1.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.shell-words-1.1.0.bazel"), ) maybe( @@ -2190,7 +2190,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/smallvec/1.11.0/download"], strip_prefix = "smallvec-1.11.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.smallvec-1.11.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.smallvec-1.11.0.bazel"), ) maybe( @@ -2200,7 +2200,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/smawk/0.3.1/download"], strip_prefix = "smawk-0.3.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.smawk-0.3.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.smawk-0.3.1.bazel"), ) maybe( @@ -2210,7 +2210,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/smol_str/0.2.0/download"], strip_prefix = "smol_str-0.2.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.smol_str-0.2.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.smol_str-0.2.0.bazel"), ) maybe( @@ -2220,7 +2220,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/spdx/0.10.6/download"], strip_prefix = "spdx-0.10.6", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.spdx-0.10.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.spdx-0.10.6.bazel"), ) maybe( @@ -2230,7 +2230,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/static_assertions/1.1.0/download"], strip_prefix = "static_assertions-1.1.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.static_assertions-1.1.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.static_assertions-1.1.0.bazel"), ) maybe( @@ -2240,7 +2240,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/strsim/0.10.0/download"], strip_prefix = "strsim-0.10.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.strsim-0.10.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.strsim-0.10.0.bazel"), ) maybe( @@ -2250,7 +2250,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/syn/1.0.109/download"], strip_prefix = "syn-1.0.109", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.syn-1.0.109.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.syn-1.0.109.bazel"), ) maybe( @@ -2260,7 +2260,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/syn/2.0.79/download"], strip_prefix = "syn-2.0.79", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.syn-2.0.79.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.syn-2.0.79.bazel"), ) maybe( @@ -2270,7 +2270,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tempfile/3.13.0/download"], strip_prefix = "tempfile-3.13.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tempfile-3.13.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tempfile-3.13.0.bazel"), ) maybe( @@ -2280,7 +2280,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tera/1.19.1/download"], strip_prefix = "tera-1.19.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tera-1.19.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tera-1.19.1.bazel"), ) maybe( @@ -2290,7 +2290,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/textwrap/0.16.1/download"], strip_prefix = "textwrap-0.16.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.textwrap-0.16.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.textwrap-0.16.1.bazel"), ) maybe( @@ -2300,7 +2300,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/thiserror/1.0.50/download"], strip_prefix = "thiserror-1.0.50", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.thiserror-1.0.50.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.thiserror-1.0.50.bazel"), ) maybe( @@ -2310,7 +2310,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/thiserror-impl/1.0.50/download"], strip_prefix = "thiserror-impl-1.0.50", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.thiserror-impl-1.0.50.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.thiserror-impl-1.0.50.bazel"), ) maybe( @@ -2320,7 +2320,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/thread_local/1.1.4/download"], strip_prefix = "thread_local-1.1.4", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.thread_local-1.1.4.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.thread_local-1.1.4.bazel"), ) maybe( @@ -2330,7 +2330,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tinyvec/1.6.0/download"], strip_prefix = "tinyvec-1.6.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tinyvec-1.6.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tinyvec-1.6.0.bazel"), ) maybe( @@ -2340,7 +2340,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tinyvec_macros/0.1.1/download"], strip_prefix = "tinyvec_macros-0.1.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tinyvec_macros-0.1.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tinyvec_macros-0.1.1.bazel"), ) maybe( @@ -2350,7 +2350,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/toml/0.8.19/download"], strip_prefix = "toml-0.8.19", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.toml-0.8.19.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.toml-0.8.19.bazel"), ) maybe( @@ -2360,7 +2360,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/toml_datetime/0.6.8/download"], strip_prefix = "toml_datetime-0.6.8", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.toml_datetime-0.6.8.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.toml_datetime-0.6.8.bazel"), ) maybe( @@ -2370,7 +2370,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/toml_edit/0.22.22/download"], strip_prefix = "toml_edit-0.22.22", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.toml_edit-0.22.22.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.toml_edit-0.22.22.bazel"), ) maybe( @@ -2380,7 +2380,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tracing/0.1.40/download"], strip_prefix = "tracing-0.1.40", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tracing-0.1.40.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tracing-0.1.40.bazel"), ) maybe( @@ -2390,7 +2390,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tracing-attributes/0.1.27/download"], strip_prefix = "tracing-attributes-0.1.27", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tracing-attributes-0.1.27.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tracing-attributes-0.1.27.bazel"), ) maybe( @@ -2400,7 +2400,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tracing-core/0.1.32/download"], strip_prefix = "tracing-core-0.1.32", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tracing-core-0.1.32.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tracing-core-0.1.32.bazel"), ) maybe( @@ -2410,7 +2410,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tracing-log/0.2.0/download"], strip_prefix = "tracing-log-0.2.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tracing-log-0.2.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tracing-log-0.2.0.bazel"), ) maybe( @@ -2420,7 +2420,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/tracing-subscriber/0.3.18/download"], strip_prefix = "tracing-subscriber-0.3.18", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.tracing-subscriber-0.3.18.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.tracing-subscriber-0.3.18.bazel"), ) maybe( @@ -2430,7 +2430,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/typenum/1.16.0/download"], strip_prefix = "typenum-1.16.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.typenum-1.16.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.typenum-1.16.0.bazel"), ) maybe( @@ -2440,7 +2440,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/ucd-trie/0.1.6/download"], strip_prefix = "ucd-trie-0.1.6", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.ucd-trie-0.1.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.ucd-trie-0.1.6.bazel"), ) maybe( @@ -2450,7 +2450,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/uluru/3.0.0/download"], strip_prefix = "uluru-3.0.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.uluru-3.0.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.uluru-3.0.0.bazel"), ) maybe( @@ -2460,7 +2460,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unic-char-property/0.9.0/download"], strip_prefix = "unic-char-property-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unic-char-property-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unic-char-property-0.9.0.bazel"), ) maybe( @@ -2470,7 +2470,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unic-char-range/0.9.0/download"], strip_prefix = "unic-char-range-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unic-char-range-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unic-char-range-0.9.0.bazel"), ) maybe( @@ -2480,7 +2480,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unic-common/0.9.0/download"], strip_prefix = "unic-common-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unic-common-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unic-common-0.9.0.bazel"), ) maybe( @@ -2490,7 +2490,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unic-segment/0.9.0/download"], strip_prefix = "unic-segment-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unic-segment-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unic-segment-0.9.0.bazel"), ) maybe( @@ -2500,7 +2500,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unic-ucd-segment/0.9.0/download"], strip_prefix = "unic-ucd-segment-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unic-ucd-segment-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unic-ucd-segment-0.9.0.bazel"), ) maybe( @@ -2510,7 +2510,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unic-ucd-version/0.9.0/download"], strip_prefix = "unic-ucd-version-0.9.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unic-ucd-version-0.9.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unic-ucd-version-0.9.0.bazel"), ) maybe( @@ -2520,7 +2520,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unicode-bidi/0.3.13/download"], strip_prefix = "unicode-bidi-0.3.13", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unicode-bidi-0.3.13.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unicode-bidi-0.3.13.bazel"), ) maybe( @@ -2530,7 +2530,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unicode-bom/2.0.2/download"], strip_prefix = "unicode-bom-2.0.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unicode-bom-2.0.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unicode-bom-2.0.2.bazel"), ) maybe( @@ -2540,7 +2540,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unicode-ident/1.0.10/download"], strip_prefix = "unicode-ident-1.0.10", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unicode-ident-1.0.10.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unicode-ident-1.0.10.bazel"), ) maybe( @@ -2550,7 +2550,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unicode-linebreak/0.1.5/download"], strip_prefix = "unicode-linebreak-0.1.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unicode-linebreak-0.1.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unicode-linebreak-0.1.5.bazel"), ) maybe( @@ -2560,7 +2560,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unicode-normalization/0.1.22/download"], strip_prefix = "unicode-normalization-0.1.22", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unicode-normalization-0.1.22.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unicode-normalization-0.1.22.bazel"), ) maybe( @@ -2570,7 +2570,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/unicode-width/0.1.10/download"], strip_prefix = "unicode-width-0.1.10", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.unicode-width-0.1.10.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.unicode-width-0.1.10.bazel"), ) maybe( @@ -2580,7 +2580,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/url/2.5.2/download"], strip_prefix = "url-2.5.2", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.url-2.5.2.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.url-2.5.2.bazel"), ) maybe( @@ -2590,7 +2590,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/utf8parse/0.2.1/download"], strip_prefix = "utf8parse-0.2.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.utf8parse-0.2.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.utf8parse-0.2.1.bazel"), ) maybe( @@ -2600,7 +2600,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/valuable/0.1.0/download"], strip_prefix = "valuable-0.1.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.valuable-0.1.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.valuable-0.1.0.bazel"), ) maybe( @@ -2610,7 +2610,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/version_check/0.9.4/download"], strip_prefix = "version_check-0.9.4", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.version_check-0.9.4.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.version_check-0.9.4.bazel"), ) maybe( @@ -2620,7 +2620,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/walkdir/2.3.3/download"], strip_prefix = "walkdir-2.3.3", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.walkdir-2.3.3.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.walkdir-2.3.3.bazel"), ) maybe( @@ -2630,7 +2630,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/winapi/0.3.9/download"], strip_prefix = "winapi-0.3.9", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.winapi-0.3.9.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.winapi-0.3.9.bazel"), ) maybe( @@ -2640,7 +2640,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), ) maybe( @@ -2650,7 +2650,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/winapi-util/0.1.5/download"], strip_prefix = "winapi-util-0.1.5", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.winapi-util-0.1.5.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.winapi-util-0.1.5.bazel"), ) maybe( @@ -2660,7 +2660,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), ) maybe( @@ -2670,7 +2670,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows-sys-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows-sys-0.48.0.bazel"), ) maybe( @@ -2680,7 +2680,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows-sys-0.52.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows-sys-0.52.0.bazel"), ) maybe( @@ -2690,7 +2690,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows-sys/0.59.0/download"], strip_prefix = "windows-sys-0.59.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows-sys-0.59.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows-sys-0.59.0.bazel"), ) maybe( @@ -2700,7 +2700,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows-targets/0.48.1/download"], strip_prefix = "windows-targets-0.48.1", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows-targets-0.48.1.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows-targets-0.48.1.bazel"), ) maybe( @@ -2710,7 +2710,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows-targets-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows-targets-0.52.6.bazel"), ) maybe( @@ -2720,7 +2720,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows_aarch64_gnullvm/0.48.0/download"], strip_prefix = "windows_aarch64_gnullvm-0.48.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"), ) maybe( @@ -2730,7 +2730,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.52.6.bazel"), ) maybe( @@ -2740,7 +2740,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows_aarch64_msvc/0.48.0/download"], strip_prefix = "windows_aarch64_msvc-0.48.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_aarch64_msvc-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_aarch64_msvc-0.48.0.bazel"), ) maybe( @@ -2750,7 +2750,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_aarch64_msvc-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_aarch64_msvc-0.52.6.bazel"), ) maybe( @@ -2760,7 +2760,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows_i686_gnu/0.48.0/download"], strip_prefix = "windows_i686_gnu-0.48.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_i686_gnu-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_i686_gnu-0.48.0.bazel"), ) maybe( @@ -2770,7 +2770,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_i686_gnu-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_i686_gnu-0.52.6.bazel"), ) maybe( @@ -2780,7 +2780,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_i686_gnullvm-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_i686_gnullvm-0.52.6.bazel"), ) maybe( @@ -2790,7 +2790,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows_i686_msvc/0.48.0/download"], strip_prefix = "windows_i686_msvc-0.48.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_i686_msvc-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_i686_msvc-0.48.0.bazel"), ) maybe( @@ -2800,7 +2800,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_i686_msvc-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_i686_msvc-0.52.6.bazel"), ) maybe( @@ -2810,7 +2810,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows_x86_64_gnu/0.48.0/download"], strip_prefix = "windows_x86_64_gnu-0.48.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnu-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnu-0.48.0.bazel"), ) maybe( @@ -2820,7 +2820,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnu-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnu-0.52.6.bazel"), ) maybe( @@ -2830,7 +2830,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows_x86_64_gnullvm/0.48.0/download"], strip_prefix = "windows_x86_64_gnullvm-0.48.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"), ) maybe( @@ -2840,7 +2840,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.52.6.bazel"), ) maybe( @@ -2850,7 +2850,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/windows_x86_64_msvc/0.48.0/download"], strip_prefix = "windows_x86_64_msvc-0.48.0", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_x86_64_msvc-0.48.0.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_x86_64_msvc-0.48.0.bazel"), ) maybe( @@ -2860,7 +2860,7 @@ def crate_repositories(): 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("@rules_rust//crate_universe/3rdparty/crates:BUILD.windows_x86_64_msvc-0.52.6.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.windows_x86_64_msvc-0.52.6.bazel"), ) maybe( @@ -2870,7 +2870,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/winnow/0.6.20/download"], strip_prefix = "winnow-0.6.20", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.winnow-0.6.20.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.winnow-0.6.20.bazel"), ) maybe( @@ -2880,7 +2880,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/zerocopy/0.7.35/download"], strip_prefix = "zerocopy-0.7.35", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.zerocopy-0.7.35.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.zerocopy-0.7.35.bazel"), ) maybe( @@ -2890,7 +2890,7 @@ def crate_repositories(): type = "tar.gz", urls = ["https://static.crates.io/crates/zerocopy-derive/0.7.35/download"], strip_prefix = "zerocopy-derive-0.7.35", - build_file = Label("@rules_rust//crate_universe/3rdparty/crates:BUILD.zerocopy-derive-0.7.35.bazel"), + build_file = Label("//crate_universe/3rdparty/crates:BUILD.zerocopy-derive-0.7.35.bazel"), ) return [ diff --git a/crate_universe/extensions.bzl b/crate_universe/extensions.bzl index 943fb73976..279b9d703e 100644 --- a/crate_universe/extensions.bzl +++ b/crate_universe/extensions.bzl @@ -6,6 +6,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("//crate_universe/private:crates_vendor.bzl", "CRATES_VENDOR_ATTRS", "generate_config_file", "generate_splicing_manifest") load("//crate_universe/private:generate_utils.bzl", "CARGO_BAZEL_GENERATOR_SHA256", "CARGO_BAZEL_GENERATOR_URL", "GENERATOR_ENV_VARS", "render_config") +load("//crate_universe/private:local_crate_mirror.bzl", "local_crate_mirror") load("//crate_universe/private:urls.bzl", "CARGO_BAZEL_SHA256S", "CARGO_BAZEL_URLS") load("//rust/platform:triple.bzl", "get_host_triple") load("//rust/platform:triple_mappings.bzl", "system_to_binary_ext") @@ -133,6 +134,9 @@ def _generate_hub_and_spokes(*, module_ctx, cargo_bazel, cfg, annotations, cargo lockfile_path = tag_path.get_child("lockfile.json") module_ctx.file(lockfile_path, "") + paths_to_track_file = module_ctx.path("paths-to-track") + warnings_output_file = module_ctx.path("warnings-output-file") + cargo_bazel([ "generate", "--cargo-lockfile", @@ -148,8 +152,25 @@ def _generate_hub_and_spokes(*, module_ctx, cargo_bazel, cfg, annotations, cargo "--repin", "--lockfile", lockfile_path, + "--nonhermetic-root-bazel-workspace-dir", + module_ctx.path(Label("@@//:MODULE.bazel")).dirname, + "--paths-to-track", + paths_to_track_file, + "--warnings-output-path", + warnings_output_file, ]) + paths_to_track = json.decode(module_ctx.read(paths_to_track_file)) + for path in paths_to_track: + # This read triggers watching the file at this path and invalidates the repository_rule which will get re-run. + # Ideally we'd use module_ctx.watch, but it doesn't support files outside of the workspace, and we need to support that. + module_ctx.read(path) + + warnings_output_file = json.decode(module_ctx.read(warnings_output_file)) + for warning in warnings_output_file: + # buildifier: disable=print + print("WARN: {}".format(warning)) + crates_dir = tag_path.get_child(cfg.name) _generate_repo( name = cfg.name, @@ -212,6 +233,22 @@ def _generate_hub_and_spokes(*, module_ctx, cargo_bazel, cfg, annotations, cargo strip_prefix = repo.get("strip_prefix", None), **kwargs ) + elif "Path" in repo: + options = { + "config": rendering_config, + "crate_context": crate, + "platform_conditions": contents["conditions"], + "supported_platform_triples": cfg.supported_platform_triples, + } + kwargs = {} + if len(CARGO_BAZEL_URLS) == 0: + kwargs["generator"] = "@cargo_bazel_bootstrap//:cargo-bazel" + local_crate_mirror( + name = crate_repo_name, + options_json = json.encode(options), + path = repo["Path"]["path"], + **kwargs + ) else: fail("Invalid repo: expected Http or Git to exist for crate %s-%s, got %s" % (name, version, repo)) diff --git a/crate_universe/private/crates_repository.bzl b/crate_universe/private/crates_repository.bzl index 4a1952c634..70ce40bfb4 100644 --- a/crate_universe/private/crates_repository.bzl +++ b/crate_universe/private/crates_repository.bzl @@ -71,6 +71,9 @@ def _crates_repository_impl(repository_ctx): "metadata": metadata_path, }) + paths_to_track_file = repository_ctx.path("paths-to-track") + warnings_output_file = repository_ctx.path("warnings-output-file") + # Run the generator execute_generator( repository_ctx = repository_ctx, @@ -82,10 +85,23 @@ def _crates_repository_impl(repository_ctx): repository_dir = repository_ctx.path("."), cargo = cargo_path, rustc = rustc_path, + paths_to_track_file = paths_to_track_file, + warnings_output_file = warnings_output_file, # sysroot = tools.sysroot, **kwargs ) + paths_to_track = json.decode(repository_ctx.read(paths_to_track_file)) + for path in paths_to_track: + # This read triggers watching the file at this path and invalidates the repository_rule which will get re-run. + # Ideally we'd use repository_ctx.watch, but it doesn't support files outside of the workspace, and we need to support that. + repository_ctx.read(path) + + warnings_output_file = json.decode(repository_ctx.read(warnings_output_file)) + for warning in warnings_output_file: + # buildifier: disable=print + print("WARN: {}".format(warning)) + # Determine the set of reproducible values attrs = {attr: getattr(repository_ctx.attr, attr) for attr in dir(repository_ctx.attr)} exclude = ["to_json", "to_proto"] diff --git a/crate_universe/private/crates_vendor.bzl b/crate_universe/private/crates_vendor.bzl index b8d95627bf..a195f8c20f 100644 --- a/crate_universe/private/crates_vendor.bzl +++ b/crate_universe/private/crates_vendor.bzl @@ -34,6 +34,7 @@ ${{_ENVIRON[@]}} \\ {env} \\ "{bin}" \\ {args} \\ + --nonhermetic-root-bazel-workspace-dir="${{BUILD_WORKSPACE_DIRECTORY}}" \\ "$@" """ @@ -42,7 +43,7 @@ _WINDOWS_WRAPPER = """\ set RUNTIME_PWD=%CD% {env} -{bin} {args} %* +{bin} {args} --nonhermetic-root-bazel-workspace-dir=%BUILD_WORKSPACE_DIRECTORY% %* exit %ERRORLEVEL% """ diff --git a/crate_universe/private/generate_utils.bzl b/crate_universe/private/generate_utils.bzl index 94dcdd2360..a345b7538f 100644 --- a/crate_universe/private/generate_utils.bzl +++ b/crate_universe/private/generate_utils.bzl @@ -433,6 +433,8 @@ def execute_generator( repository_dir, cargo, rustc, + paths_to_track_file, + warnings_output_file, metadata = None): """Execute the `cargo-bazel` binary to produce `BUILD` and `.bzl` files. @@ -446,6 +448,8 @@ def execute_generator( repository_dir (path): The output path for the Bazel module and BUILD files. cargo (path): The path of a Cargo binary. rustc (path): The path of a Rustc binary. + paths_to_track_file (path): Path to file where generator should write which files should trigger re-generating as a JSON list. + warnings_output_file (path): Path to file where generator should write warnings to print. metadata (path, optional): The path to a Cargo metadata json file. If this is set, it indicates to the generator that repinning is required. This file must be adjacent to a `Cargo.toml` and `Cargo.lock` file. @@ -470,8 +474,20 @@ def execute_generator( cargo, "--rustc", rustc, + "--nonhermetic-root-bazel-workspace-dir", + repository_ctx.workspace_root, + "--paths-to-track", + paths_to_track_file, + "--warnings-output-path", + warnings_output_file, ] + if repository_ctx.attr.generator: + args.extend([ + "--generator", + repository_ctx.attr.generator, + ]) + if lockfile_path: args.extend([ "--lockfile", diff --git a/crate_universe/private/local_crate_mirror.bzl b/crate_universe/private/local_crate_mirror.bzl new file mode 100644 index 0000000000..4298e5d8b7 --- /dev/null +++ b/crate_universe/private/local_crate_mirror.bzl @@ -0,0 +1,64 @@ +"""`local_crate_mirror` rule implementation.""" + +load("//crate_universe/private:common_utils.bzl", "execute") +load("//crate_universe/private:generate_utils.bzl", "get_generator") +load("//crate_universe/private:urls.bzl", "CARGO_BAZEL_SHA256S", "CARGO_BAZEL_URLS") +load("//rust/platform:triple.bzl", "get_host_triple") + +def _local_crate_mirror_impl(repository_ctx): + path = repository_ctx.path(repository_ctx.attr.path) + + host_triple = get_host_triple(repository_ctx) + + generator, _generator_sha256 = get_generator(repository_ctx, host_triple.str) + + # TODO: Work out why we can't just symlink here and actually copy. + # illicitonion thinks it may be that symlinks didn't get invalidated properly? + for child in repository_ctx.path(path).readdir(): + repository_ctx.execute(["cp", "-r", child, repository_ctx.path(child.basename)]) + + paths_to_track = execute(repository_ctx, ["find", path, "-type", "f"]).stdout.strip().split("\n") + for path_to_track in paths_to_track: + if path_to_track: + repository_ctx.read(path_to_track) + + execute(repository_ctx, [generator, "render", "--options-json", repository_ctx.attr.options_json, "--output-path", repository_ctx.path("BUILD.bazel")]) + + repository_ctx.file("WORKSPACE.bazel", "") + +local_crate_mirror = repository_rule( + doc = """This is a private implementation detail of crate_universe, and should not be relied on in manually written code. + +This is effectively a `local_repository` rule impementation, but where the BUILD.bazel file is generated using the `cargo-bazel render` command.""", + implementation = _local_crate_mirror_impl, + attrs = { + "generator": attr.string( + doc = ( + "The absolute label of a generator. Eg. `@cargo_bazel_bootstrap//:cargo-bazel`. " + + "This is typically used when bootstrapping" + ), + ), + "generator_sha256s": attr.string_dict( + doc = "Dictionary of `host_triple` -> `sha256` for a `cargo-bazel` binary.", + default = CARGO_BAZEL_SHA256S, + ), + "generator_urls": attr.string_dict( + doc = ( + "URL template from which to download the `cargo-bazel` binary. `{host_triple}` and will be " + + "filled in according to the host platform." + ), + default = CARGO_BAZEL_URLS, + ), + "options_json": attr.string( + doc = "JSON serialized instance of a crate_universe::context::SingleBuildFileRenderContext", + ), + "path": attr.string( + # TODO: Verify what happens if this is not an absolute path. + doc = "Absolute path to the BUILD.bazel file to generate.", + ), + "quiet": attr.bool( + doc = "If stdout and stderr should not be printed to the terminal.", + default = True, + ), + }, +) diff --git a/crate_universe/private/srcs.bzl b/crate_universe/private/srcs.bzl index a96e424466..bea5cc28f9 100644 --- a/crate_universe/private/srcs.bzl +++ b/crate_universe/private/srcs.bzl @@ -11,6 +11,7 @@ CARGO_BAZEL_SRCS = [ Label("//crate_universe:src/cli.rs"), Label("//crate_universe:src/cli/generate.rs"), Label("//crate_universe:src/cli/query.rs"), + Label("//crate_universe:src/cli/render.rs"), Label("//crate_universe:src/cli/splice.rs"), Label("//crate_universe:src/cli/vendor.rs"), Label("//crate_universe:src/config.rs"), diff --git a/crate_universe/src/cli.rs b/crate_universe/src/cli.rs index 9172c97f66..19a1fea833 100644 --- a/crate_universe/src/cli.rs +++ b/crate_universe/src/cli.rs @@ -2,6 +2,7 @@ mod generate; mod query; +mod render; mod splice; mod vendor; @@ -15,12 +16,14 @@ use tracing_subscriber::FmtSubscriber; pub use self::generate::GenerateOptions; pub use self::query::QueryOptions; +pub use self::render::RenderOptions; pub use self::splice::SpliceOptions; pub use self::vendor::VendorOptions; // Entrypoints pub use generate::generate; pub use query::query; +pub use render::render; pub use splice::splice; pub use vendor::vendor; @@ -42,6 +45,9 @@ pub enum Options { /// Vendor BUILD files to the workspace with either repository definitions or `cargo vendor` generated sources. Vendor(VendorOptions), + + /// Render a BUILD file for a single crate. + Render(RenderOptions), } // Convenience wrappers to avoid dependencies in the binary @@ -51,7 +57,7 @@ pub fn parse_args() -> Options { Options::parse() } -const EXPECTED_LOGGER_NAMES: [&str; 4] = ["Generate", "Splice", "Query", "Vendor"]; +const EXPECTED_LOGGER_NAMES: [&str; 5] = ["Generate", "Splice", "Query", "Vendor", "Render"]; /// A wrapper for the tracing-subscriber default [FormatEvent] /// that prepends the name of the active CLI option. diff --git a/crate_universe/src/cli/generate.rs b/crate_universe/src/cli/generate.rs index 2178f276cb..4ec2638bb4 100644 --- a/crate_universe/src/cli/generate.rs +++ b/crate_universe/src/cli/generate.rs @@ -2,18 +2,21 @@ use std::fs; use std::path::{Path, PathBuf}; +use std::sync::Arc; use anyhow::{bail, Context as AnyhowContext, Result}; +use camino::Utf8PathBuf; use cargo_lock::Lockfile; use clap::Parser; use crate::config::Config; use crate::context::Context; use crate::lockfile::{lock_context, write_lockfile}; -use crate::metadata::{load_metadata, Annotations, Cargo}; +use crate::metadata::{load_metadata, Annotations, Cargo, SourceAnnotation}; use crate::rendering::{write_outputs, Renderer}; use crate::splicing::SplicingManifest; use crate::utils::normalize_cargo_file_paths; +use crate::utils::starlark::Label; /// Command line options for the `generate` subcommand #[derive(Parser, Debug)] @@ -63,6 +66,35 @@ pub struct GenerateOptions { /// If true, outputs will be printed instead of written to disk. #[clap(long)] pub dry_run: bool, + + /// The path to the Bazel root workspace (i.e. the directory containing the WORKSPACE.bazel file or similar). + /// BE CAREFUL with this value. We never want to include it in a lockfile hash (to keep lockfiles portable), + /// which means you also should not use it anywhere that _should_ be guarded by a lockfile hash. + /// You basically never want to use this value. + #[clap(long)] + pub nonhermetic_root_bazel_workspace_dir: Utf8PathBuf, + + /// Path to write a list of files which the repository_rule should watch. + /// If any of these paths change, the repository rule should be rerun. + /// These files may be outside of the Bazel-managed workspace. + /// A (possibly empty) JSON sorted array of strings will be unconditionally written to this file. + #[clap(long)] + pub paths_to_track: PathBuf, + + /// The label of this binary, if it was built in bootstrap mode. + /// BE CAREFUL with this value. We never want to include it in a lockfile hash (to keep lockfiles portable), + /// which means you also should not use it anywhere that _should_ be guarded by a lockfile hash. + /// You basically never want to use this value. + #[clap(long)] + pub(crate) generator: Option