Skip to content

Commit 1fe2315

Browse files
authored
Renamed workspace name from io_bazel_rule_rust to rules_rust (#500)
Generated by running ```bash LANG=C sed -i '' -e 's/io_bazel_rules_rust/rules_rust/' $(find . -type f -not -path "./.git/*") ``` There's some small amount of sorting in here as well (based on the new name) Closes #499 Blocked by google/cargo-raze#298 and google/cargo-raze#304
1 parent de4a350 commit 1fe2315

File tree

383 files changed

+1218
-1200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+1218
-1200
lines changed

.bazelci/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ tasks:
8686
platform: ubuntu1804
8787
working_directory: examples
8888
build_flags:
89-
- "--aspects=@io_bazel_rules_rust//rust:rust.bzl%rust_clippy_aspect"
89+
- "--aspects=@rules_rust//rust:rust.bzl%rust_clippy_aspect"
9090
- "--output_groups=clippy_checks"
9191
build_targets:
9292
- //...

WORKSPACE

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
workspace(name = "io_bazel_rules_rust")
1+
workspace(name = "rules_rust")
22

3-
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
3+
load("@rules_rust//rust:repositories.bzl", "rust_repositories")
44

55
rust_repositories()
66

7-
load("@io_bazel_rules_rust//proto:repositories.bzl", "rust_proto_repositories")
7+
load("@rules_rust//proto:repositories.bzl", "rust_proto_repositories")
88

99
rust_proto_repositories()
1010

11-
load("@io_bazel_rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories")
11+
load("@rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories")
1212

1313
rust_bindgen_repositories()
1414

15-
load("@io_bazel_rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories")
15+
load("@rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories")
1616

1717
rust_wasm_bindgen_repositories()
1818

bindgen/raze/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ libloading = "=0.6.3"
1313
genmode = "Remote"
1414
workspace_path = "//bindgen/raze"
1515
gen_workspace_prefix = "rules_rust_bindgen"
16-
rust_rules_workspace_name = "io_bazel_rules_rust"
16+
rust_rules_workspace_name = "rules_rust"
1717
package_aliases_dir = "."
1818
default_gen_buildrs = false
1919

bindgen/raze/remote/BUILD.aho-corasick-0.7.13.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",
@@ -56,8 +56,8 @@ rust_library(
5656
] + selects.with_or({
5757
# cfg(target_os = "windows")
5858
(
59-
"@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc",
60-
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
59+
"@rules_rust//rust/platform:i686-pc-windows-msvc",
60+
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
6161
): [
6262
"@rules_rust_bindgen__winapi__0_3_9//:winapi",
6363
],

bindgen/raze/remote/BUILD.atty-0.2.14.bazel

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",
@@ -56,31 +56,31 @@ rust_library(
5656
] + selects.with_or({
5757
# cfg(unix)
5858
(
59-
"@io_bazel_rules_rust//rust/platform:aarch64-apple-darwin",
60-
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
61-
"@io_bazel_rules_rust//rust/platform:aarch64-linux-android",
62-
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
63-
"@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi",
64-
"@io_bazel_rules_rust//rust/platform:i686-apple-darwin",
65-
"@io_bazel_rules_rust//rust/platform:i686-linux-android",
66-
"@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd",
67-
"@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu",
68-
"@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu",
69-
"@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu",
70-
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
71-
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
72-
"@io_bazel_rules_rust//rust/platform:x86_64-linux-android",
73-
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd",
74-
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
59+
"@rules_rust//rust/platform:aarch64-apple-darwin",
60+
"@rules_rust//rust/platform:aarch64-apple-ios",
61+
"@rules_rust//rust/platform:aarch64-linux-android",
62+
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
63+
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
64+
"@rules_rust//rust/platform:i686-apple-darwin",
65+
"@rules_rust//rust/platform:i686-linux-android",
66+
"@rules_rust//rust/platform:i686-unknown-freebsd",
67+
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
68+
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
69+
"@rules_rust//rust/platform:s390x-unknown-linux-gnu",
70+
"@rules_rust//rust/platform:x86_64-apple-darwin",
71+
"@rules_rust//rust/platform:x86_64-apple-ios",
72+
"@rules_rust//rust/platform:x86_64-linux-android",
73+
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
74+
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
7575
): [
7676
"@rules_rust_bindgen__libc__0_2_77//:libc",
7777
],
7878
"//conditions:default": [],
7979
}) + selects.with_or({
8080
# cfg(windows)
8181
(
82-
"@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc",
83-
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
82+
"@rules_rust//rust/platform:i686-pc-windows-msvc",
83+
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
8484
): [
8585
"@rules_rust_bindgen__winapi__0_3_9//:winapi",
8686
],

bindgen/raze/remote/BUILD.bindgen-0.55.1.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",
@@ -31,7 +31,7 @@ licenses([
3131
# Generated Targets
3232
# buildifier: disable=load-on-top
3333
load(
34-
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
34+
"@rules_rust//cargo:cargo_build_script.bzl",
3535
"cargo_build_script",
3636
)
3737

bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.clang-sys-1.0.0.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",
@@ -31,7 +31,7 @@ licenses([
3131
# Generated Targets
3232
# buildifier: disable=load-on-top
3333
load(
34-
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
34+
"@rules_rust//cargo:cargo_build_script.bzl",
3535
"cargo_build_script",
3636
)
3737

bindgen/raze/remote/BUILD.clap-2.33.3.bazel

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",
@@ -67,24 +67,24 @@ rust_library(
6767
] + selects.with_or({
6868
# cfg(not(windows))
6969
(
70-
"@io_bazel_rules_rust//rust/platform:aarch64-apple-darwin",
71-
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
72-
"@io_bazel_rules_rust//rust/platform:aarch64-linux-android",
73-
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
74-
"@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi",
75-
"@io_bazel_rules_rust//rust/platform:i686-apple-darwin",
76-
"@io_bazel_rules_rust//rust/platform:i686-linux-android",
77-
"@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd",
78-
"@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu",
79-
"@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu",
80-
"@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu",
81-
"@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown",
82-
"@io_bazel_rules_rust//rust/platform:wasm32-wasi",
83-
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
84-
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
85-
"@io_bazel_rules_rust//rust/platform:x86_64-linux-android",
86-
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd",
87-
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
70+
"@rules_rust//rust/platform:aarch64-apple-darwin",
71+
"@rules_rust//rust/platform:aarch64-apple-ios",
72+
"@rules_rust//rust/platform:aarch64-linux-android",
73+
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
74+
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
75+
"@rules_rust//rust/platform:i686-apple-darwin",
76+
"@rules_rust//rust/platform:i686-linux-android",
77+
"@rules_rust//rust/platform:i686-unknown-freebsd",
78+
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
79+
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
80+
"@rules_rust//rust/platform:s390x-unknown-linux-gnu",
81+
"@rules_rust//rust/platform:wasm32-unknown-unknown",
82+
"@rules_rust//rust/platform:wasm32-wasi",
83+
"@rules_rust//rust/platform:x86_64-apple-darwin",
84+
"@rules_rust//rust/platform:x86_64-apple-ios",
85+
"@rules_rust//rust/platform:x86_64-linux-android",
86+
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
87+
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
8888
): [
8989
"@rules_rust_bindgen__ansi_term__0_11_0//:ansi_term",
9090
],

bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.glob-0.3.0.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.hermit-abi-0.1.16.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.humantime-1.3.0.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

bindgen/raze/remote/BUILD.libc-0.2.77.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze
77

88
# buildifier: disable=load
99
load(
10-
"@io_bazel_rules_rust//rust:rust.bzl",
10+
"@rules_rust//rust:rust.bzl",
1111
"rust_binary",
1212
"rust_library",
1313
"rust_test",

0 commit comments

Comments
 (0)