diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 3f29671c7e..d47ba576fa 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -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: - //... diff --git a/WORKSPACE b/WORKSPACE index fc72f88145..92ffdee023 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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() diff --git a/bindgen/raze/Cargo.toml b/bindgen/raze/Cargo.toml index 59d549f656..067bc7a695 100644 --- a/bindgen/raze/Cargo.toml +++ b/bindgen/raze/Cargo.toml @@ -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 diff --git a/bindgen/raze/remote/BUILD.aho-corasick-0.7.13.bazel b/bindgen/raze/remote/BUILD.aho-corasick-0.7.13.bazel index 9d281998bd..63a40a1a77 100644 --- a/bindgen/raze/remote/BUILD.aho-corasick-0.7.13.bazel +++ b/bindgen/raze/remote/BUILD.aho-corasick-0.7.13.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel b/bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel index c693bd5ead..0a92e6f7eb 100644 --- a/bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel +++ b/bindgen/raze/remote/BUILD.ansi_term-0.11.0.bazel @@ -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", @@ -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", ], diff --git a/bindgen/raze/remote/BUILD.atty-0.2.14.bazel b/bindgen/raze/remote/BUILD.atty-0.2.14.bazel index d93908ccc0..e89d5a9a8a 100644 --- a/bindgen/raze/remote/BUILD.atty-0.2.14.bazel +++ b/bindgen/raze/remote/BUILD.atty-0.2.14.bazel @@ -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", @@ -56,22 +56,22 @@ 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", ], @@ -79,8 +79,8 @@ rust_library( }) + 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", ], diff --git a/bindgen/raze/remote/BUILD.bindgen-0.55.1.bazel b/bindgen/raze/remote/BUILD.bindgen-0.55.1.bazel index e8690aab2e..a8ae843eaa 100644 --- a/bindgen/raze/remote/BUILD.bindgen-0.55.1.bazel +++ b/bindgen/raze/remote/BUILD.bindgen-0.55.1.bazel @@ -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", @@ -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", ) diff --git a/bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel b/bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel index fd0297d70a..5c7a7c33b1 100644 --- a/bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel +++ b/bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel b/bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel index f1f729bc15..34a128db24 100644 --- a/bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel +++ b/bindgen/raze/remote/BUILD.cexpr-0.4.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel b/bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel index 6905b1f1d9..66a18abef0 100644 --- a/bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel +++ b/bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.clang-sys-1.0.0.bazel b/bindgen/raze/remote/BUILD.clang-sys-1.0.0.bazel index 53d36af7c2..d813337f97 100644 --- a/bindgen/raze/remote/BUILD.clang-sys-1.0.0.bazel +++ b/bindgen/raze/remote/BUILD.clang-sys-1.0.0.bazel @@ -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", @@ -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", ) diff --git a/bindgen/raze/remote/BUILD.clap-2.33.3.bazel b/bindgen/raze/remote/BUILD.clap-2.33.3.bazel index b7eb707172..8ec09f5667 100644 --- a/bindgen/raze/remote/BUILD.clap-2.33.3.bazel +++ b/bindgen/raze/remote/BUILD.clap-2.33.3.bazel @@ -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", @@ -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", ], diff --git a/bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel b/bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel index 3677a6298c..2606a789c6 100644 --- a/bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel +++ b/bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.glob-0.3.0.bazel b/bindgen/raze/remote/BUILD.glob-0.3.0.bazel index db639665a5..db3c2dba19 100644 --- a/bindgen/raze/remote/BUILD.glob-0.3.0.bazel +++ b/bindgen/raze/remote/BUILD.glob-0.3.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.hermit-abi-0.1.16.bazel b/bindgen/raze/remote/BUILD.hermit-abi-0.1.16.bazel index 71c9986e01..1245d6ca66 100644 --- a/bindgen/raze/remote/BUILD.hermit-abi-0.1.16.bazel +++ b/bindgen/raze/remote/BUILD.hermit-abi-0.1.16.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.humantime-1.3.0.bazel b/bindgen/raze/remote/BUILD.humantime-1.3.0.bazel index b2a967e9fd..a645c72fd4 100644 --- a/bindgen/raze/remote/BUILD.humantime-1.3.0.bazel +++ b/bindgen/raze/remote/BUILD.humantime-1.3.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel b/bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel index 7b829efbad..cfb9ddcabc 100644 --- a/bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel +++ b/bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel b/bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel index 30af437bcd..b62f9a7bd6 100644 --- a/bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel +++ b/bindgen/raze/remote/BUILD.lazycell-1.3.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.libc-0.2.77.bazel b/bindgen/raze/remote/BUILD.libc-0.2.77.bazel index 7ca35c8fe8..3e00202b07 100644 --- a/bindgen/raze/remote/BUILD.libc-0.2.77.bazel +++ b/bindgen/raze/remote/BUILD.libc-0.2.77.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.libloading-0.6.3.bazel b/bindgen/raze/remote/BUILD.libloading-0.6.3.bazel index 717781935f..576c93c322 100644 --- a/bindgen/raze/remote/BUILD.libloading-0.6.3.bazel +++ b/bindgen/raze/remote/BUILD.libloading-0.6.3.bazel @@ -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", @@ -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", ) @@ -58,30 +58,30 @@ cargo_build_script( ] + 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", ): [ ], "//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", ): [ ], "//conditions:default": [], @@ -113,22 +113,22 @@ 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__cfg_if__0_1_10//:cfg_if", ], @@ -136,8 +136,8 @@ rust_library( }) + 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", ], diff --git a/bindgen/raze/remote/BUILD.log-0.4.11.bazel b/bindgen/raze/remote/BUILD.log-0.4.11.bazel index 34dcf783c9..9fee43c8ac 100644 --- a/bindgen/raze/remote/BUILD.log-0.4.11.bazel +++ b/bindgen/raze/remote/BUILD.log-0.4.11.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.memchr-2.3.3.bazel b/bindgen/raze/remote/BUILD.memchr-2.3.3.bazel index 9f5700c216..6629c3808f 100644 --- a/bindgen/raze/remote/BUILD.memchr-2.3.3.bazel +++ b/bindgen/raze/remote/BUILD.memchr-2.3.3.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.nom-5.1.2.bazel b/bindgen/raze/remote/BUILD.nom-5.1.2.bazel index b59ce3333b..2e09420991 100644 --- a/bindgen/raze/remote/BUILD.nom-5.1.2.bazel +++ b/bindgen/raze/remote/BUILD.nom-5.1.2.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.peeking_take_while-0.1.2.bazel b/bindgen/raze/remote/BUILD.peeking_take_while-0.1.2.bazel index 6ea3ace427..600a171c2c 100644 --- a/bindgen/raze/remote/BUILD.peeking_take_while-0.1.2.bazel +++ b/bindgen/raze/remote/BUILD.peeking_take_while-0.1.2.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.proc-macro2-1.0.23.bazel b/bindgen/raze/remote/BUILD.proc-macro2-1.0.23.bazel index 76f889f611..71a6d9d621 100644 --- a/bindgen/raze/remote/BUILD.proc-macro2-1.0.23.bazel +++ b/bindgen/raze/remote/BUILD.proc-macro2-1.0.23.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel b/bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel index 02b1ae4a26..362de1aed7 100644 --- a/bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel +++ b/bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.quote-1.0.7.bazel b/bindgen/raze/remote/BUILD.quote-1.0.7.bazel index e7bf7785c4..fbc2937223 100644 --- a/bindgen/raze/remote/BUILD.quote-1.0.7.bazel +++ b/bindgen/raze/remote/BUILD.quote-1.0.7.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.regex-1.3.9.bazel b/bindgen/raze/remote/BUILD.regex-1.3.9.bazel index a70c45ccd4..2898fb03fe 100644 --- a/bindgen/raze/remote/BUILD.regex-1.3.9.bazel +++ b/bindgen/raze/remote/BUILD.regex-1.3.9.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.regex-syntax-0.6.18.bazel b/bindgen/raze/remote/BUILD.regex-syntax-0.6.18.bazel index 9438b7ae47..c3a30f8ae8 100644 --- a/bindgen/raze/remote/BUILD.regex-syntax-0.6.18.bazel +++ b/bindgen/raze/remote/BUILD.regex-syntax-0.6.18.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.rustc-hash-1.1.0.bazel b/bindgen/raze/remote/BUILD.rustc-hash-1.1.0.bazel index 7b4585fb16..7fbb908bdc 100644 --- a/bindgen/raze/remote/BUILD.rustc-hash-1.1.0.bazel +++ b/bindgen/raze/remote/BUILD.rustc-hash-1.1.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.shlex-0.1.1.bazel b/bindgen/raze/remote/BUILD.shlex-0.1.1.bazel index eada9ade12..ca030a2ed1 100644 --- a/bindgen/raze/remote/BUILD.shlex-0.1.1.bazel +++ b/bindgen/raze/remote/BUILD.shlex-0.1.1.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.strsim-0.8.0.bazel b/bindgen/raze/remote/BUILD.strsim-0.8.0.bazel index 13c221455c..16a9ec6f74 100644 --- a/bindgen/raze/remote/BUILD.strsim-0.8.0.bazel +++ b/bindgen/raze/remote/BUILD.strsim-0.8.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.termcolor-1.1.0.bazel b/bindgen/raze/remote/BUILD.termcolor-1.1.0.bazel index c3ec57ae0a..38c2be1313 100644 --- a/bindgen/raze/remote/BUILD.termcolor-1.1.0.bazel +++ b/bindgen/raze/remote/BUILD.termcolor-1.1.0.bazel @@ -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", @@ -54,8 +54,8 @@ rust_library( ] + 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_util__0_1_5//:winapi_util", ], diff --git a/bindgen/raze/remote/BUILD.textwrap-0.11.0.bazel b/bindgen/raze/remote/BUILD.textwrap-0.11.0.bazel index 757a262af8..16b2f6747b 100644 --- a/bindgen/raze/remote/BUILD.textwrap-0.11.0.bazel +++ b/bindgen/raze/remote/BUILD.textwrap-0.11.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel b/bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel index cb19c0b3bc..9c41830750 100644 --- a/bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel +++ b/bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.unicode-width-0.1.8.bazel b/bindgen/raze/remote/BUILD.unicode-width-0.1.8.bazel index 9fcbd5156f..c5a1ca5cf6 100644 --- a/bindgen/raze/remote/BUILD.unicode-width-0.1.8.bazel +++ b/bindgen/raze/remote/BUILD.unicode-width-0.1.8.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel b/bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel index 8269eca2bd..e247ac48cc 100644 --- a/bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel +++ b/bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.vec_map-0.8.2.bazel b/bindgen/raze/remote/BUILD.vec_map-0.8.2.bazel index 88d04d9307..8c28703e64 100644 --- a/bindgen/raze/remote/BUILD.vec_map-0.8.2.bazel +++ b/bindgen/raze/remote/BUILD.vec_map-0.8.2.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.version_check-0.9.2.bazel b/bindgen/raze/remote/BUILD.version_check-0.9.2.bazel index a1ea795407..704004da94 100644 --- a/bindgen/raze/remote/BUILD.version_check-0.9.2.bazel +++ b/bindgen/raze/remote/BUILD.version_check-0.9.2.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.which-3.1.1.bazel b/bindgen/raze/remote/BUILD.which-3.1.1.bazel index d60e2a4f67..7ff610798e 100644 --- a/bindgen/raze/remote/BUILD.which-3.1.1.bazel +++ b/bindgen/raze/remote/BUILD.which-3.1.1.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.winapi-0.3.9.bazel b/bindgen/raze/remote/BUILD.winapi-0.3.9.bazel index 411c75f1b8..3710eb6617 100644 --- a/bindgen/raze/remote/BUILD.winapi-0.3.9.bazel +++ b/bindgen/raze/remote/BUILD.winapi-0.3.9.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index b327700416..83daa92bdc 100644 --- a/bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -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", diff --git a/bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel b/bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel index 6d77b29338..3cff7403c0 100644 --- a/bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel +++ b/bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel @@ -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", @@ -54,8 +54,8 @@ rust_library( ] + 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", ], diff --git a/bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index 801e1e81f5..6bf980e83a 100644 --- a/bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -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", diff --git a/cargo/cargo_build_script.bzl b/cargo/cargo_build_script.bzl index e69860a528..efde91e28d 100644 --- a/cargo/cargo_build_script.bzl +++ b/cargo/cargo_build_script.bzl @@ -270,8 +270,8 @@ def cargo_build_script( ```python package(default_visibility = ["//visibility:public"]) - load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library") - load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") + load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_library") + load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") # This will run the build script from the root of the workspace, and # collect the outputs. diff --git a/docs/BUILD b/docs/BUILD index 850f29f1d8..b274a2892b 100644 --- a/docs/BUILD +++ b/docs/BUILD @@ -12,12 +12,12 @@ bzl_library( "@bazel_skylib//:workspace", "@bazel_skylib//lib:unittest", "@bazel_skylib//lib:versions", - "@io_bazel_rules_rust//:rules", - "@io_bazel_rules_rust//bindgen:rules", - "@io_bazel_rules_rust//cargo:rules", - "@io_bazel_rules_rust//proto:rules", - "@io_bazel_rules_rust//rust:rules", - "@io_bazel_rules_rust//wasm_bindgen:rules", + "@rules_rust//:rules", + "@rules_rust//bindgen:rules", + "@rules_rust//cargo:rules", + "@rules_rust//proto:rules", + "@rules_rust//rust:rules", + "@rules_rust//wasm_bindgen:rules", "@rules_proto//proto:rules", ], ) diff --git a/docs/all.bzl b/docs/all.bzl index e0dc4da6f2..855026aec5 100644 --- a/docs/all.bzl +++ b/docs/all.bzl @@ -3,41 +3,41 @@ to have stardoc generated documentation. """ load( - "@io_bazel_rules_rust//bindgen:bindgen.bzl", + "@rules_rust//bindgen:bindgen.bzl", _rust_bindgen = "rust_bindgen", _rust_bindgen_library = "rust_bindgen_library", _rust_bindgen_toolchain = "rust_bindgen_toolchain", ) load( - "@io_bazel_rules_rust//bindgen:repositories.bzl", + "@rules_rust//bindgen:repositories.bzl", _rust_bindgen_repositories = "rust_bindgen_repositories", ) load( - "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "@rules_rust//cargo:cargo_build_script.bzl", _cargo_build_script = "cargo_build_script", ) load( - "@io_bazel_rules_rust//proto:proto.bzl", + "@rules_rust//proto:proto.bzl", _rust_grpc_library = "rust_grpc_library", _rust_proto_library = "rust_proto_library", ) load( - "@io_bazel_rules_rust//proto:repositories.bzl", + "@rules_rust//proto:repositories.bzl", _rust_proto_repositories = "rust_proto_repositories", ) load( - "@io_bazel_rules_rust//proto:toolchain.bzl", + "@rules_rust//proto:toolchain.bzl", _rust_proto_toolchain = "rust_proto_toolchain", ) load( - "@io_bazel_rules_rust//rust:repositories.bzl", + "@rules_rust//rust:repositories.bzl", _rust_repositories = "rust_repositories", _rust_repository_set = "rust_repository_set", _rust_toolchain_repository = "rust_toolchain_repository", _rust_toolchain_repository_proxy = "rust_toolchain_repository_proxy", ) load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", _rust_benchmark = "rust_benchmark", _rust_binary = "rust_binary", _rust_doc = "rust_doc", @@ -46,15 +46,15 @@ load( _rust_test = "rust_test", ) load( - "@io_bazel_rules_rust//rust:toolchain.bzl", + "@rules_rust//rust:toolchain.bzl", _rust_toolchain = "rust_toolchain", ) load( - "@io_bazel_rules_rust//wasm_bindgen:repositories.bzl", + "@rules_rust//wasm_bindgen:repositories.bzl", _rust_wasm_bindgen_repositories = "rust_wasm_bindgen_repositories", ) load( - "@io_bazel_rules_rust//wasm_bindgen:wasm_bindgen.bzl", + "@rules_rust//wasm_bindgen:wasm_bindgen.bzl", _rust_wasm_bindgen = "rust_wasm_bindgen", _rust_wasm_bindgen_toolchain = "rust_wasm_bindgen_toolchain", ) diff --git a/docs/cargo_build_script.md b/docs/cargo_build_script.md index 7918d8341a..a1f4ee0103 100644 --- a/docs/cargo_build_script.md +++ b/docs/cargo_build_script.md @@ -33,8 +33,8 @@ Then you want to use the build script in the following: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library") -load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") +load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_library") +load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") # This will run the build script from the root of the workspace, and # collect the outputs. diff --git a/docs/docs_deps.bzl b/docs/docs_deps.bzl index a7a4a85bf4..c678e7a402 100644 --- a/docs/docs_deps.bzl +++ b/docs/docs_deps.bzl @@ -1,6 +1,6 @@ """Define dependencies for `rules_rust` docs""" -load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories") +load("@rules_rust//rust:repositories.bzl", "rust_repositories") load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") def deps(): diff --git a/docs/docs_repositories.bzl b/docs/docs_repositories.bzl index bce54577e2..a2842b282f 100644 --- a/docs/docs_repositories.bzl +++ b/docs/docs_repositories.bzl @@ -12,7 +12,7 @@ def repositories(is_top_level = False): """ maybe( native.local_repository, - name = "io_bazel_rules_rust", + name = "rules_rust", path = "..", ) diff --git a/docs/docs_transitive_deps.bzl b/docs/docs_transitive_deps.bzl index 3107fb240b..4da7732026 100644 --- a/docs/docs_transitive_deps.bzl +++ b/docs/docs_transitive_deps.bzl @@ -1,7 +1,7 @@ """Define transitive dependencies for `rules_rust` docs""" load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") -load("@io_bazel_rules_rust//proto:repositories.bzl", "rust_proto_repositories") +load("@rules_rust//proto:repositories.bzl", "rust_proto_repositories") def transitive_deps(is_top_level = False): """Define transitive dependencies for `rules_rust` docs diff --git a/docs/flatten.md b/docs/flatten.md index be987b237d..ba8f6fdd08 100644 --- a/docs/flatten.md +++ b/docs/flatten.md @@ -93,7 +93,7 @@ To build the benchmark test, add a `rust_benchmark` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_benchmark") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_benchmark") rust_library( name = "fibonacci", @@ -183,7 +183,7 @@ impl Greeter { ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "hello_lib", @@ -203,7 +203,7 @@ fn main() { `hello_world/BUILD`: ```python -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//rust:rust.bzl", "rust_binary") rust_binary( name = "hello_world", @@ -323,7 +323,7 @@ Example: ```python package(default_visibility = ["//visibility:public"]) - load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_doc") + load("@rules_rust//rust:rust.bzl", "rust_library", "rust_doc") rust_library( name = "hello_lib", @@ -382,7 +382,7 @@ To run [documentation tests][doc-test] for the `hello_lib` crate, define a `rust ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_doc_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_doc_test") rust_library( name = "hello_lib", @@ -420,8 +420,8 @@ Builds a Rust library crate from a set of `proto_library`s suitable for gRPC. Example: ```python -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_grpc_library") -load("@io_bazel_rules_rust//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") +load("//proto:proto.bzl", "rust_grpc_library") +load("//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") proto_library( name = "my_proto", @@ -448,7 +448,7 @@ rust_binary( | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | List of labels | required | | -| rust_deps | The crates the generated library depends on. | List of labels | optional | ["@io_bazel_rules_rust//proto/raze:protobuf", "@io_bazel_rules_rust//proto/raze:grpc", "@io_bazel_rules_rust//proto/raze:tls_api", "@io_bazel_rules_rust//proto/raze:tls_api_stub"] | +| rust_deps | The crates the generated library depends on. | List of labels | optional | [Label("//proto/raze:protobuf"), Label("//proto/raze:grpc"), Label("//proto/raze:tls_api"), Label("//proto/raze:tls_api_stub")] | @@ -503,7 +503,7 @@ pub mod greeter; ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "hello_lib", @@ -559,8 +559,8 @@ Builds a Rust library crate from a set of `proto_library`s. Example: ```python -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library") -load("@io_bazel_rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS") +load("@rules_rust//proto:proto.bzl", "rust_proto_library") +load("@rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS") proto_library( name = "my_proto", @@ -587,7 +587,7 @@ rust_binary( | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | List of labels | required | | -| rust_deps | The crates the generated library depends on. | List of labels | optional | ["@io_bazel_rules_rust//proto/raze:protobuf"] | +| rust_deps | The crates the generated library depends on. | List of labels | optional | [Label("//proto/raze:protobuf")] | @@ -607,7 +607,7 @@ Example: Suppose a new nicer gRPC plugin has came out. The new plugin can be used in Bazel by defining a new toolchain definition and declaration: ```python -load('@io_bazel_rules_rust//proto:toolchain.bzl', 'rust_proto_toolchain') +load('@rules_rust//proto:toolchain.bzl', 'rust_proto_toolchain') rust_proto_toolchain( name="rust_proto_impl", @@ -629,7 +629,7 @@ toolchain( Then, either add the label of the toolchain rule to register_toolchains in the WORKSPACE, or pass it to the `--extra_toolchains` flag for Bazel, and it will be used. -See @io_bazel_rules_rust//proto:BUILD for examples of defining the toolchain. +See @rules_rust//proto:BUILD for examples of defining the toolchain. **ATTRIBUTES** @@ -639,8 +639,8 @@ See @io_bazel_rules_rust//proto:BUILD for examples of defining the toolchain. | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | | edition | The edition used by the generated rust source. | String | optional | "2015" | -| grpc_plugin | The location of the Rust protobuf compiler plugin to generate rust gRPC stubs. | Label | optional | @io_bazel_rules_rust//proto:protoc_gen_rust_grpc | -| proto_plugin | The location of the Rust protobuf compiler plugin used to generate rust sources. | Label | optional | @io_bazel_rules_rust//proto:protoc_gen_rust | +| grpc_plugin | The location of the Rust protobuf compiler plugin to generate rust gRPC stubs. | Label | optional | //proto:protoc_gen_rust_grpc | +| proto_plugin | The location of the Rust protobuf compiler plugin used to generate rust sources. | Label | optional | //proto:protoc_gen_rust | | protoc | The location of the protoc binary. It should be an executable target. | Label | optional | @com_google_protobuf//:protoc | @@ -702,7 +702,7 @@ To build and run the tests, simply add a `rust_test` rule with no `srcs` and onl ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", @@ -765,7 +765,7 @@ with `greeting.rs` in `srcs` and a dependency on the `hello_lib` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", @@ -823,7 +823,7 @@ Example: Suppose the core rust team has ported the compiler to a new target CPU, called `cpuX`. This support can be used in Bazel by defining a new toolchain definition and declaration: ```python -load('@io_bazel_rules_rust//rust:toolchain.bzl', 'rust_toolchain') +load('@rules_rust//rust:toolchain.bzl', 'rust_toolchain') rust_toolchain( name = "rust_cpuX_impl", @@ -852,7 +852,7 @@ toolchain( Then, either add the label of the toolchain rule to `register_toolchains` in the WORKSPACE, or pass it to the `"--extra_toolchains"` flag for Bazel, and it will be used. -See @io_bazel_rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX repository with the actual binaries and libraries. +See @rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX repository with the actual binaries and libraries. **ATTRIBUTES** @@ -951,12 +951,12 @@ To use the Rust WebAssembly bindgen rules, add the following to your `WORKSPACE` external repositories for the Rust bindgen toolchain (in addition to the Rust rules setup): ```python -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() ``` -An example of this rule in use can be seen at [@io_bazel_rules_rust//examples/wasm/...](../examples/wasm) +An example of this rule in use can be seen at [@rules_rust//examples/wasm/...](../examples/wasm) **ATTRIBUTES** @@ -982,7 +982,7 @@ The tools required for the `rust_wasm_bindgen` rule. You can also use your own version of wasm-bindgen using the toolchain rules below: ```python -load("@io_bazel_rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain") +load("@rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain") rust_bindgen_toolchain( bindgen = "//my/raze:cargo_bin_wasm_bindgen", @@ -991,7 +991,7 @@ rust_bindgen_toolchain( toolchain( name = "wasm-bindgen-toolchain", toolchain = "wasm-bindgen-toolchain-impl", - toolchain_type = "@io_bazel_rules_rust//wasm_bindgen:wasm_bindgen_toolchain", + toolchain_type = "@rules_rust//wasm_bindgen:wasm_bindgen_toolchain", ) ``` @@ -1046,8 +1046,8 @@ Then you want to use the build script in the following: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library") -load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") +load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_library") +load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") # This will run the build script from the root of the workspace, and # collect the outputs. @@ -1169,7 +1169,7 @@ The `sha256` attribute represents a dict associating tool subdirectories to sha2 ``` This would match for `exec_triple = "x86_64-unknown-linux-gnu"`. If not specified, rules_rust pulls from a non-exhaustive list of known checksums.. -See `load_arbitrary_tool` in `@io_bazel_rules_rust//rust:repositories.bzl` for more details. +See `load_arbitrary_tool` in `@rules_rust//rust:repositories.bzl` for more details. **PARAMETERS** @@ -1227,7 +1227,7 @@ rust_wasm_bindgen_repositories() Declare dependencies needed for wasm-bindgen. -This macro will load crate dependencies of `wasm-bindgen` that are generated using [cargo raze][raze] inside the rules_rust repository. This makes the default toolchain `@io_bazel_rules_rust//wasm_bindgen:default_wasm_bindgen_toolchain` available. For more information on `wasm_bindgen` toolchains, see [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain). +This macro will load crate dependencies of `wasm-bindgen` that are generated using [cargo raze][raze] inside the rules_rust repository. This makes the default toolchain `@rules_rust//wasm_bindgen:default_wasm_bindgen_toolchain` available. For more information on `wasm_bindgen` toolchains, see [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain). diff --git a/docs/rust.md b/docs/rust.md index 76843bb972..43999ee150 100644 --- a/docs/rust.md +++ b/docs/rust.md @@ -72,7 +72,7 @@ To build the benchmark test, add a `rust_benchmark` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_benchmark") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_benchmark") rust_library( name = "fibonacci", @@ -162,7 +162,7 @@ impl Greeter { ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "hello_lib", @@ -182,7 +182,7 @@ fn main() { `hello_world/BUILD`: ```python -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//rust:rust.bzl", "rust_binary") rust_binary( name = "hello_world", @@ -280,7 +280,7 @@ pub mod greeter; ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "hello_lib", @@ -381,7 +381,7 @@ To build and run the tests, simply add a `rust_test` rule with no `srcs` and onl ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", @@ -444,7 +444,7 @@ with `greeting.rs` in `srcs` and a dependency on the `hello_lib` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", diff --git a/docs/rust_doc.md b/docs/rust_doc.md index 3a9afdf553..26ac5557fd 100644 --- a/docs/rust_doc.md +++ b/docs/rust_doc.md @@ -31,7 +31,7 @@ Example: ```python package(default_visibility = ["//visibility:public"]) - load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_doc") + load("@rules_rust//rust:rust.bzl", "rust_library", "rust_doc") rust_library( name = "hello_lib", @@ -90,7 +90,7 @@ To run [documentation tests][doc-test] for the `hello_lib` crate, define a `rust ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_doc_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_doc_test") rust_library( name = "hello_lib", diff --git a/docs/rust_proto.md b/docs/rust_proto.md index 93f08ddd19..5e2f7097aa 100644 --- a/docs/rust_proto.md +++ b/docs/rust_proto.md @@ -17,8 +17,8 @@ Builds a Rust library crate from a set of `proto_library`s suitable for gRPC. Example: ```python -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_grpc_library") -load("@io_bazel_rules_rust//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") +load("//proto:proto.bzl", "rust_grpc_library") +load("//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") proto_library( name = "my_proto", @@ -45,7 +45,7 @@ rust_binary( | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | List of labels | required | | -| rust_deps | The crates the generated library depends on. | List of labels | optional | ["@io_bazel_rules_rust//proto/raze:protobuf", "@io_bazel_rules_rust//proto/raze:grpc", "@io_bazel_rules_rust//proto/raze:tls_api", "@io_bazel_rules_rust//proto/raze:tls_api_stub"] | +| rust_deps | The crates the generated library depends on. | List of labels | optional | [Label("//proto/raze:protobuf"), Label("//proto/raze:grpc"), Label("//proto/raze:tls_api"), Label("//proto/raze:tls_api_stub")] | @@ -61,8 +61,8 @@ Builds a Rust library crate from a set of `proto_library`s. Example: ```python -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library") -load("@io_bazel_rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS") +load("@rules_rust//proto:proto.bzl", "rust_proto_library") +load("@rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS") proto_library( name = "my_proto", @@ -89,7 +89,7 @@ rust_binary( | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | List of labels | required | | -| rust_deps | The crates the generated library depends on. | List of labels | optional | ["@io_bazel_rules_rust//proto/raze:protobuf"] | +| rust_deps | The crates the generated library depends on. | List of labels | optional | [Label("//proto/raze:protobuf")] | @@ -109,7 +109,7 @@ Example: Suppose a new nicer gRPC plugin has came out. The new plugin can be used in Bazel by defining a new toolchain definition and declaration: ```python -load('@io_bazel_rules_rust//proto:toolchain.bzl', 'rust_proto_toolchain') +load('@rules_rust//proto:toolchain.bzl', 'rust_proto_toolchain') rust_proto_toolchain( name="rust_proto_impl", @@ -131,7 +131,7 @@ toolchain( Then, either add the label of the toolchain rule to register_toolchains in the WORKSPACE, or pass it to the `--extra_toolchains` flag for Bazel, and it will be used. -See @io_bazel_rules_rust//proto:BUILD for examples of defining the toolchain. +See @rules_rust//proto:BUILD for examples of defining the toolchain. **ATTRIBUTES** @@ -141,8 +141,8 @@ See @io_bazel_rules_rust//proto:BUILD for examples of defining the toolchain. | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | | edition | The edition used by the generated rust source. | String | optional | "2015" | -| grpc_plugin | The location of the Rust protobuf compiler plugin to generate rust gRPC stubs. | Label | optional | @io_bazel_rules_rust//proto:protoc_gen_rust_grpc | -| proto_plugin | The location of the Rust protobuf compiler plugin used to generate rust sources. | Label | optional | @io_bazel_rules_rust//proto:protoc_gen_rust | +| grpc_plugin | The location of the Rust protobuf compiler plugin to generate rust gRPC stubs. | Label | optional | //proto:protoc_gen_rust_grpc | +| proto_plugin | The location of the Rust protobuf compiler plugin used to generate rust sources. | Label | optional | //proto:protoc_gen_rust | | protoc | The location of the protoc binary. It should be an executable target. | Label | optional | @com_google_protobuf//:protoc | diff --git a/docs/rust_repositories.md b/docs/rust_repositories.md index cf7cbc621e..73a3997f7a 100644 --- a/docs/rust_repositories.md +++ b/docs/rust_repositories.md @@ -24,7 +24,7 @@ Example: Suppose the core rust team has ported the compiler to a new target CPU, called `cpuX`. This support can be used in Bazel by defining a new toolchain definition and declaration: ```python -load('@io_bazel_rules_rust//rust:toolchain.bzl', 'rust_toolchain') +load('@rules_rust//rust:toolchain.bzl', 'rust_toolchain') rust_toolchain( name = "rust_cpuX_impl", @@ -53,7 +53,7 @@ toolchain( Then, either add the label of the toolchain rule to `register_toolchains` in the WORKSPACE, or pass it to the `"--extra_toolchains"` flag for Bazel, and it will be used. -See @io_bazel_rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX repository with the actual binaries and libraries. +See @rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX repository with the actual binaries and libraries. **ATTRIBUTES** @@ -160,7 +160,7 @@ The `sha256` attribute represents a dict associating tool subdirectories to sha2 ``` This would match for `exec_triple = "x86_64-unknown-linux-gnu"`. If not specified, rules_rust pulls from a non-exhaustive list of known checksums.. -See `load_arbitrary_tool` in `@io_bazel_rules_rust//rust:repositories.bzl` for more details. +See `load_arbitrary_tool` in `@rules_rust//rust:repositories.bzl` for more details. **PARAMETERS** diff --git a/docs/rust_wasm_bindgen.md b/docs/rust_wasm_bindgen.md index 452ae593db..8d1b5f57ab 100644 --- a/docs/rust_wasm_bindgen.md +++ b/docs/rust_wasm_bindgen.md @@ -17,12 +17,12 @@ To use the Rust WebAssembly bindgen rules, add the following to your `WORKSPACE` external repositories for the Rust bindgen toolchain (in addition to the Rust rules setup): ```python -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() ``` -An example of this rule in use can be seen at [@io_bazel_rules_rust//examples/wasm/...](../examples/wasm) +An example of this rule in use can be seen at [@rules_rust//examples/wasm/...](../examples/wasm) **ATTRIBUTES** @@ -48,7 +48,7 @@ The tools required for the `rust_wasm_bindgen` rule. You can also use your own version of wasm-bindgen using the toolchain rules below: ```python -load("@io_bazel_rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain") +load("@rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain") rust_bindgen_toolchain( bindgen = "//my/raze:cargo_bin_wasm_bindgen", @@ -57,7 +57,7 @@ rust_bindgen_toolchain( toolchain( name = "wasm-bindgen-toolchain", toolchain = "wasm-bindgen-toolchain-impl", - toolchain_type = "@io_bazel_rules_rust//wasm_bindgen:wasm_bindgen_toolchain", + toolchain_type = "@rules_rust//wasm_bindgen:wasm_bindgen_toolchain", ) ``` @@ -90,7 +90,7 @@ rust_wasm_bindgen_repositories() Declare dependencies needed for wasm-bindgen. -This macro will load crate dependencies of `wasm-bindgen` that are generated using [cargo raze][raze] inside the rules_rust repository. This makes the default toolchain `@io_bazel_rules_rust//wasm_bindgen:default_wasm_bindgen_toolchain` available. For more information on `wasm_bindgen` toolchains, see [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain). +This macro will load crate dependencies of `wasm-bindgen` that are generated using [cargo raze][raze] inside the rules_rust repository. This makes the default toolchain `@rules_rust//wasm_bindgen:default_wasm_bindgen_toolchain` available. For more information on `wasm_bindgen` toolchains, see [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain). diff --git a/examples/cargo/BUILD b/examples/cargo/BUILD index 184c1c8b6f..20d958305d 100644 --- a/examples/cargo/BUILD +++ b/examples/cargo/BUILD @@ -1,10 +1,10 @@ load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_library", "rust_test", ) load( - "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script", ) diff --git a/examples/cargo_manifest_dir/external_crate/BUILD.bazel b/examples/cargo_manifest_dir/external_crate/BUILD.bazel index 0671e4f004..997c117f70 100644 --- a/examples/cargo_manifest_dir/external_crate/BUILD.bazel +++ b/examples/cargo_manifest_dir/external_crate/BUILD.bazel @@ -1,4 +1,4 @@ -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "external_crate", diff --git a/examples/cargo_manifest_dir/external_crate/WORKSPACE.bazel b/examples/cargo_manifest_dir/external_crate/WORKSPACE.bazel index a06d504dff..38395ccb91 100644 --- a/examples/cargo_manifest_dir/external_crate/WORKSPACE.bazel +++ b/examples/cargo_manifest_dir/external_crate/WORKSPACE.bazel @@ -1,10 +1,10 @@ workspace(name = "rules_rust_example_cargo_manifest_dir") local_repository( - name = "io_bazel_rules_rust", + name = "rules_rust", path = "../../../", ) -load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories") +load("@rules_rust//rust:repositories.bzl", "rust_repositories") rust_repositories() diff --git a/examples/cargo_manifest_dir/usage/BUILD.bazel b/examples/cargo_manifest_dir/usage/BUILD.bazel index daf457aff5..9b877d4525 100644 --- a/examples/cargo_manifest_dir/usage/BUILD.bazel +++ b/examples/cargo_manifest_dir/usage/BUILD.bazel @@ -1,4 +1,4 @@ -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_test") rust_test( name = "cargo_manifest_dir_usage", diff --git a/examples/complex_sys/BUILD b/examples/complex_sys/BUILD index fd1127179f..62817583dc 100644 --- a/examples/complex_sys/BUILD +++ b/examples/complex_sys/BUILD @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//rust:rust.bzl", "rust_binary") package(default_visibility = ["//visibility:public"]) diff --git a/examples/complex_sys/Cargo.toml b/examples/complex_sys/Cargo.toml index f7f4a7bdc1..85d4105028 100644 --- a/examples/complex_sys/Cargo.toml +++ b/examples/complex_sys/Cargo.toml @@ -15,7 +15,7 @@ openssl-sys = "=0.9.60" workspace_path = "//complex_sys/raze" genmode = "Remote" gen_workspace_prefix = "rules_rust_examples_complex_sys" -rust_rules_workspace_name = "io_bazel_rules_rust" +rust_rules_workspace_name = "rules_rust" package_aliases_dir = "raze" default_gen_buildrs = true diff --git a/examples/complex_sys/raze/remote/BUILD.autocfg-1.0.1.bazel b/examples/complex_sys/raze/remote/BUILD.autocfg-1.0.1.bazel index d06dbddba6..80b50b2010 100644 --- a/examples/complex_sys/raze/remote/BUILD.autocfg-1.0.1.bazel +++ b/examples/complex_sys/raze/remote/BUILD.autocfg-1.0.1.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.bitflags-1.2.1.bazel b/examples/complex_sys/raze/remote/BUILD.bitflags-1.2.1.bazel index f01beb63d9..a08d57597d 100644 --- a/examples/complex_sys/raze/remote/BUILD.bitflags-1.2.1.bazel +++ b/examples/complex_sys/raze/remote/BUILD.bitflags-1.2.1.bazel @@ -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", @@ -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", ) diff --git a/examples/complex_sys/raze/remote/BUILD.cc-1.0.66.bazel b/examples/complex_sys/raze/remote/BUILD.cc-1.0.66.bazel index 47109ed800..77e83ab75e 100644 --- a/examples/complex_sys/raze/remote/BUILD.cc-1.0.66.bazel +++ b/examples/complex_sys/raze/remote/BUILD.cc-1.0.66.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.cfg-if-0.1.10.bazel b/examples/complex_sys/raze/remote/BUILD.cfg-if-0.1.10.bazel index 42cf69ea53..1b27be708a 100644 --- a/examples/complex_sys/raze/remote/BUILD.cfg-if-0.1.10.bazel +++ b/examples/complex_sys/raze/remote/BUILD.cfg-if-0.1.10.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.cfg-if-1.0.0.bazel b/examples/complex_sys/raze/remote/BUILD.cfg-if-1.0.0.bazel index 08d85c0f4f..45eb5c720b 100644 --- a/examples/complex_sys/raze/remote/BUILD.cfg-if-1.0.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.cfg-if-1.0.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.foreign-types-0.3.2.bazel b/examples/complex_sys/raze/remote/BUILD.foreign-types-0.3.2.bazel index 9d51a11bcd..e15014ff33 100644 --- a/examples/complex_sys/raze/remote/BUILD.foreign-types-0.3.2.bazel +++ b/examples/complex_sys/raze/remote/BUILD.foreign-types-0.3.2.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.foreign-types-shared-0.1.1.bazel b/examples/complex_sys/raze/remote/BUILD.foreign-types-shared-0.1.1.bazel index 68580e2c65..8c36872bd4 100644 --- a/examples/complex_sys/raze/remote/BUILD.foreign-types-shared-0.1.1.bazel +++ b/examples/complex_sys/raze/remote/BUILD.foreign-types-shared-0.1.1.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.form_urlencoded-1.0.0.bazel b/examples/complex_sys/raze/remote/BUILD.form_urlencoded-1.0.0.bazel index 7cc7ada585..0a8b2232a1 100644 --- a/examples/complex_sys/raze/remote/BUILD.form_urlencoded-1.0.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.form_urlencoded-1.0.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.git2-0.13.12.bazel b/examples/complex_sys/raze/remote/BUILD.git2-0.13.12.bazel index c6b2eb8cdf..c500eaad4a 100644 --- a/examples/complex_sys/raze/remote/BUILD.git2-0.13.12.bazel +++ b/examples/complex_sys/raze/remote/BUILD.git2-0.13.12.bazel @@ -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", @@ -93,19 +93,19 @@ rust_library( ] + selects.with_or({ # cfg(all(unix, not(target_os = "macos"))) ( - "@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-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-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-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-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-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_examples_complex_sys__openssl_probe__0_1_2//:openssl_probe", "@rules_rust_examples_complex_sys__openssl_sys__0_9_60//:openssl_sys", diff --git a/examples/complex_sys/raze/remote/BUILD.idna-0.2.0.bazel b/examples/complex_sys/raze/remote/BUILD.idna-0.2.0.bazel index 0cf1fb6f1e..e451413c33 100644 --- a/examples/complex_sys/raze/remote/BUILD.idna-0.2.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.idna-0.2.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.jobserver-0.1.21.bazel b/examples/complex_sys/raze/remote/BUILD.jobserver-0.1.21.bazel index 7b71f75642..bb81ed6f88 100644 --- a/examples/complex_sys/raze/remote/BUILD.jobserver-0.1.21.bazel +++ b/examples/complex_sys/raze/remote/BUILD.jobserver-0.1.21.bazel @@ -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", @@ -54,22 +54,22 @@ 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_examples_complex_sys__libc__0_2_82//:libc", ], diff --git a/examples/complex_sys/raze/remote/BUILD.lazy_static-1.4.0.bazel b/examples/complex_sys/raze/remote/BUILD.lazy_static-1.4.0.bazel index 28ad895e71..d9ca25dc4b 100644 --- a/examples/complex_sys/raze/remote/BUILD.lazy_static-1.4.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.lazy_static-1.4.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.libc-0.2.82.bazel b/examples/complex_sys/raze/remote/BUILD.libc-0.2.82.bazel index 0e316421f0..5f7cc6da4b 100644 --- a/examples/complex_sys/raze/remote/BUILD.libc-0.2.82.bazel +++ b/examples/complex_sys/raze/remote/BUILD.libc-0.2.82.bazel @@ -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", @@ -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", ) diff --git a/examples/complex_sys/raze/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel b/examples/complex_sys/raze/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel index e041a05af9..b6cf447188 100644 --- a/examples/complex_sys/raze/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel @@ -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", @@ -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", ) @@ -67,22 +67,22 @@ cargo_build_script( ] + 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_examples_complex_sys__openssl_sys__0_9_60//:openssl_sys", ], @@ -123,22 +123,22 @@ 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_examples_complex_sys__openssl_sys__0_9_60//:openssl_sys", ], diff --git a/examples/complex_sys/raze/remote/BUILD.libssh2-sys-0.2.20.bazel b/examples/complex_sys/raze/remote/BUILD.libssh2-sys-0.2.20.bazel index 97d09c2fae..21efadc564 100644 --- a/examples/complex_sys/raze/remote/BUILD.libssh2-sys-0.2.20.bazel +++ b/examples/complex_sys/raze/remote/BUILD.libssh2-sys-0.2.20.bazel @@ -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", @@ -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", ) @@ -66,8 +66,8 @@ cargo_build_script( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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_examples_complex_sys__vcpkg__0_2_11//:vcpkg", ], @@ -75,22 +75,22 @@ cargo_build_script( }) + 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_examples_complex_sys__openssl_sys__0_9_60//:openssl_sys", ], @@ -125,30 +125,30 @@ rust_library( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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", ): [ ], "//conditions:default": [], }) + 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_examples_complex_sys__openssl_sys__0_9_60//:openssl_sys", ], diff --git a/examples/complex_sys/raze/remote/BUILD.libz-sys-1.1.2.bazel b/examples/complex_sys/raze/remote/BUILD.libz-sys-1.1.2.bazel index 5583e5e392..d21e99040d 100644 --- a/examples/complex_sys/raze/remote/BUILD.libz-sys-1.1.2.bazel +++ b/examples/complex_sys/raze/remote/BUILD.libz-sys-1.1.2.bazel @@ -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", @@ -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", ) @@ -61,8 +61,8 @@ cargo_build_script( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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_examples_complex_sys__vcpkg__0_2_11//:vcpkg", ], @@ -97,8 +97,8 @@ rust_library( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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", ): [ ], "//conditions:default": [], diff --git a/examples/complex_sys/raze/remote/BUILD.log-0.4.13.bazel b/examples/complex_sys/raze/remote/BUILD.log-0.4.13.bazel index 4ec24a9f48..44d5b69dc8 100644 --- a/examples/complex_sys/raze/remote/BUILD.log-0.4.13.bazel +++ b/examples/complex_sys/raze/remote/BUILD.log-0.4.13.bazel @@ -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", @@ -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", ) diff --git a/examples/complex_sys/raze/remote/BUILD.matches-0.1.8.bazel b/examples/complex_sys/raze/remote/BUILD.matches-0.1.8.bazel index be0e948908..1dc21ce50c 100644 --- a/examples/complex_sys/raze/remote/BUILD.matches-0.1.8.bazel +++ b/examples/complex_sys/raze/remote/BUILD.matches-0.1.8.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.openssl-0.10.32.bazel b/examples/complex_sys/raze/remote/BUILD.openssl-0.10.32.bazel index e60181fe0c..223061f0a4 100644 --- a/examples/complex_sys/raze/remote/BUILD.openssl-0.10.32.bazel +++ b/examples/complex_sys/raze/remote/BUILD.openssl-0.10.32.bazel @@ -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", @@ -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", ) diff --git a/examples/complex_sys/raze/remote/BUILD.openssl-probe-0.1.2.bazel b/examples/complex_sys/raze/remote/BUILD.openssl-probe-0.1.2.bazel index 4cf963eb96..29be48f78c 100644 --- a/examples/complex_sys/raze/remote/BUILD.openssl-probe-0.1.2.bazel +++ b/examples/complex_sys/raze/remote/BUILD.openssl-probe-0.1.2.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.openssl-sys-0.9.60.bazel b/examples/complex_sys/raze/remote/BUILD.openssl-sys-0.9.60.bazel index 552efb2b6a..13012115ec 100644 --- a/examples/complex_sys/raze/remote/BUILD.openssl-sys-0.9.60.bazel +++ b/examples/complex_sys/raze/remote/BUILD.openssl-sys-0.9.60.bazel @@ -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", @@ -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", ) @@ -64,8 +64,8 @@ cargo_build_script( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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_examples_complex_sys__vcpkg__0_2_11//:vcpkg", ], @@ -100,8 +100,8 @@ rust_library( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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", ): [ ], "//conditions:default": [], diff --git a/examples/complex_sys/raze/remote/BUILD.percent-encoding-2.1.0.bazel b/examples/complex_sys/raze/remote/BUILD.percent-encoding-2.1.0.bazel index da34df0526..0f949fb6b2 100644 --- a/examples/complex_sys/raze/remote/BUILD.percent-encoding-2.1.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.percent-encoding-2.1.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.pkg-config-0.3.19.bazel b/examples/complex_sys/raze/remote/BUILD.pkg-config-0.3.19.bazel index 2abb1c4310..7b420fbc4d 100644 --- a/examples/complex_sys/raze/remote/BUILD.pkg-config-0.3.19.bazel +++ b/examples/complex_sys/raze/remote/BUILD.pkg-config-0.3.19.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.tinyvec-1.1.0.bazel b/examples/complex_sys/raze/remote/BUILD.tinyvec-1.1.0.bazel index 50d38b1adc..6bbdd35f9a 100644 --- a/examples/complex_sys/raze/remote/BUILD.tinyvec-1.1.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.tinyvec-1.1.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel b/examples/complex_sys/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel index e612123542..3b403c9220 100644 --- a/examples/complex_sys/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.unicode-bidi-0.3.4.bazel b/examples/complex_sys/raze/remote/BUILD.unicode-bidi-0.3.4.bazel index 1d692f3060..c478a0fed3 100644 --- a/examples/complex_sys/raze/remote/BUILD.unicode-bidi-0.3.4.bazel +++ b/examples/complex_sys/raze/remote/BUILD.unicode-bidi-0.3.4.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.unicode-normalization-0.1.16.bazel b/examples/complex_sys/raze/remote/BUILD.unicode-normalization-0.1.16.bazel index 6d690b3349..12bff1b82f 100644 --- a/examples/complex_sys/raze/remote/BUILD.unicode-normalization-0.1.16.bazel +++ b/examples/complex_sys/raze/remote/BUILD.unicode-normalization-0.1.16.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.url-2.2.0.bazel b/examples/complex_sys/raze/remote/BUILD.url-2.2.0.bazel index 464bc3edad..e6ef6cab85 100644 --- a/examples/complex_sys/raze/remote/BUILD.url-2.2.0.bazel +++ b/examples/complex_sys/raze/remote/BUILD.url-2.2.0.bazel @@ -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", diff --git a/examples/complex_sys/raze/remote/BUILD.vcpkg-0.2.11.bazel b/examples/complex_sys/raze/remote/BUILD.vcpkg-0.2.11.bazel index 2718d157da..0b4026a5ca 100644 --- a/examples/complex_sys/raze/remote/BUILD.vcpkg-0.2.11.bazel +++ b/examples/complex_sys/raze/remote/BUILD.vcpkg-0.2.11.bazel @@ -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", diff --git a/examples/env_locations/BUILD b/examples/env_locations/BUILD index 9da9854c65..d918c4d6bd 100644 --- a/examples/env_locations/BUILD +++ b/examples/env_locations/BUILD @@ -1,8 +1,8 @@ load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_test", ) -load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") +load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") # generate a file genrule( diff --git a/examples/examples_deps.bzl b/examples/examples_deps.bzl index a566d40697..e49ff753b1 100644 --- a/examples/examples_deps.bzl +++ b/examples/examples_deps.bzl @@ -5,10 +5,10 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories") load("@examples//hello_sys/raze:crates.bzl", "rules_rust_examples_hello_sys_fetch_remote_crates") load("@examples//complex_sys:repositories.bzl", "rules_rust_examples_complex_sys_repositories") -load("@io_bazel_rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories") -load("@io_bazel_rules_rust//proto:repositories.bzl", "rust_proto_repositories") -load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories", "rust_repository_set") -load("@io_bazel_rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories") +load("@rules_rust//bindgen:repositories.bzl", "rust_bindgen_repositories") +load("@rules_rust//proto:repositories.bzl", "rust_proto_repositories") +load("@rules_rust//rust:repositories.bzl", "rust_repositories", "rust_repository_set") +load("@rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories") load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies") def deps(): diff --git a/examples/examples_repositories.bzl b/examples/examples_repositories.bzl index 6622f854e6..161c7b5e13 100644 --- a/examples/examples_repositories.bzl +++ b/examples/examples_repositories.bzl @@ -7,7 +7,7 @@ def repositories(): """Define repository dependencies for `rules_rust` examples""" maybe( native.local_repository, - name = "io_bazel_rules_rust", + name = "rules_rust", path = "..", ) diff --git a/examples/ffi/c_calling_rust/BUILD b/examples/ffi/c_calling_rust/BUILD index 8ef02d655c..a44ccb3385 100644 --- a/examples/ffi/c_calling_rust/BUILD +++ b/examples/ffi/c_calling_rust/BUILD @@ -1,5 +1,5 @@ load("@rules_cc//cc:defs.bzl", "cc_test") -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "rusty", diff --git a/examples/ffi/libc.BUILD b/examples/ffi/libc.BUILD index 7478979991..3311ce1bf7 100644 --- a/examples/ffi/libc.BUILD +++ b/examples/ffi/libc.BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "libc", diff --git a/examples/ffi/rust_calling_c/BUILD b/examples/ffi/rust_calling_c/BUILD index 642c600427..a5c045a3fa 100644 --- a/examples/ffi/rust_calling_c/BUILD +++ b/examples/ffi/rust_calling_c/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_doc", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_doc", "rust_library", "rust_test") package(default_visibility = ["//ffi/rust_calling_c:__subpackages__"]) diff --git a/examples/ffi/rust_calling_c/simple/BUILD b/examples/ffi/rust_calling_c/simple/BUILD index 59101ecb2f..207515dd8e 100644 --- a/examples/ffi/rust_calling_c/simple/BUILD +++ b/examples/ffi/rust_calling_c/simple/BUILD @@ -1,5 +1,5 @@ -load("@io_bazel_rules_rust//bindgen:bindgen.bzl", "rust_bindgen_library") -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_test") +load("@rules_rust//bindgen:bindgen.bzl", "rust_bindgen_library") +load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_test") load("@rules_cc//cc:defs.bzl", "cc_library") cc_library( diff --git a/examples/fibonacci/BUILD b/examples/fibonacci/BUILD index 9434ae3f26..cec3fc7064 100644 --- a/examples/fibonacci/BUILD +++ b/examples/fibonacci/BUILD @@ -1,5 +1,5 @@ load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_benchmark", "rust_doc", "rust_doc_test", diff --git a/examples/hello_lib/BUILD b/examples/hello_lib/BUILD index 717c91e971..0eb7127487 100644 --- a/examples/hello_lib/BUILD +++ b/examples/hello_lib/BUILD @@ -1,5 +1,5 @@ load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_doc", "rust_doc_test", "rust_library", diff --git a/examples/hello_macro/BUILD b/examples/hello_macro/BUILD index 8a9cf2ec07..9e79677775 100644 --- a/examples/hello_macro/BUILD +++ b/examples/hello_macro/BUILD @@ -1,5 +1,5 @@ load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_doc", "rust_doc_test", "rust_library", diff --git a/examples/hello_runfiles/BUILD b/examples/hello_runfiles/BUILD index c7cd6542b6..cbca98e34c 100644 --- a/examples/hello_runfiles/BUILD +++ b/examples/hello_runfiles/BUILD @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//rust:rust.bzl", "rust_binary") package(default_visibility = ["//visibility:public"]) @@ -21,5 +21,5 @@ rust_binary( srcs = ["hello_runfiles.rs"], data = ["hello_runfiles.rs"], # Yes, we're being cute. edition = "2018", - deps = ["@io_bazel_rules_rust//tools/runfiles"], + deps = ["@rules_rust//tools/runfiles"], ) diff --git a/examples/hello_sys/BUILD b/examples/hello_sys/BUILD index 562fb6d4fe..84ca9aa1f1 100644 --- a/examples/hello_sys/BUILD +++ b/examples/hello_sys/BUILD @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//rust:rust.bzl", "rust_binary") package(default_visibility = ["//visibility:public"]) diff --git a/examples/hello_sys/Cargo.toml b/examples/hello_sys/Cargo.toml index 218e3a0017..06c932da43 100644 --- a/examples/hello_sys/Cargo.toml +++ b/examples/hello_sys/Cargo.toml @@ -13,7 +13,7 @@ bzip2 = "=0.3.3" workspace_path = "//hello_sys/raze" genmode = "Remote" gen_workspace_prefix = "rules_rust_examples_hello_sys" -rust_rules_workspace_name = "io_bazel_rules_rust" +rust_rules_workspace_name = "rules_rust" package_aliases_dir = "raze" default_gen_buildrs = false diff --git a/examples/hello_sys/raze/remote/BUILD.bzip2-0.3.3.bazel b/examples/hello_sys/raze/remote/BUILD.bzip2-0.3.3.bazel index 67d1562c0c..627b560617 100644 --- a/examples/hello_sys/raze/remote/BUILD.bzip2-0.3.3.bazel +++ b/examples/hello_sys/raze/remote/BUILD.bzip2-0.3.3.bazel @@ -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", diff --git a/examples/hello_sys/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.bazel b/examples/hello_sys/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.bazel index cb54c83f54..fa2ac4f533 100644 --- a/examples/hello_sys/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.bazel +++ b/examples/hello_sys/raze/remote/BUILD.bzip2-sys-0.1.9+1.0.8.bazel @@ -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", @@ -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", ) diff --git a/examples/hello_sys/raze/remote/BUILD.cc-1.0.60.bazel b/examples/hello_sys/raze/remote/BUILD.cc-1.0.60.bazel index a828a6f4d0..c0e5169492 100644 --- a/examples/hello_sys/raze/remote/BUILD.cc-1.0.60.bazel +++ b/examples/hello_sys/raze/remote/BUILD.cc-1.0.60.bazel @@ -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", diff --git a/examples/hello_sys/raze/remote/BUILD.libc-0.2.77.bazel b/examples/hello_sys/raze/remote/BUILD.libc-0.2.77.bazel index 39856215cf..a61af496d4 100644 --- a/examples/hello_sys/raze/remote/BUILD.libc-0.2.77.bazel +++ b/examples/hello_sys/raze/remote/BUILD.libc-0.2.77.bazel @@ -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", diff --git a/examples/hello_sys/raze/remote/BUILD.pkg-config-0.3.18.bazel b/examples/hello_sys/raze/remote/BUILD.pkg-config-0.3.18.bazel index 13f6e01fe6..e4cf3b7b1a 100644 --- a/examples/hello_sys/raze/remote/BUILD.pkg-config-0.3.18.bazel +++ b/examples/hello_sys/raze/remote/BUILD.pkg-config-0.3.18.bazel @@ -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", diff --git a/examples/hello_world/BUILD b/examples/hello_world/BUILD index 527aac408a..48674c004c 100644 --- a/examples/hello_world/BUILD +++ b/examples/hello_world/BUILD @@ -1,5 +1,5 @@ load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_binary", "rust_doc", ) diff --git a/examples/per_platform_printer/BUILD b/examples/per_platform_printer/BUILD index 60b3223628..9bde191750 100644 --- a/examples/per_platform_printer/BUILD +++ b/examples/per_platform_printer/BUILD @@ -1,5 +1,5 @@ load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test", @@ -21,13 +21,13 @@ rust_library( "lib.rs", "print_generic.rs", ] + select({ - "@io_bazel_rules_rust//rust/platform:linux": [ + "@rules_rust//rust/platform:linux": [ ":print_linux.rs", ], - "@io_bazel_rules_rust//rust/platform:osx": [ + "@rules_rust//rust/platform:osx": [ ":print_osx.rs", ], - "@io_bazel_rules_rust//rust/platform:windows": [ + "@rules_rust//rust/platform:windows": [ ":print_windows.rs", ], }), diff --git a/examples/proto/basic/BUILD b/examples/proto/basic/BUILD index e8b9f57d83..c955f71515 100644 --- a/examples/proto/basic/BUILD +++ b/examples/proto/basic/BUILD @@ -1,5 +1,5 @@ -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library") -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library") +load("@rules_rust//proto:proto.bzl", "rust_proto_library") +load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_library") package(default_visibility = ["//proto:__subpackages__"]) diff --git a/examples/proto/helloworld/BUILD b/examples/proto/helloworld/BUILD index f326a00af6..786e1549a3 100644 --- a/examples/proto/helloworld/BUILD +++ b/examples/proto/helloworld/BUILD @@ -1,6 +1,6 @@ load("@rules_proto//proto:defs.bzl", "proto_library") -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_grpc_library") -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_test") +load("@rules_rust//proto:proto.bzl", "rust_grpc_library") +load("@rules_rust//rust:rust.bzl", "rust_test") proto_library( name = "helloworld", @@ -21,5 +21,5 @@ rust_test( "//proto/helloworld/greeter_client", "//proto/helloworld/greeter_server", ], - deps = ["@io_bazel_rules_rust//tools/runfiles"], + deps = ["@rules_rust//tools/runfiles"], ) diff --git a/examples/proto/helloworld/greeter_client/BUILD b/examples/proto/helloworld/greeter_client/BUILD index 3ff73e96ba..01ac950efc 100644 --- a/examples/proto/helloworld/greeter_client/BUILD +++ b/examples/proto/helloworld/greeter_client/BUILD @@ -1,5 +1,5 @@ -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") -load("@io_bazel_rules_rust//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") +load("@rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") rust_binary( name = "greeter_client", diff --git a/examples/proto/helloworld/greeter_server/BUILD b/examples/proto/helloworld/greeter_server/BUILD index 4d2ecd2e7f..d03413f7df 100644 --- a/examples/proto/helloworld/greeter_server/BUILD +++ b/examples/proto/helloworld/greeter_server/BUILD @@ -1,5 +1,5 @@ -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") -load("@io_bazel_rules_rust//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") +load("@rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//proto:toolchain.bzl", "GRPC_COMPILE_DEPS") rust_binary( name = "greeter_server", diff --git a/examples/wasm/BUILD.bazel b/examples/wasm/BUILD.bazel index afc59852d3..82c19102fc 100644 --- a/examples/wasm/BUILD.bazel +++ b/examples/wasm/BUILD.bazel @@ -13,8 +13,8 @@ # limitations under the License. # buildifier: disable=module-docstring -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") -load("@io_bazel_rules_rust//wasm_bindgen:wasm_bindgen.bzl", "rust_wasm_bindgen") +load("@rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//wasm_bindgen:wasm_bindgen.bzl", "rust_wasm_bindgen") load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_test") package(default_visibility = ["//visibility:public"]) @@ -24,7 +24,7 @@ rust_binary( srcs = ["main.rs"], edition = "2018", deps = [ - "@io_bazel_rules_rust//wasm_bindgen/raze:wasm_bindgen", + "@rules_rust//wasm_bindgen/raze:wasm_bindgen", ], ) diff --git a/proto/proto.bzl b/proto/proto.bzl index e4bb4fa725..974734d682 100644 --- a/proto/proto.bzl +++ b/proto/proto.bzl @@ -310,8 +310,8 @@ Builds a Rust library crate from a set of `proto_library`s. Example: ```python -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library") -load("@io_bazel_rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS") +load("@rules_rust//proto:proto.bzl", "rust_proto_library") +load("@rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS") proto_library( name = "my_proto", diff --git a/proto/raze/Cargo.toml b/proto/raze/Cargo.toml index 20f02858b4..773554d805 100644 --- a/proto/raze/Cargo.toml +++ b/proto/raze/Cargo.toml @@ -27,7 +27,7 @@ log = "0.4, <0.4.7" genmode = "Remote" workspace_path = "//proto/raze" gen_workspace_prefix = "rules_rust_proto" -rust_rules_workspace_name = "io_bazel_rules_rust" +rust_rules_workspace_name = "rules_rust" package_aliases_dir = "." default_gen_buildrs = false @@ -37,7 +37,7 @@ additional_flags = [ ] [package.metadata.raze.crates.protobuf.'2.8.2'] -patches = ["@io_bazel_rules_rust//proto/raze/patch:protobuf-2.8.2.patch"] +patches = ["@rules_rust//proto/raze/patch:protobuf-2.8.2.patch"] patch_args = ["-p1"] [package.metadata.raze.crates.protobuf-codegen.'2.8.2'] diff --git a/proto/raze/crates.bzl b/proto/raze/crates.bzl index ed28e05388..3ec2de1fce 100644 --- a/proto/raze/crates.bzl +++ b/proto/raze/crates.bzl @@ -379,7 +379,7 @@ def rules_rust_proto_fetch_remote_crates(): sha256 = "70731852eec72c56d11226c8a5f96ad5058a3dab73647ca5f7ee351e464f2571", strip_prefix = "protobuf-2.8.2", patches = [ - "@io_bazel_rules_rust//proto/raze/patch:protobuf-2.8.2.patch", + "@rules_rust//proto/raze/patch:protobuf-2.8.2.patch", ], patch_args = [ "-p1", diff --git a/proto/raze/remote/BUILD.autocfg-1.0.0.bazel b/proto/raze/remote/BUILD.autocfg-1.0.0.bazel index b2afca8f06..d2cb8a934e 100644 --- a/proto/raze/remote/BUILD.autocfg-1.0.0.bazel +++ b/proto/raze/remote/BUILD.autocfg-1.0.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.base64-0.9.3.bazel b/proto/raze/remote/BUILD.base64-0.9.3.bazel index e000a2d506..cafefd73a2 100644 --- a/proto/raze/remote/BUILD.base64-0.9.3.bazel +++ b/proto/raze/remote/BUILD.base64-0.9.3.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.bitflags-1.2.1.bazel b/proto/raze/remote/BUILD.bitflags-1.2.1.bazel index 88f84d8f83..fbdfb593b4 100644 --- a/proto/raze/remote/BUILD.bitflags-1.2.1.bazel +++ b/proto/raze/remote/BUILD.bitflags-1.2.1.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.byteorder-1.3.4.bazel b/proto/raze/remote/BUILD.byteorder-1.3.4.bazel index 447495c7e3..b461ff0fc8 100644 --- a/proto/raze/remote/BUILD.byteorder-1.3.4.bazel +++ b/proto/raze/remote/BUILD.byteorder-1.3.4.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.bytes-0.4.12.bazel b/proto/raze/remote/BUILD.bytes-0.4.12.bazel index 83564530b6..685c473579 100644 --- a/proto/raze/remote/BUILD.bytes-0.4.12.bazel +++ b/proto/raze/remote/BUILD.bytes-0.4.12.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.cfg-if-0.1.10.bazel b/proto/raze/remote/BUILD.cfg-if-0.1.10.bazel index 7313472c82..a34136f29d 100644 --- a/proto/raze/remote/BUILD.cfg-if-0.1.10.bazel +++ b/proto/raze/remote/BUILD.cfg-if-0.1.10.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.cloudabi-0.0.3.bazel b/proto/raze/remote/BUILD.cloudabi-0.0.3.bazel index f0046f46d2..a7de2d391e 100644 --- a/proto/raze/remote/BUILD.cloudabi-0.0.3.bazel +++ b/proto/raze/remote/BUILD.cloudabi-0.0.3.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.crossbeam-deque-0.7.3.bazel b/proto/raze/remote/BUILD.crossbeam-deque-0.7.3.bazel index 51edf4ee0e..675e8ee8ae 100644 --- a/proto/raze/remote/BUILD.crossbeam-deque-0.7.3.bazel +++ b/proto/raze/remote/BUILD.crossbeam-deque-0.7.3.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.crossbeam-epoch-0.8.2.bazel b/proto/raze/remote/BUILD.crossbeam-epoch-0.8.2.bazel index 1810e1dbeb..e3e0831a0f 100644 --- a/proto/raze/remote/BUILD.crossbeam-epoch-0.8.2.bazel +++ b/proto/raze/remote/BUILD.crossbeam-epoch-0.8.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.crossbeam-queue-0.2.1.bazel b/proto/raze/remote/BUILD.crossbeam-queue-0.2.1.bazel index 97db19cc9a..ba5cfb4246 100644 --- a/proto/raze/remote/BUILD.crossbeam-queue-0.2.1.bazel +++ b/proto/raze/remote/BUILD.crossbeam-queue-0.2.1.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.crossbeam-utils-0.7.2.bazel b/proto/raze/remote/BUILD.crossbeam-utils-0.7.2.bazel index 506a22f50b..ae334840a8 100644 --- a/proto/raze/remote/BUILD.crossbeam-utils-0.7.2.bazel +++ b/proto/raze/remote/BUILD.crossbeam-utils-0.7.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.fnv-1.0.6.bazel b/proto/raze/remote/BUILD.fnv-1.0.6.bazel index eee7684a78..a5ca2714d9 100644 --- a/proto/raze/remote/BUILD.fnv-1.0.6.bazel +++ b/proto/raze/remote/BUILD.fnv-1.0.6.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.fuchsia-zircon-0.3.3.bazel b/proto/raze/remote/BUILD.fuchsia-zircon-0.3.3.bazel index 2fc8cbcc82..a6f7ea19f7 100644 --- a/proto/raze/remote/BUILD.fuchsia-zircon-0.3.3.bazel +++ b/proto/raze/remote/BUILD.fuchsia-zircon-0.3.3.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel b/proto/raze/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel index a8333753b2..2ea384db2b 100644 --- a/proto/raze/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel +++ b/proto/raze/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.futures-0.1.29.bazel b/proto/raze/remote/BUILD.futures-0.1.29.bazel index ff0f646ed6..37e6912805 100644 --- a/proto/raze/remote/BUILD.futures-0.1.29.bazel +++ b/proto/raze/remote/BUILD.futures-0.1.29.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.futures-cpupool-0.1.8.bazel b/proto/raze/remote/BUILD.futures-cpupool-0.1.8.bazel index 16ba798b53..78524cb0c8 100644 --- a/proto/raze/remote/BUILD.futures-cpupool-0.1.8.bazel +++ b/proto/raze/remote/BUILD.futures-cpupool-0.1.8.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.grpc-0.6.2.bazel b/proto/raze/remote/BUILD.grpc-0.6.2.bazel index 18fa54dfb0..024ea5c29a 100644 --- a/proto/raze/remote/BUILD.grpc-0.6.2.bazel +++ b/proto/raze/remote/BUILD.grpc-0.6.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.grpc-compiler-0.6.2.bazel b/proto/raze/remote/BUILD.grpc-compiler-0.6.2.bazel index a4887fac88..366ce1d971 100644 --- a/proto/raze/remote/BUILD.grpc-compiler-0.6.2.bazel +++ b/proto/raze/remote/BUILD.grpc-compiler-0.6.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.hermit-abi-0.1.11.bazel b/proto/raze/remote/BUILD.hermit-abi-0.1.11.bazel index 760f7a16f7..b9dd53ee05 100644 --- a/proto/raze/remote/BUILD.hermit-abi-0.1.11.bazel +++ b/proto/raze/remote/BUILD.hermit-abi-0.1.11.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.httpbis-0.7.0.bazel b/proto/raze/remote/BUILD.httpbis-0.7.0.bazel index 8a9af2ae7f..b315ca9452 100644 --- a/proto/raze/remote/BUILD.httpbis-0.7.0.bazel +++ b/proto/raze/remote/BUILD.httpbis-0.7.0.bazel @@ -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", @@ -74,22 +74,22 @@ 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_proto__tokio_uds__0_1_7//:tokio_uds", "@rules_rust_proto__unix_socket__0_5_0//:unix_socket", diff --git a/proto/raze/remote/BUILD.iovec-0.1.4.bazel b/proto/raze/remote/BUILD.iovec-0.1.4.bazel index ecbd68f39c..4262bf5a4d 100644 --- a/proto/raze/remote/BUILD.iovec-0.1.4.bazel +++ b/proto/raze/remote/BUILD.iovec-0.1.4.bazel @@ -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", @@ -54,22 +54,22 @@ 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_proto__libc__0_2_69//:libc", ], diff --git a/proto/raze/remote/BUILD.kernel32-sys-0.2.2.bazel b/proto/raze/remote/BUILD.kernel32-sys-0.2.2.bazel index dd988698f6..4b0c3a6229 100644 --- a/proto/raze/remote/BUILD.kernel32-sys-0.2.2.bazel +++ b/proto/raze/remote/BUILD.kernel32-sys-0.2.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.lazy_static-1.4.0.bazel b/proto/raze/remote/BUILD.lazy_static-1.4.0.bazel index 1e1689953e..d6ba5218e0 100644 --- a/proto/raze/remote/BUILD.lazy_static-1.4.0.bazel +++ b/proto/raze/remote/BUILD.lazy_static-1.4.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.libc-0.2.69.bazel b/proto/raze/remote/BUILD.libc-0.2.69.bazel index 3c726cc734..9b305fd8b5 100644 --- a/proto/raze/remote/BUILD.libc-0.2.69.bazel +++ b/proto/raze/remote/BUILD.libc-0.2.69.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.lock_api-0.3.4.bazel b/proto/raze/remote/BUILD.lock_api-0.3.4.bazel index 5269d55ba2..f6300e12fa 100644 --- a/proto/raze/remote/BUILD.lock_api-0.3.4.bazel +++ b/proto/raze/remote/BUILD.lock_api-0.3.4.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.log-0.3.9.bazel b/proto/raze/remote/BUILD.log-0.3.9.bazel index a57d9a9bab..e42dff5c37 100644 --- a/proto/raze/remote/BUILD.log-0.3.9.bazel +++ b/proto/raze/remote/BUILD.log-0.3.9.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.log-0.4.6.bazel b/proto/raze/remote/BUILD.log-0.4.6.bazel index 75ccf4f2c9..a6bce65237 100644 --- a/proto/raze/remote/BUILD.log-0.4.6.bazel +++ b/proto/raze/remote/BUILD.log-0.4.6.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.maybe-uninit-2.0.0.bazel b/proto/raze/remote/BUILD.maybe-uninit-2.0.0.bazel index 7db14c780b..fc2b12bf58 100644 --- a/proto/raze/remote/BUILD.maybe-uninit-2.0.0.bazel +++ b/proto/raze/remote/BUILD.maybe-uninit-2.0.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.memoffset-0.5.4.bazel b/proto/raze/remote/BUILD.memoffset-0.5.4.bazel index d0e4dadae2..d8308d368b 100644 --- a/proto/raze/remote/BUILD.memoffset-0.5.4.bazel +++ b/proto/raze/remote/BUILD.memoffset-0.5.4.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.mio-0.6.21.bazel b/proto/raze/remote/BUILD.mio-0.6.21.bazel index ba9834db7e..078ce58be2 100644 --- a/proto/raze/remote/BUILD.mio-0.6.21.bazel +++ b/proto/raze/remote/BUILD.mio-0.6.21.bazel @@ -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", @@ -63,22 +63,22 @@ 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_proto__libc__0_2_69//:libc", ], @@ -86,8 +86,8 @@ rust_library( }) + 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_proto__kernel32_sys__0_2_2//:kernel32_sys", "@rules_rust_proto__miow__0_2_1//:miow", diff --git a/proto/raze/remote/BUILD.mio-uds-0.6.7.bazel b/proto/raze/remote/BUILD.mio-uds-0.6.7.bazel index 33f64210ce..44dd4cad8c 100644 --- a/proto/raze/remote/BUILD.mio-uds-0.6.7.bazel +++ b/proto/raze/remote/BUILD.mio-uds-0.6.7.bazel @@ -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", @@ -54,22 +54,22 @@ 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_proto__iovec__0_1_4//:iovec", "@rules_rust_proto__libc__0_2_69//:libc", diff --git a/proto/raze/remote/BUILD.miow-0.2.1.bazel b/proto/raze/remote/BUILD.miow-0.2.1.bazel index 4fe835a3ac..41e76da8f4 100644 --- a/proto/raze/remote/BUILD.miow-0.2.1.bazel +++ b/proto/raze/remote/BUILD.miow-0.2.1.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.net2-0.2.33.bazel b/proto/raze/remote/BUILD.net2-0.2.33.bazel index 5e38f2f995..4d9eea618f 100644 --- a/proto/raze/remote/BUILD.net2-0.2.33.bazel +++ b/proto/raze/remote/BUILD.net2-0.2.33.bazel @@ -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", @@ -57,22 +57,22 @@ rust_library( ] + selects.with_or({ # cfg(any(target_os = "redox", 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_proto__libc__0_2_69//:libc", ], @@ -80,8 +80,8 @@ rust_library( }) + 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_proto__winapi__0_3_8//:winapi", ], diff --git a/proto/raze/remote/BUILD.num_cpus-1.13.0.bazel b/proto/raze/remote/BUILD.num_cpus-1.13.0.bazel index e14ff6714c..8e3a39b375 100644 --- a/proto/raze/remote/BUILD.num_cpus-1.13.0.bazel +++ b/proto/raze/remote/BUILD.num_cpus-1.13.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.parking_lot-0.9.0.bazel b/proto/raze/remote/BUILD.parking_lot-0.9.0.bazel index 2d95b5d564..746cfd854a 100644 --- a/proto/raze/remote/BUILD.parking_lot-0.9.0.bazel +++ b/proto/raze/remote/BUILD.parking_lot-0.9.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.parking_lot_core-0.6.2.bazel b/proto/raze/remote/BUILD.parking_lot_core-0.6.2.bazel index 7e801c8b9a..8a7d8f262e 100644 --- a/proto/raze/remote/BUILD.parking_lot_core-0.6.2.bazel +++ b/proto/raze/remote/BUILD.parking_lot_core-0.6.2.bazel @@ -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", @@ -58,22 +58,22 @@ 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_proto__libc__0_2_69//:libc", ], @@ -81,8 +81,8 @@ rust_library( }) + 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_proto__winapi__0_3_8//:winapi", ], diff --git a/proto/raze/remote/BUILD.protobuf-2.8.2.bazel b/proto/raze/remote/BUILD.protobuf-2.8.2.bazel index 1ab7c69c91..fb5852ff16 100644 --- a/proto/raze/remote/BUILD.protobuf-2.8.2.bazel +++ b/proto/raze/remote/BUILD.protobuf-2.8.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.protobuf-codegen-2.8.2.bazel b/proto/raze/remote/BUILD.protobuf-codegen-2.8.2.bazel index 7039d3fcbd..75ba977e6a 100644 --- a/proto/raze/remote/BUILD.protobuf-codegen-2.8.2.bazel +++ b/proto/raze/remote/BUILD.protobuf-codegen-2.8.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.redox_syscall-0.1.56.bazel b/proto/raze/remote/BUILD.redox_syscall-0.1.56.bazel index 0b4de5d630..f012554e1c 100644 --- a/proto/raze/remote/BUILD.redox_syscall-0.1.56.bazel +++ b/proto/raze/remote/BUILD.redox_syscall-0.1.56.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.rustc_version-0.2.3.bazel b/proto/raze/remote/BUILD.rustc_version-0.2.3.bazel index 9bfd0175d8..07c03bdc75 100644 --- a/proto/raze/remote/BUILD.rustc_version-0.2.3.bazel +++ b/proto/raze/remote/BUILD.rustc_version-0.2.3.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.safemem-0.3.3.bazel b/proto/raze/remote/BUILD.safemem-0.3.3.bazel index a20e8ddb37..f23756d960 100644 --- a/proto/raze/remote/BUILD.safemem-0.3.3.bazel +++ b/proto/raze/remote/BUILD.safemem-0.3.3.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.scoped-tls-0.1.2.bazel b/proto/raze/remote/BUILD.scoped-tls-0.1.2.bazel index 6e73a63fdc..8ebe7043e9 100644 --- a/proto/raze/remote/BUILD.scoped-tls-0.1.2.bazel +++ b/proto/raze/remote/BUILD.scoped-tls-0.1.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.scopeguard-1.1.0.bazel b/proto/raze/remote/BUILD.scopeguard-1.1.0.bazel index b709245183..0a237eb8e8 100644 --- a/proto/raze/remote/BUILD.scopeguard-1.1.0.bazel +++ b/proto/raze/remote/BUILD.scopeguard-1.1.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.semver-0.9.0.bazel b/proto/raze/remote/BUILD.semver-0.9.0.bazel index 70a72f333f..aa2dc78fb2 100644 --- a/proto/raze/remote/BUILD.semver-0.9.0.bazel +++ b/proto/raze/remote/BUILD.semver-0.9.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.semver-parser-0.7.0.bazel b/proto/raze/remote/BUILD.semver-parser-0.7.0.bazel index 09330978cd..75ec84b5a8 100644 --- a/proto/raze/remote/BUILD.semver-parser-0.7.0.bazel +++ b/proto/raze/remote/BUILD.semver-parser-0.7.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.slab-0.3.0.bazel b/proto/raze/remote/BUILD.slab-0.3.0.bazel index 97f6165827..618a11223d 100644 --- a/proto/raze/remote/BUILD.slab-0.3.0.bazel +++ b/proto/raze/remote/BUILD.slab-0.3.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.slab-0.4.2.bazel b/proto/raze/remote/BUILD.slab-0.4.2.bazel index 6125ec45fe..3bbcfd87ab 100644 --- a/proto/raze/remote/BUILD.slab-0.4.2.bazel +++ b/proto/raze/remote/BUILD.slab-0.4.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.smallvec-0.6.13.bazel b/proto/raze/remote/BUILD.smallvec-0.6.13.bazel index 3b4fc5f99c..fdaf265878 100644 --- a/proto/raze/remote/BUILD.smallvec-0.6.13.bazel +++ b/proto/raze/remote/BUILD.smallvec-0.6.13.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tls-api-0.1.22.bazel b/proto/raze/remote/BUILD.tls-api-0.1.22.bazel index baca88b112..9334f53249 100644 --- a/proto/raze/remote/BUILD.tls-api-0.1.22.bazel +++ b/proto/raze/remote/BUILD.tls-api-0.1.22.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tls-api-stub-0.1.22.bazel b/proto/raze/remote/BUILD.tls-api-stub-0.1.22.bazel index 71020a35cb..5eb5adfa8d 100644 --- a/proto/raze/remote/BUILD.tls-api-stub-0.1.22.bazel +++ b/proto/raze/remote/BUILD.tls-api-stub-0.1.22.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-0.1.22.bazel b/proto/raze/remote/BUILD.tokio-0.1.22.bazel index d220700d84..772b229c9c 100644 --- a/proto/raze/remote/BUILD.tokio-0.1.22.bazel +++ b/proto/raze/remote/BUILD.tokio-0.1.22.bazel @@ -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", @@ -125,22 +125,22 @@ 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_proto__tokio_uds__0_2_6//:tokio_uds", ], diff --git a/proto/raze/remote/BUILD.tokio-codec-0.1.2.bazel b/proto/raze/remote/BUILD.tokio-codec-0.1.2.bazel index 47f51b1328..ea8ffafbbe 100644 --- a/proto/raze/remote/BUILD.tokio-codec-0.1.2.bazel +++ b/proto/raze/remote/BUILD.tokio-codec-0.1.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-core-0.1.17.bazel b/proto/raze/remote/BUILD.tokio-core-0.1.17.bazel index aad8f66253..4167ea3857 100644 --- a/proto/raze/remote/BUILD.tokio-core-0.1.17.bazel +++ b/proto/raze/remote/BUILD.tokio-core-0.1.17.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-current-thread-0.1.7.bazel b/proto/raze/remote/BUILD.tokio-current-thread-0.1.7.bazel index d7e0cf3cc5..b0420da229 100644 --- a/proto/raze/remote/BUILD.tokio-current-thread-0.1.7.bazel +++ b/proto/raze/remote/BUILD.tokio-current-thread-0.1.7.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-executor-0.1.10.bazel b/proto/raze/remote/BUILD.tokio-executor-0.1.10.bazel index 946e781b41..77c73335fd 100644 --- a/proto/raze/remote/BUILD.tokio-executor-0.1.10.bazel +++ b/proto/raze/remote/BUILD.tokio-executor-0.1.10.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-fs-0.1.7.bazel b/proto/raze/remote/BUILD.tokio-fs-0.1.7.bazel index f581326dfd..08bf9df941 100644 --- a/proto/raze/remote/BUILD.tokio-fs-0.1.7.bazel +++ b/proto/raze/remote/BUILD.tokio-fs-0.1.7.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-io-0.1.13.bazel b/proto/raze/remote/BUILD.tokio-io-0.1.13.bazel index 562d1c3c74..7822bcede4 100644 --- a/proto/raze/remote/BUILD.tokio-io-0.1.13.bazel +++ b/proto/raze/remote/BUILD.tokio-io-0.1.13.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-reactor-0.1.12.bazel b/proto/raze/remote/BUILD.tokio-reactor-0.1.12.bazel index d3e4422857..eb384c4a8a 100644 --- a/proto/raze/remote/BUILD.tokio-reactor-0.1.12.bazel +++ b/proto/raze/remote/BUILD.tokio-reactor-0.1.12.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-sync-0.1.8.bazel b/proto/raze/remote/BUILD.tokio-sync-0.1.8.bazel index 87286a24a3..3544577d81 100644 --- a/proto/raze/remote/BUILD.tokio-sync-0.1.8.bazel +++ b/proto/raze/remote/BUILD.tokio-sync-0.1.8.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-tcp-0.1.4.bazel b/proto/raze/remote/BUILD.tokio-tcp-0.1.4.bazel index 442c549c14..78c9d19c26 100644 --- a/proto/raze/remote/BUILD.tokio-tcp-0.1.4.bazel +++ b/proto/raze/remote/BUILD.tokio-tcp-0.1.4.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-threadpool-0.1.18.bazel b/proto/raze/remote/BUILD.tokio-threadpool-0.1.18.bazel index ed08678106..37cb4991d3 100644 --- a/proto/raze/remote/BUILD.tokio-threadpool-0.1.18.bazel +++ b/proto/raze/remote/BUILD.tokio-threadpool-0.1.18.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-timer-0.1.2.bazel b/proto/raze/remote/BUILD.tokio-timer-0.1.2.bazel index 604c63d367..cb078f121f 100644 --- a/proto/raze/remote/BUILD.tokio-timer-0.1.2.bazel +++ b/proto/raze/remote/BUILD.tokio-timer-0.1.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-timer-0.2.13.bazel b/proto/raze/remote/BUILD.tokio-timer-0.2.13.bazel index f044642746..1fddfca9e0 100644 --- a/proto/raze/remote/BUILD.tokio-timer-0.2.13.bazel +++ b/proto/raze/remote/BUILD.tokio-timer-0.2.13.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-tls-api-0.1.22.bazel b/proto/raze/remote/BUILD.tokio-tls-api-0.1.22.bazel index 38e7218c59..c336268e8c 100644 --- a/proto/raze/remote/BUILD.tokio-tls-api-0.1.22.bazel +++ b/proto/raze/remote/BUILD.tokio-tls-api-0.1.22.bazel @@ -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", @@ -57,38 +57,38 @@ rust_library( ] + selects.with_or({ # cfg(all(not(target_os = "macos"), not(windows), not(target_os = "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-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-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-linux-android", + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@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-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ ], "//conditions:default": [], }) + selects.with_or({ # cfg(any(target_os = "macos", target_os = "ios")) ( - "@io_bazel_rules_rust//rust/platform:aarch64-apple-darwin", - "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", - "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-ios", ): [ ], "//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", ): [ ], "//conditions:default": [], diff --git a/proto/raze/remote/BUILD.tokio-udp-0.1.6.bazel b/proto/raze/remote/BUILD.tokio-udp-0.1.6.bazel index d3fa9ecd9a..0d13e57cbe 100644 --- a/proto/raze/remote/BUILD.tokio-udp-0.1.6.bazel +++ b/proto/raze/remote/BUILD.tokio-udp-0.1.6.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-uds-0.1.7.bazel b/proto/raze/remote/BUILD.tokio-uds-0.1.7.bazel index a7e807c9ef..4de4f94dc7 100644 --- a/proto/raze/remote/BUILD.tokio-uds-0.1.7.bazel +++ b/proto/raze/remote/BUILD.tokio-uds-0.1.7.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.tokio-uds-0.2.6.bazel b/proto/raze/remote/BUILD.tokio-uds-0.2.6.bazel index 45db7479a6..71bad60d0d 100644 --- a/proto/raze/remote/BUILD.tokio-uds-0.2.6.bazel +++ b/proto/raze/remote/BUILD.tokio-uds-0.2.6.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.unix_socket-0.5.0.bazel b/proto/raze/remote/BUILD.unix_socket-0.5.0.bazel index bdc2493230..d67cccc95f 100644 --- a/proto/raze/remote/BUILD.unix_socket-0.5.0.bazel +++ b/proto/raze/remote/BUILD.unix_socket-0.5.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.void-1.0.2.bazel b/proto/raze/remote/BUILD.void-1.0.2.bazel index ea198b5428..07b7b5b04b 100644 --- a/proto/raze/remote/BUILD.void-1.0.2.bazel +++ b/proto/raze/remote/BUILD.void-1.0.2.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.winapi-0.2.8.bazel b/proto/raze/remote/BUILD.winapi-0.2.8.bazel index fddf318e77..6e16d8c7b1 100644 --- a/proto/raze/remote/BUILD.winapi-0.2.8.bazel +++ b/proto/raze/remote/BUILD.winapi-0.2.8.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.winapi-0.3.8.bazel b/proto/raze/remote/BUILD.winapi-0.3.8.bazel index 7662396ba8..fe610cbcba 100644 --- a/proto/raze/remote/BUILD.winapi-0.3.8.bazel +++ b/proto/raze/remote/BUILD.winapi-0.3.8.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.winapi-build-0.1.1.bazel b/proto/raze/remote/BUILD.winapi-build-0.1.1.bazel index 9c03ac63c1..2e5efce4f8 100644 --- a/proto/raze/remote/BUILD.winapi-build-0.1.1.bazel +++ b/proto/raze/remote/BUILD.winapi-build-0.1.1.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/proto/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index a3d46d6105..410e4dbf6c 100644 --- a/proto/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/proto/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/proto/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index 302fa1094a..5a76fca4be 100644 --- a/proto/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/proto/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -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", diff --git a/proto/raze/remote/BUILD.ws2_32-sys-0.2.1.bazel b/proto/raze/remote/BUILD.ws2_32-sys-0.2.1.bazel index ca79f117a0..1511a5cba8 100644 --- a/proto/raze/remote/BUILD.ws2_32-sys-0.2.1.bazel +++ b/proto/raze/remote/BUILD.ws2_32-sys-0.2.1.bazel @@ -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", diff --git a/proto/toolchain.bzl b/proto/toolchain.bzl index a93e9e96f0..9a9e79028d 100644 --- a/proto/toolchain.bzl +++ b/proto/toolchain.bzl @@ -164,7 +164,7 @@ Suppose a new nicer gRPC plugin has came out. The new plugin can be \ used in Bazel by defining a new toolchain definition and declaration: ```python -load('@io_bazel_rules_rust//proto:toolchain.bzl', 'rust_proto_toolchain') +load('@rules_rust//proto:toolchain.bzl', 'rust_proto_toolchain') rust_proto_toolchain( name="rust_proto_impl", @@ -187,6 +187,6 @@ toolchain( Then, either add the label of the toolchain rule to register_toolchains in the WORKSPACE, or pass \ it to the `--extra_toolchains` flag for Bazel, and it will be used. -See @io_bazel_rules_rust//proto:BUILD for examples of defining the toolchain. +See @rules_rust//proto:BUILD for examples of defining the toolchain. """, ) diff --git a/rust/platform/platform.bzl b/rust/platform/platform.bzl index 88bfbc310f..3a94431610 100644 --- a/rust/platform/platform.bzl +++ b/rust/platform/platform.bzl @@ -24,7 +24,7 @@ _SUPPORTED_T1_PLATFORM_TRIPLES = [ ] # Some T2 Platforms are supported, provided we have mappings to @platforms// entries. -# See @io_bazel_rules_rust//rust/platform:triple_mappings.bzl for the complete list. +# See @rules_rust//rust/platform:triple_mappings.bzl for the complete list. _SUPPORTED_T2_PLATFORM_TRIPLES = [ "aarch64-apple-darwin", "aarch64-apple-ios", diff --git a/rust/platform/triple_mappings.bzl b/rust/platform/triple_mappings.bzl index 83f68dcbb0..4abdcf28f7 100644 --- a/rust/platform/triple_mappings.bzl +++ b/rust/platform/triple_mappings.bzl @@ -187,13 +187,13 @@ def triple_to_constraint_set(triple): """ if triple == "wasm32-wasi": return [ - "@io_bazel_rules_rust//rust/platform/cpu:wasm32", - "@io_bazel_rules_rust//rust/platform/os:wasi", + "@rules_rust//rust/platform/cpu:wasm32", + "@rules_rust//rust/platform/os:wasi", ] if triple == "wasm32-unknown-unknown": return [ - "@io_bazel_rules_rust//rust/platform/cpu:wasm32", - "@io_bazel_rules_rust//rust/platform/os:unknown", + "@rules_rust//rust/platform/cpu:wasm32", + "@rules_rust//rust/platform/os:unknown", ] component_parts = triple.split("-") diff --git a/rust/private/clippy.bzl b/rust/private/clippy.bzl index 7b56cbbdf9..9b661cf235 100644 --- a/rust/private/clippy.bzl +++ b/rust/private/clippy.bzl @@ -133,7 +133,7 @@ def _clippy_aspect_impl(target, ctx): ] # Example: Run the clippy checker on all targets in the codebase. -# bazel build --aspects=@io_bazel_rules_rust//rust:rust.bzl%rust_clippy_aspect \ +# bazel build --aspects=@rules_rust//rust:rust.bzl%rust_clippy_aspect \ # --output_groups=clippy_checks \ # //... rust_clippy_aspect = aspect( @@ -166,7 +166,7 @@ As an example, if the following is defined in `hello_lib/BUILD`: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", @@ -183,7 +183,7 @@ rust_test( Then the targets can be analyzed with clippy using the following command: ```output -$ bazel build --aspects=@io_bazel_rules_rust//rust:rust.bzl%rust_clippy_aspect \ +$ bazel build --aspects=@rules_rust//rust:rust.bzl%rust_clippy_aspect \ --output_groups=clippy_checks //hello_lib:all ``` """, @@ -209,7 +209,7 @@ For example, given the following example targets: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", diff --git a/rust/private/rust.bzl b/rust/private/rust.bzl index 6e8f2f81e8..d12741c422 100644 --- a/rust/private/rust.bzl +++ b/rust/private/rust.bzl @@ -553,7 +553,7 @@ pub mod greeter; ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "hello_lib", @@ -642,7 +642,7 @@ impl Greeter { ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") rust_library( name = "hello_lib", @@ -662,7 +662,7 @@ fn main() { `hello_world/BUILD`: ```python -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") +load("@rules_rust//rust:rust.bzl", "rust_binary") rust_binary( name = "hello_world", @@ -749,7 +749,7 @@ only depends on the `hello_lib` `rust_library` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", @@ -816,7 +816,7 @@ with `greeting.rs` in `srcs` and a dependency on the `hello_lib` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_test") rust_library( name = "hello_lib", @@ -932,7 +932,7 @@ To build the benchmark test, add a `rust_benchmark` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_benchmark") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_benchmark") rust_library( name = "fibonacci", diff --git a/rust/private/rustdoc.bzl b/rust/private/rustdoc.bzl index efc60fc6a1..3d77373993 100644 --- a/rust/private/rustdoc.bzl +++ b/rust/private/rustdoc.bzl @@ -38,7 +38,7 @@ Example: ```python package(default_visibility = ["//visibility:public"]) - load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_doc") + load("@rules_rust//rust:rust.bzl", "rust_library", "rust_doc") rust_library( name = "hello_lib", diff --git a/rust/private/rustdoc_test.bzl b/rust/private/rustdoc_test.bzl index b6c26c6694..404013c668 100644 --- a/rust/private/rustdoc_test.bzl +++ b/rust/private/rustdoc_test.bzl @@ -221,7 +221,7 @@ target that depends on the `hello_lib` `rust_library` target: ```python package(default_visibility = ["//visibility:public"]) -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_doc_test") +load("@rules_rust//rust:rust.bzl", "rust_library", "rust_doc_test") rust_library( name = "hello_lib", diff --git a/rust/repositories.bzl b/rust/repositories.bzl index e2ee0deacb..8aaf0fcedc 100644 --- a/rust/repositories.bzl +++ b/rust/repositories.bzl @@ -40,7 +40,7 @@ def rust_repositories( This would match for `exec_triple = "x86_64-unknown-linux-gnu"`. If not specified, rules_rust pulls from a non-exhaustive \ list of known checksums.. - See `load_arbitrary_tool` in `@io_bazel_rules_rust//rust:repositories.bzl` for more details. + See `load_arbitrary_tool` in `@rules_rust//rust:repositories.bzl` for more details. Args: version (str, optional): The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. @@ -183,7 +183,7 @@ def serialized_constraint_set_from_triple(target_triple): return "[{}]".format(", ".join(constraint_set_strs)) _build_file_for_compiler_template = """\ -load("@io_bazel_rules_rust//rust:toolchain.bzl", "rust_toolchain") +load("@rules_rust//rust:toolchain.bzl", "rust_toolchain") filegroup( name = "rustc", @@ -225,7 +225,7 @@ def BUILD_for_compiler(target_triple): ) _build_file_for_cargo_template = """\ -load("@io_bazel_rules_rust//rust:toolchain.bzl", "rust_toolchain") +load("@rules_rust//rust:toolchain.bzl", "rust_toolchain") filegroup( name = "cargo", @@ -242,7 +242,7 @@ def BUILD_for_cargo(target_triple): ) _build_file_for_rustfmt_template = """\ -load("@io_bazel_rules_rust//rust:toolchain.bzl", "rust_toolchain") +load("@rules_rust//rust:toolchain.bzl", "rust_toolchain") filegroup( name = "rustfmt_bin", @@ -266,7 +266,7 @@ def BUILD_for_rustfmt(target_triple): ) _build_file_for_clippy_template = """\ -load("@io_bazel_rules_rust//rust:toolchain.bzl", "rust_toolchain") +load("@rules_rust//rust:toolchain.bzl", "rust_toolchain") filegroup( name = "clippy_driver_bin", @@ -375,7 +375,7 @@ toolchain( exec_compatible_with = {exec_constraint_sets_serialized}, target_compatible_with = {target_constraint_sets_serialized}, toolchain = "@{parent_workspace_name}//:{name}_impl", - toolchain_type = "@io_bazel_rules_rust//rust:toolchain", + toolchain_type = "@rules_rust//rust:toolchain", ) """ @@ -769,3 +769,21 @@ def rust_repository_set( # Register toolchains native.register_toolchains(*all_toolchain_names) native.register_toolchains(str(Label("//rust/private/dummy_cc_toolchain:dummy_cc_wasm32_toolchain"))) + + # Inform users that they should be using the canonical name if it's not detected + if "rules_rust" not in native.existing_rules(): + message = "\n" + ("=" * 79) + "\n" + message += ( + "It appears that you are trying to import rules_rust without using its\n" + + "canonical name, \"@rules_rust\" Please change your WORKSPACE file to\n" + + "import this repo with `name = \"rules_rust\"` instead." + ) + + if "io_bazel_rules_rust" in native.existing_rules(): + message += "\n\n" + ( + "Note that the previous name of \"@io_bazel_rules_rust\" is deprecated.\n" + + "See https://github.com/bazelbuild/rules_rust/issues/499 for context." + ) + + message += "\n" + ("=" * 79) + fail(message) diff --git a/rust/rust.bzl b/rust/rust.bzl index 01906f6431..dc74b1ae41 100644 --- a/rust/rust.bzl +++ b/rust/rust.bzl @@ -36,28 +36,28 @@ load( ) rust_library = _rust_library -# See @io_bazel_rules_rust//rust:private/rust.bzl for a complete description. +# See @rules_rust//rust:private/rust.bzl for a complete description. rust_binary = _rust_binary -# See @io_bazel_rules_rust//rust:private/rust.bzl for a complete description. +# See @rules_rust//rust:private/rust.bzl for a complete description. rust_test = _rust_test -# See @io_bazel_rules_rust//rust:private/rust.bzl for a complete description. +# See @rules_rust//rust:private/rust.bzl for a complete description. rust_test_binary = _rust_test_binary -# See @io_bazel_rules_rust//rust:private/rust.bzl for a complete description. +# See @rules_rust//rust:private/rust.bzl for a complete description. rust_benchmark = _rust_benchmark -# See @io_bazel_rules_rust//rust:private/rust.bzl for a complete description. +# See @rules_rust//rust:private/rust.bzl for a complete description. rust_doc = _rust_doc -# See @io_bazel_rules_rust//rust:private/rustdoc.bzl for a complete description. +# See @rules_rust//rust:private/rustdoc.bzl for a complete description. rust_doc_test = _rust_doc_test -# See @io_bazel_rules_rust//rust:private/rustdoc_test.bzl for a complete description. +# See @rules_rust//rust:private/rustdoc_test.bzl for a complete description. rust_clippy_aspect = _rust_clippy_aspect -# See @io_bazel_rules_rust//rust:private/clippy.bzl for a complete description. +# See @rules_rust//rust:private/clippy.bzl for a complete description. rust_clippy = _rust_clippy -# See @io_bazel_rules_rust//rust:private/clippy.bzl for a complete description. +# See @rules_rust//rust:private/clippy.bzl for a complete description. diff --git a/rust/toolchain.bzl b/rust/toolchain.bzl index 8f84d05a01..883fd9627d 100644 --- a/rust/toolchain.bzl +++ b/rust/toolchain.bzl @@ -138,7 +138,7 @@ Suppose the core rust team has ported the compiler to a new target CPU, called ` support can be used in Bazel by defining a new toolchain definition and declaration: ```python -load('@io_bazel_rules_rust//rust:toolchain.bzl', 'rust_toolchain') +load('@rules_rust//rust:toolchain.bzl', 'rust_toolchain') rust_toolchain( name = "rust_cpuX_impl", @@ -168,7 +168,7 @@ toolchain( Then, either add the label of the toolchain rule to `register_toolchains` in the WORKSPACE, or pass \ it to the `"--extra_toolchains"` flag for Bazel, and it will be used. -See @io_bazel_rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX repository \ +See @rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX repository \ with the actual binaries and libraries. """, ) diff --git a/test/deps.bzl b/test/deps.bzl index 3b06e9baf9..11cb0e2fe7 100644 --- a/test/deps.bzl +++ b/test/deps.bzl @@ -1,8 +1,8 @@ -"""A module defining dependencies of the `io_bazel_rules_rust` tests""" +"""A module defining dependencies of the `rules_rust` tests""" load("//test/load_arbitrary_tool:load_arbitrary_tool_test.bzl", "load_arbitrary_tool_test") def io_bazel_rules_rust_test_deps(): - """Load dependencies for io_bazel_rules_rust tests""" + """Load dependencies for rules_rust tests""" load_arbitrary_tool_test() diff --git a/test/proto/BUILD b/test/proto/BUILD index faae5c0dae..0e8189e8f2 100644 --- a/test/proto/BUILD +++ b/test/proto/BUILD @@ -1,5 +1,5 @@ load("@rules_proto//proto:defs.bzl", "proto_library") -load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library") +load("@rules_rust//proto:proto.bzl", "rust_proto_library") proto_library( name = "a_proto", diff --git a/test/rustfmt/BUILD b/test/rustfmt/BUILD index eff1d5ca2c..2e4b67bf3e 100644 --- a/test/rustfmt/BUILD +++ b/test/rustfmt/BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_rust//test/rustfmt:rustfmt_generator.bzl", "rustfmt_generator") +load("@rules_rust//test/rustfmt:rustfmt_generator.bzl", "rustfmt_generator") rustfmt_generator( name = "formatted", diff --git a/test/rustfmt/rustfmt_test.sh b/test/rustfmt/rustfmt_test.sh index 99678d836b..a288b30cf7 100755 --- a/test/rustfmt/rustfmt_test.sh +++ b/test/rustfmt/rustfmt_test.sh @@ -1,8 +1,8 @@ #!/bin/bash set -euxo pipefail -formatted="$(rlocation io_bazel_rules_rust/test/rustfmt/formatted.rs)" -unformatted="$(rlocation io_bazel_rules_rust/test/rustfmt/unformatted.rs)" +formatted="$(rlocation rules_rust/test/rustfmt/formatted.rs)" +unformatted="$(rlocation rules_rust/test/rustfmt/unformatted.rs)" # Ensure that the file was formatted ! diff "$unformatted" "$formatted" diff --git a/tools/runfiles/runfiles.rs b/tools/runfiles/runfiles.rs index c78e3e5611..a2e2d1c8e8 100644 --- a/tools/runfiles/runfiles.rs +++ b/tools/runfiles/runfiles.rs @@ -8,7 +8,7 @@ //! name = "my_binary", //! ... //! data = ["//path/to/my/data.txt"], -//! deps = ["@io_bazel_rules_rust//tools/runfiles"], +//! deps = ["@rules_rust//tools/runfiles"], //! ) //! ``` //! @@ -126,7 +126,7 @@ mod test { let r = Runfiles::create().unwrap(); let mut f = - File::open(r.rlocation("io_bazel_rules_rust/tools/runfiles/data/sample.txt")).unwrap(); + File::open(r.rlocation("rules_rust/tools/runfiles/data/sample.txt")).unwrap(); let mut buffer = String::new(); f.read_to_string(&mut buffer).unwrap(); diff --git a/wasm_bindgen/raze/Cargo.toml b/wasm_bindgen/raze/Cargo.toml index 08577a87af..5320b392fc 100644 --- a/wasm_bindgen/raze/Cargo.toml +++ b/wasm_bindgen/raze/Cargo.toml @@ -12,7 +12,7 @@ wasm-bindgen = "0.2.68" genmode = "Remote" workspace_path = "//wasm_bindgen/raze" gen_workspace_prefix = "rules_rust_wasm_bindgen" -rust_rules_workspace_name = "io_bazel_rules_rust" +rust_rules_workspace_name = "rules_rust" package_aliases_dir = "." default_gen_buildrs = false diff --git a/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.15.bazel b/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.15.bazel index cba0a8b2a4..c3ae8f21e3 100644 --- a/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.15.bazel +++ b/wasm_bindgen/raze/remote/BUILD.aho-corasick-0.7.15.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.36.bazel b/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.36.bazel index e797b0ac7d..f3bb03e388 100644 --- a/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.36.bazel +++ b/wasm_bindgen/raze/remote/BUILD.anyhow-1.0.36.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.arrayref-0.3.6.bazel b/wasm_bindgen/raze/remote/BUILD.arrayref-0.3.6.bazel index 5168313e3f..14fb71d8e6 100644 --- a/wasm_bindgen/raze/remote/BUILD.arrayref-0.3.6.bazel +++ b/wasm_bindgen/raze/remote/BUILD.arrayref-0.3.6.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.arrayvec-0.5.2.bazel b/wasm_bindgen/raze/remote/BUILD.arrayvec-0.5.2.bazel index 30020d52a1..099a79a7ec 100644 --- a/wasm_bindgen/raze/remote/BUILD.arrayvec-0.5.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.arrayvec-0.5.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.ascii-0.8.7.bazel b/wasm_bindgen/raze/remote/BUILD.ascii-0.8.7.bazel index 374763619a..9d02452843 100644 --- a/wasm_bindgen/raze/remote/BUILD.ascii-0.8.7.bazel +++ b/wasm_bindgen/raze/remote/BUILD.ascii-0.8.7.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.2.bazel b/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.2.bazel index dd842c66ca..eb103962cf 100644 --- a/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.assert_cmd-1.0.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.atty-0.2.14.bazel b/wasm_bindgen/raze/remote/BUILD.atty-0.2.14.bazel index cd15c0ec13..09e5450d60 100644 --- a/wasm_bindgen/raze/remote/BUILD.atty-0.2.14.bazel +++ b/wasm_bindgen/raze/remote/BUILD.atty-0.2.14.bazel @@ -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", @@ -56,22 +56,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -79,8 +79,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.autocfg-0.1.7.bazel b/wasm_bindgen/raze/remote/BUILD.autocfg-0.1.7.bazel index b847918d0f..178ac5db66 100644 --- a/wasm_bindgen/raze/remote/BUILD.autocfg-0.1.7.bazel +++ b/wasm_bindgen/raze/remote/BUILD.autocfg-0.1.7.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.autocfg-1.0.1.bazel b/wasm_bindgen/raze/remote/BUILD.autocfg-1.0.1.bazel index c93353dbac..dfc146ddbe 100644 --- a/wasm_bindgen/raze/remote/BUILD.autocfg-1.0.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.autocfg-1.0.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.base64-0.13.0.bazel b/wasm_bindgen/raze/remote/BUILD.base64-0.13.0.bazel index 21dabd54a1..a6f0651ee2 100644 --- a/wasm_bindgen/raze/remote/BUILD.base64-0.13.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.base64-0.13.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.base64-0.9.3.bazel b/wasm_bindgen/raze/remote/BUILD.base64-0.9.3.bazel index 40f49a2685..81ab02568d 100644 --- a/wasm_bindgen/raze/remote/BUILD.base64-0.9.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.base64-0.9.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel b/wasm_bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel index 4767abc04d..6fcea82b7e 100644 --- a/wasm_bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.bitflags-1.2.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.blake2b_simd-0.5.11.bazel b/wasm_bindgen/raze/remote/BUILD.blake2b_simd-0.5.11.bazel index c44d7953de..9e666f136d 100644 --- a/wasm_bindgen/raze/remote/BUILD.blake2b_simd-0.5.11.bazel +++ b/wasm_bindgen/raze/remote/BUILD.blake2b_simd-0.5.11.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.buf_redux-0.8.4.bazel b/wasm_bindgen/raze/remote/BUILD.buf_redux-0.8.4.bazel index 4ba2e8fd06..562f0d2f8f 100644 --- a/wasm_bindgen/raze/remote/BUILD.buf_redux-0.8.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.buf_redux-0.8.4.bazel @@ -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", @@ -56,24 +56,24 @@ rust_library( ] + selects.with_or({ # cfg(any(unix, 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-pc-windows-msvc", - "@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-pc-windows-msvc", - "@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-pc-windows-msvc", + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:i686-unknown-linux-gnu", + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@rules_rust//rust/platform: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-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.bumpalo-3.4.0.bazel b/wasm_bindgen/raze/remote/BUILD.bumpalo-3.4.0.bazel index 0422ea9749..ceada44842 100644 --- a/wasm_bindgen/raze/remote/BUILD.bumpalo-3.4.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.bumpalo-3.4.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.byteorder-1.3.4.bazel b/wasm_bindgen/raze/remote/BUILD.byteorder-1.3.4.bazel index 2897d4a52e..9e302a7bff 100644 --- a/wasm_bindgen/raze/remote/BUILD.byteorder-1.3.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.byteorder-1.3.4.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.cc-1.0.66.bazel b/wasm_bindgen/raze/remote/BUILD.cc-1.0.66.bazel index 379fbbf3cc..77119ab808 100644 --- a/wasm_bindgen/raze/remote/BUILD.cc-1.0.66.bazel +++ b/wasm_bindgen/raze/remote/BUILD.cc-1.0.66.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel b/wasm_bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel index df8b6bc10b..7e100b4568 100644 --- a/wasm_bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel +++ b/wasm_bindgen/raze/remote/BUILD.cfg-if-0.1.10.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.cfg-if-1.0.0.bazel b/wasm_bindgen/raze/remote/BUILD.cfg-if-1.0.0.bazel index 2fa22decff..9e70036752 100644 --- a/wasm_bindgen/raze/remote/BUILD.cfg-if-1.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.cfg-if-1.0.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.chrono-0.4.19.bazel b/wasm_bindgen/raze/remote/BUILD.chrono-0.4.19.bazel index 65f25e2b8c..f4ff6d2c76 100644 --- a/wasm_bindgen/raze/remote/BUILD.chrono-0.4.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.chrono-0.4.19.bazel @@ -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", @@ -69,15 +69,15 @@ rust_library( ] + selects.with_or({ # cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi")))) ( - "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-unknown-unknown", ): [ ], "//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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.chunked_transfer-0.3.1.bazel b/wasm_bindgen/raze/remote/BUILD.chunked_transfer-0.3.1.bazel index 3288f3358c..c81e0e7959 100644 --- a/wasm_bindgen/raze/remote/BUILD.chunked_transfer-0.3.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.chunked_transfer-0.3.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.cloudabi-0.0.3.bazel b/wasm_bindgen/raze/remote/BUILD.cloudabi-0.0.3.bazel index 8da889384e..3e70d31328 100644 --- a/wasm_bindgen/raze/remote/BUILD.cloudabi-0.0.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.cloudabi-0.0.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.4.bazel b/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.4.bazel index 284a1d4229..2d61ffc6b9 100644 --- a/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.const_fn-0.4.4.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.constant_time_eq-0.1.5.bazel b/wasm_bindgen/raze/remote/BUILD.constant_time_eq-0.1.5.bazel index cbc84f376f..ae387f377b 100644 --- a/wasm_bindgen/raze/remote/BUILD.constant_time_eq-0.1.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.constant_time_eq-0.1.5.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.0.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.0.bazel index 0a25105c62..7c7e15ca93 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-channel-0.5.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.0.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.0.bazel index bd7cb04a85..fa65599c8d 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-deque-0.8.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.1.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.1.bazel index eea69e95fd..0d125da03f 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-epoch-0.9.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.1.bazel b/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.1.bazel index 3a34c0c98f..a7a5088c95 100644 --- a/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.crossbeam-utils-0.8.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.curl-0.4.34.bazel b/wasm_bindgen/raze/remote/BUILD.curl-0.4.34.bazel index 61f2a2d868..cfbc9638c9 100644 --- a/wasm_bindgen/raze/remote/BUILD.curl-0.4.34.bazel +++ b/wasm_bindgen/raze/remote/BUILD.curl-0.4.34.bazel @@ -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", @@ -65,19 +65,19 @@ rust_library( ] + selects.with_or({ # cfg(all(unix, not(target_os = "macos"))) ( - "@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-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-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-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-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-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_wasm_bindgen__openssl_probe__0_1_2//:openssl_probe", "@rules_rust_wasm_bindgen__openssl_sys__0_9_60//:openssl_sys", @@ -86,8 +86,8 @@ rust_library( }) + selects.with_or({ # cfg(target_env = "msvc") ( - "@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_wasm_bindgen__schannel__0_1_19//:schannel", "@rules_rust_wasm_bindgen__winapi__0_3_9//:winapi", diff --git a/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.39+curl-7.74.0.bazel b/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.39+curl-7.74.0.bazel index 8426c42b9d..f296424fd4 100644 --- a/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.39+curl-7.74.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.curl-sys-0.4.39+curl-7.74.0.bazel @@ -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", @@ -60,19 +60,19 @@ rust_library( ] + selects.with_or({ # cfg(all(unix, not(target_os = "macos"))) ( - "@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-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-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-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-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-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_wasm_bindgen__openssl_sys__0_9_60//:openssl_sys", ], @@ -80,16 +80,16 @@ rust_library( }) + selects.with_or({ # cfg(target_env = "msvc") ( - "@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", ): [ ], "//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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.diff-0.1.12.bazel b/wasm_bindgen/raze/remote/BUILD.diff-0.1.12.bazel index aabe97f4e6..a772f9025c 100644 --- a/wasm_bindgen/raze/remote/BUILD.diff-0.1.12.bazel +++ b/wasm_bindgen/raze/remote/BUILD.diff-0.1.12.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.difference-2.0.0.bazel b/wasm_bindgen/raze/remote/BUILD.difference-2.0.0.bazel index 124f482d71..478c9a6d8d 100644 --- a/wasm_bindgen/raze/remote/BUILD.difference-2.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.difference-2.0.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.dirs-1.0.5.bazel b/wasm_bindgen/raze/remote/BUILD.dirs-1.0.5.bazel index 52044309db..22a0f1139f 100644 --- a/wasm_bindgen/raze/remote/BUILD.dirs-1.0.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.dirs-1.0.5.bazel @@ -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", @@ -54,22 +54,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -77,8 +77,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.doc-comment-0.3.3.bazel b/wasm_bindgen/raze/remote/BUILD.doc-comment-0.3.3.bazel index 43017f5f00..15786beb5f 100644 --- a/wasm_bindgen/raze/remote/BUILD.doc-comment-0.3.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.doc-comment-0.3.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.docopt-1.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.docopt-1.1.0.bazel index 0a5537a521..8150666d78 100644 --- a/wasm_bindgen/raze/remote/BUILD.docopt-1.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.docopt-1.1.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.either-1.6.1.bazel b/wasm_bindgen/raze/remote/BUILD.either-1.6.1.bazel index 1d6b89b414..06b5bb080a 100644 --- a/wasm_bindgen/raze/remote/BUILD.either-1.6.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.either-1.6.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel b/wasm_bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel index 739c5c1268..0dfdfcd740 100644 --- a/wasm_bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.env_logger-0.7.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.filetime-0.2.13.bazel b/wasm_bindgen/raze/remote/BUILD.filetime-0.2.13.bazel index bba0c9ce9f..806013f462 100644 --- a/wasm_bindgen/raze/remote/BUILD.filetime-0.2.13.bazel +++ b/wasm_bindgen/raze/remote/BUILD.filetime-0.2.13.bazel @@ -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", @@ -55,22 +55,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -78,8 +78,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.float-cmp-0.8.0.bazel b/wasm_bindgen/raze/remote/BUILD.float-cmp-0.8.0.bazel index fe6a14f2a2..24dc467ef8 100644 --- a/wasm_bindgen/raze/remote/BUILD.float-cmp-0.8.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.float-cmp-0.8.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.fuchsia-cprng-0.1.1.bazel b/wasm_bindgen/raze/remote/BUILD.fuchsia-cprng-0.1.1.bazel index ec9f3e1e33..8863e905ff 100644 --- a/wasm_bindgen/raze/remote/BUILD.fuchsia-cprng-0.1.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.fuchsia-cprng-0.1.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.getrandom-0.1.15.bazel b/wasm_bindgen/raze/remote/BUILD.getrandom-0.1.15.bazel index 2ff04fa3c6..3c276e974d 100644 --- a/wasm_bindgen/raze/remote/BUILD.getrandom-0.1.15.bazel +++ b/wasm_bindgen/raze/remote/BUILD.getrandom-0.1.15.bazel @@ -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", @@ -60,7 +60,7 @@ rust_library( ] + selects.with_or({ # cfg(target_os = "wasi") ( - "@io_bazel_rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:wasm32-wasi", ): [ "@rules_rust_wasm_bindgen__wasi__0_9_0_wasi_snapshot_preview1//:wasi", ], @@ -68,22 +68,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -91,7 +91,7 @@ rust_library( }) + selects.with_or({ # wasm32-unknown-unknown ( - "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-unknown-unknown", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.heck-0.3.2.bazel b/wasm_bindgen/raze/remote/BUILD.heck-0.3.2.bazel index 7b6f3de43d..348e861c7d 100644 --- a/wasm_bindgen/raze/remote/BUILD.heck-0.3.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.heck-0.3.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.17.bazel b/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.17.bazel index e4db28d135..f9d01ad207 100644 --- a/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.17.bazel +++ b/wasm_bindgen/raze/remote/BUILD.hermit-abi-0.1.17.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.httparse-1.3.4.bazel b/wasm_bindgen/raze/remote/BUILD.httparse-1.3.4.bazel index 8f81eefbf1..0d5d298995 100644 --- a/wasm_bindgen/raze/remote/BUILD.httparse-1.3.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.httparse-1.3.4.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.humantime-1.3.0.bazel b/wasm_bindgen/raze/remote/BUILD.humantime-1.3.0.bazel index 882cb39adb..2154ab2a9d 100644 --- a/wasm_bindgen/raze/remote/BUILD.humantime-1.3.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.humantime-1.3.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.id-arena-2.2.1.bazel b/wasm_bindgen/raze/remote/BUILD.id-arena-2.2.1.bazel index 19eebe0f07..d5e6bfbd79 100644 --- a/wasm_bindgen/raze/remote/BUILD.id-arena-2.2.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.id-arena-2.2.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.idna-0.1.5.bazel b/wasm_bindgen/raze/remote/BUILD.idna-0.1.5.bazel index 143352a026..a71f8e1f9a 100644 --- a/wasm_bindgen/raze/remote/BUILD.idna-0.1.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.idna-0.1.5.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.itoa-0.4.6.bazel b/wasm_bindgen/raze/remote/BUILD.itoa-0.4.6.bazel index 9543cc6a9c..76cb83369c 100644 --- a/wasm_bindgen/raze/remote/BUILD.itoa-0.4.6.bazel +++ b/wasm_bindgen/raze/remote/BUILD.itoa-0.4.6.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel b/wasm_bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel index 08b37324b5..d0bfc9308b 100644 --- a/wasm_bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.lazy_static-1.4.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.leb128-0.2.4.bazel b/wasm_bindgen/raze/remote/BUILD.leb128-0.2.4.bazel index 19f3028ce8..99fa18dc5d 100644 --- a/wasm_bindgen/raze/remote/BUILD.leb128-0.2.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.leb128-0.2.4.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.libc-0.2.81.bazel b/wasm_bindgen/raze/remote/BUILD.libc-0.2.81.bazel index 10c1115f7b..462596d6c3 100644 --- a/wasm_bindgen/raze/remote/BUILD.libc-0.2.81.bazel +++ b/wasm_bindgen/raze/remote/BUILD.libc-0.2.81.bazel @@ -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", @@ -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", ) diff --git a/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.2.bazel b/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.2.bazel index 477ed49167..3ddc3ae149 100644 --- a/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.libz-sys-1.1.2.bazel @@ -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", @@ -58,8 +58,8 @@ rust_library( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.log-0.3.9.bazel b/wasm_bindgen/raze/remote/BUILD.log-0.3.9.bazel index 2e781eb9a1..f3400f1d43 100644 --- a/wasm_bindgen/raze/remote/BUILD.log-0.3.9.bazel +++ b/wasm_bindgen/raze/remote/BUILD.log-0.3.9.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.log-0.4.11.bazel b/wasm_bindgen/raze/remote/BUILD.log-0.4.11.bazel index c601502e81..27cd77c426 100644 --- a/wasm_bindgen/raze/remote/BUILD.log-0.4.11.bazel +++ b/wasm_bindgen/raze/remote/BUILD.log-0.4.11.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.matches-0.1.8.bazel b/wasm_bindgen/raze/remote/BUILD.matches-0.1.8.bazel index 0919f5b1fc..09b4687b1f 100644 --- a/wasm_bindgen/raze/remote/BUILD.matches-0.1.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.matches-0.1.8.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.memchr-2.3.4.bazel b/wasm_bindgen/raze/remote/BUILD.memchr-2.3.4.bazel index cbd4272dee..5f067feb85 100644 --- a/wasm_bindgen/raze/remote/BUILD.memchr-2.3.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.memchr-2.3.4.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.1.bazel b/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.1.bazel index 6f61a31605..d27a3d34f5 100644 --- a/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.memoffset-0.6.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.mime-0.2.6.bazel b/wasm_bindgen/raze/remote/BUILD.mime-0.2.6.bazel index a418c18515..4275fe3e07 100644 --- a/wasm_bindgen/raze/remote/BUILD.mime-0.2.6.bazel +++ b/wasm_bindgen/raze/remote/BUILD.mime-0.2.6.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.mime_guess-1.8.8.bazel b/wasm_bindgen/raze/remote/BUILD.mime_guess-1.8.8.bazel index 8be2e21a97..5d75346332 100644 --- a/wasm_bindgen/raze/remote/BUILD.mime_guess-1.8.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.mime_guess-1.8.8.bazel @@ -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", @@ -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", ) diff --git a/wasm_bindgen/raze/remote/BUILD.multipart-0.15.4.bazel b/wasm_bindgen/raze/remote/BUILD.multipart-0.15.4.bazel index cd7f95e7cb..e6de96c530 100644 --- a/wasm_bindgen/raze/remote/BUILD.multipart-0.15.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.multipart-0.15.4.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.normalize-line-endings-0.3.0.bazel b/wasm_bindgen/raze/remote/BUILD.normalize-line-endings-0.3.0.bazel index ba0e04be77..18600de398 100644 --- a/wasm_bindgen/raze/remote/BUILD.normalize-line-endings-0.3.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.normalize-line-endings-0.3.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.num-integer-0.1.44.bazel b/wasm_bindgen/raze/remote/BUILD.num-integer-0.1.44.bazel index b58902d2ad..99d7d5a8d8 100644 --- a/wasm_bindgen/raze/remote/BUILD.num-integer-0.1.44.bazel +++ b/wasm_bindgen/raze/remote/BUILD.num-integer-0.1.44.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.num-traits-0.2.14.bazel b/wasm_bindgen/raze/remote/BUILD.num-traits-0.2.14.bazel index 52164fd2a3..a136d2fae7 100644 --- a/wasm_bindgen/raze/remote/BUILD.num-traits-0.2.14.bazel +++ b/wasm_bindgen/raze/remote/BUILD.num-traits-0.2.14.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.num_cpus-1.13.0.bazel b/wasm_bindgen/raze/remote/BUILD.num_cpus-1.13.0.bazel index 8e6dbd8891..4b8296fe31 100644 --- a/wasm_bindgen/raze/remote/BUILD.num_cpus-1.13.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.num_cpus-1.13.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.2.bazel b/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.2.bazel index ce4d1a9a7d..d592e6999d 100644 --- a/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.openssl-probe-0.1.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.60.bazel b/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.60.bazel index 7aa2169602..d5964081aa 100644 --- a/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.60.bazel +++ b/wasm_bindgen/raze/remote/BUILD.openssl-sys-0.9.60.bazel @@ -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", @@ -70,8 +70,8 @@ rust_library( ] + selects.with_or({ # cfg(target_env = "msvc") ( - "@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", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.percent-encoding-1.0.1.bazel b/wasm_bindgen/raze/remote/BUILD.percent-encoding-1.0.1.bazel index 6847fcba10..8292b99e25 100644 --- a/wasm_bindgen/raze/remote/BUILD.percent-encoding-1.0.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.percent-encoding-1.0.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.phf-0.7.24.bazel b/wasm_bindgen/raze/remote/BUILD.phf-0.7.24.bazel index a7554680a7..e8d27a005c 100644 --- a/wasm_bindgen/raze/remote/BUILD.phf-0.7.24.bazel +++ b/wasm_bindgen/raze/remote/BUILD.phf-0.7.24.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.phf_codegen-0.7.24.bazel b/wasm_bindgen/raze/remote/BUILD.phf_codegen-0.7.24.bazel index f2273792ae..dd700135ec 100644 --- a/wasm_bindgen/raze/remote/BUILD.phf_codegen-0.7.24.bazel +++ b/wasm_bindgen/raze/remote/BUILD.phf_codegen-0.7.24.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.phf_generator-0.7.24.bazel b/wasm_bindgen/raze/remote/BUILD.phf_generator-0.7.24.bazel index 2ba1d6fc99..16d7ec42a4 100644 --- a/wasm_bindgen/raze/remote/BUILD.phf_generator-0.7.24.bazel +++ b/wasm_bindgen/raze/remote/BUILD.phf_generator-0.7.24.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.phf_shared-0.7.24.bazel b/wasm_bindgen/raze/remote/BUILD.phf_shared-0.7.24.bazel index 4f05ed2b7c..9fbb1c2dfe 100644 --- a/wasm_bindgen/raze/remote/BUILD.phf_shared-0.7.24.bazel +++ b/wasm_bindgen/raze/remote/BUILD.phf_shared-0.7.24.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.pkg-config-0.3.19.bazel b/wasm_bindgen/raze/remote/BUILD.pkg-config-0.3.19.bazel index c9ef020a74..a20bd16a20 100644 --- a/wasm_bindgen/raze/remote/BUILD.pkg-config-0.3.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.pkg-config-0.3.19.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.ppv-lite86-0.2.10.bazel b/wasm_bindgen/raze/remote/BUILD.ppv-lite86-0.2.10.bazel index 7558d48a45..60cb68d576 100644 --- a/wasm_bindgen/raze/remote/BUILD.ppv-lite86-0.2.10.bazel +++ b/wasm_bindgen/raze/remote/BUILD.ppv-lite86-0.2.10.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.predicates-1.0.5.bazel b/wasm_bindgen/raze/remote/BUILD.predicates-1.0.5.bazel index 0e9050da4b..891a5ac80a 100644 --- a/wasm_bindgen/raze/remote/BUILD.predicates-1.0.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.predicates-1.0.5.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.0.bazel b/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.0.bazel index 7983cae16d..a32beb37cb 100644 --- a/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.predicates-core-1.0.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.0.bazel b/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.0.bazel index e2476d901a..e2c08dc45a 100644 --- a/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.predicates-tree-1.0.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.24.bazel b/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.24.bazel index 7a1b95e289..bee75edb39 100644 --- a/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.24.bazel +++ b/wasm_bindgen/raze/remote/BUILD.proc-macro2-1.0.24.bazel @@ -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", @@ -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", ) diff --git a/wasm_bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel b/wasm_bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel index 14fb93d494..ed1acc1d3d 100644 --- a/wasm_bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.quick-error-1.2.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.quote-1.0.8.bazel b/wasm_bindgen/raze/remote/BUILD.quote-1.0.8.bazel index 0d39f7eff2..bfb27098e6 100644 --- a/wasm_bindgen/raze/remote/BUILD.quote-1.0.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.quote-1.0.8.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand-0.4.6.bazel b/wasm_bindgen/raze/remote/BUILD.rand-0.4.6.bazel index 2a0ba7fb16..6c52d7952c 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand-0.4.6.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand-0.4.6.bazel @@ -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", @@ -63,22 +63,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -86,8 +86,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.rand-0.5.6.bazel b/wasm_bindgen/raze/remote/BUILD.rand-0.5.6.bazel index 644c470083..f3eb768e58 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand-0.5.6.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand-0.5.6.bazel @@ -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", @@ -72,22 +72,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -95,8 +95,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], @@ -104,7 +104,7 @@ rust_library( }) + selects.with_or({ # wasm32-unknown-unknown ( - "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-unknown-unknown", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.rand-0.6.5.bazel b/wasm_bindgen/raze/remote/BUILD.rand-0.6.5.bazel index 35ca5a821d..11dacb55f7 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand-0.6.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand-0.6.5.bazel @@ -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", @@ -80,22 +80,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -103,8 +103,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.rand-0.7.3.bazel b/wasm_bindgen/raze/remote/BUILD.rand-0.7.3.bazel index 14655c7ac7..0a295c147a 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand-0.7.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand-0.7.3.bazel @@ -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", @@ -76,22 +76,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], diff --git a/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.1.1.bazel b/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.1.1.bazel index 2efb980cd0..84ad5f8737 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.1.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.1.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.2.2.bazel b/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.2.2.bazel index 758582490a..1c4ff5f2f1 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.2.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_chacha-0.2.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_core-0.3.1.bazel b/wasm_bindgen/raze/remote/BUILD.rand_core-0.3.1.bazel index 9f96d37708..8d2f6da01e 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_core-0.3.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_core-0.3.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_core-0.4.2.bazel b/wasm_bindgen/raze/remote/BUILD.rand_core-0.4.2.bazel index 90b3f58e72..81e835b5d0 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_core-0.4.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_core-0.4.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_core-0.5.1.bazel b/wasm_bindgen/raze/remote/BUILD.rand_core-0.5.1.bazel index f221449d2d..cb02e70567 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_core-0.5.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_core-0.5.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_hc-0.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.rand_hc-0.1.0.bazel index 2e877218c9..6d0f680bbb 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_hc-0.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_hc-0.1.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_hc-0.2.0.bazel b/wasm_bindgen/raze/remote/BUILD.rand_hc-0.2.0.bazel index 053186204c..6538cd7fc8 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_hc-0.2.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_hc-0.2.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_isaac-0.1.1.bazel b/wasm_bindgen/raze/remote/BUILD.rand_isaac-0.1.1.bazel index face4bb529..8b14398902 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_isaac-0.1.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_isaac-0.1.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_jitter-0.1.4.bazel b/wasm_bindgen/raze/remote/BUILD.rand_jitter-0.1.4.bazel index f435778d82..26c6083c83 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_jitter-0.1.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_jitter-0.1.4.bazel @@ -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", @@ -58,11 +58,11 @@ rust_library( ] + selects.with_or({ # cfg(any(target_os = "macos", target_os = "ios")) ( - "@io_bazel_rules_rust//rust/platform:aarch64-apple-darwin", - "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", - "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", - "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", - "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@rules_rust//rust/platform:i686-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-ios", ): [ "@rules_rust_wasm_bindgen__libc__0_2_81//:libc", ], @@ -70,8 +70,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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.rand_os-0.1.3.bazel b/wasm_bindgen/raze/remote/BUILD.rand_os-0.1.3.bazel index 09e4216688..cc5ef0096f 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_os-0.1.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_os-0.1.3.bazel @@ -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", @@ -55,22 +55,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -78,8 +78,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], @@ -87,7 +87,7 @@ rust_library( }) + selects.with_or({ # wasm32-unknown-unknown ( - "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-unknown-unknown", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.rand_pcg-0.1.2.bazel b/wasm_bindgen/raze/remote/BUILD.rand_pcg-0.1.2.bazel index fa751851c0..e472f3a511 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_pcg-0.1.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_pcg-0.1.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rand_xorshift-0.1.1.bazel b/wasm_bindgen/raze/remote/BUILD.rand_xorshift-0.1.1.bazel index 3c2d51ac88..cc93d52b03 100644 --- a/wasm_bindgen/raze/remote/BUILD.rand_xorshift-0.1.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rand_xorshift-0.1.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rayon-1.5.0.bazel b/wasm_bindgen/raze/remote/BUILD.rayon-1.5.0.bazel index 35122df619..29e695bffc 100644 --- a/wasm_bindgen/raze/remote/BUILD.rayon-1.5.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rayon-1.5.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.0.bazel b/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.0.bazel index d4e3b2fc39..3bc6887938 100644 --- a/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rayon-core-1.9.0.bazel @@ -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", @@ -61,22 +61,22 @@ 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", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.rdrand-0.4.0.bazel b/wasm_bindgen/raze/remote/BUILD.rdrand-0.4.0.bazel index 86e0062318..905383b754 100644 --- a/wasm_bindgen/raze/remote/BUILD.rdrand-0.4.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rdrand-0.4.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.1.57.bazel b/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.1.57.bazel index f9b51875a3..3deed0a3fc 100644 --- a/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.1.57.bazel +++ b/wasm_bindgen/raze/remote/BUILD.redox_syscall-0.1.57.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.redox_users-0.3.5.bazel b/wasm_bindgen/raze/remote/BUILD.redox_users-0.3.5.bazel index 5ccb198fce..e6c03d046d 100644 --- a/wasm_bindgen/raze/remote/BUILD.redox_users-0.3.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.redox_users-0.3.5.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.regex-1.4.2.bazel b/wasm_bindgen/raze/remote/BUILD.regex-1.4.2.bazel index 2bebc15026..8adc1c0580 100644 --- a/wasm_bindgen/raze/remote/BUILD.regex-1.4.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.regex-1.4.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.21.bazel b/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.21.bazel index 09e6e33ca1..7fc8d7232f 100644 --- a/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.21.bazel +++ b/wasm_bindgen/raze/remote/BUILD.regex-syntax-0.6.21.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.remove_dir_all-0.5.3.bazel b/wasm_bindgen/raze/remote/BUILD.remove_dir_all-0.5.3.bazel index 503580187f..3ba0e20753 100644 --- a/wasm_bindgen/raze/remote/BUILD.remove_dir_all-0.5.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.remove_dir_all-0.5.3.bazel @@ -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", @@ -54,8 +54,8 @@ rust_library( ] + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.rouille-3.0.0.bazel b/wasm_bindgen/raze/remote/BUILD.rouille-3.0.0.bazel index 83ecf829f5..678403ad46 100644 --- a/wasm_bindgen/raze/remote/BUILD.rouille-3.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rouille-3.0.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rust-argon2-0.8.3.bazel b/wasm_bindgen/raze/remote/BUILD.rust-argon2-0.8.3.bazel index e2c8e4bbe3..bd82c7f15a 100644 --- a/wasm_bindgen/raze/remote/BUILD.rust-argon2-0.8.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rust-argon2-0.8.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.18.bazel b/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.18.bazel index a531afce97..93fdedc1d3 100644 --- a/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.18.bazel +++ b/wasm_bindgen/raze/remote/BUILD.rustc-demangle-0.1.18.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.ryu-1.0.5.bazel b/wasm_bindgen/raze/remote/BUILD.ryu-1.0.5.bazel index 980083c7a0..1ed8a48ff9 100644 --- a/wasm_bindgen/raze/remote/BUILD.ryu-1.0.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.ryu-1.0.5.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.safemem-0.3.3.bazel b/wasm_bindgen/raze/remote/BUILD.safemem-0.3.3.bazel index be56a69fe3..a1591c9f8d 100644 --- a/wasm_bindgen/raze/remote/BUILD.safemem-0.3.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.safemem-0.3.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.schannel-0.1.19.bazel b/wasm_bindgen/raze/remote/BUILD.schannel-0.1.19.bazel index 0c9f14f55f..1bfa5282db 100644 --- a/wasm_bindgen/raze/remote/BUILD.schannel-0.1.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.schannel-0.1.19.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.scopeguard-1.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.scopeguard-1.1.0.bazel index db82bc7d46..8033db9267 100644 --- a/wasm_bindgen/raze/remote/BUILD.scopeguard-1.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.scopeguard-1.1.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.serde-1.0.118.bazel b/wasm_bindgen/raze/remote/BUILD.serde-1.0.118.bazel index bb5dff272d..c665b9a5ff 100644 --- a/wasm_bindgen/raze/remote/BUILD.serde-1.0.118.bazel +++ b/wasm_bindgen/raze/remote/BUILD.serde-1.0.118.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.118.bazel b/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.118.bazel index af1d6fdacb..35addaf46e 100644 --- a/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.118.bazel +++ b/wasm_bindgen/raze/remote/BUILD.serde_derive-1.0.118.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.60.bazel b/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.60.bazel index 7980dca2e9..102dd8e329 100644 --- a/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.60.bazel +++ b/wasm_bindgen/raze/remote/BUILD.serde_json-1.0.60.bazel @@ -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", @@ -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", ) diff --git a/wasm_bindgen/raze/remote/BUILD.sha1-0.6.0.bazel b/wasm_bindgen/raze/remote/BUILD.sha1-0.6.0.bazel index f6f0b60d6d..0be657b543 100644 --- a/wasm_bindgen/raze/remote/BUILD.sha1-0.6.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.sha1-0.6.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.siphasher-0.2.3.bazel b/wasm_bindgen/raze/remote/BUILD.siphasher-0.2.3.bazel index d487bdcebb..d35451f9fe 100644 --- a/wasm_bindgen/raze/remote/BUILD.siphasher-0.2.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.siphasher-0.2.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.socket2-0.3.19.bazel b/wasm_bindgen/raze/remote/BUILD.socket2-0.3.19.bazel index a4a76c2409..8a21d35220 100644 --- a/wasm_bindgen/raze/remote/BUILD.socket2-0.3.19.bazel +++ b/wasm_bindgen/raze/remote/BUILD.socket2-0.3.19.bazel @@ -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", @@ -54,22 +54,22 @@ 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_wasm_bindgen__cfg_if__1_0_0//:cfg_if", "@rules_rust_wasm_bindgen__libc__0_2_81//:libc", @@ -78,8 +78,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.strsim-0.9.3.bazel b/wasm_bindgen/raze/remote/BUILD.strsim-0.9.3.bazel index e802d7e001..feff1d4eae 100644 --- a/wasm_bindgen/raze/remote/BUILD.strsim-0.9.3.bazel +++ b/wasm_bindgen/raze/remote/BUILD.strsim-0.9.3.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.syn-1.0.56.bazel b/wasm_bindgen/raze/remote/BUILD.syn-1.0.56.bazel index 4e02adc493..66f99636c9 100644 --- a/wasm_bindgen/raze/remote/BUILD.syn-1.0.56.bazel +++ b/wasm_bindgen/raze/remote/BUILD.syn-1.0.56.bazel @@ -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", @@ -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", ) diff --git a/wasm_bindgen/raze/remote/BUILD.tempdir-0.3.7.bazel b/wasm_bindgen/raze/remote/BUILD.tempdir-0.3.7.bazel index 0f9da0b14a..e53f71ce75 100644 --- a/wasm_bindgen/raze/remote/BUILD.tempdir-0.3.7.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tempdir-0.3.7.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.tempfile-3.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.tempfile-3.1.0.bazel index 6c97e1fa33..c4aff89c13 100644 --- a/wasm_bindgen/raze/remote/BUILD.tempfile-3.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tempfile-3.1.0.bazel @@ -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", @@ -57,22 +57,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -80,8 +80,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.term-0.5.2.bazel b/wasm_bindgen/raze/remote/BUILD.term-0.5.2.bazel index fd57f2bc8d..c56f8d08b2 100644 --- a/wasm_bindgen/raze/remote/BUILD.term-0.5.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.term-0.5.2.bazel @@ -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", @@ -57,8 +57,8 @@ rust_library( ] + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel b/wasm_bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel index 13abb7e262..38f312c6da 100644 --- a/wasm_bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.termcolor-1.1.2.bazel @@ -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", @@ -54,8 +54,8 @@ rust_library( ] + 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_wasm_bindgen__winapi_util__0_1_5//:winapi_util", ], diff --git a/wasm_bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel b/wasm_bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel index fa22a46bdd..068ad1a36d 100644 --- a/wasm_bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.thread_local-1.0.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.threadpool-1.8.1.bazel b/wasm_bindgen/raze/remote/BUILD.threadpool-1.8.1.bazel index 000c831edc..ce0f20c35d 100644 --- a/wasm_bindgen/raze/remote/BUILD.threadpool-1.8.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.threadpool-1.8.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.time-0.1.44.bazel b/wasm_bindgen/raze/remote/BUILD.time-0.1.44.bazel index 08fbcbb65d..14ab1ea734 100644 --- a/wasm_bindgen/raze/remote/BUILD.time-0.1.44.bazel +++ b/wasm_bindgen/raze/remote/BUILD.time-0.1.44.bazel @@ -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", @@ -55,7 +55,7 @@ rust_library( ] + selects.with_or({ # cfg(target_os = "wasi") ( - "@io_bazel_rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:wasm32-wasi", ): [ "@rules_rust_wasm_bindgen__wasi__0_10_0_wasi_snapshot_preview1//:wasi", ], @@ -63,8 +63,8 @@ rust_library( }) + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.tiny_http-0.6.2.bazel b/wasm_bindgen/raze/remote/BUILD.tiny_http-0.6.2.bazel index 65f50819f6..1cd5896983 100644 --- a/wasm_bindgen/raze/remote/BUILD.tiny_http-0.6.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tiny_http-0.6.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.tinyvec-1.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.tinyvec-1.1.0.bazel index 5e09c27408..ce55cff5d5 100644 --- a/wasm_bindgen/raze/remote/BUILD.tinyvec-1.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tinyvec-1.1.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel index 2319add6df..28fe95f238 100644 --- a/wasm_bindgen/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.tinyvec_macros-0.1.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.treeline-0.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.treeline-0.1.0.bazel index 2f2de321cb..3fc7401cf6 100644 --- a/wasm_bindgen/raze/remote/BUILD.treeline-0.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.treeline-0.1.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.twoway-0.1.8.bazel b/wasm_bindgen/raze/remote/BUILD.twoway-0.1.8.bazel index 1c50c1ee9d..a75e0b6b7e 100644 --- a/wasm_bindgen/raze/remote/BUILD.twoway-0.1.8.bazel +++ b/wasm_bindgen/raze/remote/BUILD.twoway-0.1.8.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.unicase-1.4.2.bazel b/wasm_bindgen/raze/remote/BUILD.unicase-1.4.2.bazel index 650dad1b6c..7f78c72e13 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicase-1.4.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicase-1.4.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.4.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.4.bazel index c1aa9ca6e0..df87ff266c 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.4.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-bidi-0.3.4.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.16.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.16.bazel index 4290beaf5b..f9096d39b8 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.16.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-normalization-0.1.16.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.7.1.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.7.1.bazel index 5799585f25..77170261db 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.7.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-segmentation-1.7.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel b/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel index 54760dc18f..7c4b1002b6 100644 --- a/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.unicode-xid-0.2.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.url-1.7.2.bazel b/wasm_bindgen/raze/remote/BUILD.url-1.7.2.bazel index 7acf2fcb76..2e5b8b4260 100644 --- a/wasm_bindgen/raze/remote/BUILD.url-1.7.2.bazel +++ b/wasm_bindgen/raze/remote/BUILD.url-1.7.2.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.11.bazel b/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.11.bazel index 09e1449e5f..a6fc5a3fec 100644 --- a/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.11.bazel +++ b/wasm_bindgen/raze/remote/BUILD.vcpkg-0.2.11.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.version_check-0.1.5.bazel b/wasm_bindgen/raze/remote/BUILD.version_check-0.1.5.bazel index feb54d7558..4854600a83 100644 --- a/wasm_bindgen/raze/remote/BUILD.version_check-0.1.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.version_check-0.1.5.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wait-timeout-0.2.0.bazel b/wasm_bindgen/raze/remote/BUILD.wait-timeout-0.2.0.bazel index c5700b1e02..11e1049448 100644 --- a/wasm_bindgen/raze/remote/BUILD.wait-timeout-0.2.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wait-timeout-0.2.0.bazel @@ -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", @@ -56,22 +56,22 @@ rust_binary( ] + 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -105,22 +105,22 @@ rust_binary( ] + 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -154,22 +154,22 @@ rust_binary( ] + 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_wasm_bindgen__libc__0_2_81//:libc", ], @@ -201,22 +201,22 @@ 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_wasm_bindgen__libc__0_2_81//:libc", ], diff --git a/wasm_bindgen/raze/remote/BUILD.walrus-0.18.0.bazel b/wasm_bindgen/raze/remote/BUILD.walrus-0.18.0.bazel index bc05cbbc5d..6c283e2bb2 100644 --- a/wasm_bindgen/raze/remote/BUILD.walrus-0.18.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.walrus-0.18.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.18.0.bazel b/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.18.0.bazel index a2a398f300..bbe09b2a69 100644 --- a/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.18.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.walrus-macro-0.18.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel b/wasm_bindgen/raze/remote/BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel index 8a8a0b2b6a..d45a47dfc1 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasi-0.10.0+wasi-snapshot-preview1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel b/wasm_bindgen/raze/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel index 5eba1ca42e..496dae5c59 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.68.bazel index 22d3c62820..3898483a96 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-0.2.68.bazel @@ -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", @@ -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", ) @@ -61,8 +61,8 @@ cargo_build_script( ] + selects.with_or({ # cfg(target_arch = "wasm32") ( - "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", - "@io_bazel_rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", ): [ ], "//conditions:default": [], @@ -101,8 +101,8 @@ rust_library( ] + selects.with_or({ # cfg(target_arch = "wasm32") ( - "@io_bazel_rules_rust//rust/platform:wasm32-unknown-unknown", - "@io_bazel_rules_rust//rust/platform:wasm32-wasi", + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", ): [ ], "//conditions:default": [], diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.68.bazel index 834ed9f21b..e51e007daa 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-backend-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.68.bazel index 8a9c48ad1f..80a18c63c6 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.68.bazel index c867396bf4..04c6b3d0f2 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-cli-support-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.68.bazel index 61bba6f0fc..54863c6181 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-externref-xform-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.68.bazel index 28361786e0..9758d42434 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.68.bazel index fe1d039bd4..f18ae2cb47 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-macro-support-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.68.bazel index 6a93052aad..611f39a61f 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-multi-value-xform-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.68.bazel index b9b156474f..6030533ab9 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-shared-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.68.bazel index adae2a12db..37b5a195a2 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-threads-xform-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.68.bazel index 430d86f2db..c8a8a3b73e 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-conventions-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.68.bazel b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.68.bazel index dde18591f2..bc06969148 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.68.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasm-bindgen-wasm-interpreter-0.2.68.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.59.0.bazel b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.59.0.bazel index b694a57ffa..ac8dc74f8f 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.59.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.59.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.71.0.bazel b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.71.0.bazel index 97bb65e8da..955b7bb032 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasmparser-0.71.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasmparser-0.71.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.18.bazel b/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.18.bazel index 1fcc25f292..885406321f 100644 --- a/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.18.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wasmprinter-0.2.18.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wast-21.0.0.bazel b/wasm_bindgen/raze/remote/BUILD.wast-21.0.0.bazel index dc3e4d94d7..4bc86dc97d 100644 --- a/wasm_bindgen/raze/remote/BUILD.wast-21.0.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wast-21.0.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.winapi-0.3.9.bazel b/wasm_bindgen/raze/remote/BUILD.winapi-0.3.9.bazel index 8fa8cb92fb..dd2435d9bf 100644 --- a/wasm_bindgen/raze/remote/BUILD.winapi-0.3.9.bazel +++ b/wasm_bindgen/raze/remote/BUILD.winapi-0.3.9.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/wasm_bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index 7706862043..b88cd1ac38 100644 --- a/wasm_bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel b/wasm_bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel index 14bc1d6857..c8ce0217cd 100644 --- a/wasm_bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel +++ b/wasm_bindgen/raze/remote/BUILD.winapi-util-0.1.5.bazel @@ -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", @@ -54,8 +54,8 @@ rust_library( ] + 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_wasm_bindgen__winapi__0_3_9//:winapi", ], diff --git a/wasm_bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/wasm_bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index 8a3ec9ceb3..78ff9cf592 100644 --- a/wasm_bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wit-parser-0.2.0.bazel b/wasm_bindgen/raze/remote/BUILD.wit-parser-0.2.0.bazel index 5bdd9c46d4..3dab1c6e54 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-parser-0.2.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-parser-0.2.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wit-printer-0.2.0.bazel b/wasm_bindgen/raze/remote/BUILD.wit-printer-0.2.0.bazel index 3c12d45513..3ef3cd5c13 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-printer-0.2.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-printer-0.2.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wit-schema-version-0.1.0.bazel b/wasm_bindgen/raze/remote/BUILD.wit-schema-version-0.1.0.bazel index a74d7135f2..456ee20a68 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-schema-version-0.1.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-schema-version-0.1.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wit-text-0.8.0.bazel b/wasm_bindgen/raze/remote/BUILD.wit-text-0.8.0.bazel index eea9114817..e34cb828c9 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-text-0.8.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-text-0.8.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wit-validator-0.2.1.bazel b/wasm_bindgen/raze/remote/BUILD.wit-validator-0.2.1.bazel index 30f8a0bb1b..471e3df735 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-validator-0.2.1.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-validator-0.2.1.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.5.0.bazel b/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.5.0.bazel index 5bc746295e..003673e778 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.5.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-walrus-0.5.0.bazel @@ -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", diff --git a/wasm_bindgen/raze/remote/BUILD.wit-writer-0.2.0.bazel b/wasm_bindgen/raze/remote/BUILD.wit-writer-0.2.0.bazel index 61d9e7856f..4ed426694c 100644 --- a/wasm_bindgen/raze/remote/BUILD.wit-writer-0.2.0.bazel +++ b/wasm_bindgen/raze/remote/BUILD.wit-writer-0.2.0.bazel @@ -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", diff --git a/wasm_bindgen/repositories.bzl b/wasm_bindgen/repositories.bzl index ce47406201..57b5dc828c 100644 --- a/wasm_bindgen/repositories.bzl +++ b/wasm_bindgen/repositories.bzl @@ -20,7 +20,7 @@ def rust_wasm_bindgen_repositories(): """Declare dependencies needed for wasm-bindgen. This macro will load crate dependencies of `wasm-bindgen` that are generated using [cargo raze][raze] inside the rules_rust \ - repository. This makes the default toolchain `@io_bazel_rules_rust//wasm_bindgen:default_wasm_bindgen_toolchain` available. For \ + repository. This makes the default toolchain `@rules_rust//wasm_bindgen:default_wasm_bindgen_toolchain` available. For \ more information on `wasm_bindgen` toolchains, see [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain). """ diff --git a/wasm_bindgen/wasm_bindgen.bzl b/wasm_bindgen/wasm_bindgen.bzl index 454cf6c071..353558b234 100644 --- a/wasm_bindgen/wasm_bindgen.bzl +++ b/wasm_bindgen/wasm_bindgen.bzl @@ -22,12 +22,12 @@ To use the Rust WebAssembly bindgen rules, add the following to your `WORKSPACE` external repositories for the Rust bindgen toolchain (in addition to the Rust rules setup): ```python -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() ``` -An example of this rule in use can be seen at [@io_bazel_rules_rust//examples/wasm/...](../examples/wasm) +An example of this rule in use can be seen at [@rules_rust//examples/wasm/...](../examples/wasm) """ _WASM_BINDGEN_TOOLCHAIN_DOC = """\ @@ -36,7 +36,7 @@ The tools required for the `rust_wasm_bindgen` rule. You can also use your own version of wasm-bindgen using the toolchain rules below: ```python -load("@io_bazel_rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain") +load("@rules_rust//bindgen:bindgen.bzl", "rust_bindgen_toolchain") rust_bindgen_toolchain( bindgen = "//my/raze:cargo_bin_wasm_bindgen", @@ -45,7 +45,7 @@ rust_bindgen_toolchain( toolchain( name = "wasm-bindgen-toolchain", toolchain = "wasm-bindgen-toolchain-impl", - toolchain_type = "@io_bazel_rules_rust//wasm_bindgen:wasm_bindgen_toolchain", + toolchain_type = "@rules_rust//wasm_bindgen:wasm_bindgen_toolchain", ) ```