Skip to content

Renamed workspace name from io_bazel_rule_rust to rules_rust #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ tasks:
platform: ubuntu1804
working_directory: examples
build_flags:
- "--aspects=@io_bazel_rules_rust//rust:rust.bzl%rust_clippy_aspect"
- "--aspects=@rules_rust//rust:rust.bzl%rust_clippy_aspect"
- "--output_groups=clippy_checks"
build_targets:
- //...
Expand Down
10 changes: 5 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
workspace(name = "io_bazel_rules_rust")
workspace(name = "rules_rust")

load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
load("@rules_rust//rust:repositories.bzl", "rust_repositories")

rust_repositories()

load("@io_bazel_rules_rust//proto:repositories.bzl", "rust_proto_repositories")
load("@rules_rust//proto:repositories.bzl", "rust_proto_repositories")

rust_proto_repositories()

load("@io_bazel_rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories")
load("@rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories")

rust_bindgen_repositories()

load("@io_bazel_rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories")
load("@rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories")

rust_wasm_bindgen_repositories()

Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ libloading = "=0.6.3"
genmode = "Remote"
workspace_path = "//bindgen/raze"
gen_workspace_prefix = "rules_rust_bindgen"
rust_rules_workspace_name = "io_bazel_rules_rust"
rust_rules_workspace_name = "rules_rust"
package_aliases_dir = "."
default_gen_buildrs = false

Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.aho-corasick-0.7.13.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
6 changes: 3 additions & 3 deletions bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down Expand Up @@ -56,8 +56,8 @@ rust_library(
] + selects.with_or({
# cfg(target_os = "windows")
(
"@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc",
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
"@rules_rust//rust/platform:i686-pc-windows-msvc",
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
"@rules_rust_bindgen__winapi__0_3_9//:winapi",
],
Expand Down
38 changes: 19 additions & 19 deletions bindgen/raze/remote/BUILD.atty-0.2.14.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down Expand Up @@ -56,31 +56,31 @@ rust_library(
] + selects.with_or({
# cfg(unix)
(
"@io_bazel_rules_rust//rust/platform:aarch64-apple-darwin",
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
"@io_bazel_rules_rust//rust/platform:aarch64-linux-android",
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi",
"@io_bazel_rules_rust//rust/platform:i686-apple-darwin",
"@io_bazel_rules_rust//rust/platform:i686-linux-android",
"@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd",
"@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
"@io_bazel_rules_rust//rust/platform:x86_64-linux-android",
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd",
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-linux-android",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
"@rules_rust//rust/platform:i686-apple-darwin",
"@rules_rust//rust/platform:i686-linux-android",
"@rules_rust//rust/platform:i686-unknown-freebsd",
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
"@rules_rust//rust/platform:s390x-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-apple-ios",
"@rules_rust//rust/platform:x86_64-linux-android",
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
"@rules_rust_bindgen__libc__0_2_77//:libc",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc",
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
"@rules_rust//rust/platform:i686-pc-windows-msvc",
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
"@rules_rust_bindgen__winapi__0_3_9//:winapi",
],
Expand Down
4 changes: 2 additions & 2 deletions bindgen/raze/remote/BUILD.bindgen-0.55.1.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand All @@ -31,7 +31,7 @@ licenses([
# Generated Targets
# buildifier: disable=load-on-top
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"@rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)

Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
4 changes: 2 additions & 2 deletions bindgen/raze/remote/BUILD.clang-sys-1.0.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand All @@ -31,7 +31,7 @@ licenses([
# Generated Targets
# buildifier: disable=load-on-top
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"@rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)

Expand Down
38 changes: 19 additions & 19 deletions bindgen/raze/remote/BUILD.clap-2.33.3.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down Expand Up @@ -67,24 +67,24 @@ rust_library(
] + selects.with_or({
# cfg(not(windows))
(
"@io_bazel_rules_rust//rust/platform:aarch64-apple-darwin",
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
"@io_bazel_rules_rust//rust/platform:aarch64-linux-android",
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi",
"@io_bazel_rules_rust//rust/platform:i686-apple-darwin",
"@io_bazel_rules_rust//rust/platform:i686-linux-android",
"@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd",
"@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown",
"@io_bazel_rules_rust//rust/platform:wasm32-wasi",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
"@io_bazel_rules_rust//rust/platform:x86_64-linux-android",
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd",
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-linux-android",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
"@rules_rust//rust/platform:i686-apple-darwin",
"@rules_rust//rust/platform:i686-linux-android",
"@rules_rust//rust/platform:i686-unknown-freebsd",
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
"@rules_rust//rust/platform:s390x-unknown-linux-gnu",
"@rules_rust//rust/platform:wasm32-unknown-unknown",
"@rules_rust//rust/platform:wasm32-wasi",
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-apple-ios",
"@rules_rust//rust/platform:x86_64-linux-android",
"@rules_rust//rust/platform:x86_64-unknown-freebsd",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
"@rules_rust_bindgen__ansi_term__0_11_0//:ansi_term",
],
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.glob-0.3.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.hermit-abi-0.1.16.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.humantime-1.3.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
2 changes: 1 addition & 1 deletion bindgen/raze/remote/BUILD.libc-0.2.77.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
Expand Down
Loading