From 5c42b57393db298c03119dc8c7082b4e4b680a56 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 14 Aug 2020 19:57:06 +0000 Subject: [PATCH 1/2] Move Bazel to //bazel. Signed-off-by: Piotr Sikora --- .github/workflows/rust.yml | 16 ++++++++-------- BUILD | 6 +++--- WORKSPACE | 2 +- {cargo => bazel/cargo}/BUILD | 0 {cargo => bazel/cargo}/Cargo.lock | 0 {cargo => bazel/cargo}/crates.bzl | 0 {cargo => bazel/cargo}/remote/BUILD | 0 {cargo => bazel/cargo}/remote/ahash-0.3.8.BUILD | 0 .../cargo}/remote/autocfg-1.0.0.BUILD | 0 .../cargo}/remote/cfg-if-0.1.10.BUILD | 0 .../cargo}/remote/chrono-0.4.13.BUILD | 0 .../cargo}/remote/hashbrown-0.8.2.BUILD | 0 {cargo => bazel/cargo}/remote/libc-0.2.74.BUILD | 0 {cargo => bazel/cargo}/remote/log-0.4.11.BUILD | 0 .../cargo}/remote/memory_units-0.4.0.BUILD | 0 .../cargo}/remote/num-integer-0.1.43.BUILD | 0 .../cargo}/remote/num-traits-0.2.12.BUILD | 0 {cargo => bazel/cargo}/remote/time-0.1.43.BUILD | 0 .../cargo}/remote/wee_alloc-0.4.5.BUILD | 0 {cargo => bazel/cargo}/remote/winapi-0.3.9.BUILD | 0 .../winapi-i686-pc-windows-gnu-0.4.0.BUILD | 0 .../winapi-x86_64-pc-windows-gnu-0.4.0.BUILD | 0 examples/BUILD | 10 +++++----- 23 files changed, 17 insertions(+), 17 deletions(-) rename {cargo => bazel/cargo}/BUILD (100%) rename {cargo => bazel/cargo}/Cargo.lock (100%) rename {cargo => bazel/cargo}/crates.bzl (100%) rename {cargo => bazel/cargo}/remote/BUILD (100%) rename {cargo => bazel/cargo}/remote/ahash-0.3.8.BUILD (100%) rename {cargo => bazel/cargo}/remote/autocfg-1.0.0.BUILD (100%) rename {cargo => bazel/cargo}/remote/cfg-if-0.1.10.BUILD (100%) rename {cargo => bazel/cargo}/remote/chrono-0.4.13.BUILD (100%) rename {cargo => bazel/cargo}/remote/hashbrown-0.8.2.BUILD (100%) rename {cargo => bazel/cargo}/remote/libc-0.2.74.BUILD (100%) rename {cargo => bazel/cargo}/remote/log-0.4.11.BUILD (100%) rename {cargo => bazel/cargo}/remote/memory_units-0.4.0.BUILD (100%) rename {cargo => bazel/cargo}/remote/num-integer-0.1.43.BUILD (100%) rename {cargo => bazel/cargo}/remote/num-traits-0.2.12.BUILD (100%) rename {cargo => bazel/cargo}/remote/time-0.1.43.BUILD (100%) rename {cargo => bazel/cargo}/remote/wee_alloc-0.4.5.BUILD (100%) rename {cargo => bazel/cargo}/remote/winapi-0.3.9.BUILD (100%) rename {cargo => bazel/cargo}/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD (100%) rename {cargo => bazel/cargo}/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD (100%) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 953fc234..373bc530 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -49,7 +49,7 @@ jobs: - name: Run cargo audit run: | - cp -p cargo/Cargo.lock . + cp -p bazel/cargo/Cargo.lock . cargo audit outdated: @@ -61,10 +61,10 @@ jobs: - name: Run cargo outdated run: cargo outdated --exit-code 1 - - name: Check freshness of cargo/Cargo.lock + - name: Check freshness of bazel/cargo/Cargo.lock run: | cargo generate-lockfile - mv Cargo.lock cargo/ + mv Cargo.lock bazel/cargo/ git diff --exit-code stable: @@ -149,7 +149,7 @@ jobs: ~/.cargo/.crates2.json ~/.cargo/bin ~/.cargo/registry - key: ${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'cargo/Cargo.lock') }} + key: ${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'bazel/cargo/Cargo.lock') }} - name: Build run: | @@ -166,8 +166,8 @@ jobs: - name: Format (cargo raze) run: | cargo install cargo-raze --version 0.3.8 - cp -p cargo/Cargo.lock . - rm -rf cargo/ - cargo raze --output=cargo - mv Cargo.lock cargo/ + cp -p bazel/cargo/Cargo.lock . + rm -rf bazel/cargo/ + cargo raze --output=bazel/cargo + mv Cargo.lock bazel/cargo/ git diff --exit-code diff --git a/BUILD b/BUILD index 1df187e8..f323a4bf 100644 --- a/BUILD +++ b/BUILD @@ -6,8 +6,8 @@ rust_library( edition = "2018", visibility = ["//visibility:public"], deps = [ - "//cargo:hashbrown", - "//cargo:log", - "//cargo:wee_alloc", + "//bazel/cargo:hashbrown", + "//bazel/cargo:log", + "//bazel/cargo:wee_alloc", ], ) diff --git a/WORKSPACE b/WORKSPACE index 98a223a8..5e586280 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -32,6 +32,6 @@ load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version") bazel_version(name = "bazel_version") -load("//cargo:crates.bzl", "raze_fetch_remote_crates") +load("//bazel/cargo:crates.bzl", "raze_fetch_remote_crates") raze_fetch_remote_crates() diff --git a/cargo/BUILD b/bazel/cargo/BUILD similarity index 100% rename from cargo/BUILD rename to bazel/cargo/BUILD diff --git a/cargo/Cargo.lock b/bazel/cargo/Cargo.lock similarity index 100% rename from cargo/Cargo.lock rename to bazel/cargo/Cargo.lock diff --git a/cargo/crates.bzl b/bazel/cargo/crates.bzl similarity index 100% rename from cargo/crates.bzl rename to bazel/cargo/crates.bzl diff --git a/cargo/remote/BUILD b/bazel/cargo/remote/BUILD similarity index 100% rename from cargo/remote/BUILD rename to bazel/cargo/remote/BUILD diff --git a/cargo/remote/ahash-0.3.8.BUILD b/bazel/cargo/remote/ahash-0.3.8.BUILD similarity index 100% rename from cargo/remote/ahash-0.3.8.BUILD rename to bazel/cargo/remote/ahash-0.3.8.BUILD diff --git a/cargo/remote/autocfg-1.0.0.BUILD b/bazel/cargo/remote/autocfg-1.0.0.BUILD similarity index 100% rename from cargo/remote/autocfg-1.0.0.BUILD rename to bazel/cargo/remote/autocfg-1.0.0.BUILD diff --git a/cargo/remote/cfg-if-0.1.10.BUILD b/bazel/cargo/remote/cfg-if-0.1.10.BUILD similarity index 100% rename from cargo/remote/cfg-if-0.1.10.BUILD rename to bazel/cargo/remote/cfg-if-0.1.10.BUILD diff --git a/cargo/remote/chrono-0.4.13.BUILD b/bazel/cargo/remote/chrono-0.4.13.BUILD similarity index 100% rename from cargo/remote/chrono-0.4.13.BUILD rename to bazel/cargo/remote/chrono-0.4.13.BUILD diff --git a/cargo/remote/hashbrown-0.8.2.BUILD b/bazel/cargo/remote/hashbrown-0.8.2.BUILD similarity index 100% rename from cargo/remote/hashbrown-0.8.2.BUILD rename to bazel/cargo/remote/hashbrown-0.8.2.BUILD diff --git a/cargo/remote/libc-0.2.74.BUILD b/bazel/cargo/remote/libc-0.2.74.BUILD similarity index 100% rename from cargo/remote/libc-0.2.74.BUILD rename to bazel/cargo/remote/libc-0.2.74.BUILD diff --git a/cargo/remote/log-0.4.11.BUILD b/bazel/cargo/remote/log-0.4.11.BUILD similarity index 100% rename from cargo/remote/log-0.4.11.BUILD rename to bazel/cargo/remote/log-0.4.11.BUILD diff --git a/cargo/remote/memory_units-0.4.0.BUILD b/bazel/cargo/remote/memory_units-0.4.0.BUILD similarity index 100% rename from cargo/remote/memory_units-0.4.0.BUILD rename to bazel/cargo/remote/memory_units-0.4.0.BUILD diff --git a/cargo/remote/num-integer-0.1.43.BUILD b/bazel/cargo/remote/num-integer-0.1.43.BUILD similarity index 100% rename from cargo/remote/num-integer-0.1.43.BUILD rename to bazel/cargo/remote/num-integer-0.1.43.BUILD diff --git a/cargo/remote/num-traits-0.2.12.BUILD b/bazel/cargo/remote/num-traits-0.2.12.BUILD similarity index 100% rename from cargo/remote/num-traits-0.2.12.BUILD rename to bazel/cargo/remote/num-traits-0.2.12.BUILD diff --git a/cargo/remote/time-0.1.43.BUILD b/bazel/cargo/remote/time-0.1.43.BUILD similarity index 100% rename from cargo/remote/time-0.1.43.BUILD rename to bazel/cargo/remote/time-0.1.43.BUILD diff --git a/cargo/remote/wee_alloc-0.4.5.BUILD b/bazel/cargo/remote/wee_alloc-0.4.5.BUILD similarity index 100% rename from cargo/remote/wee_alloc-0.4.5.BUILD rename to bazel/cargo/remote/wee_alloc-0.4.5.BUILD diff --git a/cargo/remote/winapi-0.3.9.BUILD b/bazel/cargo/remote/winapi-0.3.9.BUILD similarity index 100% rename from cargo/remote/winapi-0.3.9.BUILD rename to bazel/cargo/remote/winapi-0.3.9.BUILD diff --git a/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD b/bazel/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD similarity index 100% rename from cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD rename to bazel/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD diff --git a/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD b/bazel/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD similarity index 100% rename from cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD rename to bazel/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD diff --git a/examples/BUILD b/examples/BUILD index 4bd527a9..4901dd94 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -8,8 +8,8 @@ rust_binary( out_binary = True, deps = [ "//:proxy_wasm", - "//cargo:chrono", - "//cargo:log", + "//bazel/cargo:chrono", + "//bazel/cargo:log", ], ) @@ -21,7 +21,7 @@ rust_binary( out_binary = True, deps = [ "//:proxy_wasm", - "//cargo:log", + "//bazel/cargo:log", ], ) @@ -33,7 +33,7 @@ rust_binary( out_binary = True, deps = [ "//:proxy_wasm", - "//cargo:log", + "//bazel/cargo:log", ], ) @@ -45,6 +45,6 @@ rust_binary( out_binary = True, deps = [ "//:proxy_wasm", - "//cargo:log", + "//bazel/cargo:log", ], ) From a5302977fa8dce318e48ae24c13c3226675ed640 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 14 Aug 2020 22:09:44 +0000 Subject: [PATCH 2/2] review: fix cargo raze workspace path. Signed-off-by: Piotr Sikora --- Cargo.toml | 2 +- bazel/cargo/crates.bzl | 30 +++++++++---------- bazel/cargo/remote/ahash-0.3.8.BUILD | 2 +- bazel/cargo/remote/autocfg-1.0.0.BUILD | 2 +- bazel/cargo/remote/cfg-if-0.1.10.BUILD | 2 +- bazel/cargo/remote/chrono-0.4.13.BUILD | 2 +- bazel/cargo/remote/hashbrown-0.8.2.BUILD | 2 +- bazel/cargo/remote/libc-0.2.74.BUILD | 2 +- bazel/cargo/remote/log-0.4.11.BUILD | 2 +- bazel/cargo/remote/memory_units-0.4.0.BUILD | 2 +- bazel/cargo/remote/num-integer-0.1.43.BUILD | 2 +- bazel/cargo/remote/num-traits-0.2.12.BUILD | 2 +- bazel/cargo/remote/time-0.1.43.BUILD | 2 +- bazel/cargo/remote/wee_alloc-0.4.5.BUILD | 2 +- bazel/cargo/remote/winapi-0.3.9.BUILD | 2 +- .../winapi-i686-pc-windows-gnu-0.4.0.BUILD | 2 +- .../winapi-x86_64-pc-windows-gnu-0.4.0.BUILD | 2 +- 17 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9ae93ff4..e47b572f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ opt-level = 3 panic = "abort" [raze] -workspace_path = "//cargo" +workspace_path = "//bazel/cargo" target = "wasm32-unknown-unknown" genmode = "Remote" diff --git a/bazel/cargo/crates.bzl b/bazel/cargo/crates.bzl index 653a3021..3f76a886 100644 --- a/bazel/cargo/crates.bzl +++ b/bazel/cargo/crates.bzl @@ -22,7 +22,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217", strip_prefix = "ahash-0.3.8", - build_file = Label("//cargo/remote:ahash-0.3.8.BUILD"), + build_file = Label("//bazel/cargo/remote:ahash-0.3.8.BUILD"), ) _new_http_archive( @@ -31,7 +31,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d", strip_prefix = "autocfg-1.0.0", - build_file = Label("//cargo/remote:autocfg-1.0.0.BUILD"), + build_file = Label("//bazel/cargo/remote:autocfg-1.0.0.BUILD"), ) _new_http_archive( @@ -40,7 +40,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", strip_prefix = "cfg-if-0.1.10", - build_file = Label("//cargo/remote:cfg-if-0.1.10.BUILD"), + build_file = Label("//bazel/cargo/remote:cfg-if-0.1.10.BUILD"), ) _new_http_archive( @@ -49,7 +49,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "c74d84029116787153e02106bf53e66828452a4b325cc8652b788b5967c0a0b6", strip_prefix = "chrono-0.4.13", - build_file = Label("//cargo/remote:chrono-0.4.13.BUILD"), + build_file = Label("//bazel/cargo/remote:chrono-0.4.13.BUILD"), ) _new_http_archive( @@ -58,7 +58,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25", strip_prefix = "hashbrown-0.8.2", - build_file = Label("//cargo/remote:hashbrown-0.8.2.BUILD"), + build_file = Label("//bazel/cargo/remote:hashbrown-0.8.2.BUILD"), ) _new_http_archive( @@ -67,7 +67,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "a2f02823cf78b754822df5f7f268fb59822e7296276d3e069d8e8cb26a14bd10", strip_prefix = "libc-0.2.74", - build_file = Label("//cargo/remote:libc-0.2.74.BUILD"), + build_file = Label("//bazel/cargo/remote:libc-0.2.74.BUILD"), ) _new_http_archive( @@ -76,7 +76,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", strip_prefix = "log-0.4.11", - build_file = Label("//cargo/remote:log-0.4.11.BUILD"), + build_file = Label("//bazel/cargo/remote:log-0.4.11.BUILD"), ) _new_http_archive( @@ -85,7 +85,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3", strip_prefix = "memory_units-0.4.0", - build_file = Label("//cargo/remote:memory_units-0.4.0.BUILD"), + build_file = Label("//bazel/cargo/remote:memory_units-0.4.0.BUILD"), ) _new_http_archive( @@ -94,7 +94,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b", strip_prefix = "num-integer-0.1.43", - build_file = Label("//cargo/remote:num-integer-0.1.43.BUILD"), + build_file = Label("//bazel/cargo/remote:num-integer-0.1.43.BUILD"), ) _new_http_archive( @@ -103,7 +103,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611", strip_prefix = "num-traits-0.2.12", - build_file = Label("//cargo/remote:num-traits-0.2.12.BUILD"), + build_file = Label("//bazel/cargo/remote:num-traits-0.2.12.BUILD"), ) _new_http_archive( @@ -112,7 +112,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438", strip_prefix = "time-0.1.43", - build_file = Label("//cargo/remote:time-0.1.43.BUILD"), + build_file = Label("//bazel/cargo/remote:time-0.1.43.BUILD"), ) _new_http_archive( @@ -121,7 +121,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e", strip_prefix = "wee_alloc-0.4.5", - build_file = Label("//cargo/remote:wee_alloc-0.4.5.BUILD"), + build_file = Label("//bazel/cargo/remote:wee_alloc-0.4.5.BUILD"), ) _new_http_archive( @@ -130,7 +130,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", strip_prefix = "winapi-0.3.9", - build_file = Label("//cargo/remote:winapi-0.3.9.BUILD"), + build_file = Label("//bazel/cargo/remote:winapi-0.3.9.BUILD"), ) _new_http_archive( @@ -139,7 +139,7 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", - build_file = Label("//cargo/remote:winapi-i686-pc-windows-gnu-0.4.0.BUILD"), + build_file = Label("//bazel/cargo/remote:winapi-i686-pc-windows-gnu-0.4.0.BUILD"), ) _new_http_archive( @@ -148,6 +148,6 @@ def raze_fetch_remote_crates(): type = "tar.gz", sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", - build_file = Label("//cargo/remote:winapi-x86_64-pc-windows-gnu-0.4.0.BUILD"), + build_file = Label("//bazel/cargo/remote:winapi-x86_64-pc-windows-gnu-0.4.0.BUILD"), ) diff --git a/bazel/cargo/remote/ahash-0.3.8.BUILD b/bazel/cargo/remote/ahash-0.3.8.BUILD index e63b4074..56f7acd7 100644 --- a/bazel/cargo/remote/ahash-0.3.8.BUILD +++ b/bazel/cargo/remote/ahash-0.3.8.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/autocfg-1.0.0.BUILD b/bazel/cargo/remote/autocfg-1.0.0.BUILD index 0369819e..34c629ae 100644 --- a/bazel/cargo/remote/autocfg-1.0.0.BUILD +++ b/bazel/cargo/remote/autocfg-1.0.0.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/cfg-if-0.1.10.BUILD b/bazel/cargo/remote/cfg-if-0.1.10.BUILD index 2f657921..a3b94083 100644 --- a/bazel/cargo/remote/cfg-if-0.1.10.BUILD +++ b/bazel/cargo/remote/cfg-if-0.1.10.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/chrono-0.4.13.BUILD b/bazel/cargo/remote/chrono-0.4.13.BUILD index 87aad760..da2bbf08 100644 --- a/bazel/cargo/remote/chrono-0.4.13.BUILD +++ b/bazel/cargo/remote/chrono-0.4.13.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/hashbrown-0.8.2.BUILD b/bazel/cargo/remote/hashbrown-0.8.2.BUILD index 7a073640..f3416b79 100644 --- a/bazel/cargo/remote/hashbrown-0.8.2.BUILD +++ b/bazel/cargo/remote/hashbrown-0.8.2.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/libc-0.2.74.BUILD b/bazel/cargo/remote/libc-0.2.74.BUILD index d1a4a658..3fc249c0 100644 --- a/bazel/cargo/remote/libc-0.2.74.BUILD +++ b/bazel/cargo/remote/libc-0.2.74.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/log-0.4.11.BUILD b/bazel/cargo/remote/log-0.4.11.BUILD index ec0b13c5..0d08d313 100644 --- a/bazel/cargo/remote/log-0.4.11.BUILD +++ b/bazel/cargo/remote/log-0.4.11.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/memory_units-0.4.0.BUILD b/bazel/cargo/remote/memory_units-0.4.0.BUILD index e9c2994c..a8964bfa 100644 --- a/bazel/cargo/remote/memory_units-0.4.0.BUILD +++ b/bazel/cargo/remote/memory_units-0.4.0.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/num-integer-0.1.43.BUILD b/bazel/cargo/remote/num-integer-0.1.43.BUILD index e07c6afc..45c79ea3 100644 --- a/bazel/cargo/remote/num-integer-0.1.43.BUILD +++ b/bazel/cargo/remote/num-integer-0.1.43.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/num-traits-0.2.12.BUILD b/bazel/cargo/remote/num-traits-0.2.12.BUILD index 5a8faf8d..d870bc23 100644 --- a/bazel/cargo/remote/num-traits-0.2.12.BUILD +++ b/bazel/cargo/remote/num-traits-0.2.12.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/time-0.1.43.BUILD b/bazel/cargo/remote/time-0.1.43.BUILD index 7c9954db..e3a046b0 100644 --- a/bazel/cargo/remote/time-0.1.43.BUILD +++ b/bazel/cargo/remote/time-0.1.43.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/wee_alloc-0.4.5.BUILD b/bazel/cargo/remote/wee_alloc-0.4.5.BUILD index 7013b298..26e2bc58 100644 --- a/bazel/cargo/remote/wee_alloc-0.4.5.BUILD +++ b/bazel/cargo/remote/wee_alloc-0.4.5.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/winapi-0.3.9.BUILD b/bazel/cargo/remote/winapi-0.3.9.BUILD index 377e38bb..49b1e59a 100644 --- a/bazel/cargo/remote/winapi-0.3.9.BUILD +++ b/bazel/cargo/remote/winapi-0.3.9.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD b/bazel/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD index bd0921c1..b6841433 100644 --- a/bazel/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD +++ b/bazel/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ]) diff --git a/bazel/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD b/bazel/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD index 6770f841..c8a62c4f 100644 --- a/bazel/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD +++ b/bazel/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD @@ -6,7 +6,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # - # Prefer access through "//cargo", which limits external + # Prefer access through "//bazel/cargo", which limits external # visibility to explicit Cargo.toml dependencies. "//visibility:public", ])