From aa45e1006a374b76979adb4752b6ebd4d2cb1271 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Thu, 18 Feb 2021 22:40:37 +0000 Subject: [PATCH 1/2] Update rules_rust to latest. Signed-off-by: Piotr Sikora --- bazel/cargo/Cargo.toml | 1 + .../cargo/remote/BUILD.addr2line-0.14.1.bazel | 2 +- bazel/cargo/remote/BUILD.adler-0.2.3.bazel | 2 +- .../remote/BUILD.aho-corasick-0.7.15.bazel | 2 +- bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel | 4 +- bazel/cargo/remote/BUILD.atty-0.2.14.bazel | 38 +++---- bazel/cargo/remote/BUILD.autocfg-1.0.1.bazel | 2 +- .../cargo/remote/BUILD.backtrace-0.3.56.bazel | 6 +- bazel/cargo/remote/BUILD.bincode-1.3.1.bazel | 2 +- bazel/cargo/remote/BUILD.bitflags-1.2.1.bazel | 4 +- .../cargo/remote/BUILD.byteorder-1.4.2.bazel | 2 +- bazel/cargo/remote/BUILD.cc-1.0.66.bazel | 2 +- bazel/cargo/remote/BUILD.cfg-if-1.0.0.bazel | 2 +- .../BUILD.cranelift-bforest-0.68.0.bazel | 2 +- .../BUILD.cranelift-codegen-0.68.0.bazel | 4 +- .../BUILD.cranelift-codegen-meta-0.68.0.bazel | 2 +- ...UILD.cranelift-codegen-shared-0.68.0.bazel | 2 +- .../BUILD.cranelift-entity-0.68.0.bazel | 2 +- .../BUILD.cranelift-frontend-0.68.0.bazel | 2 +- .../BUILD.cranelift-native-0.68.0.bazel | 24 ++--- .../remote/BUILD.cranelift-wasm-0.68.0.bazel | 2 +- .../cargo/remote/BUILD.crc32fast-1.2.1.bazel | 4 +- bazel/cargo/remote/BUILD.either-1.6.1.bazel | 2 +- .../cargo/remote/BUILD.env_logger-0.8.3.bazel | 2 +- .../BUILD.fallible-iterator-0.2.0.bazel | 2 +- bazel/cargo/remote/BUILD.gimli-0.22.0.bazel | 2 +- bazel/cargo/remote/BUILD.gimli-0.23.0.bazel | 2 +- .../remote/BUILD.hermit-abi-0.1.18.bazel | 2 +- .../cargo/remote/BUILD.humantime-2.1.0.bazel | 2 +- bazel/cargo/remote/BUILD.indexmap-1.1.0.bazel | 2 +- .../cargo/remote/BUILD.itertools-0.9.0.bazel | 2 +- .../remote/BUILD.lazy_static-1.4.0.bazel | 2 +- bazel/cargo/remote/BUILD.libc-0.2.86.bazel | 4 +- bazel/cargo/remote/BUILD.log-0.4.14.bazel | 4 +- bazel/cargo/remote/BUILD.mach-0.3.2.bazel | 12 +-- bazel/cargo/remote/BUILD.memchr-2.3.4.bazel | 4 +- .../cargo/remote/BUILD.memoffset-0.5.6.bazel | 4 +- .../remote/BUILD.miniz_oxide-0.4.3.bazel | 4 +- .../remote/BUILD.more-asserts-0.2.1.bazel | 2 +- bazel/cargo/remote/BUILD.object-0.21.1.bazel | 2 +- bazel/cargo/remote/BUILD.object-0.23.0.bazel | 2 +- .../cargo/remote/BUILD.once_cell-1.5.2.bazel | 2 +- .../remote/BUILD.proc-macro2-1.0.24.bazel | 4 +- bazel/cargo/remote/BUILD.psm-0.1.12.bazel | 4 +- bazel/cargo/remote/BUILD.quote-1.0.9.bazel | 2 +- .../cargo/remote/BUILD.raw-cpuid-7.0.4.bazel | 100 +++++++++--------- .../cargo/remote/BUILD.regalloc-0.0.31.bazel | 2 +- bazel/cargo/remote/BUILD.regex-1.4.3.bazel | 2 +- .../remote/BUILD.regex-syntax-0.6.22.bazel | 2 +- bazel/cargo/remote/BUILD.region-2.2.0.bazel | 16 +-- .../remote/BUILD.rustc-demangle-0.1.18.bazel | 2 +- .../cargo/remote/BUILD.rustc-hash-1.1.0.bazel | 2 +- .../remote/BUILD.rustc_version-0.2.3.bazel | 2 +- bazel/cargo/remote/BUILD.semver-0.9.0.bazel | 2 +- .../remote/BUILD.semver-parser-0.7.0.bazel | 2 +- bazel/cargo/remote/BUILD.serde-1.0.123.bazel | 4 +- .../remote/BUILD.serde_derive-1.0.123.bazel | 4 +- bazel/cargo/remote/BUILD.smallvec-1.6.1.bazel | 2 +- .../BUILD.stable_deref_trait-1.2.0.bazel | 2 +- bazel/cargo/remote/BUILD.syn-1.0.60.bazel | 4 +- .../remote/BUILD.target-lexicon-0.11.2.bazel | 4 +- .../cargo/remote/BUILD.termcolor-1.1.2.bazel | 6 +- .../cargo/remote/BUILD.thiserror-1.0.23.bazel | 2 +- .../remote/BUILD.thiserror-impl-1.0.23.bazel | 2 +- .../remote/BUILD.thread_local-1.1.3.bazel | 2 +- .../remote/BUILD.unicode-xid-0.2.1.bazel | 2 +- .../remote/BUILD.wasmparser-0.57.0.bazel | 2 +- .../remote/BUILD.wasmparser-0.65.0.bazel | 2 +- .../cargo/remote/BUILD.wasmtime-0.21.0.bazel | 6 +- .../BUILD.wasmtime-c-api-macros-0.19.0.bazel | 2 +- .../BUILD.wasmtime-cranelift-0.21.0.bazel | 2 +- .../remote/BUILD.wasmtime-debug-0.21.0.bazel | 2 +- .../BUILD.wasmtime-environ-0.21.0.bazel | 2 +- .../remote/BUILD.wasmtime-jit-0.21.0.bazel | 6 +- .../remote/BUILD.wasmtime-obj-0.21.0.bazel | 2 +- .../BUILD.wasmtime-profiling-0.21.0.bazel | 2 +- .../BUILD.wasmtime-runtime-0.21.0.bazel | 12 +-- bazel/cargo/remote/BUILD.winapi-0.3.9.bazel | 4 +- ...ILD.winapi-i686-pc-windows-gnu-0.4.0.bazel | 4 +- .../remote/BUILD.winapi-util-0.1.5.bazel | 6 +- ...D.winapi-x86_64-pc-windows-gnu-0.4.0.bazel | 4 +- bazel/repositories.bzl | 8 +- 82 files changed, 208 insertions(+), 207 deletions(-) diff --git a/bazel/cargo/Cargo.toml b/bazel/cargo/Cargo.toml index 970656430..1c7324365 100644 --- a/bazel/cargo/Cargo.toml +++ b/bazel/cargo/Cargo.toml @@ -16,6 +16,7 @@ wasmtime = {version = "0.21.0", default-features = false} wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v0.21.0", path = "crates/c-api/macros"} [package.metadata.raze] +rust_rules_workspace_name = "rules_rust" gen_workspace_prefix = "proxy_wasm_cpp_host" genmode = "Remote" package_aliases_dir = "." diff --git a/bazel/cargo/remote/BUILD.addr2line-0.14.1.bazel b/bazel/cargo/remote/BUILD.addr2line-0.14.1.bazel index cad806f6f..5fad28128 100644 --- a/bazel/cargo/remote/BUILD.addr2line-0.14.1.bazel +++ b/bazel/cargo/remote/BUILD.addr2line-0.14.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/bazel/cargo/remote/BUILD.adler-0.2.3.bazel b/bazel/cargo/remote/BUILD.adler-0.2.3.bazel index 1fc52510d..30a2d3ae6 100644 --- a/bazel/cargo/remote/BUILD.adler-0.2.3.bazel +++ b/bazel/cargo/remote/BUILD.adler-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/bazel/cargo/remote/BUILD.aho-corasick-0.7.15.bazel b/bazel/cargo/remote/BUILD.aho-corasick-0.7.15.bazel index c42ab9b6c..d58cd4c34 100644 --- a/bazel/cargo/remote/BUILD.aho-corasick-0.7.15.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel b/bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel index 0934eb176..15957d4d0 100644 --- a/bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel +++ b/bazel/cargo/remote/BUILD.anyhow-1.0.38.bazel @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of 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/bazel/cargo/remote/BUILD.atty-0.2.14.bazel b/bazel/cargo/remote/BUILD.atty-0.2.14.bazel index 8ca34b063..c6336c186 100644 --- a/bazel/cargo/remote/BUILD.atty-0.2.14.bazel +++ b/bazel/cargo/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", ): [ "@proxy_wasm_cpp_host__libc__0_2_86//: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", ): [ "@proxy_wasm_cpp_host__winapi__0_3_9//:winapi", ], diff --git a/bazel/cargo/remote/BUILD.autocfg-1.0.1.bazel b/bazel/cargo/remote/BUILD.autocfg-1.0.1.bazel index 7d3900164..d348f9b4f 100644 --- a/bazel/cargo/remote/BUILD.autocfg-1.0.1.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.backtrace-0.3.56.bazel b/bazel/cargo/remote/BUILD.backtrace-0.3.56.bazel index 5aa25acf9..ca909a6e1 100644 --- a/bazel/cargo/remote/BUILD.backtrace-0.3.56.bazel +++ b/bazel/cargo/remote/BUILD.backtrace-0.3.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", @@ -72,8 +72,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", ): [ ], "//conditions:default": [], diff --git a/bazel/cargo/remote/BUILD.bincode-1.3.1.bazel b/bazel/cargo/remote/BUILD.bincode-1.3.1.bazel index c7ff5dd29..1fa6c006c 100644 --- a/bazel/cargo/remote/BUILD.bincode-1.3.1.bazel +++ b/bazel/cargo/remote/BUILD.bincode-1.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/bazel/cargo/remote/BUILD.bitflags-1.2.1.bazel b/bazel/cargo/remote/BUILD.bitflags-1.2.1.bazel index 003564d27..10f261c17 100644 --- a/bazel/cargo/remote/BUILD.bitflags-1.2.1.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.byteorder-1.4.2.bazel b/bazel/cargo/remote/BUILD.byteorder-1.4.2.bazel index 50a6e2141..2a49eb276 100644 --- a/bazel/cargo/remote/BUILD.byteorder-1.4.2.bazel +++ b/bazel/cargo/remote/BUILD.byteorder-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/bazel/cargo/remote/BUILD.cc-1.0.66.bazel b/bazel/cargo/remote/BUILD.cc-1.0.66.bazel index 90e6bc8cd..9445d1774 100644 --- a/bazel/cargo/remote/BUILD.cc-1.0.66.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.cfg-if-1.0.0.bazel b/bazel/cargo/remote/BUILD.cfg-if-1.0.0.bazel index 57545ac70..f3bd70ddf 100644 --- a/bazel/cargo/remote/BUILD.cfg-if-1.0.0.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.cranelift-bforest-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-bforest-0.68.0.bazel index 470b112ac..43bff94ee 100644 --- a/bazel/cargo/remote/BUILD.cranelift-bforest-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-bforest-0.68.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/bazel/cargo/remote/BUILD.cranelift-codegen-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-codegen-0.68.0.bazel index ef03d99d5..6632d3260 100644 --- a/bazel/cargo/remote/BUILD.cranelift-codegen-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-codegen-0.68.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/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.68.0.bazel index 990e6a8cc..da39e8a2c 100644 --- a/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-codegen-meta-0.68.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/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.68.0.bazel index e613787ba..e765ab5c0 100644 --- a/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-codegen-shared-0.68.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/bazel/cargo/remote/BUILD.cranelift-entity-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-entity-0.68.0.bazel index d5f50e577..2ffda6a14 100644 --- a/bazel/cargo/remote/BUILD.cranelift-entity-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-entity-0.68.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/bazel/cargo/remote/BUILD.cranelift-frontend-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-frontend-0.68.0.bazel index 896c901a4..f707cc67c 100644 --- a/bazel/cargo/remote/BUILD.cranelift-frontend-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-frontend-0.68.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/bazel/cargo/remote/BUILD.cranelift-native-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-native-0.68.0.bazel index 91b5c1641..e97f634f6 100644 --- a/bazel/cargo/remote/BUILD.cranelift-native-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-native-0.68.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", @@ -58,17 +58,17 @@ rust_library( ] + selects.with_or({ # cfg(any(target_arch = "x86", target_arch = "x86_64")) ( - "@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: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: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: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", ): [ "@proxy_wasm_cpp_host__raw_cpuid__7_0_4//:raw_cpuid", ], diff --git a/bazel/cargo/remote/BUILD.cranelift-wasm-0.68.0.bazel b/bazel/cargo/remote/BUILD.cranelift-wasm-0.68.0.bazel index 070d8c51f..8830c1749 100644 --- a/bazel/cargo/remote/BUILD.cranelift-wasm-0.68.0.bazel +++ b/bazel/cargo/remote/BUILD.cranelift-wasm-0.68.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/bazel/cargo/remote/BUILD.crc32fast-1.2.1.bazel b/bazel/cargo/remote/BUILD.crc32fast-1.2.1.bazel index 133b9da15..551f62dc6 100644 --- a/bazel/cargo/remote/BUILD.crc32fast-1.2.1.bazel +++ b/bazel/cargo/remote/BUILD.crc32fast-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/bazel/cargo/remote/BUILD.either-1.6.1.bazel b/bazel/cargo/remote/BUILD.either-1.6.1.bazel index 0320f3dd9..bb3e95699 100644 --- a/bazel/cargo/remote/BUILD.either-1.6.1.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.env_logger-0.8.3.bazel b/bazel/cargo/remote/BUILD.env_logger-0.8.3.bazel index becb8b218..3a58f22e2 100644 --- a/bazel/cargo/remote/BUILD.env_logger-0.8.3.bazel +++ b/bazel/cargo/remote/BUILD.env_logger-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/bazel/cargo/remote/BUILD.fallible-iterator-0.2.0.bazel b/bazel/cargo/remote/BUILD.fallible-iterator-0.2.0.bazel index 07fb4d818..e3bd077f2 100644 --- a/bazel/cargo/remote/BUILD.fallible-iterator-0.2.0.bazel +++ b/bazel/cargo/remote/BUILD.fallible-iterator-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/bazel/cargo/remote/BUILD.gimli-0.22.0.bazel b/bazel/cargo/remote/BUILD.gimli-0.22.0.bazel index fc2a131dc..91f5d00c4 100644 --- a/bazel/cargo/remote/BUILD.gimli-0.22.0.bazel +++ b/bazel/cargo/remote/BUILD.gimli-0.22.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/bazel/cargo/remote/BUILD.gimli-0.23.0.bazel b/bazel/cargo/remote/BUILD.gimli-0.23.0.bazel index 44f135452..cf04b8a58 100644 --- a/bazel/cargo/remote/BUILD.gimli-0.23.0.bazel +++ b/bazel/cargo/remote/BUILD.gimli-0.23.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/bazel/cargo/remote/BUILD.hermit-abi-0.1.18.bazel b/bazel/cargo/remote/BUILD.hermit-abi-0.1.18.bazel index 7e96f9369..58496fce7 100644 --- a/bazel/cargo/remote/BUILD.hermit-abi-0.1.18.bazel +++ b/bazel/cargo/remote/BUILD.hermit-abi-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/bazel/cargo/remote/BUILD.humantime-2.1.0.bazel b/bazel/cargo/remote/BUILD.humantime-2.1.0.bazel index 00a458626..51bc7cd45 100644 --- a/bazel/cargo/remote/BUILD.humantime-2.1.0.bazel +++ b/bazel/cargo/remote/BUILD.humantime-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/bazel/cargo/remote/BUILD.indexmap-1.1.0.bazel b/bazel/cargo/remote/BUILD.indexmap-1.1.0.bazel index 6a8bca953..89085623e 100644 --- a/bazel/cargo/remote/BUILD.indexmap-1.1.0.bazel +++ b/bazel/cargo/remote/BUILD.indexmap-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/bazel/cargo/remote/BUILD.itertools-0.9.0.bazel b/bazel/cargo/remote/BUILD.itertools-0.9.0.bazel index e7c236cdc..e0f7777cc 100644 --- a/bazel/cargo/remote/BUILD.itertools-0.9.0.bazel +++ b/bazel/cargo/remote/BUILD.itertools-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/bazel/cargo/remote/BUILD.lazy_static-1.4.0.bazel b/bazel/cargo/remote/BUILD.lazy_static-1.4.0.bazel index 5767355a4..09cae1bf4 100644 --- a/bazel/cargo/remote/BUILD.lazy_static-1.4.0.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.libc-0.2.86.bazel b/bazel/cargo/remote/BUILD.libc-0.2.86.bazel index d26469215..f9726919d 100644 --- a/bazel/cargo/remote/BUILD.libc-0.2.86.bazel +++ b/bazel/cargo/remote/BUILD.libc-0.2.86.bazel @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of 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/bazel/cargo/remote/BUILD.log-0.4.14.bazel b/bazel/cargo/remote/BUILD.log-0.4.14.bazel index af8f0f9e1..4ad281cf9 100644 --- a/bazel/cargo/remote/BUILD.log-0.4.14.bazel +++ b/bazel/cargo/remote/BUILD.log-0.4.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", @@ -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/bazel/cargo/remote/BUILD.mach-0.3.2.bazel b/bazel/cargo/remote/BUILD.mach-0.3.2.bazel index 347f58d1b..84efc35fc 100644 --- a/bazel/cargo/remote/BUILD.mach-0.3.2.bazel +++ b/bazel/cargo/remote/BUILD.mach-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", @@ -57,11 +57,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", ): [ "@proxy_wasm_cpp_host__libc__0_2_86//:libc", ], diff --git a/bazel/cargo/remote/BUILD.memchr-2.3.4.bazel b/bazel/cargo/remote/BUILD.memchr-2.3.4.bazel index 94a11099d..ea6ee6f5d 100644 --- a/bazel/cargo/remote/BUILD.memchr-2.3.4.bazel +++ b/bazel/cargo/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", @@ -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/bazel/cargo/remote/BUILD.memoffset-0.5.6.bazel b/bazel/cargo/remote/BUILD.memoffset-0.5.6.bazel index 323fb117a..69be43421 100644 --- a/bazel/cargo/remote/BUILD.memoffset-0.5.6.bazel +++ b/bazel/cargo/remote/BUILD.memoffset-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", @@ -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/bazel/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel b/bazel/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel index f3de4b173..19df4edd4 100644 --- a/bazel/cargo/remote/BUILD.miniz_oxide-0.4.3.bazel +++ b/bazel/cargo/remote/BUILD.miniz_oxide-0.4.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", ) diff --git a/bazel/cargo/remote/BUILD.more-asserts-0.2.1.bazel b/bazel/cargo/remote/BUILD.more-asserts-0.2.1.bazel index 4f8c1e2ec..6ccb62dac 100644 --- a/bazel/cargo/remote/BUILD.more-asserts-0.2.1.bazel +++ b/bazel/cargo/remote/BUILD.more-asserts-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/bazel/cargo/remote/BUILD.object-0.21.1.bazel b/bazel/cargo/remote/BUILD.object-0.21.1.bazel index 684c37fe6..c6a9bfac5 100644 --- a/bazel/cargo/remote/BUILD.object-0.21.1.bazel +++ b/bazel/cargo/remote/BUILD.object-0.21.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/bazel/cargo/remote/BUILD.object-0.23.0.bazel b/bazel/cargo/remote/BUILD.object-0.23.0.bazel index 71a8ba4ab..61c31a0db 100644 --- a/bazel/cargo/remote/BUILD.object-0.23.0.bazel +++ b/bazel/cargo/remote/BUILD.object-0.23.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/bazel/cargo/remote/BUILD.once_cell-1.5.2.bazel b/bazel/cargo/remote/BUILD.once_cell-1.5.2.bazel index 19db30623..292e26316 100644 --- a/bazel/cargo/remote/BUILD.once_cell-1.5.2.bazel +++ b/bazel/cargo/remote/BUILD.once_cell-1.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/bazel/cargo/remote/BUILD.proc-macro2-1.0.24.bazel b/bazel/cargo/remote/BUILD.proc-macro2-1.0.24.bazel index 077304b6a..2d755a942 100644 --- a/bazel/cargo/remote/BUILD.proc-macro2-1.0.24.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.psm-0.1.12.bazel b/bazel/cargo/remote/BUILD.psm-0.1.12.bazel index d4375de98..3d32b5ab0 100644 --- a/bazel/cargo/remote/BUILD.psm-0.1.12.bazel +++ b/bazel/cargo/remote/BUILD.psm-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", @@ -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/bazel/cargo/remote/BUILD.quote-1.0.9.bazel b/bazel/cargo/remote/BUILD.quote-1.0.9.bazel index c64d966fe..1d2156e1f 100644 --- a/bazel/cargo/remote/BUILD.quote-1.0.9.bazel +++ b/bazel/cargo/remote/BUILD.quote-1.0.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/bazel/cargo/remote/BUILD.raw-cpuid-7.0.4.bazel b/bazel/cargo/remote/BUILD.raw-cpuid-7.0.4.bazel index f8cefaf49..3c916211e 100644 --- a/bazel/cargo/remote/BUILD.raw-cpuid-7.0.4.bazel +++ b/bazel/cargo/remote/BUILD.raw-cpuid-7.0.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", @@ -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", ) @@ -60,22 +60,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", ): [ ], "//conditions:default": [], @@ -110,22 +110,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", ): [ ], "//conditions:default": [], @@ -164,22 +164,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/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel b/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel index 3417b0864..72a91eab8 100644 --- a/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel +++ b/bazel/cargo/remote/BUILD.regalloc-0.0.31.bazel @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of cargo-raze # buildifier: disable=load load( - "@io_bazel_rules_rust//rust:rust.bzl", + "@rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test", diff --git a/bazel/cargo/remote/BUILD.regex-1.4.3.bazel b/bazel/cargo/remote/BUILD.regex-1.4.3.bazel index 72a41654a..dd4b0da22 100644 --- a/bazel/cargo/remote/BUILD.regex-1.4.3.bazel +++ b/bazel/cargo/remote/BUILD.regex-1.4.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/bazel/cargo/remote/BUILD.regex-syntax-0.6.22.bazel b/bazel/cargo/remote/BUILD.regex-syntax-0.6.22.bazel index 604791b05..dd94b7b74 100644 --- a/bazel/cargo/remote/BUILD.regex-syntax-0.6.22.bazel +++ b/bazel/cargo/remote/BUILD.regex-syntax-0.6.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/bazel/cargo/remote/BUILD.region-2.2.0.bazel b/bazel/cargo/remote/BUILD.region-2.2.0.bazel index cc52b04a9..817aee515 100644 --- a/bazel/cargo/remote/BUILD.region-2.2.0.bazel +++ b/bazel/cargo/remote/BUILD.region-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", @@ -56,11 +56,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", ): [ "@proxy_wasm_cpp_host__mach__0_3_2//:mach", ], @@ -68,8 +68,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", ): [ "@proxy_wasm_cpp_host__winapi__0_3_9//:winapi", ], diff --git a/bazel/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel b/bazel/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel index 7e82c3907..534588108 100644 --- a/bazel/cargo/remote/BUILD.rustc-demangle-0.1.18.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.rustc-hash-1.1.0.bazel b/bazel/cargo/remote/BUILD.rustc-hash-1.1.0.bazel index 5b150e189..db34b3a55 100644 --- a/bazel/cargo/remote/BUILD.rustc-hash-1.1.0.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.rustc_version-0.2.3.bazel b/bazel/cargo/remote/BUILD.rustc_version-0.2.3.bazel index 908f31d55..814174735 100644 --- a/bazel/cargo/remote/BUILD.rustc_version-0.2.3.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.semver-0.9.0.bazel b/bazel/cargo/remote/BUILD.semver-0.9.0.bazel index 1570738fe..d8f15a632 100644 --- a/bazel/cargo/remote/BUILD.semver-0.9.0.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.semver-parser-0.7.0.bazel b/bazel/cargo/remote/BUILD.semver-parser-0.7.0.bazel index 8552e3b47..88f645b40 100644 --- a/bazel/cargo/remote/BUILD.semver-parser-0.7.0.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.serde-1.0.123.bazel b/bazel/cargo/remote/BUILD.serde-1.0.123.bazel index a090b1f84..b67d15fc9 100644 --- a/bazel/cargo/remote/BUILD.serde-1.0.123.bazel +++ b/bazel/cargo/remote/BUILD.serde-1.0.123.bazel @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of 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/bazel/cargo/remote/BUILD.serde_derive-1.0.123.bazel b/bazel/cargo/remote/BUILD.serde_derive-1.0.123.bazel index 8e7f69445..17077f87c 100644 --- a/bazel/cargo/remote/BUILD.serde_derive-1.0.123.bazel +++ b/bazel/cargo/remote/BUILD.serde_derive-1.0.123.bazel @@ -7,7 +7,7 @@ DO NOT EDIT! Replaced on runs of 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/bazel/cargo/remote/BUILD.smallvec-1.6.1.bazel b/bazel/cargo/remote/BUILD.smallvec-1.6.1.bazel index e7900b5eb..773c82bd4 100644 --- a/bazel/cargo/remote/BUILD.smallvec-1.6.1.bazel +++ b/bazel/cargo/remote/BUILD.smallvec-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/bazel/cargo/remote/BUILD.stable_deref_trait-1.2.0.bazel b/bazel/cargo/remote/BUILD.stable_deref_trait-1.2.0.bazel index 01a9690d3..46f122f65 100644 --- a/bazel/cargo/remote/BUILD.stable_deref_trait-1.2.0.bazel +++ b/bazel/cargo/remote/BUILD.stable_deref_trait-1.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/bazel/cargo/remote/BUILD.syn-1.0.60.bazel b/bazel/cargo/remote/BUILD.syn-1.0.60.bazel index 31f4d0322..85d5573d0 100644 --- a/bazel/cargo/remote/BUILD.syn-1.0.60.bazel +++ b/bazel/cargo/remote/BUILD.syn-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/bazel/cargo/remote/BUILD.target-lexicon-0.11.2.bazel b/bazel/cargo/remote/BUILD.target-lexicon-0.11.2.bazel index df4598893..90129e715 100644 --- a/bazel/cargo/remote/BUILD.target-lexicon-0.11.2.bazel +++ b/bazel/cargo/remote/BUILD.target-lexicon-0.11.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", ) diff --git a/bazel/cargo/remote/BUILD.termcolor-1.1.2.bazel b/bazel/cargo/remote/BUILD.termcolor-1.1.2.bazel index 76e4b6bca..110b96b39 100644 --- a/bazel/cargo/remote/BUILD.termcolor-1.1.2.bazel +++ b/bazel/cargo/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", ): [ "@proxy_wasm_cpp_host__winapi_util__0_1_5//:winapi_util", ], diff --git a/bazel/cargo/remote/BUILD.thiserror-1.0.23.bazel b/bazel/cargo/remote/BUILD.thiserror-1.0.23.bazel index 098679ebf..e48429490 100644 --- a/bazel/cargo/remote/BUILD.thiserror-1.0.23.bazel +++ b/bazel/cargo/remote/BUILD.thiserror-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/bazel/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel b/bazel/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel index 03fac9bf6..63089c753 100644 --- a/bazel/cargo/remote/BUILD.thiserror-impl-1.0.23.bazel +++ b/bazel/cargo/remote/BUILD.thiserror-impl-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/bazel/cargo/remote/BUILD.thread_local-1.1.3.bazel b/bazel/cargo/remote/BUILD.thread_local-1.1.3.bazel index dc6997bef..089395256 100644 --- a/bazel/cargo/remote/BUILD.thread_local-1.1.3.bazel +++ b/bazel/cargo/remote/BUILD.thread_local-1.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", diff --git a/bazel/cargo/remote/BUILD.unicode-xid-0.2.1.bazel b/bazel/cargo/remote/BUILD.unicode-xid-0.2.1.bazel index 33ed2172e..1312ed500 100644 --- a/bazel/cargo/remote/BUILD.unicode-xid-0.2.1.bazel +++ b/bazel/cargo/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/bazel/cargo/remote/BUILD.wasmparser-0.57.0.bazel b/bazel/cargo/remote/BUILD.wasmparser-0.57.0.bazel index d86f60e03..c4c189a15 100644 --- a/bazel/cargo/remote/BUILD.wasmparser-0.57.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmparser-0.57.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/bazel/cargo/remote/BUILD.wasmparser-0.65.0.bazel b/bazel/cargo/remote/BUILD.wasmparser-0.65.0.bazel index 9e582f820..3d490b520 100644 --- a/bazel/cargo/remote/BUILD.wasmparser-0.65.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmparser-0.65.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/bazel/cargo/remote/BUILD.wasmtime-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-0.21.0.bazel index 271a3cc81..c0dd5fa32 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-0.21.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", @@ -71,8 +71,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", ): [ "@proxy_wasm_cpp_host__winapi__0_3_9//:winapi", ], diff --git a/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel index 841b03994..fec8e7912 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-c-api-macros-0.19.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/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.21.0.bazel index 5a7e3bcba..86d7e4a52 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-cranelift-0.21.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/bazel/cargo/remote/BUILD.wasmtime-debug-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-debug-0.21.0.bazel index 808748aac..7800c1817 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-debug-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-debug-0.21.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/bazel/cargo/remote/BUILD.wasmtime-environ-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-environ-0.21.0.bazel index 644215b05..964256099 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-environ-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-environ-0.21.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/bazel/cargo/remote/BUILD.wasmtime-jit-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-jit-0.21.0.bazel index e8ae0dea7..0a3f095f4 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-jit-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-jit-0.21.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", @@ -76,8 +76,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", ): [ "@proxy_wasm_cpp_host__winapi__0_3_9//:winapi", ], diff --git a/bazel/cargo/remote/BUILD.wasmtime-obj-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-obj-0.21.0.bazel index 069107d9f..a5f41d681 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-obj-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-obj-0.21.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/bazel/cargo/remote/BUILD.wasmtime-profiling-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-profiling-0.21.0.bazel index da61f0f6a..40b3ee93a 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-profiling-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-profiling-0.21.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/bazel/cargo/remote/BUILD.wasmtime-runtime-0.21.0.bazel b/bazel/cargo/remote/BUILD.wasmtime-runtime-0.21.0.bazel index fd759c065..288d3e2df 100644 --- a/bazel/cargo/remote/BUILD.wasmtime-runtime-0.21.0.bazel +++ b/bazel/cargo/remote/BUILD.wasmtime-runtime-0.21.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", ) @@ -59,8 +59,8 @@ cargo_build_script( ] + 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", ): [ ], "//conditions:default": [], @@ -104,8 +104,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", ): [ "@proxy_wasm_cpp_host__winapi__0_3_9//:winapi", ], diff --git a/bazel/cargo/remote/BUILD.winapi-0.3.9.bazel b/bazel/cargo/remote/BUILD.winapi-0.3.9.bazel index 9fb931871..4fbecf9cf 100644 --- a/bazel/cargo/remote/BUILD.winapi-0.3.9.bazel +++ b/bazel/cargo/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", @@ -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/bazel/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel index 68773fbde..7882e51bc 100644 --- a/bazel/cargo/remote/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/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", @@ -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/bazel/cargo/remote/BUILD.winapi-util-0.1.5.bazel b/bazel/cargo/remote/BUILD.winapi-util-0.1.5.bazel index 9d4873ec0..46338fa7b 100644 --- a/bazel/cargo/remote/BUILD.winapi-util-0.1.5.bazel +++ b/bazel/cargo/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", ): [ "@proxy_wasm_cpp_host__winapi__0_3_9//:winapi", ], diff --git a/bazel/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bazel/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel index 5155a8ee7..b061a5346 100644 --- a/bazel/cargo/remote/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel +++ b/bazel/cargo/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", @@ -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/bazel/repositories.bzl b/bazel/repositories.bzl index 7a13a16e3..41d2c8215 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -53,10 +53,10 @@ def proxy_wasm_cpp_host_repositories(): ) http_archive( - name = "io_bazel_rules_rust", - sha256 = "442a102e2a6f6c75e10d43f21c0c30218947a3e827d91529ced7380c5fec05f0", - strip_prefix = "rules_rust-39523e32ac0bd64f5d60154114a42e61e58ffd17", - url = "https://github.com/bazelbuild/rules_rust/archive/39523e32ac0bd64f5d60154114a42e61e58ffd17.tar.gz", + name = "rules_rust", + sha256 = "0f55b4b69fd9bc1dbcc038e75ec54bd97fa00ddc6cfbc6278fc288dafc98b7f8", + strip_prefix = "rules_rust-fee3b3c658c3d2f49c20c1b12e55063bf7a7f693", + url = "https://github.com/bazelbuild/rules_rust/archive/fee3b3c658c3d2f49c20c1b12e55063bf7a7f693.tar.gz", ) http_archive( From 027f46bf67f1a938e8942954d20468b371ab5fba Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 19 Feb 2021 01:16:25 +0000 Subject: [PATCH 2/2] review: fix local build. Signed-off-by: Piotr Sikora --- bazel/dependencies.bzl | 2 +- bazel/external/wasmtime.BUILD | 2 +- bazel/wasm.bzl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index a558e8f5b..031a962ff 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories") load("@proxy_wasm_cpp_host//bazel/cargo:crates.bzl", "proxy_wasm_cpp_host_fetch_remote_crates") +load("@rules_rust//rust:repositories.bzl", "rust_repositories") def proxy_wasm_cpp_host_dependencies(): rust_repositories() diff --git a/bazel/external/wasmtime.BUILD b/bazel/external/wasmtime.BUILD index a5cb79844..f6feed7e8 100644 --- a/bazel/external/wasmtime.BUILD +++ b/bazel/external/wasmtime.BUILD @@ -1,4 +1,4 @@ -load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library") +load("@rules_rust//rust:rust.bzl", "rust_library") licenses(["notice"]) # Apache 2 diff --git a/bazel/wasm.bzl b/bazel/wasm.bzl index a3541aa3e..f76407a2c 100644 --- a/bazel/wasm.bzl +++ b/bazel/wasm.bzl @@ -12,11 +12,11 @@ # 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") def _wasm_rust_transition_impl(settings, attr): return { - "//command_line_option:platforms": "@io_bazel_rules_rust//rust/platform:wasm", + "//command_line_option:platforms": "@rules_rust//rust/platform:wasm", } wasm_rust_transition = transition(